pytorch / csprng

Cryptographically secure pseudorandom number generators for PyTorch
https://github.com/pytorch/csprng
BSD 3-Clause "New" or "Revised" License
108 stars 25 forks source link

[DEBUG] Test inplace modification of scalar_t data #81

Closed LaRiffle closed 2 years ago

LaRiffle commented 3 years ago

I'm trying to fix #80 as part of #77.

Unfortunately it's unclear how I can test my code on my Macbook without GPUs, so I'll use this PR if it triggers the tests to better understand what I'm doing.

Sorry for the mess, I'm happy to talk about it if you are interested!

facebook-github-bot commented 3 years ago

Hi @LaRiffle!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

pbelevich commented 3 years ago

Sorry for the mess, I'm happy to talk about it if you are interested!

@LaRiffle please check slack

facebook-github-bot commented 3 years ago

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!