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
vllm_cscc
Commits
80d93fd6
Unverified
Commit
80d93fd6
authored
Feb 24, 2026
by
pschlan-amd
Committed by
GitHub
Feb 23, 2026
Browse files
gpu_model_runner: Cache is_encoder_decoder from model config (#35099)
Signed-off-by:
Patrick Schlangen
<
pschlan@amd.com
>
parent
ec853405
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/config/model.py
vllm/config/model.py
+1
-1
No files found.
vllm/config/model.py
View file @
80d93fd6
...
...
@@ -1365,7 +1365,7 @@ class ModelConfig:
return
diff_sampling_param
@
property
@
cached_
property
def
is_encoder_decoder
(
self
)
->
bool
:
"""Extract the HF encoder/decoder model flag."""
return
is_encoder_decoder
(
self
.
hf_config
)
...
...
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