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
91e382c9
Unverified
Commit
91e382c9
authored
Aug 27, 2025
by
Cyrus Leung
Committed by
GitHub
Aug 27, 2025
Browse files
[CI/Build] Remove redundant register in model init tests (#23715)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
64466778
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
tests/models/test_initialization.py
tests/models/test_initialization.py
+0
-5
No files found.
tests/models/test_initialization.py
View file @
91e382c9
...
@@ -38,11 +38,6 @@ def can_initialize(model_arch: str, monkeypatch: pytest.MonkeyPatch,
...
@@ -38,11 +38,6 @@ def can_initialize(model_arch: str, monkeypatch: pytest.MonkeyPatch,
model_arch
=
model_arch
,
model_arch
=
model_arch
,
exist_overrides
=
model_info
.
hf_overrides
)
exist_overrides
=
model_info
.
hf_overrides
)
if
model_arch
in
(
"Llama4ForCausalLM"
,
"EagleLlama4ForCausalLM"
):
from
vllm.model_executor.models.llama4
import
Llama4ForCausalLM
from
vllm.model_executor.models.registry
import
ModelRegistry
ModelRegistry
.
register_model
(
"Llama4ForCausalLM"
,
Llama4ForCausalLM
)
# Avoid calling model.forward()
# Avoid calling model.forward()
def
_initialize_kv_caches_v0
(
self
)
->
None
:
def
_initialize_kv_caches_v0
(
self
)
->
None
:
self
.
cache_config
.
num_gpu_blocks
=
0
self
.
cache_config
.
num_gpu_blocks
=
0
...
...
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