CosineSimilarity disappears from distance.py.
however it appears that CosineSimilarity remains in the master branch of the source code. Anyone else experiencing this issue?
After manually removing the torch directories and doing a conda uninstall and install the above functions came back, but torch.utils.data.ConcatDataset and all the methods below it in torch.utils.data.dataset source code are still gone…
Hi, I after trying conda install pytorch=0.3.0 -c pytorch , I’m getting this error for cuda10-
init__.py", line 56, in
import torch
Traceback (most recent call last):
File “”, line 1, in
File “/home/cy/anaconda3/envs/py36/lib/python3.6/site-packages/torch/init.py”, line 56, in
from torch._C import *
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
Could I ask, why you are trying to install such an old PyTorch version?
Would you like to execute some legacy code?
If so, I would recommend to install the latest stable version (1.1.0) and create a topic here, in case you get stuck porting your code to the latest version.