Comments (2)
Some answers to your questions:
Which version of tensorflow.js is currently supported?
We currently don't have an official supported version of TensorFlow.js. Stay tuned this is something we're working on at the moment.
Is there an example somewhere of tensorflow.js running on node-gles?
Nothing official/stable/etc. I do have a test branch that I'm using to sort out some bugs with f16 textures: https://github.com/google/node-gles/compare/kreeger-rpi-fix?expand=1
Last and most key question is: does this offer any benefit over using the C version of tensorflow for nodejs (I believe there is a tensorflow native module for node out there, based on my vague recollection) For instance, does node-gles allow tensorflow.js to fully exploit the GPU (if present on the system) whereas tensorflow nodejs native module is a CPU only version? Also, what if the system has multiple GPUs, does tensorflow.js have any plans to support local distributed training or distributed inference using multiple GPUs?
We do have Node.js bindings with the C library of libtensorflow. Those bindings exist in the following two packages:
@tensorflow/tfjs-node
(CPU libtensorflow)@tensorflow/tfsj-node-gpu
(CUDA-only libtensorflow)
We're thinking about the messaging here since there are many options for hardware execution paths. The existing Node.js bindings enable CPU support in libtensorflow and GPU w/ CUDA with libtensorflow. The headless WebGL backend (powered by node-gles
) will enable GPU hardware acceleration on more devices than just CUDA enabled devices. Think of devices like IoT and mobile as well as some desktop/server integration strategies.
This is all preliminary work and hopefully we'll have something to showcase externally in the coming weeks.
from node-gles.
Great info, thank you. The trajectory of this project looks amazing in that there will be great benefit if we could run TF with more than just NVIDIA GPUs, without a CUDA to OpenCL conversion.
For the time being, given the early stage of this project, I may be better off going with tfjs-node-gpu on top of CUDA. But only on temporary basis until node-gles is fully ready!
from node-gles.
Related Issues (20)
- Error: Unsupported getParameter() option HOT 10
- Approx date for TFJS support?
- Add integration tests HOT 2
- Error: The platform win32-x64 is not currently supported! HOT 1
- Some bindings are missing HOT 4
- Better build instructions HOT 4
- LF in getProgramInfoLog HOT 1
- glReadPixels only affects first four elements HOT 3
- Error: Argument is not a number! HOT 1
- Testing WebGL with some CI
- Add Windows support HOT 2
- Ubuntu on Windows (WSL) ? HOT 5
- gl.getSupportedExtensions return empty.
- Specified module not found (windows 10) HOT 3
- How can I get the latest version of ANGLE HOT 1
- I can't use it on Windows 10
- Running in Docker HOT 1
- Multiple Textures HOT 1
- Missing function: glTexStorage2D
- PreBuilt Angle binaries no longer work "Error loading EGL entry points."
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 node-gles.