Which GPUs are supported?
My friend and I, on different devices, are both trying to run the basic test example on Node,js (thanks for fixing the require problem) and we both get the issue
Warning: gpu not supported, falling back to cpu support
And while he has integrated intel graphics in a laptop and I wouldn't be all that surprised by that not working, I have a desktop with a GeForce 1060 6GB installed, so I can't imagine why my GPU wouldn't be compatible.
So an update to everyone, v2, rc2 has Nodejs support. In-fact it pushes the existing mechanics of gpu.js to be very stable. It is near release time for it, as unit tests are passing very well. There is, however, one missing feature highlighted here: https://github.com/stackgl/headless-gl/issues/142
To expound on the feature: In order for GPU.js to be really fast, we want to set multiple outputs for a single input. This already works in webgl1, webgl2, and CPU with the createKernelMap method. I've been working really hard to find out what the missing requirements are to satisfy that feature, and as of last night for it working for the repo that gives us node GPU support here: https://github.com/stackgl/headless-gl/pull/144
While there may be some changes that need to happen to satisfy the maintainers of headless-gl, unencumbered GPU.js node support is imminent. Said differently, we finally have full on GPU support on the server. A little late, but on its way.
Just fyi.
Because this issue has to do with node and an already mature issue was raised here: https://github.com/gpujs/gpu.js/issues/52
Going to close and continue progress there.
So to be clear: currently to get the full on effects, just browserify your code from node, and run it in a browser
A little late to the party. I'm actually just curious about this. (FYI complete newbie to ML in general) This might sound stupid, but would running my brainjs code within a headless browser - like chrome headless or something else - allow it to leverage the WebGL and there by the GPU for increased speed and performance?
Yes it would provided that the PC has a GPU.