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
562339ab
Unverified
Commit
562339ab
authored
Mar 05, 2026
by
Shanshan Shen
Committed by
GitHub
Mar 04, 2026
Browse files
[Misc] Support OOT linear method registering (#35981)
Signed-off-by:
shen-shanshan
<
467638484@qq.com
>
parent
d7adcadb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vllm/model_executor/layers/linear.py
vllm/model_executor/layers/linear.py
+6
-0
No files found.
vllm/model_executor/layers/linear.py
View file @
562339ab
...
@@ -64,6 +64,12 @@ WEIGHT_LOADER_V2_SUPPORTED = [
...
@@ -64,6 +64,12 @@ WEIGHT_LOADER_V2_SUPPORTED = [
]
]
def
register_weight_loader_v2_supported_method
(
cls
):
"""Decorator to register a LinearMethod as supporting weight_loader_v2."""
WEIGHT_LOADER_V2_SUPPORTED
.
append
(
cls
.
__name__
)
return
cls
def
adjust_marlin_shard
(
def
adjust_marlin_shard
(
param
:
Parameter
,
param
:
Parameter
,
shard_size
:
int
,
shard_size
:
int
,
...
...
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