Files
70d6a80583 ci: make clippy, rustfmt, and typos gates green (#30)
The three non-GPU ci.yml gates had been red for days, so the newly added
check-vulkan / check-rocm compile gates never got a chance to run.

clippy (-D warnings):
- heads.rs: needless_range_loop -> iterator with enumerate().take(d)
- policy.rs: items_after_test_module -> move the RoutePolicy impl above
  the test module so tests end the file
- quantized_qwen forward_attn: allow too_many_arguments (the attention
  forward signature is inherent; splitting it is a separate refactor)
- scheduler.rs / sequence.rs: test-only usize->u32 casts via try_from
  (the crate deliberately denies cast_possible_truncation)
- perf_flags: gate the FLASHINFER_PREFILL static + accessor to
  cuda+unix, matching its sole (cfg-gated) call site, so default-feature
  builds carry no dead flag
- enso seam test: repeat().take() -> repeat_n()
- router-retrain: fix doc lazy-continuation

rustfmt: cargo fmt --all (accumulated drift across 21 files).

typos: unparseable -> unparsable.

Verified locally: cargo clippy --workspace --tests --examples -- -D
warnings finishes clean; cargo fmt --all -- --check clean.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-22 02:29:06 -07:00
..