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
6c6dcd86
Unverified
Commit
6c6dcd86
authored
May 25, 2025
by
Ning Xie
Committed by
GitHub
May 24, 2025
Browse files
[MISC] correct signature for LoaderFunction (#18670)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
7891fdf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/model_loader/weight_utils.py
vllm/model_executor/model_loader/weight_utils.py
+1
-1
No files found.
vllm/model_executor/model_loader/weight_utils.py
View file @
6c6dcd86
...
@@ -634,7 +634,7 @@ def row_parallel_weight_loader(param: torch.Tensor,
...
@@ -634,7 +634,7 @@ def row_parallel_weight_loader(param: torch.Tensor,
return
default_weight_loader
(
param
,
loaded_weight
)
return
default_weight_loader
(
param
,
loaded_weight
)
LoaderFunction
=
Callable
[[
torch
.
Tensor
,
torch
.
Tensor
],
torch
.
Tensor
]
LoaderFunction
=
Callable
[[
torch
.
Tensor
,
torch
.
Tensor
],
None
]
def
sharded_weight_loader
(
shard_axis
:
int
)
->
LoaderFunction
:
def
sharded_weight_loader
(
shard_axis
:
int
)
->
LoaderFunction
:
...
...
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