Tried the new Max custom_ops examples with my RTX 3050 and using CPU

When I run the custom_ops examples in nightly branch I realized that they were slower than in the demo, and then I checked that accelerator_count() was returning 0 even if I have an Nvidia GPU:
No description
12 Replies
Darkmatter
Darkmatter3mo ago
Try a driver update, those drivers are about a year old at this point. It works fine for me on my 4090.
Brad Larson
Brad Larson3mo ago
We should support Ampere and newer GPUs (with the possible exception of the Jetson Orin), and the RTX 3050 should fall in the sm_80 CUDA capabilities that we support. If the GPU was found, but was an older CUDA architecture than we support you'd get a different error message. Seems like it's somehow not finding the GPU at all.
ModularBot
ModularBot3mo ago
Congrats @Brad Larson, you just advanced to level 2!
Darkmatter
Darkmatter3mo ago
Would the 535 drivers be too old? I think that's pre-nvidia-open.
Brad Larson
Brad Larson3mo ago
I will say that the A10, A100, L4, L40 are our initial officially supported NVIDIA GPUs. Other Ampere and newer GPUs may work, but they're "use at your own risk" in terms of support right now.
Darkmatter
Darkmatter3mo ago
Is there a chance that could be written down as a support matrix for MAX? An "official support" list, and then a "should work, community support only" list? Some other information like driver versions would be nice.
Brad Larson
Brad Larson3mo ago
We've updated the system requirements (Linux tab) with the officially supported GPUs: https://docs.modular.com/max/faq/#system-requirements . We can open up a Discourse thread for more informal discussions about GPU support.
MAX FAQ | Modular Docs
Answers to various questions about MAX.
Darkmatter
Darkmatter3mo ago
My main concern is people expecting to jump in with their GPU and start replacing pytorch, so providing a technical reason for the "older than Ampere won't work" may help. If I'm taking a wild guess is has to do with tensor core features/changes.
Brad Larson
Brad Larson3mo ago
I started a Discourse thread to at least provide a place to list officially-supported hardware and discuss anything beyond that which people have found to work: https://forum.modular.com/t/nvidia-hardware-support-in-max-24-6/340
Modular
NVIDIA hardware support in MAX 24.6
With the support for NVIDIA GPUs launching in MAX 24.6, a number of people have already asked what hardware is compatible with MAX in this release. This thread is intended to be a reference for our officially-supported hardware, as well as a place for community discussions about hardware compatibility. Our officially-supported NVIDIA GPUs are l...
Darkmatter
Darkmatter3mo ago
Thank you, I'll bookmark that to point people to in the future.
Manuel Saelices
Manuel SaelicesOP3mo ago
@Darkmatter thanks so much for your tip! It worked perfectly after upgrading the nvidia drivers:
No description
Darkmatter
Darkmatter3mo ago
I updated the forum thread with that.

Did you find this page helpful?