Skip to content

Reduce PSRN scoring memory with ordered candidate tiles - #2

Merged
x66ccff merged 1 commit into
mainfrom
psrn-memory-scoring
Oct 6, 2026
Merged

x66ccff merged 1 commit into
mainfrom
psrn-memory-scoring

Conversation

@x66ccff

@x66ccff x66ccff commented Oct 6, 2026

Copy link
Copy Markdown
Owner

PSRN scoring currently materializes full candidate outputs and operand-index tables, increasing memory use for large symbolic searches. This change reconstructs selected operand indices on demand and scores ordered final-layer tiles, with automatic dense/tiled dispatch based on estimated tensor storage and sample batching.

Preserves sample accumulation order and candidate ordering, with dense fallback for autocast, nonfloating inputs, and CPU Pow. Reuses dense residual storage outside autocast and supports legacy Torch dtype/autocast APIs.

Scope: two implementation modules and three Python regression test files. No PDF, documentation, assets, datasets, workflow, or dependency changes are included.

Review: inspected the code diff and searched source/config text for Alibaba/ByteDance identifiers, private endpoints, and credential markers; no indicators were found. This is an indicator review, not proof of provenance.

Validation: tests were not executed in this session, following the user's instruction to skip extra validation. Included tests cover dense/tiled scoring, operand geometry, dispatch, dtype promotion, and autocast behavior.

@x66ccff
x66ccff marked this pull request as ready for review October 6, 2026 14:03
@x66ccff
x66ccff merged commit 57f6dc6 into main Oct 6, 2026
4 checks passed
@x66ccff
x66ccff deleted the psrn-memory-scoring branch October 6, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant