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
26 changes: 26 additions & 0 deletions .github/workflows/portfolio-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Portfolio check - calls the shared harness in Remade-With-Rust/.github.
#
# Managed by remade-updater. Edit the shared workflow, not this file: this exists
# only so the run attaches to the pull request, where a merge can wait on it.

name: portfolio-check

on:
pull_request:
# Also on the base branch, so a red pull request can be compared against a
# real run of THIS check on main. Without it the only baseline available is
# "are main's own checks green", which answers a different question: this
# harness is stricter than most repositories' own CI, so a pre-existing
# failure it alone catches looks exactly like a regression.
push:
branches: [main, master]
workflow_dispatch:

permissions:
contents: read

jobs:
check:
uses: Remade-With-Rust/.github/.github/workflows/portfolio-test.yml@main
with:
command: test
103 changes: 58 additions & 45 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.5", optional = true }
rusty_alloc-api = { version = "=2.2.6", 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.5"
rusty_alloc-api = "=2.2.6"

# 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.5", optional = true }
rusty_alloc-api = { version = "=2.2.6", 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.5", optional = true }
rusty_alloc = { version = "=2.2.6", optional = true }

[features]
# **`rusty_alloc`, and the "open measurement" this comment used to ask for has
Expand Down
Loading
Loading