FardinHash commited on
Commit
02461be
β€’
1 Parent(s): a5a589b

fix: errors

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. requirements.txt +10 -11
Dockerfile CHANGED
@@ -22,6 +22,9 @@ RUN pip install --no-cache-dir -r requirements.txt
22
  RUN pip install packaging ninja
23
  RUN pip install flash-attn --no-build-isolation
24
 
 
 
 
25
  # Expose port 7860 for Gradio
26
  EXPOSE 7860
27
 
 
22
  RUN pip install packaging ninja
23
  RUN pip install flash-attn --no-build-isolation
24
 
25
+ # Install additional CUDA dependencies for Flash Attention 2
26
+ RUN pip install triton
27
+
28
  # Expose port 7860 for Gradio
29
  EXPOSE 7860
30
 
requirements.txt CHANGED
@@ -1,15 +1,14 @@
1
- huggingface_hub==0.22.2
2
- transformers
3
- datasets
4
- pillow
5
- numpy
6
  torch
7
  gradio
8
- streaming-stt-nemo
 
9
  edge-tts
10
- asyncio
11
- spaces
12
- torchvision
13
- accelerate
14
  beautifulsoup4
15
- requests
 
 
 
 
 
 
 
 
 
 
 
1
  torch
2
  gradio
3
+ transformers
4
+ huggingface_hub
5
  edge-tts
6
+ nemo_toolkit
7
+ requests
 
 
8
  beautifulsoup4
9
+ Pillow
10
+ spaces
11
+ datasets
12
+ packaging
13
+ ninja
14
+ triton