SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Webgpu Open-Source Projects
-
BabylonJS
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
web-llm
Bringing large-language models and chat to web browsers. Everything runs inside the browser with no server support.
-
burn
Burn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals.
-
cocos-engine
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
orillusion
Orillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.
-
Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
-
WebGPT
Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.
-
web-stable-diffusion
Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
-
wonnx
A WebGPU-accelerated ONNX inference run-time written 100% in Rust, ready for native and the web
-
WebGPU-Step-By-Step
WebGPU Tutorial: Step-by-step graphics programming with WebGPU - the next-generation graphics API for the web.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Regarding the optimization of the effect, I found an issue on the three.js GitHub repository: https://github.com/mrdoob/three.js/issues/14104 The alpha channel issue seems to be a difficult problem, which has been present since 2018. At the end of the discussion, a solution proposed by a contributor is not to modify the UnrealBloomPass but to blend the source texture and target texture in the shader.
Project mention: GPU Compute in the Browser at the Speed of Native: WebGPU Marching Cubes | news.ycombinator.com | 2024-04-23Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
10 × PlayCanvas Personal plan for 12 months
Project mention: What stack would you recommend to build a LLM app in React without a backend? | /r/react | 2023-12-08
Project mention: 3 years of fulltime Rust game development, and why we're leaving Rust behind | news.ycombinator.com | 2024-04-26You can use libtorch directly via `tch-rs`, and at present I'm porting over to Burn (see https://burn.dev) which appears incredibly promising. My impression is it's in a good place, if of course not close to the ecosystem of Python/C++. At very least I've gotten my nn models training and running without too much difficulty. (I'm moving to Burn for the thread safety - their `Tensor` impl is `Sync` - libtorch doesn't have such a guarantee.)
Burn has Candle as one of its backends, which I understand is also quite popular.
I've been working on orillusion engine fork.
A couple other options than what has been suggested so far: - TerraFX.Interop.Windows. Raw, blittable, 1:1 bindings for all Win32, D2D/D3D11/D3D12 APIs (there's also a version with Vulkan bindings). As close to doing #include as you can get in C#. This is my personal favorite, I use it in my own ComputeSharp library, and transitively we use it in the Microsoft Store too 🙂 - Silk.NET another version of high-performance bindings, more opinionated than TerraFX and with some additional helpers to make it a bit easier to use.
Yup, here's their web stable diffusion repo: https://github.com/mlc-ai/web-stable-diffusion
The input is a model (weights + runtime lib) compiled via the mlc-llm project: https://mlc.ai/mlc-llm/docs/compilation/compile_models.html
Project mention: Zig Software Foundation 2024 Financial Report and Fundraiser | news.ycombinator.com | 2024-01-18Myself and many others are betting on Zig in major ways, I truly think it has a bright future ahead.
In spare time, myself and a few others are working on a game engine in Zig[0], and the Zig core team has been very receptive to addressing issues our project faces and supporting us.
Others are working on pixel art editors[1], open source 2D RPG games[2], there's a group of independent folks working on a 3D massive immersive sim game[3], a group working on making Zig an amazing language for micro-controllers[4], etc.
Please consider donating $5-10 a month to the ZSF! They are a great group of people, and it has so many knock-on effects for others in the FOSS community. :)
[0] https://machengine.org/
[1] https://github.com/foxnne/pixi
[2] https://github.com/foxnne/aftersun
[3] https://github.com/Srekel/tides-of-revival
[4] https://github.com/ZigEmbeddedGroup
I haven't tried it myself, but it looks like several are already looking at implementing machine learning with WebGPU, and that this is one of the goals of WebGPU. Some info I found:
* "WebGPU powered machine learning in the browser with Apache TVM" - https://octoml.ai/blog/webgpu-powered-machine-learning-in-th...
* "Fastest DNN Execution Framework on Web Browser" https://mil-tokyo.github.io/webdnn/
* "Google builds WebGPU into Chrome to speed up rendering and AI tasks" https://siliconangle.com/2023/04/07/google-builds-webgpu-chr...
Project mention: Intel CEO: 'The entire industry is motivated to eliminate the CUDA market' | news.ycombinator.com | 2023-12-14The two I know of are IREE and Kompute[1]. I'm not sure how much momentum the latter has, I don't see it referenced much. There's also a growing body of work that uses Vulkan indirectly through WebGPU. This is currently lagging in performance due to lack of subgroups and cooperative matrix mult, but I see that gap closing. There I think wonnx[2] has the most momentum, but I am aware of other efforts.
[1]: https://kompute.cc/
[2]: https://github.com/webonnx/wonnx
Project mention: Show HN: Use ChatGPT, Bing, Bard and Claude in One App | news.ycombinator.com | 2023-05-15Here's mine that runs entirely in the browser and doesn't send any data to a server[1]
[1] https://chat.matt-rickard.com
Project mention: Gaussian Splats – online editor (WebGL, PlayCanvas) | news.ycombinator.com | 2023-11-08
FWIW also taichi is quite popular in python and seems has some javascript related implementation (I haven't used it though), taichi.js [0]
[0] https://github.com/AmesingFlank/taichi.js
Project mention: AgentLLM - AgentLLM is a PoC for browser-native autonomous agents | /r/AutoGPT | 2023-05-04
Webgpu related posts
-
Show HN: Volume rendering 3D data in Three.js and GLSL
-
WebGPT: GPT Model on the Browser with WebGPU
-
Warp Terminal is now available for Linux
-
Show HN: WebGPU Particles Simulation
-
Deno 1.39: The Return of WebGPU
-
What stack would you recommend to build a LLM app in React without a backend?
-
There is anything like wgpu.rs for Zig?
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 May 2024
Index
What are some of the best open-source Webgpu projects? This list will help you:
Project | Stars | |
---|---|---|
1 | three.js | 98,992 |
2 | BabylonJS | 22,488 |
3 | wgpu | 10,995 |
4 | engine | 9,138 |
5 | web-llm | 9,102 |
6 | burn | 7,074 |
7 | cocos-engine | 5,306 |
8 | orillusion | 3,744 |
9 | Silk.NET | 3,686 |
10 | WebGPT | 3,509 |
11 | web-stable-diffusion | 3,440 |
12 | mach | 2,787 |
13 | zig-gamedev | 1,980 |
14 | WebDNN | 1,970 |
15 | wonnx | 1,493 |
16 | awesome-webgpu | 1,341 |
17 | react-llm | 645 |
18 | supersplat | 592 |
19 | urde | 570 |
20 | WebGPU-Step-By-Step | 427 |
21 | taichi.js | 415 |
22 | ossos | 358 |
23 | AgentLLM | 342 |
Sponsored