Skip to content

AttributeError: module 'torch.utils' has no attribute 'dlpack' #8941

Discussion options

You must be logged in to vote

Sounds like this might be an issue with your torch install.

Could you post the output of pip freeze?

How did you install spaCy/Torch?

Also, if you're just getting started, you might want to try upgrading spaCy to the latest version. I don't know that it's specifically related to this issue but the latest version does include some bugfixes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third-party Third-party packages and services gpu Using spaCy on GPU feat / transformer Feature: Transformer
2 participants
Converted from issue

This discussion was converted from issue #8927 on August 12, 2021 08:19.