Skip to content

Conversation

NicolasHug
Copy link
Contributor

@NicolasHug NicolasHug commented Oct 4, 2025

We fixed a bug in #868 a few weeks ago for the default CUDA interface. The problem was that we needed the NPP stream to wait on the NVDEC stream.

This PR makes sure this is done as well for the BETA CUDA interface.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 4, 2025
@NicolasHug NicolasHug changed the title properly set NVDEC stream and wait on it BETA CUDA interface: properly set NVDEC stream and wait on it Oct 4, 2025
} else {
dst = allocateEmptyHWCTensor(frameDims, device_);
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note for below: that's introducing yet another dependency relationship between the BETA interface and the default interface. All of this badness is resolved in #931

@NicolasHug NicolasHug merged commit ce5667d into meta-pytorch:main Oct 6, 2025
50 checks passed
@NicolasHug NicolasHug deleted the nvdec-stream branch October 6, 2025 13:08
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.

2 participants