feat(exe): include pre-converted models in bundle launch scripts
This commit is contained in:
parent
b2740d3ad2
commit
c85b608196
|
@ -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
|
||||
server\onnx-web.exe --base=false --diffusion --correction --upscaling
|
|
@ -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
|
||||
server\onnx-web.exe --base=false --diffusion --correction --upscaling --half
|
Loading…
Reference in New Issue