mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
Add files via upload
This commit is contained in:
parent
524cd140b5
commit
dc9294de0a
20
start-tunableop-novram.bat
Normal file
20
start-tunableop-novram.bat
Normal file
@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
|
||||
set PYTHON=%~dp0/venv/Scripts/python.exe
|
||||
set GIT=
|
||||
set VENV_DIR=./venv
|
||||
set COMMANDLINE_ARGS=--auto-launch --fast --novram
|
||||
|
||||
echo *** Checking and updating to new version if possible
|
||||
git pull
|
||||
echo.
|
||||
echo *** Pytorch tunableOP enabled with --novram to avoid OOM as much as possible.
|
||||
echo *** (This is important for big models such as flux)
|
||||
echo *** When you are done , please exit with CTRL-C on cmd window to make sure tunableop csv file properly written.
|
||||
echo.
|
||||
set PYTORCH_TUNABLEOP_ENABLED=1
|
||||
set PYTORCH_TUNABLEOP_VERBOSE=1
|
||||
python main.py --fast --novram
|
||||
|
||||
echo.
|
||||
.\zluda\zluda.exe -- %PYTHON% main.py %COMMANDLINE_ARGS%
|
||||
Loading…
Reference in New Issue
Block a user