You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RFC Add gallery example with Array API support #32886
Mentioned somewhere in the release activity the closest I could find was #32809 (comment). It would probably be doable to add pytorch-cpu in the doc lock-file and add an example with a somewhat non trivial pipeline.
One idea could be to have some commented code saying device = 'cuda' and explain that uncommenting it will run on GPU if you have one.
Questions:
not sure which version to pick for doc-min-dependencies build, I think it doesn't really matter and convenience (for us as maintainers) is the main thing here, since array API is still experimental
Activity
ogrisel commentedon Dec 12, 2025
We can even write code that detects the presence of cuda or mps GPUs and falls back to CPU otherwise.
ogrisel commentedon Nov 17, 2026
I think we can close in favor of #35420 which has more details.