Skip to content

Use CUDA and stable APIs instead of at::cuda#1238

Merged
NicolasHug merged 7 commits intometa-pytorch:mainfrom
NicolasHug:stable_cuda
Feb 13, 2026
Merged

Use CUDA and stable APIs instead of at::cuda#1238
NicolasHug merged 7 commits intometa-pytorch:mainfrom
NicolasHug:stable_cuda

Conversation

@NicolasHug
Copy link
Contributor

No description provided.

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 12, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1238

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit cc26833 with merge base 6f10da0 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 12, 2026
@NicolasHug NicolasHug marked this pull request as ready for review February 12, 2026 18:50
#include <cuda_runtime.h>
#include <npp.h>
#include <torch/types.h>
#include <torch/csrc/inductor/aoti_torch/c/shim.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised to see this file was not in the torch/csrc/stable folder as other includes have been, but the source code does indicate that it is the stable API.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great observation! I was surprised as well, but this is what is recommended from the docs, and I recently confirmed with Jane that this file is OK and safe to include long-term.

@NicolasHug NicolasHug merged commit 2d1b5c6 into meta-pytorch:main Feb 13, 2026
68 checks passed
@NicolasHug NicolasHug deleted the stable_cuda branch February 13, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants