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
51c2e1fc
Unverified
Commit
51c2e1fc
authored
Nov 10, 2024
by
Cyrus Leung
Committed by
GitHub
Nov 09, 2024
Browse files
[CI/Build] Split up models tests (#10069)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
b09895a6
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/model_executor/models/utils.py
vllm/model_executor/models/utils.py
+4
-4
No files found.
vllm/model_executor/models/utils.py
View file @
51c2e1fc
...
...
@@ -241,11 +241,11 @@ def init_vllm_registered_model(
based on the arguments passed to the outer vLLM model.
"""
model_class
,
_
=
ModelRegistry
.
resolve_model_cls
(
hf_config
.
architectures
)
import
copy
copied_config
=
copy
.
deepcopy
(
vllm_config
)
copied_config
.
model_config
.
hf_config
=
hf_config
return
model_class
(
vllm_config
=
copied_config
,
prefix
=
prefix
)
return
model_class
(
vllm_config
=
vllm_config
.
with_hf_config
(
hf_config
),
prefix
=
prefix
,
)
@
overload
...
...
Prev
1
2
Next
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