Devcontainer with GPU access
Here’s a message you can use for Discord:
---
Hi everyone,
I've got a question about using
Is it possible to mount the GPUs? Any insights or tips would be greatly appreciated!
Thank you for your help 🙂
I've got a question about using
envbuilder
and devcontainer
. We're trying to access the GPUs of our server, but during the build process, we encounter this error:Is it possible to mount the GPUs? Any insights or tips would be greatly appreciated!
Thank you for your help 🙂
6 Replies
<#1308453800050167880>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
There is some related discussions here:
https://github.com/coder/envbuilder/issues/143
GitHub
Investigate GPU support · Issue #143 · coder/envbuilder
Some users will want to mount a GPU to an envbuilder-backed workspace. Can we investigate in which scenarios (if any) this works today and if/how we can patch upstream Kaniko to improve the experie...
hey @Zebrazinker, did you figure this out?
Hey there, I think you can set this env var, it should skip over certain paths
"ENVBUILDER_IGNORE_PATHS": "/usr/local/nvidia,/etc/vulkan,/var/run",
Just add that env var with a list of the read-only mount points are there for your GPU driver
closing as stale, feel free to reopen
@Phorcys closed the thread.