Trying to build SimpleMlp

24 views
Skip to first unread message

Timothy Curry

unread,
Apr 30, 2023, 9:57:36 PM4/30/23
to User Group for BigDL
Hi,

I cloned the BigDL repo to try and get a basic NN working. My plan is to use a NN in a Scala / Spark program. I have searched this user group for any info on this problem, but haven't found any.

I navigate to BigDL/apps/SimpleMlp in the cloned repo and try to build with sbt.
I get the following error:


Sure enough, there is no "0.14.4" directory under "sbt-assembly_2.12_1.0"

So how do I fix this?

Thank you in advance,

Tim

Jason Dai

unread,
May 1, 2023, 4:46:17 AM5/1/23
to Timothy Curry, User Group for BigDL
The latest BigDL version is 2.3.0; see the download link: https://bigdl.readthedocs.io/en/latest/doc/release.html

Thanks,
-Jason

--
You received this message because you are subscribed to the Google Groups "User Group for BigDL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/81bf299c-c56e-424e-8d7b-0c44b27d9e6an%40googlegroups.com.

Timothy Curry

unread,
May 1, 2023, 9:32:57 PM5/1/23
to User Group for BigDL
Hi Jason,

And thank you for your reply. I've only been coding with Scala for about two years now and
the most confounding thing about it is the library system. It is very frustrating to try to use.

That said, I'm not sure what to do with the information that you sent. I'm using sbt to build
and I'm using what came in the BigDL repo which contains:

libraryDependencies ++= Seq(
"org.apache.spark" % "spark-core_2.11" % "2.4.3" % "compile",
"org.apache.spark" % "spark-mllib_2.11" % "2.4.3" % "compile",
"com.intel.analytics.bigdl" % "bigdl-dllib-spark_2.4.6" % "0.14.0-SNAPSHOT"
)

I tried "bigdl-assembly-spark_2.4.6" % "2.4.0-SNAPSHOT" which is the link of the latest version,
but sbt did not like that.

I've looked for documentation for weeks trying to get BigDL to work before even posting here
but nothing seems to work.

Can you (or someone) tell me what I'm missing?

Thanks again,

Tim

Phuong LE-HONG

unread,
May 2, 2023, 12:01:29 AM5/2/23
to Timothy Curry, User Group for BigDL
Dear Timothy,

Here is an excerpt of my sbt file. It should work. I have not used the latest version of BigDL. However, I think that replacing 2.1.0 with 2.3.0 still works. 

Best,

Phuong

==
val sparkVersion = "3.1.2"
val bigdlVersion = "2.1.0"

libraryDependencies ++= Seq(
  "org.apache.spark" %% "spark-core" % sparkVersion % "provided",
  "org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
  "org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
  "com.intel.analytics.bigdl" % "bigdl-dllib-spark_3.1.2" % bigdlVersion
)
==

emimartin...@gmail.com

unread,
May 2, 2023, 3:30:23 AM5/2/23
to User Group for BigDL

Take a look to this repo

Timothy Curry

unread,
May 3, 2023, 7:59:36 PM5/3/23
to emimartin...@gmail.com, User Group for BigDL
Thanks everyone for your help. The main problem seems to be that it can't find the eed3si9n package in Maven.
I don't know of a way to fix this. Besides the GitHub repo for it, all I can find is this:
https://central.sonatype.com/artifact/com.eed3si9n/sbt-assembly/2.1.1/overview

Phuong LE-HONG

unread,
May 3, 2023, 8:30:18 PM5/3/23
to Timothy Curry, emimartin...@gmail.com, User Group for BigDL
Dear Timothy,

You need to add a repo for your sbt-assembly plugin. Something like this:

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.1.0")

Phuong



Reply all
Reply to author
Forward
0 new messages