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
I have recently cloned this repository and decided to use the provided dev container and I noticed building with CUDA is possible, however, because the container does not use the GPU I can't do this out of the box
In order to go around this issue, the nvidia container runtime must be installed on the host machine and the base docker image must have CUDA installed. If this is done, the project can be built using CUDA inside the dev container.
This solves the "issue" but in order for a proper implementation, the user must not be forced into having NVIDIA hardware and such the build process for the dev container should be optional.
The bottom line is, I have done this kind of thing in the past, if it is of interest to the project I could open a PR with a possible solution for this.
The text was updated successfully, but these errors were encountered:
I have recently cloned this repository and decided to use the provided dev container and I noticed building with CUDA is possible, however, because the container does not use the GPU I can't do this out of the box
In order to go around this issue, the nvidia container runtime must be installed on the host machine and the base docker image must have CUDA installed. If this is done, the project can be built using CUDA inside the dev container.
This solves the "issue" but in order for a proper implementation, the user must not be forced into having NVIDIA hardware and such the build process for the dev container should be optional.
The bottom line is, I have done this kind of thing in the past, if it is of interest to the project I could open a PR with a possible solution for this.
The text was updated successfully, but these errors were encountered: