Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
3f37a667
Unverified
Commit
3f37a667
authored
Jul 19, 2024
by
Daniël de Kok
Committed by
GitHub
Jul 19, 2024
Browse files
Hotfix: pass through model revision in `VlmCausalLM` (#2258)
parent
3b41e93a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
server/text_generation_server/models/vlm_causal_lm.py
server/text_generation_server/models/vlm_causal_lm.py
+6
-1
No files found.
server/text_generation_server/models/vlm_causal_lm.py
View file @
3f37a667
...
...
@@ -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
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment