Skip to content

test: bound dropout example training#25

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

test: bound dropout example training#25
kholdrex merged 1 commit into
mainfrom
test/bound-dropout-example

Conversation

@kholdrex
Copy link
Copy Markdown
Member

@kholdrex kholdrex commented Jun 6, 2026

Summary

Bound the dropout example's training workload so it stays fast and predictable for interactive runs and regression checks. The example now uses named demo constants and a reusable training configuration that matches the small fixture size.

Changes

  • Added explicit demo constants for dropout example epochs, hidden size, sequence count, sequence length, and progress logging.
  • Reused the bounded training configuration in the dropout example's training path.
  • Added regression coverage for the dropout example's training budget and deterministic fixture shape.

Test plan

  • Rust formatting, Clippy, full test suite, and example compilation passed.
  • The dropout example ran successfully with the bounded training workload.

@kholdrex kholdrex merged commit 5bc2c8f into main Jun 6, 2026
1 check passed
@kholdrex kholdrex deleted the test/bound-dropout-example branch June 6, 2026 14:18
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