From c85b60819628798d378d81ba47e92cb224f57c3b Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 23 Dec 2023 13:42:30 -0600 Subject: [PATCH] feat(exe): include pre-converted models in bundle launch scripts --- exe/onnx-web-full.bat | 4 ++-- exe/onnx-web-half.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exe/onnx-web-full.bat b/exe/onnx-web-full.bat index 04347672..9bba406b 100644 --- a/exe/onnx-web-full.bat +++ b/exe/onnx-web-full.bat @@ -6,8 +6,8 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs REM customize these as needed 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 @echo Launching onnx-web in fp32 mode... -server\onnx-web.exe --diffusion --correction --upscaling \ No newline at end of file +server\onnx-web.exe --base=false --diffusion --correction --upscaling \ No newline at end of file diff --git a/exe/onnx-web-half.bat b/exe/onnx-web-half.bat index 4c932251..109b8caa 100644 --- a/exe/onnx-web-half.bat +++ b/exe/onnx-web-half.bat @@ -7,8 +7,8 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs REM customize these as needed set ONNX_WEB_BLOCK_PLATFORMS=cpu 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 @echo Launching onnx-web in fp16 mode... -server\onnx-web.exe --diffusion --correction --upscaling --half \ No newline at end of file +server\onnx-web.exe --base=false --diffusion --correction --upscaling --half \ No newline at end of file