1
0
Fork 0

feat(exe): include pre-converted models in bundle launch scripts

This commit is contained in:
Sean Sube 2023-12-23 13:42:30 -06:00
parent b2740d3ad2
commit c85b608196
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs
REM customize these as needed REM customize these as needed
set ONNX_WEB_CACHE_MODELS=0 set ONNX_WEB_CACHE_MODELS=0
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\preconverted-fp32.json,%ONNX_WEB_MODEL_PATH%\extras.json
REM convert models and launch the server REM convert models and launch the server
@echo Launching onnx-web in fp32 mode... @echo Launching onnx-web in fp32 mode...
server\onnx-web.exe --diffusion --correction --upscaling server\onnx-web.exe --base=false --diffusion --correction --upscaling

View File

@ -7,8 +7,8 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs
REM customize these as needed REM customize these as needed
set ONNX_WEB_BLOCK_PLATFORMS=cpu set ONNX_WEB_BLOCK_PLATFORMS=cpu
set ONNX_WEB_CACHE_MODELS=0 set ONNX_WEB_CACHE_MODELS=0
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\preconverted-fp16.json,%ONNX_WEB_MODEL_PATH%\extras.json
REM convert models and launch the server REM convert models and launch the server
@echo Launching onnx-web in fp16 mode... @echo Launching onnx-web in fp16 mode...
server\onnx-web.exe --diffusion --correction --upscaling --half server\onnx-web.exe --base=false --diffusion --correction --upscaling --half