Skip to content

HNet packed training: test suite (86 tests)#462

Draft
ElmoPA wants to merge 1 commit into
stack/hnetfrom
stack/tests
Draft

HNet packed training: test suite (86 tests)#462
ElmoPA wants to merge 1 commit into
stack/hnetfrom
stack/tests

Conversation

@ElmoPA

@ElmoPA ElmoPA commented May 20, 2026

Copy link
Copy Markdown
Contributor
  • test_hnet_nets.py (57): routing, chunk, dechunk, isotropic,
    stages (padded + packed), HNet assembly, ratio_loss, chunk_stats,
    STE, RMSNorm, AdaLN.
  • test_packed_pipeline.py (9): normalize broadcast on padded vs
    packed; _iter_leaves descent; multi-frame JPEG decode; end-to-end
    packed stats collection.
  • test_training_recipe.py (20): apply_optimization_params,
    init_weights height-scaled init, apply_lr_multiplier per-stage
    stamping, parameter_groups (default, with bias/norm WD=0,
    per-stage groups, AdamW-consumable). Plus algo wiring tests for
    the opt-in init_weights_range / lr_multipliers /
    use_parameter_groups / weight_decay kwargs.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- test_hnet_nets.py (57): routing, chunk, dechunk, isotropic,
  stages (padded + packed), HNet assembly, ratio_loss, chunk_stats,
  STE, RMSNorm, AdaLN.
- test_packed_pipeline.py (9): normalize broadcast on padded vs
  packed; _iter_leaves descent; multi-frame JPEG decode; end-to-end
  packed stats collection.
- test_training_recipe.py (20): apply_optimization_params,
  init_weights height-scaled init, apply_lr_multiplier per-stage
  stamping, parameter_groups (default, with bias/norm WD=0,
  per-stage groups, AdamW-consumable). Plus algo wiring tests for
  the opt-in init_weights_range / lr_multipliers /
  use_parameter_groups / weight_decay kwargs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

ElmoPA commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

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