Skip to content

Commit 496ed71

Browse files
author
Aaron Boxer
committed
caption: add ninja dep as it speeds up flash_attn build: better multiprocessing
1 parent e2d9bb8 commit 496ed71

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

requirements.txt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ torchvision
66
torchaudio
77
transformers
88
numpy
9-
black
10-
ruff
119
huggingface-hub
1210
ultralytics
1311
skia-python

requirements/caption_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33

44
# Note: building flash_attn also requires installation of nvidia-cuda-toolkit ubuntu package
55

6+
ninja
67
flash_attn
78

0 commit comments

Comments
 (0)