Upload 2 files
Browse files
scripts/ComfyUI/Install-ComfyUI.ps1
CHANGED
@@ -211,7 +211,7 @@ 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/
|
215 |
Invoke-AndLog "$venvPython" "-m pip install -r `"$comfyPath\requirements.txt`""
|
216 |
|
217 |
# --- Étape 5: Installation des Custom Nodes ---
|
|
|
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 ---
|
scripts/ComfyUI/UmeAiRT-Start-ComfyUI.bat
CHANGED
@@ -1,16 +1,21 @@
|
|
1 |
@echo off
|
2 |
echo Activating ComfyUI virtual environment...
|
3 |
|
4 |
-
REM Active l'environnement virtuel.
|
5 |
call "%~dp0ComfyUI\venv\Scripts\activate.bat"
|
6 |
|
7 |
echo Starting ComfyUI with custom arguments...
|
8 |
|
9 |
-
REM Se place dans le dossier ComfyUI
|
10 |
cd "%~dp0ComfyUI"
|
11 |
|
12 |
-
REM
|
13 |
-
REM
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
pause
|
|
|
1 |
@echo off
|
2 |
echo Activating ComfyUI virtual environment...
|
3 |
|
4 |
+
REM Active l'environnement virtuel.
|
5 |
call "%~dp0ComfyUI\venv\Scripts\activate.bat"
|
6 |
|
7 |
echo Starting ComfyUI with custom arguments...
|
8 |
|
9 |
+
REM Se place dans le dossier ComfyUI.
|
10 |
cd "%~dp0ComfyUI"
|
11 |
|
12 |
+
REM === CORRECTION ===
|
13 |
+
REM On prépare le chemin de base en s'assurant qu'il n'y a pas de backslash à la fin
|
14 |
+
REM pour éviter les problèmes d'interprétation des guillemets.
|
15 |
+
set "BASE_DIR=%~dp0"
|
16 |
+
if "%BASE_DIR:~-1%"=="\" set "BASE_DIR=%BASE_DIR:~0,-1%"
|
17 |
+
|
18 |
+
REM On exécute le script en utilisant la variable de chemin nettoyée.
|
19 |
+
python main.py --use-sage-attention --disable-smart-memory --base-directory "%BASE_DIR%"
|
20 |
|
21 |
pause
|