@@ -16,7 +16,7 @@ It makes CSPRNG both crypto-secure and parallel on CUDA and CPU.
16
16
17
17
Advantages:
18
18
19
- - A user can choose either seed-based(for testing) or random device based(fully crypto-secure) generators
19
+ - The user can choose either seed-based(for testing) or random device based(fully crypto-secure) generators
20
20
- One generator instance for both CPU and CUDA tensors(because the encryption key is always generated on CPU)
21
21
- CPU random number generation is also parallel(unlike default PyTorch CPU generator)
22
22
@@ -45,12 +45,12 @@ The following list of methods supports all forementioned PRNGs:
45
45
46
46
## Installation
47
47
48
- CSPRNG works on the following operating systems and can be used with PyTorch tensors on the following devices:
48
+ CSPRNG works with Python 3.6/3.7/3.8 on the following operating systems and can be used with PyTorch tensors on the following devices:
49
49
50
- | Tensor Device Type | Linux | macOS | MS Window |
51
- | --------------------| -----------| ---------------| -----------|
52
- | CPU | Supported | Supported | Supported |
53
- | CUDA | Supported | Not Supported | Planned * |
50
+ | Tensor Device Type | Linux | macOS | MS Window |
51
+ | --------------------| -----------| ---------------| ---------------- |
52
+ | CPU | Supported | Supported | Supported |
53
+ | CUDA | Supported | Not Supported | November 2020 |
54
54
55
55
### Binaries
56
56
@@ -59,23 +59,28 @@ Anaconda:
59
59
``` console
60
60
conda install torchcsprng -c pytorch
61
61
```
62
- for nightly builds:
63
- ``` console
64
- conda install torchcsprng -c pytorch-nightly
65
- ```
66
62
67
63
pip:
68
64
69
65
``` console
70
66
pip install torchcsprng
71
67
```
72
- for nightly builds:
73
- ``` console
74
- pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
75
- pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html
76
- pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
77
- pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
78
- ```
68
+
69
+ Nightly builds:
70
+
71
+ Anaconda:
72
+
73
+ | OS | CUDA | |
74
+ | ------------------------| -----------------------------------------------| -------------------------------------------------------|
75
+ | Linux | 9.2<br /><br />10.1<br /><br />10.2<br /><br />None | conda install torchcsprng -c pytorch-nightly |
76
+ | macOS<br /><br />Windows | None<br ><br >None | conda install torchcsprng -c pytorch-nightly<br /><br />conda install torchcsprng cpuonly -c pytorch-nightly |
77
+
78
+ pip:
79
+
80
+ | OS | CUDA | |
81
+ | ------------------------| -----------------------------------------------| ----------------------------------------------------------------------------------------------------|
82
+ | Linux | 9.2<br /><br />10.1<br /><br />10.2<br /><br />None | pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html <br /><br /> pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html <br /><br /> pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html <br /><br /> pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html |
83
+ | macOS<br /><br />Windows | None<br ><br >None | pip install --pre torchcsprng -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html |
79
84
80
85
### From Source
81
86
0 commit comments