Skip to content

Commit 4bc0491

Browse files
drisspgpytorchmergebot
authored andcommitted
Add USE_FLASH_ATTENTION flag to setup.py (pytorch#92903)
# Summary Adds documentation to setup.py for USE_FLASH_ATTENTION=0 disabling to decrease build times. Pull Request resolved: pytorch#92903 Approved by: https://github.com/cpuhrsch, https://github.com/bdhirsh
1 parent bf1ff49 commit 4bc0491

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
# USE_FFMPEG
9696
# enables use of ffmpeg for additional operators
9797
#
98+
# USE_FLASH_ATTENTION=0
99+
# disables building flash attention for scaled dot product attention
100+
#
98101
# USE_LEVELDB
99102
# enables use of LevelDB for storage
100103
#

0 commit comments

Comments
 (0)