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
99fc9fc3
Commit
99fc9fc3
authored
Feb 04, 2026
by
zhuwenwen
Browse files
fix load error
parent
e9e95d0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/model_executor/models/telechat2.py
vllm/model_executor/models/telechat2.py
+3
-2
No files found.
vllm/model_executor/models/telechat2.py
View file @
99fc9fc3
...
...
@@ -93,6 +93,7 @@ class TeleChat2Model(LlamaModel):
total_num_heads
=
self
.
config
.
n_head
head_dim
=
self
.
config
.
hidden_size
//
total_num_heads
for
name
,
loaded_weight
in
weights
:
if
self
.
use_llama_nn
:
current_count
=
loaded_weight
.
current_count
total_count
=
loaded_weight
.
total_count
if
"self_attn.key_value"
in
name
:
...
...
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