Skip to content

Commit 3890db2

Browse files
authored
Merge pull request #172 from SmallDoges/auto-workflow
Refine build matrix and CUDA architecture specifications
2 parents c60a014 + 2d7f6b6 commit 3890db2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ jobs:
4343
matrix:
4444
# Using ubuntu-22.04 instead of 24.04 for more compatibility (glibc). Ideally we'd use the
4545
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
46-
os: [ubuntu-22.04, ubuntu-22.04-arm64]
47-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
46+
os: [ubuntu-22.04]
47+
python-version: ["3.9", "3.10", "3.11", "3.12"]
4848
torch-version: ["2.5.1", "2.6.0", "2.7.1", "2.8.0"]
4949
cuda-version: ["12.9.1"]
5050
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
5151
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
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", "86", "89", "90", "100", "120"]
55+
arch: ["80", "90"]
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;86;89;90;100;120").split(";")
82+
return os.getenv("FLASH_DMATTN_CUDA_ARCHS", "80;90").split(";")
8383

8484

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

0 commit comments

Comments
 (0)