Skip to content

Commit

Permalink
Enhance Cross-Platform Argument Handling for Nitro Startup Scripts (j…
Browse files Browse the repository at this point in the history
…anhq#674)

* Patch all argument of bat script to nitro command run

---------

Co-authored-by: Hien To <[email protected]>
  • Loading branch information
hiento09 and hiento09 authored Nov 21, 2023
1 parent 0dd7082 commit fe3d682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/inference-plugin/nitro/win-start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 %*
)

0 comments on commit fe3d682

Please sign in to comment.