Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
c40f3525
Unverified
Commit
c40f3525
authored
Feb 23, 2026
by
jh-nv
Committed by
GitHub
Feb 23, 2026
Browse files
chore: use config.modality directly for multimodal init and remove incorrect fallback value (#6471)
parent
038b50d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
components/src/dynamo/trtllm/workers/llm_worker.py
components/src/dynamo/trtllm/workers/llm_worker.py
+1
-2
No files found.
components/src/dynamo/trtllm/workers/llm_worker.py
View file @
c40f3525
...
@@ -166,7 +166,6 @@ async def init_llm_worker(
...
@@ -166,7 +166,6 @@ async def init_llm_worker(
)
)
kv_connector_config
=
build_kv_connector_config
(
config
)
kv_connector_config
=
build_kv_connector_config
(
config
)
modality
=
getattr
(
config
,
"modality"
,
None
)
or
"text"
arg_map
=
{
arg_map
=
{
"model"
:
model_path
,
"model"
:
model_path
,
"scheduler_config"
:
scheduler_config
,
"scheduler_config"
:
scheduler_config
,
...
@@ -295,7 +294,7 @@ async def init_llm_worker(
...
@@ -295,7 +294,7 @@ async def init_llm_worker(
# This overrides the skip_tokenizer_init=True set earlier
# This overrides the skip_tokenizer_init=True set earlier
engine_args
[
"skip_tokenizer_init"
]
=
False
engine_args
[
"skip_tokenizer_init"
]
=
False
if
modality
==
Modality
.
MULTIMODAL
:
if
config
.
modality
==
Modality
.
MULTIMODAL
:
engine_args
[
"skip_tokenizer_init"
]
=
False
engine_args
[
"skip_tokenizer_init"
]
=
False
model_config
=
AutoConfig
.
from_pretrained
(
config
.
model
,
trust_remote_code
=
True
)
model_config
=
AutoConfig
.
from_pretrained
(
config
.
model
,
trust_remote_code
=
True
)
multimodal_processor
=
MultimodalRequestProcessor
(
multimodal_processor
=
MultimodalRequestProcessor
(
...
...
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