mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
Hotfix: pass through model revision in VlmCausalLM
(#2258)
This commit is contained in:
parent
3b41e93a09
commit
3f37a66774
@ -261,7 +261,12 @@ class VlmCausalLM(FlashCausalLM):
|
||||
**processor_kwargs,
|
||||
)
|
||||
self.batch_class = batch_class
|
||||
super().__init__(model_id=model_id, **kwargs)
|
||||
super().__init__(
|
||||
model_id=model_id,
|
||||
revision=revision,
|
||||
trust_remote_code=trust_remote_code,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
@property
|
||||
def batch_type(self) -> Type[VlmCausalLMBatch]:
|
||||
|
Loading…
Reference in New Issue
Block a user