How to reproduce the behaviour
import spacy
nlp = spacy.load('en_core_web_trf')
tokens1 = nlp("My string")
Your Environment
- Operating System: Ubuntu 20.04 LTS
- Python Version Used: Python 3.8.10
- spaCy Version Used: 3.5.0
- Environment Information:
Full Error:
RuntimeError: from_dlpack received an invalid capsule. Note that DLTensor capsules can be consumed only once, so you might have already constructed a tensor from it once.
How to reproduce the behaviour
Your Environment
Full Error: