Compare commits

...
Author SHA1 Message Date
JannikStandGitHub 99c02bba6c fix arm64 flash-attn build: override FLASH_ATTENTION_SKIP_CUDA_BUILD (#1974)
Release / Push CUDA image to Docker (push) Canceled after 0s
* fix arm64 flash-attn build: override FLASH_ATTENTION_SKIP_CUDA_BUILD

* also set FLASH_ATTENTION_FORCE_BUILD to bypass cached wheel download
2026-03-07 00:12:09 +01:00
JannikStandGitHub ebb5a1cac2 add --no-cache to force flash-attn source build on arm64 (#1973)
Release / Push CUDA image to Docker (push) Canceled after 0s
2026-03-06 21:43:45 +01:00
JannikStandGitHub d19ce7919f force flash-attn source build on arm64 with --no-binary (#1972)
Release / Push CUDA image to Docker (push) Canceled after 0s
2026-03-06 21:02:18 +01:00
JannikStandGitHub e2175c11ae add aarch64 vllm wheel and restrict uv environments to linux x86_64/aarch64 (#1970)
Release / Push CUDA image to Docker (push) Canceled after 0s
2026-03-06 10:53:20 +01:00
3 changed files with 787 additions and 1050 deletions
+8 -1
View File
@@ -75,6 +75,10 @@ dev = [
[tool.uv]
preview = true
no-build-isolation-package = ["flash-attn"]
environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'",
"sys_platform == 'linux' and platform_machine == 'aarch64'",
]
# Override torch's pinned cuDNN to fix Conv3d performance regression (torch 2.9 + cuDNN 9.8-9.14)
# See: https://github.com/pytorch/pytorch/issues/166122
override-dependencies = [
@@ -86,7 +90,10 @@ override-dependencies = [
[tool.uv.sources]
torch = { index = "pytorch-cu128" }
vllm = { url = "https://wheels.vllm.ai/097eb544e9a22810c9b7a59e586b61627b308362/vllm-0.17.0rc0-cp38-abi3-manylinux_2_31_x86_64.whl" }
vllm = [
{ url = "https://wheels.vllm.ai/097eb544e9a22810c9b7a59e586b61627b308362/vllm-0.17.0rc0-cp38-abi3-manylinux_2_31_x86_64.whl", marker = "platform_machine == 'x86_64'" },
{ url = "https://wheels.vllm.ai/097eb544e9a22810c9b7a59e586b61627b308362/vllm-0.17.0rc0-cp38-abi3-manylinux_2_31_aarch64.whl", marker = "platform_machine == 'aarch64'" },
]
math-env = { index = "primeintellect" }
verifiers = { git = "https://github.com/PrimeIntellect-ai/verifiers.git", rev = "45fae8d" }
torchtitan = { git = "https://github.com/pytorch/torchtitan", rev = "a1fdd7e" }
+5 -1
View File
@@ -3,8 +3,12 @@
set -e
echo "=== building flash-attn from source (sm_100 / GB200) ==="
# FLASH_ATTENTION_FORCE_BUILD=TRUE skips the prebuilt wheel download attempt
# and forces a local CUDA kernel compilation.
# FLASH_ATTENTION_SKIP_CUDA_BUILD=FALSE ensures the CUDA extension is compiled.
TORCH_CUDA_ARCH_LIST="10.0" MAX_JOBS=4 \
uv pip install "flash-attn==2.8.3" --no-build-isolation
FLASH_ATTENTION_FORCE_BUILD=TRUE FLASH_ATTENTION_SKIP_CUDA_BUILD=FALSE \
uv pip install "flash-attn==2.8.3" --no-build-isolation --no-binary flash-attn --no-cache
echo "=== reinstalling flash-attn-cute (flash-attn overwrites it with a stub) ==="
uv pip install --reinstall --no-deps \
Generated
+774 -1048
View File
File diff suppressed because it is too large Load Diff