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

New release of Torch #2362

Closed
DiegoJota opened this issue Jun 15, 2021 · 5 comments
Closed

New release of Torch #2362

DiegoJota opened this issue Jun 15, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@DiegoJota
Copy link

A few hours ago the release of Torch 1.9.0 and Torchaudio 0.9.0 was released and since then the notebooks are not working on Colab. As the scripts don't specify the exact version number, pip is installing the latest one.

An example of this error is in the notebook "Speaker Diarization Inference":
MicrosoftTeams-image

I used Torch versions 1.8.0 and torchaudio versions 0.8.0 and the problems were fixed.
MicrosoftTeams-image (1)

I found it important to report this bug to help new users.

@DiegoJota DiegoJota added the bug Something isn't working label Jun 15, 2021
@mthrok
Copy link

mthrok commented Jun 15, 2021

Hi

You might want to be careful how you pin the version. We are asking Google Colab team to update the default PyTorch version.

googlecolab/colabtools#2088

If you pin the torchaudio version to 0.8 now, it might stop working soon. I am not expert on Colab, so I cannot propose a nice solution, but just heads up.

@mthrok
Copy link

mthrok commented Jun 15, 2021

and note that Google Colab will not pre-install torchaudio.

googlecolab/colabtools#1891 (comment)

@DiegoJota
Copy link
Author

DiegoJota commented Jun 15, 2021

Hi

Yes, collab does not install, but NeMo notebooks are installing. In the tutorial "Speaker Diarization Inference" and among others, right at the beginning it is updated to the latest version.

## Install TorchAudio
!pip install torchaudio -f https://download.pytorch.org/whl/torch_stable.html

Consequently updating Torch and Torchaudio to newer versions.

@titu1994
Copy link
Collaborator

Thanks for reporting this, we will take a look at short term possible solutions to this.

@titu1994
Copy link
Collaborator

The resolution was to simply wait for Colab to update fo latest pytorch. Thank you for your help with the discussion !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants