mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-13 21:59:56 +08:00
Only use clang/lld for CUDA
This commit is contained in:
3
.github/scripts/build_triton_wheel.py
vendored
3
.github/scripts/build_triton_wheel.py
vendored
@ -133,7 +133,8 @@ def build_triton(
|
||||
|
||||
# change built wheel name and version
|
||||
env["TRITON_WHEEL_NAME"] = triton_pkg_name
|
||||
env["TRITON_BUILD_WITH_CLANG_LLD"] = "1"
|
||||
if device == "cuda":
|
||||
env["TRITON_BUILD_WITH_CLANG_LLD"] = "1"
|
||||
patch_init_py(
|
||||
triton_pythondir / "triton" / "__init__.py",
|
||||
version=f"{version}",
|
||||
|
||||
Reference in New Issue
Block a user