webgpu-blas VS wgpu-mm

Compare webgpu-blas vs wgpu-mm and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
webgpu-blas wgpu-mm
3 1
97 42
- -
4.8 8.7
3 months ago about 1 month ago
TypeScript WGSL
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

webgpu-blas

Posts with mentions or reviews of webgpu-blas. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Chrome Ships WebGPU
    17 projects | news.ycombinator.com | 6 Apr 2023
    Looks like no -- there appears to be no tensor core or similar support and this SGEMM (fp32 matrix multiply) benchmark gets awful results (my laptop gets 330gflops on this when it should be capable of 13000 gflops).

    https://github.com/milhidaka/webgpu-blas

  • Modern JavaScript:Everything you missed over the last 10 years(ECMAScript 2020)
    8 projects | news.ycombinator.com | 15 May 2021
    I think you will be interested to read this article about the future of data programming in JavaScript (http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/).

    I do think that this kind of thing will be able to be built on top of WebGPU (I saw this experimental POC that did so recently: https://github.com/milhidaka/webgpu-blas). The only issue is that since JavaScript doesn't support operator overloading, the code might be a little less readable.

  • JavaScript for Data Science
    3 projects | news.ycombinator.com | 25 Apr 2021

wgpu-mm

Posts with mentions or reviews of wgpu-mm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Chrome Ships WebGPU
    17 projects | news.ycombinator.com | 6 Apr 2023
    This is very exciting! (I had suspected it would slip to 114)

    WebGPU implementations are still pretty immature, but certainly enough to get started with. I've been implementing a Rust + WebGPU ML runtime for the past few months and have enjoyed writing WGSL.

    I recently got a 250M parameter LLM running in the browser without much optimisation and it performs pretty well! (https://twitter.com/fleetwood___/status/1638469392794091520)

    That said, matmuls are still pretty handicapped in the browser (especially considering the bounds checking enforced in the browser). From my benchmarking I've struggled to hit 50% of theoretical FLOPS, which is cut down to 30% when the bounds checking comes in. (Benchmarks here: https://github.com/FL33TW00D/wgpu-mm)

    I look forward to accessing shader cores as they mentioned in the post.

What are some alternatives?

When comparing webgpu-blas and wgpu-mm you can also consider the following projects:

numjs - Like NumPy, in JavaScript

SHA256-WebGPU - Implementation of sha256 in WGSL

Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

stablehlo - Backward compatible ML compute opset inspired by HLO/MHLO

wgpu-py - Next generation GPU API for Python

next-auth - Authentication for the Web.

pygfx - A python render engine running on wgpu.

icpts - TypeScript implementation of iterative closest point (ICP) for point cloud registration

tfjs - A WebGL accelerated JavaScript library for training and deploying ML models.

web-stable-diffusion - Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.