File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ if(CCACHE_PROGRAM)
34
34
message (STATUS "Using ccache: ${CCACHE_PROGRAM} " )
35
35
endif ()
36
36
37
- # Options from environment variables
38
- option (FLASH_ATTENTION_FORCE_BUILD "Force building from source" OFF )
39
- option (FLASH_ATTENTION_SKIP_CUDA_BUILD "Skip CUDA build" OFF )
40
- option (FLASH_ATTENTION_FORCE_CXX11_ABI "Force using C++11 ABI" OFF )
41
-
42
37
# CUDA handling
43
38
# Get CUDA architectures from environment or use default
44
39
if (DEFINED ENV{FLASH_ATTN_CUDA_ARCHS})
@@ -62,6 +57,8 @@ set(CUDA_FLAGS
62
57
-U__CUDA_NO_HALF_CONVERSIONS__
63
58
-U__CUDA_NO_HALF2_OPERATORS__
64
59
-U__CUDA_NO_BFLOAT16_CONVERSIONS__
60
+ -DFLASHATTENTION_DISABLE_DROPOUT=1
61
+ -DFLASHATTENTION_DISABLE_ALIBI=1
65
62
)
66
63
67
64
# Collect source files
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ provider = "scikit_build_core.metadata.regex"
60
60
input = " src/flash_attn_jax/__init__.py"
61
61
62
62
[tool .cibuildwheel ]
63
- manylinux-x86_64-image = " quay.io/pypa/manylinux_2_28_x86_64:latest"
63
+ # manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64:latest"
64
64
before-all = " bash scripts/install-cuda-linux.sh"
65
65
build = " cp312-manylinux_x86_64"
66
66
repair-wheel-command = " auditwheel repair --exclude=libcudart.so* -w {dest_dir} {wheel}"
You can’t perform that action at this time.
0 commit comments