Skip to content

Commit 34442c2

Browse files
authored
Update 2020-08-20-torchcsprng-release-blog.md
1 parent 472206b commit 34442c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2020-08-20-torchcsprng-release-blog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Historically, PyTorch had only two pseudorandom number generator implementations
1515
torchcsprng generates a random 128-bit key on the CPU using one of its generators and then runs AES128 in [CTR mode](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_(CTR)) either on CPU or GPU using CUDA. This then generates a random 128-bit state and applies a transformation function to map it to target tensor values. This approach is based on [Parallel Random Numbers: As Easy as 1, 2, 3 (John K. Salmon, Mark A. Moraes, Ron O. Dror, and David E. Shaw, D. E. Shaw Research)](http://www.thesalmons.org/john/random123/papers/random123sc11.pdf). It makes torchcsprng both crypto-secure and parallel on both CPU and CUDA.
1616

1717
<div class="text-center">
18-
<img src="{{ site.url }}/assets/images/torchcsprng.jpg" width="100%">
18+
<img src="{{ site.url }}/assets/images/torchcsprng.png" width="100%">
1919
</div>
2020

2121
Since torchcsprng is a PyTorch extension, it is available on the platforms where PyTorch is available (support for Windows-CUDA will be available in the coming months).

0 commit comments

Comments
 (0)