Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct nightly installation instructions #547

Merged
merged 1 commit into from Apr 14, 2020
Merged

Correct nightly installation instructions #547

merged 1 commit into from Apr 14, 2020

Conversation

vincentqb
Copy link
Contributor

Fixes #545

@vincentqb vincentqb merged commit 8c05bfa into master Apr 14, 2020
@mthrok
Copy link
Collaborator

mthrok commented Apr 14, 2020

@seemethere @vincentqb This still installs 0.4.0

$ conda create --name testenv python=3.7
...
$ conda activate testenv
$ pip install numpy
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Collecting numpy
  Downloading numpy-1.18.2-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
     |████████████████████████████████| 20.2 MB 17.5 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.18.2
$ pip install torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Looking in links: https://download.pytorch.org/whl/nightly/torch_nightly.html
Collecting torchaudio
  Using cached torchaudio-0.4.0-cp37-cp37m-manylinux1_x86_64.whl (3.1 MB)
Collecting torch==1.4.0
  Downloading https://download.pytorch.org/whl/nightly/cu92/torch-1.4.0%2Bcu92-cp37-cp37m-linux_x86_64.whl (640.6 MB)
     |████████████████████████████████| 640.6 MB 3.9 kB/s
Installing collected packages: torch, torchaudio
Successfully installed torch-1.4.0+cu92 torchaudio-0.4.0

@seemethere
Copy link
Member

@seemethere @vincentqb This still installs 0.4.0

$ conda create --name testenv python=3.7
...
$ conda activate testenv
$ pip install numpy
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Collecting numpy
  Downloading numpy-1.18.2-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
     |████████████████████████████████| 20.2 MB 17.5 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.18.2
$ pip install torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Looking in links: https://download.pytorch.org/whl/nightly/torch_nightly.html
Collecting torchaudio
  Using cached torchaudio-0.4.0-cp37-cp37m-manylinux1_x86_64.whl (3.1 MB)
Collecting torch==1.4.0
  Downloading https://download.pytorch.org/whl/nightly/cu92/torch-1.4.0%2Bcu92-cp37-cp37m-linux_x86_64.whl (640.6 MB)
     |████████████████████████████████| 640.6 MB 3.9 kB/s
Installing collected packages: torch, torchaudio
Successfully installed torch-1.4.0+cu92 torchaudio-0.4.0

Oh right you'll also need to use the --pre flag:

pip install --pre  torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html

@mthrok
Copy link
Collaborator

mthrok commented Apr 15, 2020

👍

$ pip install --pre  torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Looking in links: https://download.pytorch.org/whl/nightly/torch_nightly.html
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/nightly/torchaudio-0.5.0.dev20200414-cp37-cp37m-linux_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 2.2 MB/s
Collecting torch==1.6.0.dev20200414+cu92
  Downloading https://download.pytorch.org/whl/nightly/cu92/torch-1.6.0.dev20200414%2Bcu92-cp37-cp37m-linux_x86_64.whl (606.4 MB)
     |████████████████████████████████| 606.4 MB 31 kB/s
Collecting future
  Using cached future-0.18.2.tar.gz (829 kB)
Requirement already satisfied: numpy in /private/home/moto/miniconda3/envs/testenv/lib/python3.7/site-packages (from torch==1.6.0.dev20200414+cu92->torchaudio) (1.18.2)
Building wheels for collected packages: future
  Building wheel for future (setup.py) ... done
  Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=befa36b3ed3bb1e32b43578cad3b9a142661a841dac66152e18fd1ba6bb55565
  Stored in directory: /private/home/moto/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0
Successfully built future
Installing collected packages: future, torch, torchaudio
Successfully installed future-0.18.2 torch-1.6.0.dev20200414+cu92 torchaudio-0.5.0.dev20200414

FYI: if an old version is installed, they have to be manually removed.

$ pip install --pre  torchaudio -f https://download.pytorch.org/whl/nightly/torch_nightly.html
Looking in indexes: https://pypi.org/simple, http://100.97.64.150
Looking in links: https://download.pytorch.org/whl/nightly/torch_nightly.html
Requirement already satisfied: torchaudio in /private/home/moto/miniconda3/envs/testenv/lib/python3.7/site-packages (0.4.0)
Requirement already satisfied: torch==1.4.0 in /private/home/moto/miniconda3/envs/testenv/lib/python3.7/site-packages (from torchaudio) (1.4.0+cu92)

@vincentqb vincentqb mentioned this pull request Apr 15, 2020
@mthrok mthrok deleted the nightlyfix branch October 27, 2020 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly installation fails
3 participants