mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 16:32:12 +00:00
Hotfix: pass through model revision in VlmCausalLM
(#2258)
This commit is contained in:
parent
990ea793c0
commit
e658d95c23
@ -261,7 +261,12 @@ class VlmCausalLM(FlashCausalLM):
|
|||||||
**processor_kwargs,
|
**processor_kwargs,
|
||||||
)
|
)
|
||||||
self.batch_class = batch_class
|
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
|
@property
|
||||||
def batch_type(self) -> Type[VlmCausalLMBatch]:
|
def batch_type(self) -> Type[VlmCausalLMBatch]:
|
||||||
|
Loading…
Reference in New Issue
Block a user