-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart.bat
More file actions
37 lines (28 loc) · 1.19 KB
/
start.bat
File metadata and controls
37 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
REM StreamDiffusion NDI Starter Script (Windows)
echo ========================================
echo StreamDiffusion NDI Real-time Processor
echo ========================================
echo.
REM ===== CONFIGURE THESE PATHS FOR YOUR SYSTEM =====
REM Set HuggingFace cache location (optional, can be commented out)
set HF_HOME=C:\huggingface_cache
REM Set Python path - UPDATE THIS to match your conda environment location
set PYTHON_BIN=C:\miniconda3\envs\streamdiffusion\python.exe
REM Set StreamDiffusion path - UPDATE THIS to match your StreamDiffusion installation
set STREAMDIFFUSION_PATH=C:\Projects\StreamDiffusion\streamdiffusion_repo
REM ================================================
REM Change to script directory
cd /d "%~dp0"
echo Working directory: %CD%
echo Python: %PYTHON_BIN%
echo HuggingFace cache: %HF_HOME%
echo StreamDiffusion path: %STREAMDIFFUSION_PATH%
echo.
REM Run with TensorRT for maximum performance (slower first-time startup)
REM Change to --acceleration xformers for faster startup if needed
echo Starting NDI processor...
echo.
"%PYTHON_BIN%" main.py --acceleration tensorrt --streamdiffusion-path "%STREAMDIFFUSION_PATH%" %*
echo.
echo NDI processor stopped.