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
15883da4
Commit
15883da4
authored
Apr 02, 2026
by
fanwl
Committed by
zhangzbb
Apr 10, 2026
Browse files
fused_add_rms_norm use lightop
parent
bcb2ba6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/model_executor/layers/layernorm.py
vllm/model_executor/layers/layernorm.py
+3
-3
No files found.
vllm/model_executor/layers/layernorm.py
View file @
15883da4
...
@@ -57,9 +57,9 @@ def fused_add_rms_norm(
...
@@ -57,9 +57,9 @@ def fused_add_rms_norm(
return
rms_norm_batch_invariant
(
return
rms_norm_batch_invariant
(
x
+
residual
,
weight
,
variance_epsilon
x
+
residual
,
weight
,
variance_epsilon
),
x
+
residual
),
x
+
residual
#
if envs.VLLM_USE_OPT_OP:
if
envs
.
VLLM_USE_OPT_OP
:
if
False
:
from
lightop
import
fused_add_rms_norm
ops
.
fused_add_rms_norm
_opt
(
fused_add_rms_norm
(
x
,
x
,
residual
,
residual
,
weight
,
weight
,
...
...
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