* refactor nitro folder structure inside inference plugin * Change to flat folder structure for nitro binary * Remove all exiting nitro binary file * add download command for nitron linux cuda * Add yarn script to download nitro * Add build deps to data-plugins yarn script * add chmod for nitro binary file --------- Co-authored-by: Hien To <tominhhien97@gmail.com> Co-authored-by: Service Account <service@jan.ai>
13 lines
293 B
Batchfile
13 lines
293 B
Batchfile
@echo off
|
|
|
|
rem Attempt to run nitro_windows_amd64_cuda.exe
|
|
cd win-cuda
|
|
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
|
|
)
|