Skip to content

Commit

Permalink
Hotfix: pass through model revision in VlmCausalLM (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk authored and ErikKaum committed Jul 26, 2024
1 parent ede341d commit 0f59eb8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/text_generation_server/models/vlm_causal_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,12 @@ def __init__(
**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]:
Expand Down

0 comments on commit 0f59eb8

Please sign in to comment.