caarleexx commited on
Commit
c52247b
·
verified ·
1 Parent(s): 0e916f0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -90,6 +90,15 @@ RUN pip install --no-cache-dir -r requirements.txt
90
  # --- Instalação de bitsandbytes e Wheels Customizados (Mantido 100% Original) ---
91
  RUN pip install --upgrade bitsandbytes
92
 
 
 
 
 
 
 
 
 
 
93
  # Instala wheels customizados (Apex, etc.)
94
  # Instala q8_kernels
95
  RUN pip install --no-cache-dir \
@@ -97,9 +106,11 @@ RUN pip install --no-cache-dir \
97
 
98
  RUN echo "Installing custom wheels..." && \
99
  pip install --no-cache-dir \
100
- "https://huggingface.co/carlex3321/aduc-sdr3/resolve/main/flash_attn-2.6.3-cp310-cp310-linux_x86_64.whl" \
101
  "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/apex-0.1-cp310-cp310-linux_x86_64.whl" \
102
  "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/dropout_layer_norm-0.1-cp310-cp310-linux_x86_64.whl"
 
 
103
 
104
  # =============================================================================
105
  # 5. Cópia do Código-Fonte e Configuração Final
 
90
  # --- Instalação de bitsandbytes e Wheels Customizados (Mantido 100% Original) ---
91
  RUN pip install --upgrade bitsandbytes
92
 
93
+
94
+ # --- FlashAttention 2.8.x ---
95
+ RUN pip install flash-attn==2.8.3 --no-build-isolation || \
96
+ pip install flash-attn==2.8.2 --no-build-isolation || \
97
+ pip install flash-attn==2.8.1 --no-build-isolation || \
98
+ pip install flash-attn==2.8.0.post2 --no-build-isolation
99
+
100
+
101
+
102
  # Instala wheels customizados (Apex, etc.)
103
  # Instala q8_kernels
104
  RUN pip install --no-cache-dir \
 
106
 
107
  RUN echo "Installing custom wheels..." && \
108
  pip install --no-cache-dir \
109
+ #"https://huggingface.co/carlex3321/aduc-sdr3/resolve/main/flash_attn-2.6.3-cp310-cp310-linux_x86_64.whl" \
110
  "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/apex-0.1-cp310-cp310-linux_x86_64.whl" \
111
  "https://huggingface.co/euIaxs22/Aduc-sdr/resolve/main/dropout_layer_norm-0.1-cp310-cp310-linux_x86_64.whl"
112
+
113
+
114
 
115
  # =============================================================================
116
  # 5. Cópia do Código-Fonte e Configuração Final