[Apple ARM - NVIDIA CUDA] Apply a condition to install a feature #78
Unanswered
noe-sautel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi 👋 Unfortunately, the Dev Container Spec does not have this option for optionally ignoring a Feature based on architecture/condition. However, as https://developer.nvidia.com/nvidia-cuda-toolkit-11_7_0-developer-tools-mac-hosts is official, we can update the nvidia-cida Feature to skip installation of the toolkit for Apple M2s. @noe-sautel If you are interested, feel free to contribute a PR with these changes, thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm facing a challenge on a Mac with an M2 chip. The issue relates to installing the NVIDIA CUDA toolkit, specifically, the container image: ghcr.io/devcontainers/features/nvidia-cuda:1.
The problem I'm encountering is that NVIDIA no longer supports Mac OS development for this toolkit, as indicated in their official documentation.
Note that, I have other developers on my repository who are using containers with a classic chip architecture, and it's essential for me to retain this feature for them.
My primary question is: How can I add a condition to specify the architecture and install or not the feature?
I've been exploring possible solutions, one in bash with a postCreateCommand to check the architecture I'm hitting a roadblock in achieving this. Any guidance, insights, or pointers would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions