Skip to content

Commit

Permalink
[BugFix] Hot fix in setup.py for neuron build (vllm-project#3537)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuohan123 authored Mar 21, 2024
1 parent 7e7801b commit 07cb63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def build_extensions(self) -> None:


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:
Expand Down

0 comments on commit 07cb63c

Please sign in to comment.