Skip to content

Raise on LazyTurtle materialization failures and silence expected skips#2723

Merged
Qubitium merged 1 commit intomainfrom
zx_fix_LazyTurtle
Apr 13, 2026
Merged

Raise on LazyTurtle materialization failures and silence expected skips#2723
Qubitium merged 1 commit intomainfrom
zx_fix_LazyTurtle

Conversation

@ZX-ModelCloud
Copy link
Copy Markdown
Collaborator

Summary

Raise on LazyTurtle materialization failures and silence expected skips

What Changed

  • raise RuntimeError when LazyTurtle hits actual materialization failures:
    • resolved checkpoint tensor points to a missing shard
    • checkpoint tensor cannot be transformed into the target layout
    • transformed tensor shape still mismatches the target tensor
    • target parameter disappears before materialization
  • keep normal skip paths as silent no-ops when no checkpoint tensor mapping exists

Signed-off-by: ZX-ModelCloud <zx@modelcloud.ai>
@Qubitium Qubitium merged commit 1430104 into main Apr 13, 2026
6 checks passed
@Qubitium Qubitium deleted the zx_fix_LazyTurtle branch April 13, 2026 13:04
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.

2 participants