Updating PyTorch

How did you install the nightly version?
You can find the install commands on the PyTorch website.

E.g. for the 1.0 preview on Ubuntu with CUDA9.0 you would need to install it using:

conda install pytorch-nightly -c pytorch

If that doesn’t work, try to update conda and run it again.

Hey, I resolved this. It was a conflict between an older preinstalled version which was 0.4.1. I removed it and reinstalled the nigthly version of pytorch and it works smoothly now. Thank you for your help.

Edit:
When running: python -c “import torch; print(torch.version)” I get the 1.0 version but when importing in jupyter notebook the 0.4.1 version appears again.

Edit2: Resolved, the new conda env was missing an ipython kernel so jupyter was loading PyTorch from another env that had one

see: Updating PyTorch -- Is there an "Official" Way? - #10 by Brando_Miranda