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
3efb2e1c
Commit
3efb2e1c
authored
Oct 22, 2025
by
zhuwenwen
Browse files
init is_quantization of load_row_parallel_weight (BasevLLMParameter)
parent
39380c86
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/parameter.py
vllm/model_executor/parameter.py
+2
-2
No files found.
vllm/model_executor/parameter.py
View file @
3efb2e1c
...
...
@@ -94,7 +94,7 @@ class BasevLLMParameter(Parameter):
def
load_column_parallel_weight
(
self
,
loaded_weight
:
torch
.
Tensor
):
self
.
_assert_and_load
(
loaded_weight
)
def
load_row_parallel_weight
(
self
,
loaded_weight
:
torch
.
Tensor
):
def
load_row_parallel_weight
(
self
,
loaded_weight
:
torch
.
Tensor
,
is_quantization
:
Optional
[
bool
]
=
None
):
self
.
_assert_and_load
(
loaded_weight
)
def
load_merged_column_weight
(
self
,
loaded_weight
:
torch
.
Tensor
,
**
kwargs
):
...
...
@@ -238,7 +238,7 @@ class RowvLLMParameter(BasevLLMParameter):
def
input_dim
(
self
):
return
self
.
_input_dim
def
load_row_parallel_weight
(
self
,
loaded_weight
:
torch
.
Tensor
,
is_quantization
:
Optional
[
bool
]):
def
load_row_parallel_weight
(
self
,
loaded_weight
:
torch
.
Tensor
,
is_quantization
:
Optional
[
bool
]
=
None
):
if
not
envs
.
VLLM_USE_NN
or
is_quantization
:
shard_size
=
self
.
data
.
shape
[
self
.
input_dim
]
else
:
...
...
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