Skip to content

Commit

Permalink
onnx/nvidia docker: bump versions, fix cuda 12
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 2, 2024
1 parent a946be8 commit adf4e79
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion install/docker/install-nvidia-graphics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ then
&& dpkg -i /cuda-keyring.deb \
&& apt update -q \
&& apt install -y cuda-nvcc-11-8 libcublas-11-8 libcudnn8 cuda-libraries-11-8 \
&& apt install -y cuda-nvcc-12-4 libcublas-12-4 libcudnn8 cuda-libraries-12-4;
&& apt install -y cuda-nvcc-12-6 libcublas-12-6 libcudnn9-cuda-12 cuda-libraries-12-6;

if [ "$" != "0" ]
then
Expand Down
2 changes: 1 addition & 1 deletion plugins/onnx/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
// docker installation
"scrypted.debugHost": "koushik-winvm",
"scrypted.debugHost": "koushik-ubuntuvm",
"scrypted.serverRoot": "/server",

// lxc
Expand Down
4 changes: 2 additions & 2 deletions plugins/onnx/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/onnx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.1.112"
"version": "0.1.113"
}
3 changes: 1 addition & 2 deletions plugins/onnx/src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ numpy==1.26.4
# uncomment to require cuda 12, but most stuff is still targetting cuda 11.
# however, stuff targetted for cuda 11 can still run on cuda 12.
# --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
onnxruntime-gpu==1.18.1; 'linux' in sys_platform and platform_machine != 'aarch64'
onnxruntime-gpu==1.19.2; 'win32' in sys_platform and platform_machine != 'aarch64'
onnxruntime-gpu==1.19.2; 'darwin' not in sys_platform and platform_machine != 'aarch64'
# cpu and coreml execution provider
onnxruntime; 'darwin' in sys_platform or platform_machine == 'aarch64'
# nightly?
Expand Down

0 comments on commit adf4e79

Please sign in to comment.