-
-
Notifications
You must be signed in to change notification settings - Fork 983
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setup and README to use PyTorch 1.0 (#1655)
- Loading branch information
1 parent
2fc96ff
commit f87e087
Showing
3 changed files
with
8 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,20 +28,12 @@ For more information, check out our [blog post](http://eng.uber.com/pyro). | |
|
||
### Installing a stable Pyro release | ||
|
||
First install [PyTorch](http://pytorch.org/). | ||
|
||
Install via pip: | ||
**Install using pip:** | ||
|
||
**Python 2.7.\*:** | ||
```sh | ||
pip install pyro-ppl | ||
``` | ||
|
||
**Python 3.5:** | ||
```sh | ||
pip3 install pyro-ppl | ||
``` | ||
|
||
**Install from source:** | ||
```sh | ||
git clone [email protected]:uber/pyro.git | ||
|
@@ -62,18 +54,6 @@ Make sure that the models come from the same release version of the [Pyro source | |
|
||
For recent features you can install Pyro from source. | ||
|
||
To install a compatible version of PyTorch, use the PyTorch nightly | ||
[build](https://pytorch.org/). We recommend pinning to the specific | ||
nightly build below that has been well tested. | ||
|
||
```sh | ||
build_ver=1.0.0.dev20181127 # <---- a well-tested PyTorch build | ||
pip install torch_nightly==${build_ver} -f \ | ||
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html | ||
``` | ||
|
||
Finally install Pyro using pip or from source as shown below. | ||
|
||
**Install using pip:** | ||
|
||
```sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters