csprng icon indicating copy to clipboard operation
csprng copied to clipboard

Support torch==1.9

Open ffuuugor opened this issue 4 years ago • 5 comments

Hi! Do you have any plans to support PyTorch 1.9?

We at opacus use csprng to generate cryptographically secure noise and ideally we want to make it available to people using the latest pytorch version. Additionally, it creates conflicts with the latest versions of packages like torchvision, which makes testing quite tricky

ffuuugor avatar Jul 28 '21 15:07 ffuuugor

I managed to successfully build and test csprng with torch==1.9.1+cu111. Opacus passes all the tests as well, however I'm not sure csprng is properly covered there. For some reason the latest release in PyPI (dated in Mar 2021) requires torch-1.8.1. We probably just need to fix the CI.

romovpa avatar Oct 02 '21 22:10 romovpa

Well, successfully built csprng in colab (gpu instance) with torch==1.10.0+cu111.

https://colab.research.google.com/drive/1XilZ1a-7oXUbaEwzOPTOaiPy9DGLZaVl?usp=sharing

romovpa avatar Jan 12 '22 13:01 romovpa

Any further news on this?

JMMarchant avatar Aug 03 '22 10:08 JMMarchant

Any news on this?

HarrisonWilde avatar Apr 19 '23 09:04 HarrisonWilde

It would be great to have a new release with formal support for PyTorch 2.x and CUDA 12. It builds and passes the tests even with torch==2.4.1 with CUDA 12.4.

s-zanella avatar Sep 14 '24 14:09 s-zanella