InterDigitalInc / CompressAI

A PyTorch library and evaluation platform for end-to-end compression research
https://interdigitalinc.github.io/CompressAI/
BSD 3-Clause Clear License
1.19k stars 232 forks source link

transplant third_party/ryg_rans/rans64.h into Android 64-bit devices: rans64.h error: __int128 is not supported on this target #158

Closed swaiwi closed 2 years ago

swaiwi commented 2 years ago

Bug

When I transplant third_party/ryg_rans/rans64.h into Android 64-bit devices, I got such error as: thirdparty\ryg_rans\rans64.h:44:35: error: __int128 is not supported on this target. How can I modify this code to support it on arm device?

fracape commented 2 years ago

Hi, we directly use the rANS as is. Please refer to https://github.com/rygorous/ryg_rans for its usage and reporting compatibility issues.