Skip to content

Commit

Permalink
Add USE_FLASH_ATTENTION flag to setup.py (pytorch#92903)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
drisspg authored and pytorchmergebot committed Jan 24, 2023
1 parent bf1ff49 commit 4bc0491
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
# USE_FFMPEG
# enables use of ffmpeg for additional operators
#
# USE_FLASH_ATTENTION=0
# disables building flash attention for scaled dot product attention
#
# USE_LEVELDB
# enables use of LevelDB for storage
#
Expand Down

0 comments on commit 4bc0491

Please sign in to comment.