Comments (4)
You're right that Glint is stand-alone and not necessarily interfaced with Spark. You could use it entirely without Spark. The documentation has a section that shows how Glint can easily be used within Spark: http://rjagerman.github.io/glint/gettingstarted/spark/
The main idea is that "BigVector" and "BigMatrix" objects are serializable and safe to be used within Spark closures. You can iterate over a dataset like you would in Spark but simultaneously use Glint to "pull" and "push" parts of a distributed model. The entire documentation is in need of an overhaul to make all this more clear.
I am still debating whether to integrate Glint more closely to Spark. One of the advantages is that we can run Glint within the Spark runtime (I have a proof-of-concept of this ready). This means we don't have to run the parameter servers as separate java processes. Anyone can just include Glint as a dependency and it will run automatically in their Spark cluster together with their code.
An example of Glint working together with Spark is GlintLDA, a state-of-the-art LDA algorithm that achieves Web-scale topic modeling beyond what was possible with mllib.
from glint.
Thank you ! I will have a look about your doc, Thanks again!
from glint.
Your current implement don't support cluster? how dou you store the bigMatrix if there are many servers? I think Flint can be a component of spark upon spark core.
from glint.
We can setup parameter servers in spark application, and use glint as a component.
from glint.
Related Issues (20)
- Actor Not Found
- Can glint support SSP mode HOT 3
- PullFailedException in large dataset HOT 8
- Implementation bug in ColumnIterator? HOT 15
- Rework of Glint internals HOT 7
- Struggling with data transfer / actor disassociated HOT 5
- Not able to pull matrix slice with rows != cols HOT 5
- Look into Akka Artery
- Random init HOT 1
- why make "push" as an “accumulator” rather than “replacer”? HOT 6
- BigMatrix should support push(rows)
- Can glint support BigInt type? HOT 1
- Does glint support (key, value) store ? HOT 1
- BigMatrix push and pull is high network consumption HOT 1
- Can not create Glint Client in Apache Spark HOT 4
- Akka Actor Error when initializing Glint Client HOT 2
- cluster conf example
- Got runtime issues when using spark-shell HOT 2
- Need Save Operation to store the big vector/matrix into HDFS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glint.