Skip to content

Commit b3249c6

Browse files
authored
Merge pull request #174 from SmallDoges:auto-workflow
Remove CUDA architecture '120' for compatibility
2 parents 5fe4ed4 + 9aeaf8e commit b3249c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Without this we get import error (undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationESs)
5353
# when building without C++11 ABI and using it on nvcr images.
5454
cxx11_abi: ["FALSE", "TRUE"]
55-
arch: ["80", "90", "100", "120"]
55+
arch: ["80", "90", "100"]
5656
include:
5757
- torch-version: "2.9.0.dev20250904"
5858
cuda-version: "13.0"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def should_skip_cuda_build():
7979

8080
@functools.lru_cache(maxsize=None)
8181
def cuda_archs():
82-
return os.getenv("FLASH_DMATTN_CUDA_ARCHS", "80;90;100;120").split(";")
82+
return os.getenv("FLASH_DMATTN_CUDA_ARCHS", "80;90;100").split(";")
8383

8484

8585
def detect_preferred_sm_arch() -> Optional[str]:

0 commit comments

Comments
 (0)