Skip to content

Commit

Permalink
Try setting archs to OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Jun 28, 2023
1 parent 4a4b475 commit e138fff
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 @@ -155,7 +155,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
else:
raise RuntimeError("Unsupported CUDA version")
CMAKE_CUDA_ARCHS = ";".join([str(arch) for arch in ARCHES] + [f"{LATEST_ARCH}-real", f"{LATEST_ARCH}-virtual"])
extra_args["CMAKE_CUDA_ARCHITECTURES"] = CMAKE_CUDA_ARCHS
extra_args["CMAKE_CUDA_ARCHITECTURES"] = "OFF" #CMAKE_CUDA_ARCHS
else:
extra_args["ENABLE_CUDA"] = "OFF"

Expand Down

0 comments on commit e138fff

Please sign in to comment.