Skip to content

test: bound advanced LR scheduling example#24

Merged
kholdrex merged 1 commit into
mainfrom
test/bound-advanced-lr-example
Jun 6, 2026
Merged

test: bound advanced LR scheduling example#24
kholdrex merged 1 commit into
mainfrom
test/bound-advanced-lr-example

Conversation

@kholdrex
Copy link
Copy Markdown
Member

@kholdrex kholdrex commented Jun 5, 2026

Summary

Bounds the advanced learning-rate scheduling example so it remains fast and deterministic for interactive runs and CI coverage. The example now uses explicit demo-budget constants for data size, sequence length, hidden sizes, scheduler steps, visualization length, and training epochs.

Changes

  • Adds named demo-budget constants and training config helpers to the advanced learning-rate scheduling example.
  • Reduces the example's generated fixture sizes, epoch counts, hidden sizes, scheduler steps, and visualization length.
  • Adds regression coverage for bounded configs, scheduler budgets, visualization limits, and deterministic generated fixtures.
  • Tightens the advanced scheduler unit check to assert the polynomial schedule reaches its end learning rate at the clamp boundary.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features

@kholdrex kholdrex merged commit 3845fba into main Jun 6, 2026
1 check passed
@kholdrex kholdrex deleted the test/bound-advanced-lr-example branch June 6, 2026 04:55
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