Unverified Commit 523e30ea authored by Zhuohan Li's avatar Zhuohan Li Committed by GitHub
Browse files

[BugFix] Hot fix in setup.py for neuron build (#3537)

parent f1c0fc39
...@@ -168,7 +168,7 @@ class cmake_build_ext(build_ext): ...@@ -168,7 +168,7 @@ class cmake_build_ext(build_ext):
def _is_cuda() -> bool: def _is_cuda() -> bool:
return torch.version.cuda is not None return torch.version.cuda is not None and not _is_neuron()
def _is_hip() -> bool: def _is_hip() -> bool:
......
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