Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/ffai-argus-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ wasm-bindgen = "=0.2.121" # pinned to the installed wasm-bindgen-cli; the two
# feeding an autoregressive decoder with a growing KV cache — so
# `--no-default-features` keeps the dlmalloc arm buildable for whoever takes
# that measurement.
rusty_alloc-api = { version = "=2.2.0", optional = true }
rusty_alloc-api = { version = "=2.2.2", optional = true }

# The gemm SIMD A/B, off by default. `gemm` is already in the tree beneath
# candle; this makes its runtime switch reachable so a browser can measure
Expand Down
2 changes: 1 addition & 1 deletion crates/ffai-argus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ getrandom = { version = "0.3", features = ["wasm_js"] }
# places: a SigLIP/Llama forward allocates a 47 MB score tensor per layer, and
# 47 MB is above the threshold where most allocators stop pooling and go
# straight to the OS. See `examples/alloc_ab.rs`.
rusty_alloc-api = "=2.2.0"
rusty_alloc-api = "=2.2.2"

# The step-3 oracle test reads the reference dump's summary.json.
serde_json = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/ffai-carmenta-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ serde-wasm-bindgen = "0.6"
# rusty_alloc at parity with dlmalloc on Diana's workload. Carmenta's
# allocation pattern is different (many small line crops rather than one big
# tensor chain), so the answer here is its own open measurement.
rusty_alloc-api = { version = "=2.2.0", optional = true }
rusty_alloc-api = { version = "=2.2.2", optional = true }
# The allocator CORE, for `arena::reserve_os_memory_ex`. `rusty_alloc-api` is
# the mi_*-compatible surface and does not re-export the arena module, but on
# wasm the arena is the ONLY layer that recycles a freed segment — `prim::free`
# is a no-op there because linear memory cannot shrink. Same version as the
# api crate, so this adds no second copy of the allocator.
rusty_alloc = { version = "=2.2.0", optional = true }
rusty_alloc = { version = "=2.2.2", optional = true }

[features]
# **`rusty_alloc`, and the "open measurement" this comment used to ask for has
Expand Down
2 changes: 1 addition & 1 deletion crates/ffai-carmenta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ tokenizers = { version = "0.23", default-features = false, features = ["unstable
mimalloc = { version = "0.1", default-features = false }
# Superseded as the default by the pure-Rust remake; see the allocator
# doc comment in `ffai-cli/src/main.rs` for the measurement.
rusty_alloc-api = "=2.2.0"
rusty_alloc-api = "=2.2.2"
ffai-media = { path = "../ffai-media" }
ffai-bench = { path = "../ffai-bench" }

Expand Down
4 changes: 2 additions & 2 deletions crates/ffai-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ mimalloc = { version = "0.1", default-features = false, optional = true }
# It reproduced in the CLI (which declares this allocator) and never in an
# example (which declared none and got the system one), and that difference is
# what finally identified it.
rusty_alloc-api = "=2.2.0"
rusty_alloc-api = "=2.2.2"
# The core, for `alloc::collect` — see `spawn_page_trimmer` in main.rs.
# Without it rusty_alloc's RSS does not bound on a rayon pool.
rusty_alloc = "=2.2.0"
rusty_alloc = "=2.2.2"
clap = { workspace = true }

[features]
Expand Down
4 changes: 2 additions & 2 deletions crates/ffai-diana/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ libmimalloc-sys = { version = "0.1", default-features = false }
# margin the largest single effect in the Diana latency campaign (1.64x), so
# it is simultaneously the dependency we most want to drop and the one that
# costs the most to drop wrongly.
rusty_alloc-api = "=2.2.0"
rusty_alloc-api = "=2.2.2"
# The core, for `alloc::collect` — the reclaim `examples/scaling.rs` drives.
# `rusty_alloc-api` deliberately exposes collect only per-`Heap`.
rusty_alloc = "=2.2.0"
rusty_alloc = "=2.2.2"
ffai-media = { path = "../ffai-media" }
ffai-bench = { path = "../ffai-bench" }

Expand Down
2 changes: 1 addition & 1 deletion crates/ffai-mercury-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ wasm-bindgen = "=0.2.121" # pinned to the installed wasm-bindgen-cli; the two
# Mercury's allocation pattern is its own question — one long encoder/decoder
# chain rather than many small crops — so `--no-default-features` keeps the
# dlmalloc arm buildable for whoever takes that measurement.
rusty_alloc-api = { version = "=2.2.0", optional = true }
rusty_alloc-api = { version = "=2.2.2", optional = true }

[features]
default = ["rusty-alloc"]
Expand Down
2 changes: 1 addition & 1 deletion crates/ffai-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ wasm-bindgen = "=0.2.121" # pinned to the installed wasm-bindgen-cli; the two
# pre-reservation is disabled there, because wasm `memory.grow` is never
# returned to the host). Whether it beats dlmalloc on THIS workload is a
# measurement we can now run, which is the point of having a cdylib at all.
rusty_alloc-api = { version = "=2.2.0", optional = true }
rusty_alloc-api = { version = "=2.2.2", optional = true }

[features]
# `rusty_alloc` is the default; `--no-default-features` leaves the target's own
Expand Down
Loading