Merge pull request #421 from janhq/chore_update_nitro_deps

chore: Update nitro 0.1.2 windows/ linux
This commit is contained in:
namvuong 2023-10-21 18:08:44 -07:00 committed by GitHub
commit 1ad4dcfb1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2 additions and 0 deletions

View File

@ -33,12 +33,14 @@ const initModel = (fileName) => {
let binaryName;
if (process.platform === "win32") {
// Todo: Need to check for CUDA support to switch between CUDA and non-CUDA binaries
binaryName = "nitro_windows_amd64_cuda.exe";
} else if (process.platform === "darwin") {
// Mac OS platform
binaryName = process.arch === "arm64" ? "nitro_mac_arm64" : "nitro_mac_intel";
} else {
// Linux
// Todo: Need to check for CUDA support to switch between CUDA and non-CUDA binaries
binaryName = "nitro_linux_amd64_cuda"; // For other platforms
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.