mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-23 18:44:30 +08:00
Only register rocm_aiter_ops if aiter is found (#28428)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
de540c0354
commit
f2d9ad0620
@ -938,4 +938,5 @@ class rocm_aiter_ops:
|
||||
return tuple(shuffle_weight(tensor, layout=layout) for tensor in tensors)
|
||||
|
||||
|
||||
rocm_aiter_ops.register_ops_once()
|
||||
if IS_AITER_FOUND:
|
||||
rocm_aiter_ops.register_ops_once()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user