Skip to content

Commit 4f7da88

Browse files
committed
Update README.md
ghstack-source-id: 551076f Pull Request resolved: #47
1 parent d3e442f commit 4f7da88

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

README.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It makes CSPRNG both crypto-secure and parallel on CUDA and CPU.
1616

1717
Advantages:
1818

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
2020
- One generator instance for both CPU and CUDA tensors(because the encryption key is always generated on CPU)
2121
- CPU random number generation is also parallel(unlike default PyTorch CPU generator)
2222

@@ -45,12 +45,12 @@ The following list of methods supports all forementioned PRNGs:
4545

4646
## Installation
4747

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:
4949

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 |
5454

5555
### Binaries
5656

@@ -59,23 +59,28 @@ Anaconda:
5959
```console
6060
conda install torchcsprng -c pytorch
6161
```
62-
for nightly builds:
63-
```console
64-
conda install torchcsprng -c pytorch-nightly
65-
```
6662

6763
pip:
6864

6965
```console
7066
pip install torchcsprng
7167
```
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 |
7984

8085
### From Source
8186

0 commit comments

Comments
 (0)