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
7bb28d54
Commit
7bb28d54
authored
Aug 01, 2025
by
zhuwenwen
Browse files
update linear.py
parent
54ab90dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
vllm/model_executor/layers/linear.py
vllm/model_executor/layers/linear.py
+0
-2
No files found.
vllm/model_executor/layers/linear.py
View file @
7bb28d54
...
@@ -825,8 +825,6 @@ class MergedColumnParallelLinear(ColumnParallelLinear):
...
@@ -825,8 +825,6 @@ class MergedColumnParallelLinear(ColumnParallelLinear):
else
:
else
:
param_data
=
param_data
.
narrow
(
int
(
not
(
output_dim
)),
shard_offset
,
shard_size
)
param_data
=
param_data
.
narrow
(
int
(
not
(
output_dim
)),
shard_offset
,
shard_size
)
param_data
=
param_data
.
narrow
(
output_dim
,
shard_offset
,
shard_size
)
start_idx
=
self
.
tp_rank
*
shard_size
start_idx
=
self
.
tp_rank
*
shard_size
if
not
is_sharded_weight
:
if
not
is_sharded_weight
:
loaded_weight
=
loaded_weight
.
narrow
(
output_dim
,
start_idx
,
loaded_weight
=
loaded_weight
.
narrow
(
output_dim
,
start_idx
,
...
...
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