GithubHelp home page GithubHelp logo

Comments (4)

mdrobena avatar mdrobena commented on May 25, 2024 1

Hi @DevinTDHa,

Thanks for your reply. I just tried to run the first task (GPT2 Pipeline) as shown here.

I had updated both, pypi spark-nlp and the maven library. This is my current environment:

  1. Azure Databricks cluster with 14.0 ML runtime
  2. Spark 3.5.0
  3. Spark Maven library com.johnsnowlabs.nlp:spark-nlp_2.12:5.2.3 following Install Spark NLP on Databricks
  4. pypi spark-nlp==5.2.3

However, I still get the same error:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 23.0 failed 4 times, most recent failure: Lost task 2.3 in stage 23.0 (TID 173) (10.139.64.12 executor 1): java.lang.IllegalArgumentException: No Operation named [init_all_tables] in the Graph

I attach my notebook GPT2Transformer_ OpenAI Text-To-Text Transformer.zip to reproduce the error.

from spark-nlp.

DevinTDHa avatar DevinTDHa commented on May 25, 2024 1

Hi @mdrobena,

Thanks for the thorough description! I was able to reproduce it with your instructions. Important is also that it needs to be run on a muli-node setup. I am looking into this problem.

from spark-nlp.

mdrobena avatar mdrobena commented on May 25, 2024

Hi,

I have the exact same issue.

My environment:

Databricks runtime version 14.0 ML (includes Apache Spark 3.5.0, Scala 2.12)
Spark NLP: 5.2.2

from spark-nlp.

DevinTDHa avatar DevinTDHa commented on May 25, 2024

Hi @SidWeng @mdrobena,

I tried to reproduce it, but there isn't an issue with my side. Can you perhaps detail your steps to recreate this issue? Additionally, can you perhaps try just to update Spark NLP to the latest version and see if there is any difference?

I tried these following combinations of settings:

  1. Run the notebook on colab with your specified version, applying the config
  2. Run the notebook locally with specified versions, applying the config
  3. Run the notebook on databricks with the same runtime and specified versions, following Install Spark NLP on Databricks

But in all of them, I get the results without any problems. Thanks for reporting!

from spark-nlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.