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

Upgrading PyTorch to v1.12.1 and torchvision to v0.13.1 and torchaudio to v0.12.1 #2981

Closed
atalman opened this issue Aug 9, 2022 · 4 comments
Labels

Comments

@atalman
Copy link

atalman commented Aug 9, 2022

Hello,

We released

pytorch v1.12.1
torchvision v0.13.1
torchaudio v0.12.1
The wheel links are:

pytorch

CUDA 11.3

download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp37-cp37m-linux_x86_64.whl

torchvision

CUDA 11.3
download.pytorch.org/whl/cu113/torchvision-0.13.1%2Bcu113-cp37-cp37m-linux_x86_64.whl

torchaudio

CUDA 11.3
download.pytorch.org/whl/cu113/torchaudio-0.12.1%2Bcu113-cp37-cp37m-linux_x86_64.whl

Other notes
If you require wheels for Python 3.8 / 3.9 or 3.10, and CUDA 11.6 you can find the links here: download.pytorch.org/whl/torch_stable.html

Please also include torchdata:
https://github.com/pytorch/data/releases/tag/v0.4.1
Can be downloaded via pypi: https://pypi.org/project/torchdata/#files

We're looking to having it updated in Colab.

Thanks very much.

cc'ing @colaboratory-team @craigcitro

Similar to #2372

@atalman atalman added the feature label Aug 9, 2022
@colaboratory-team
Copy link
Contributor

Thanks for the request. Submitted the change on our end, I'll close this out once it reaches production

@colaboratory-team
Copy link
Contributor

New versions are now in prod, closing this out

@malfet
Copy link

malfet commented Aug 13, 2022

Alas, this still does not include torchdata, which results in following failure when trying to import WikiText2 dataset:

from torchtext.datasets import WikiText2
torchtext.datasets.WikiText2(split="train")
<ipython-input-5-5de6da71fdfb> in <module>()
----> 1 torchtext.datasets.WikiText2(split="train")

2 frames
/usr/local/lib/python3.7/dist-packages/torchtext/datasets/wikitext2.py in WikiText2(root, split)
     72     if not is_module_available("torchdata"):
     73         raise ModuleNotFoundError(
---> 74             "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data"
     75         )
     76 

ModuleNotFoundError: Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data

@colaboratory-team
Copy link
Contributor

We don't include torchdata by default. You can pip install it:

!pip install torchdata
import torch
from torchtext.datasets import WikiText2
WikiText2(split="train")
ShardingFilterIterDataPipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants