stanwasm 0.1.1 → 0.1.2
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 +3 -3
- package/package.json +1 -1
- package/pkg/stanwasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/stanwasm)
|
|
4
4
|
[](https://crates.io/crates/stanwasm)
|
|
5
|
-
[](https://github.com/habakan/stanwasm/blob/main/docs/en/BENCHMARKS.md)
|
|
6
6
|
[](https://github.com/habakan/stanwasm/blob/main/LICENSE)
|
|
7
7
|
|
|
8
8
|
Stan probabilistic models compiled and sampled **entirely in the browser**.
|
|
9
|
-
Pure Rust compiled to WebAssembly, a single ~
|
|
9
|
+
Pure Rust compiled to WebAssembly, a single ~514 KB bundle (~192 KB gzipped),
|
|
10
10
|
with [nuts-rs](https://github.com/pymc-devs/nuts-rs) embedded as the sampler.
|
|
11
11
|
No server, no cmdstan, no round trip.
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ Chrome, Edge, Firefox, Safari and Node.js, plus every browser on iOS and
|
|
|
22
22
|
iPadOS. Verified under Playwright's three engines: Chromium 151, Firefox 153
|
|
23
23
|
and WebKit 26.5 all instantiate the module and sample.
|
|
24
24
|
|
|
25
|
-
Safari
|
|
25
|
+
Safari failed outright before 0.1.1 — WebKit rejects a module containing
|
|
26
26
|
[relaxed SIMD](https://github.com/WebAssembly/relaxed-simd) opcodes at
|
|
27
27
|
validation time, and `pulp` emitted them. This package ships the prebuilt wasm
|
|
28
28
|
with that resolved, so nothing is required of you; see
|
package/package.json
CHANGED
package/pkg/stanwasm_bg.wasm
CHANGED
|
Binary file
|