The target architecture 'nvidia:61' is not valid

Hi everyone,
I’m trying to run the sample Mojo GPU code on my machine:

from gpu.host import DeviceContext
def main():
    var ctx = DeviceContext()

But I’m getting this error message:

open-source/mojo/stdlib/stdlib/builtin/constrained.mojo:59:6: note: constraint failed: the target architecture 'nvidia:61' is not valid                           ^

Are there any plans to also support older Nvidia architectures?

@sebastian-sz which NVIDIA GPU do you have? The GeForce GT 610?

For NVIDIA GPUs, we currently support Ampere, Ada Lovelace, and (new in 25.2!) Hopper architectures. I always have to refer back to this chart to see what that maps to in terms of CUDA compute capabilities, but that’s roughly sm_80 to sm_90a.

We wanted to make sure we provided solid support for the most heavily used NVIDIA GPUs in AI applications first before expanding out from there. We’re a relatively small team, so we have to pick where to focus our efforts and we want to thoroughly test each generation we support. Additionally, Pascal and Volta architectures seem like they’re reaching end-of-life for support from NVIDIA.

As we add new compute capability support to MAX, we’ll be sure to announce in the nightly changelog and can update here. Thanks for asking about it!

2 Likes

I’m running NVIDIA GeForce GTX 1050 Ti, which is Pascal architecture.

Yeah totally understandable, you folks are doing an amazing job out there!

Thank you for the update. I know it’s a long shot but if there’s anything I could do on my end let me know!

1 Like