Unverified Commit 3f37a667 authored by Daniël de Kok's avatar Daniël de Kok Committed by GitHub
Browse files

Hotfix: pass through model revision in `VlmCausalLM` (#2258)

parent 3b41e93a
...@@ -261,7 +261,12 @@ class VlmCausalLM(FlashCausalLM): ...@@ -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]:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment