NVIDIA / NVIDIA/CUDALibrarySamples
[BUG] nvcompBatchedZstdCompressGetTempSizeAsync returns monstrous temp buffer sizes
Open
@naveenaero is already working on this.
Since Apr 29, 2026.
bug
nvCOMP
- Dominant language
- Cuda
- Stars
- 2.5k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
nvcompBatchedZstdCompressGetTempSizeAsync returns giant values for temp_bytes, no matter the size of the input data. Even if only 4 bytes are being compressed, the temp buffer size returned will be around 500mb.
Surely a temp buffer of that size isn't actually required for such a small chunk of data to compress?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.