-
Notifications
You must be signed in to change notification settings - Fork 717
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
ONNX models crash when they are used in Colab's T4 GPU runtime #14109
Comments
I haven't been able to replicate the error. I tried in Google Colab with T4 but it is working for spark-np 5.2.0. Can you take a look at this notebook, reproduce the error and let me know |
Hi @danilojsl You forgot to load ONNX GPU build in start function: |
Some extra information, I can use A100 GPUs without any issue. So this must be something with Colab itself, it is either missing something (lib) or it has them but a different versions. (usually older, so for GPU we usually do something in the Colab script-setup to fix those) @danilojsl Let's find out what's missing and how to fix them, then we can modify the GPU installation for Colab accordingly: |
This issue is no longer presented with the latest update of ONNX in spark-nlp 5.4.0. |
Thanks @danilojsl |
Is there an existing issue for this?
Who can help?
@danilojsl
What are you working on?
Downloading and loading models on ONNX over GPU devices crashes. (at least on T4 on Colab)
Current Behavior
Crashes with:
Expected Behavior
Should work before upgrading to newer version of Spark NLP
Steps To Reproduce
!pip install spark-nlp pyspark
Spark NLP version and Apache Spark
Spark NLP version 5.2.0
Apache Spark version: 3.5.0
Type of Spark Application
Python Application
Java Version
11
Java Home Directory
No response
Setup and installation
No response
Operating System and Version
No response
Link to your project (if available)
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: