-
Notifications
You must be signed in to change notification settings - Fork 117
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
Could not enable GPU for Bert based model #8
Comments
After updating the CUDA package, this issue has been resolved. We can train the BERT in P100 but it may take upto a week |
Can you tel me please how to run RATSQL in Google colab? Precisely how to set up the environment based on docker ? Thank you very much. |
I didn't implement docker on colab as it is nearly impossible to run docker in that. I installed all the packages by mounting google drive on colab and started training. If the training stops, then I started retraining from the previously saved model using checkpoints |
Thank you @senthurRam33 four your replay. you said 'I installed all the packages by mounting google drive on colab' |
Can you precisely tell me what's the problem?? |
Since it is impossible to use docker in colab, I want to set up manually the environment (installing packages and dependencies) in order to run RATSQL. How to do that in colab? |
--> First clone the repo in the google drive |
I have the problem just in the second step. sorry for the perturbation |
Yes. But in colab you run terminal commands like this "!pip install -r requirements.txt". |
it requires only: |
For me those are the ones that required. |
Thank you very much @senthurRam33 |
Yes it requires that package too. Try installing with !pip install corenlp command |
And I think also it requires python>=3.7 instead of the default python in colab which is 3.6.9 Thank you very much for all your help. I will try to run it in colab. |
I am training the Bert based RATSQL model in Google colab pro. It takes roughly around 55 minutes for 10 steps. After started training, a warning pops up in the colab notebook. "WARNING: you are connected to a GPU runtime but not utilizing the GPU". After debugging the code, it shows that GPU is not enabled for Bert training. What can be done to enable CUDA? And please tell me what is the good environmental setup for training Bert based model?
The text was updated successfully, but these errors were encountered: