mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:26:12 +08:00
[ROCm][Bugfix] Only enable +rms_norm based on aiter if not explicitly disabled (#25275)
Signed-off-by: Gregory Shtrasberg <Gregory.Shtrasberg@amd.com>
This commit is contained in:
parent
9313be5017
commit
487745ff49
@ -340,7 +340,8 @@ class RocmPlatform(Platform):
|
|||||||
else:
|
else:
|
||||||
parallel_config.worker_cls = "vllm.worker.worker.Worker"
|
parallel_config.worker_cls = "vllm.worker.worker.Worker"
|
||||||
# Aiter rms norm perform best when CUDA Graph capture is enabled.
|
# Aiter rms norm perform best when CUDA Graph capture is enabled.
|
||||||
if use_v1 and use_aiter_rms_norm and not is_eager_execution:
|
if (use_v1 and use_aiter_rms_norm and not is_eager_execution
|
||||||
|
and "-rms_norm" not in compilation_config.custom_ops):
|
||||||
compilation_config.custom_ops.append("+rms_norm")
|
compilation_config.custom_ops.append("+rms_norm")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user