Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvidia capable dev container #1185

Open
FranciscoTorrinha opened this issue Dec 7, 2024 · 1 comment
Open

Nvidia capable dev container #1185

FranciscoTorrinha opened this issue Dec 7, 2024 · 1 comment

Comments

@FranciscoTorrinha
Copy link

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.

@cdcseacave
Copy link
Owner

just running:

./buildFromScratch.sh --cuda --workspace /path/where/your/SFM/results

should do exactly what you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants