From fe3d6825302ca8d128bd930f3675a65c4424d14f Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:49:32 +0700 Subject: [PATCH] Enhance Cross-Platform Argument Handling for Nitro Startup Scripts (#674) * Patch all argument of bat script to nitro command run --------- Co-authored-by: Hien To --- plugins/inference-plugin/nitro/win-start.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inference-plugin/nitro/win-start.bat b/plugins/inference-plugin/nitro/win-start.bat index 7d1e7dc8d..2ad0d8ae8 100644 --- a/plugins/inference-plugin/nitro/win-start.bat +++ b/plugins/inference-plugin/nitro/win-start.bat @@ -2,11 +2,11 @@ rem Attempt to run nitro_windows_amd64_cuda.exe cd win-cuda -nitro.exe +nitro.exe %* rem Check the exit code of the previous command if %errorlevel% neq 0 ( echo nitro_windows_amd64_cuda.exe encountered an error, attempting to run nitro_windows_amd64.exe... cd ..\win-cpu - nitro.exe + nitro.exe %* )