Skip to content

Task 02: stage training and batch purity (1.116x) - #9

Open
QingyunQian wants to merge 3 commits into
sxzgroup:v2from
QingyunQian:codex/task-02-final-expert-optimization
Open

Task 02: stage training and batch purity (1.116x)#9
QingyunQian wants to merge 3 commits into
sxzgroup:v2from
QingyunQian:codex/task-02-final-expert-optimization

Conversation

@QingyunQian

@QingyunQian QingyunQian commented Jul 29, 2026

Copy link
Copy Markdown

Take-home insight

The useful optimization is to stage the 200-step training loop with TensorCircuit's scan and evaluate the exact purity terms in one batch, reducing host dispatch and repeated contractions without changing the algorithm.

Measured result

Comparison Runtime Speedup
Public expert 4.495463 s 1.000x
Optimized 4.031039 s 1.115649x

The README keeps only the decision-relevant factor table and one attribution figure.

Reviewer-facing files

  • optimized_solutions/challenge-02/README.md
  • optimized_solutions/challenge-02/solution_2_training_scan_batched_purity.py
  • optimized_solutions/challenge-02/factor-ablation.svg

Full profiles and research chronology remain in hmyuuu/OrbitBreakersExpertBenchmarks.

@QingyunQian QingyunQian changed the title Task 02: publish final TC-native training optimization (1.116x) Task 02: stage training and batch purity (1.116x) Jul 30, 2026
@QingyunQian
QingyunQian changed the base branch from main to v2 August 3, 2026 06: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