Skip to content

Commit 66f9f35

Browse files
authored
Merge pull request #29 from gomlx/fixed-nvidia-cuda-path
- Fixed CUDA library paths -- it was hardcoded to a test directory.
2 parents f7fc0c2 + 69318ab commit 66f9f35

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.2.1: CUDA plugin fixes
2+
3+
- Fixed CUDA library paths -- it was hardcoded to a test directory.
4+
15
# v0.2.0: Dynamic Shapes (thx @ajroetker); added `Call()`; Quantized shapes;
26

37
- `go.mod`: updated to Go 1.25: needed for `synctest`.

pkg/pjrt/cuda_linux.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ func cudaPluginCheckDrivers(name string) {
9494
plugin.Path(), nvidiaPath, plugin.Path(), nvidiaPath)
9595
return
9696
}
97-
// cudaSetCUDADir(nvidiaPath)
98-
cudaSetCUDADir("/home/janpf/.local/lib/go-xla/nvidia")
97+
cudaSetCUDADir(nvidiaPath)
9998
}
10099

101100
// cudaNVidiaPath returns the path to the nvidia libraries. If they are not found in the same directory as the plugin.

0 commit comments

Comments
 (0)