Skip to content

AttributeError: module 'torch' has no attribute 'autocast_mode' when importing spacy #9855

Discussion options

You must be logged in to vote

Try uninstalling all torch packages (torch, torchvision, torchaudio) and installing again from scratch following their guide: https://pytorch.org/get-started/locally/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KayBrinkmann8Sel
Comment options

@Shamik-07
Comment options

Answer selected by KayBrinkmann8Sel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues third-party Third-party packages and services
3 participants
Converted from issue

This discussion was converted from issue #9852 on December 14, 2021 09:24.