NVIDIA / nvcomp

Repository for nvCOMP docs and examples. nvCOMP is a library for fast lossless compression/decompression on the GPU that can be downloaded from https://developer.nvidia.com/nvcomp.
Other
560 stars 78 forks source link

Feature Request: Python binding #25

Open fengwang opened 3 years ago

fengwang commented 3 years ago

I would like to replace python lz4 with this GPU implementation. Is it possible to provide a python binding? Should be straightforward if the Python binding is implemented using libraries such as pybind11? I need to uncompress intensive dataset produced by a high-speed detector, which is about 20 Gbps. And the current Python API I am using is just a lz4.frame.decompress.

OverLordGoldDragon commented 3 years ago

I would also like a Python interface.

nsakharnykh commented 3 years ago

Thanks for the feedback, this was also requested previously in #9. This is definitely on our TODO list, but we're mostly prioritizing C/C++ implementation and performance optimizations at the moment. We would certainly welcome external contributions, and the python interface seems like a good fit for that - it would be somewhat isolated from the rest of the code and only touching the user-level C/C++ APIs. I suggest to look into using cython instead of pybind, since cython has a better interop with other python projects. If you would like to contribute, we can certainly offer some guidance from the NVIDIA side, help with the design of the interface and code reviews.

github-actions[bot] commented 2 years ago

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] commented 2 years ago

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.