Unverified Commit f2d9ad06 authored by Michael Goin's avatar Michael Goin Committed by GitHub
Browse files

Only register rocm_aiter_ops if aiter is found (#28428)


Signed-off-by: default avatarmgoin <mgoin64@gmail.com>
parent de540c03
...@@ -938,4 +938,5 @@ class rocm_aiter_ops: ...@@ -938,4 +938,5 @@ class rocm_aiter_ops:
return tuple(shuffle_weight(tensor, layout=layout) for tensor in tensors) 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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment