Skip to content

fix: restore the main build and the binary-assets check - #3661

Merged
inureyes merged 2 commits into
mainfrom
fix/main-swa-full-provider-args
Dec 1, 2026
Merged

inureyes merged 2 commits into
mainfrom
fix/main-swa-full-provider-args

Conversation

@inureyes

@inureyes inureyes commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

main stopped compiling when #3658 and #3624 landed together: #3658 passes swa_full to ModelProvider::new_with_full_config_and_diffusing_interval, and #3624 introduced that constructor without the parameter. cargo build fails with E0425 (swa_full not found) and E0061 (41 arguments supplied, 40 expected) in src/server/model_provider.rs.

This adds swa_full: bool to the constructor after context_retention, matching the argument order the start call site already uses, and forwards it from new_with_full_config, which accepted it but dropped it.

Validation: cargo build --profile test-fast --features cuda on Linux builds the lib, mlxcel, mlxcel-server, mlxcel-bench-decode and examples/logit_trace; before the change the lib fails with the two errors above.

The second commit removes docs/benchmark_results/paged-sliding-decode-gb10-2026-11-23/gemma3-1b-first-run-partial.jsonl (added in #3334), a raw JSONL record that scripts/ci/check_benchmark_raw_logs.py rejects; it made the binary assets job fail on main and on every PR. Nothing references it.

main does not compile since #3658 and #3624 landed together. #3658 threads `swa_full` through `ModelProvider` and passes it to `new_with_full_config_and_diffusing_interval`, while #3624 introduced that constructor without the parameter, so `cargo build` fails with E0425 (`swa_full` not in scope) and E0061 (41 arguments where 40 are expected).

Add `swa_full: bool` to the constructor after `context_retention`, where the call from `start` already passes it, and forward it from `new_with_full_config`, which takes it but did not pass it on. The body already uses it.

Validated with `cargo build --profile test-fast --features cuda` on Linux (the lib, `mlxcel`, `mlxcel-server`, `mlxcel-bench-decode` and `examples/logit_trace`).
@inureyes inureyes added type:bug Bug fixes, error corrections, or issue resolutions priority:high High priority status:review Under review labels Dec 1, 2026
#3334 committed `docs/benchmark_results/paged-sliding-decode-gb10-2026-11-23/gemma3-1b-first-run-partial.jsonl`, a partial raw record stream. `scripts/ci/check_benchmark_raw_logs.py` rejects JSONL under benchmark data, so the `binary assets` job fails on main and on every PR based on it. Nothing references the file; the directory keeps its README and JSON results.
@inureyes inureyes changed the title fix(server): pass swa_full through the diffusing-interval constructor fix: restore the main build and the binary-assets check Dec 1, 2026
@inureyes
inureyes merged commit 694b05b into main Dec 1, 2026
34 of 36 checks passed
@inureyes
inureyes deleted the fix/main-swa-full-provider-args branch December 1, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority status:review Under review type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant