-
Notifications
You must be signed in to change notification settings - Fork 355
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 running the quick start examples #2
Comments
Hi, thanks for reaching out. When are you getting the error (ie, when training the model or when running it?) Also, can you share the rest of the stack trace? |
@EmilyReif Thanks for the quick response!
Any idea? |
This looks like a fairly low-level error. Are you able to run any of the examples from https://github.com/huggingface/transformers? This one uses TF2 and the same underlying Keras models as our sentiment demo: https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_tf_glue.py |
@iftenney I worked with Pytorch version of Transformers a lot but have never used it with TF2. I can try whether I can get it run. But since your tool is claimed to be framework-agnostic, I guess maybe I can just ignore this error with TF2 and learn how to use it with Pytorch. It won't bother. |
I have meet the same problem like you when i update tensorflow2.0.0 -> 2.3.0 Environment: RTX1080Ti + cuda10.0 + cudnn7.6.0 + ubuntu 16.04 + tensorflow-gpu 2.3.0 The code is very simple.
Error Msg:
Everything goed will in tensorflow2.0.0, but went wrong in tensorflow2.3.0.... |
This does look like a much lower-level error than LIT, unfortunately. Some issues on the TensorFlow tracker point to GPU memory: tensorflow/tensorflow#25403 and specific issues with RTX cards needing a certain config option set - do any of those fixes work? |
THANKs for your replying all these fixes focus on previous version of tensorflow. Everything goes will in tensorflow2.0.0 in my environment, but went wrong in tensorflow2.3.0.... maybe something in newest version not comparable with my environment, but i havent found. good luck to me! holy shit tensorflow(just complain, NO CARE).. |
everything goes will when i update cuda to 10.1 |
I followed all the instructions to run the quick start examples.
However, for the sentiment classification example, I got the following error:
For the language model example, I got a similar error:
I am using tensorflow 2.3.0.
Any idea on this? Many thanks!
The text was updated successfully, but these errors were encountered: