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

TorchText Issue on Google Colab #21

Open
harshkaria opened this issue Jan 3, 2023 · 2 comments
Open

TorchText Issue on Google Colab #21

harshkaria opened this issue Jan 3, 2023 · 2 comments

Comments

@harshkaria
Copy link

Hello,

I am trying to run the fine tuning scripts for FUNSD on Google Colab; I have installed all the required dependencies in requirements.txt, but when running

!CUDA_VISIBLE_DEVICES=0 python train.py --config=configs/finetune_funsd_ee_bies.yaml

I am getting

OSError: /usr/local/lib/python3.8/dist-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN5torch6detail10class_baseC2ERKSsS3_SsRKSt9type_infoS6_

I have tried installing torchtext and upgraded pytorch lightning correspondingly, to no avail.

Any ideas on what could be going on?

Thanks!

@ArsalanAli915
Copy link

@harshkaria Have you found the solution?

@saiful9379
Copy link

@harshkaria colab default python 3.10. This requirement files some module not support python 3.10. Degrade python version to 3.8 and install requirements file i think your issue will be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants