-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
error in torchtext when excuse <python visual-chatgpt.py> #25
Comments
Hi, it seems that the CUDA version of googlecolab mismatches with ours. |
@K-tang-mkv Yes I tried to implement colab version but got |
I solve this problem. The error happened because your torch and torchtext are not compatible, so try this |
The same done pip install torch==1.9 torchtext=0.10 torchvision==0.10 torchaudio==0.9 |
I run it on googlecolab, got python=3.9 and pip=23.0.1, when I run
python visual-chatgpt.py
, I got error like this below. It might be environmental pjromblen.OSError: /usr/local/lib/python3.9/dist-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTy peEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
The text was updated successfully, but these errors were encountered: