Skip to content

Commit 1df1f84

Browse files
authored
Disable backward for now, we need to debug the launch templates.
1 parent bdfeffc commit 1df1f84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ def append_nvcc_threads(nvcc_extra_args):
269269
# "--ptxas-options=-v",
270270
# "--ptxas-options=-O2",
271271
# "-lineinfo",
272-
# "-DFLASHATTENTION_DISABLE_BACKWARD", # Only forward pass
272+
# Disable backward for now, we need to debug the launch templates.
273+
"-DFLASHATTENTION_DISABLE_BACKWARD", # Only forward pass
273274
"-DFLASHATTENTION_DISABLE_SOFTCAP",
274275
"-DFLASHATTENTION_DISABLE_UNEVEN_K",
275276
]
@@ -387,4 +388,4 @@ def __init__(self, *args, **kwargs) -> None:
387388
},
388389
# Ensure the package is properly included
389390
include_package_data=True,
390-
)
391+
)

0 commit comments

Comments
 (0)