UmeAiRT commited on
Commit
9574c6c
·
verified ·
1 Parent(s): 490bca8

Upload Install-ComfyUI.ps1

Browse files
scripts/ComfyUI/Install-ComfyUI.ps1 CHANGED
@@ -211,7 +211,9 @@ if (-not (Test-Path (Join-Path $comfyPath "venv"))) {
211
  # --- Étape 4: Installation des dépendances dans le Venv ---
212
  Write-Log "`nStep 4: Installing all Python dependencies into the venv..." -Color Yellow
213
  Invoke-AndLog "$venvPython" "-m pip install --upgrade pip wheel"
 
214
  Invoke-AndLog "$venvPython" "-m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128"
 
215
  Invoke-AndLog "$venvPython" "-m pip install -r `"$comfyPath\requirements.txt`""
216
 
217
  # --- Étape 5: Installation des Custom Nodes ---
@@ -263,7 +265,7 @@ foreach ($node in $customNodes) {
263
 
264
  # --- Étape 6: Installation des modules Python supplémentaires ---
265
  Write-Log "`nStep 6: Installing supplementary Python modules..." -Color Yellow
266
- Invoke-AndLog "$venvPython" "-m pip install -U xformers --index-url https://download.pytorch.org/whl/cu121"
267
  # ... (Ajoutez ici l'installation de Triton, SageAttention etc. si nécessaire, en utilisant $venvPython) ...
268
 
269
  # --- Étape 7: Téléchargement des Workflows et Settings ---
 
211
  # --- Étape 4: Installation des dépendances dans le Venv ---
212
  Write-Log "`nStep 4: Installing all Python dependencies into the venv..." -Color Yellow
213
  Invoke-AndLog "$venvPython" "-m pip install --upgrade pip wheel"
214
+ Write-Log " - Installing torch torchvision torchaudio for CUDA 12.8..."
215
  Invoke-AndLog "$venvPython" "-m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128"
216
+ Write-Log " - Installing ComfyUI requirements..."
217
  Invoke-AndLog "$venvPython" "-m pip install -r `"$comfyPath\requirements.txt`""
218
 
219
  # --- Étape 5: Installation des Custom Nodes ---
 
265
 
266
  # --- Étape 6: Installation des modules Python supplémentaires ---
267
  Write-Log "`nStep 6: Installing supplementary Python modules..." -Color Yellow
268
+ Invoke-AndLog "$venvPython" "-m pip install -U xformers --index-url https://download.pytorch.org/whl/cu128"
269
  # ... (Ajoutez ici l'installation de Triton, SageAttention etc. si nécessaire, en utilisant $venvPython) ...
270
 
271
  # --- Étape 7: Téléchargement des Workflows et Settings ---