Scala and Spark in the New Deep Learning Era
summary
Demonstration converts Hugging Face Roberta models (base and a 400M-parameter variant from Barcelona Supercomputing Center) into ONNX from Hugging Face and registers them as Spark Estimators, fine-tunes with BigDL on a Spark-on-Kubernetes cluster using Scala 3.3 + Spark 3.2 and JVM-native BLAS; the pipeline runs but demands large heaps (example: batch 128 needs ~300 GB across three nodes), uses synchronous weight sync, and shows LoRA reduces trainable params to ~1%, code and experiments are public as a working proof of concept.
AI-written summary · about
chapters (10)
- 0:00Introduction to AI trends
- 2:30Integration challenges
- 4:48Core AI concepts
- 9:31Transformer architecture
- 12:33Implementation strategy
- 17:02Model conversion and setup
- 20:43BigDL and infrastructure
- 23:48Coding the graph
- 30:37Drawbacks and optimization
- 34:29Advanced optimization techniques
related talks
04mYuhao Yang Interview
22mBringing Deep Learning into the Big Data Analytics
39mMachine Learning with Scala on Spark
23mRethinking scalable machine learning with Spark ecosystem
54mDeep Learning with Apache Spark
40mScaling From Research to Production with Skymind DL4J and ScalNet
45mDeep Learning and NLP with Spark
47mScala: The Unpredicted Lingua Franca for Data Science
