You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the built CPU only docker image as development environment and it seems the module still depends on nvml-go module
sudo docker run --rm -it --name go-onnx-cpu -v $PWD:/go/src/gitlab.com/aiteam c3sr/go-onnxruntime:amd64-cpu-onnxruntime1.7.1-latest
under the environment, when I try to run the go module, this issue shows up. However this is a cpu only onnxruntime build, so we shouldn't be any GPU dependencies here?
/go/pkg/mod/github.com/c3sr/nvml-go@v1.0.0/nvml.go:21:11: fatal error: nvml.h: No such file or directory
// #include <nvml.h>
^~~~~~~~
compilation terminated.
You don't need to build your own image. But I believe that if you import the modules in dlframework and only want to use the cpu-only version, you need to add the tags mentioned above when either doing testing or building the go program.
Hi, I am using the built CPU only docker image as development environment and it seems the module still depends on nvml-go module
under the environment, when I try to run the go module, this issue shows up. However this is a cpu only onnxruntime build, so we shouldn't be any GPU dependencies here?
My go test code is as follows:
The text was updated successfully, but these errors were encountered: