@jax-js/jax 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/{backend-Ctqs8la1.js → backend-DZvR7mZV.js} +730 -21
- package/dist/{backend-DMauYnfl.cjs → backend-DlYlOYqN.cjs} +735 -20
- package/dist/index.cjs +140 -3
- package/dist/index.d.cts +66 -3
- package/dist/index.d.ts +66 -3
- package/dist/index.js +140 -4
- package/dist/{webgl-CvQ1QBX1.js → webgl-D8-14NzA.js} +7 -1
- package/dist/{webgl-kvVt7-T7.cjs → webgl-Ovaaa-Qx.cjs} +7 -1
- package/dist/{webgpu-v_W_-oKw.js → webgpu-Dg8FpYrH.js} +6 -1
- package/dist/{webgpu-DMSx7a6M.cjs → webgpu-uU9nnttc.cjs} +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ Demos on the jax-js website:
|
|
|
73
73
|
- [Voice cloning: Kyutai Pocket TTS](https://jax-js.com/tts)
|
|
74
74
|
- [CLIP embeddings for books in-browser](https://jax-js.com/mobileclip)
|
|
75
75
|
- [Object detection: DETR ResNet-50 (ONNX)](https://jax-js.com/detr-resnet-50)
|
|
76
|
+
- [Fluid simulation (Navier-Stokes)](https://jax-js.com/fluid-sim)
|
|
76
77
|
- [In-browser REPL](https://jax-js.com/repl)
|
|
77
78
|
- [Matmul benchmark](https://jax-js.com/bench/matmul)
|
|
78
79
|
- [Conv2d benchmark](https://jax-js.com/bench/conv2d)
|
|
@@ -310,7 +311,9 @@ and determines how to execute compiled operations on them.
|
|
|
310
311
|
There are currently 4 devices in jax-js:
|
|
311
312
|
|
|
312
313
|
- `cpu`: Slow, interpreted JS, only meant for debugging.
|
|
313
|
-
- `wasm`: [WebAssembly](https://webassembly.org/),
|
|
314
|
+
- `wasm`: [WebAssembly](https://webassembly.org/), multi-threaded when
|
|
315
|
+
[`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer)
|
|
316
|
+
is available.
|
|
314
317
|
- `webgpu`: [WebGPU](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API), available on
|
|
315
318
|
[supported browsers](https://caniuse.com/webgpu) (Chrome, Firefox, Safari, iOS).
|
|
316
319
|
- `webgl`: [WebGL2](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext), via
|