Skip to content

Split the #397 score-image files below the 500-line cap #400

Open

Description

@data-angel

Four files crossed the 500-line cap in the score-images stack (#397); they are allow-listed in file-size-cap.yml pending these splits:

  • crates/spark-model/src/model/trait_impl/prefill_b/score_store.rs (623 LoC) — the FP8 pack store with the NVMe tier and read-ahead; extract the NVMe/read-ahead tier into score_store/tier.rs.
  • crates/spark-server/src/scheduler/score.rs (546 LoC, 419 before) — the image-pass merge bookkeeping (image packs + shared passes); extract the image-pack merge into a sibling.
  • crates/spark-model/src/layers/ops/dense_bf16mma_lowp_test_gpu.rs (531 LoC, 399 before) — GPU kernel microtest grew with the score-path cases; move the new score-path cases to a sibling test module.
  • crates/spark-model/src/model/trait_impl/prefill_b/score.rs (506 LoC, 479 before) — image rows in the score pass; a thin margin, extract the image-pass branch when the store split lands.

Splits to land in a follow-up PR after #397; this issue is the tracking entry the allow-list policy requires.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions