NVIDIA / NVIDIA/CUDALibrarySamples
nvcompBatchedZstdCompressGetTempSizeAsync returns monstrous temp buffer sizes
Open
@naveenaero is already working on this.
Since Oct 24, 2025.
nvCOMP
- Dominant language
- Cuda
- Stars
- 2.5k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
[reposting here because I originally missed the instruction in the legacy nvcomp repo to post issues here instead]
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.