Skip to content

Keep the Miles images that restore 0.1.7 checkpoints - #370

Merged
Micah Yong (micahtyong) merged 1 commit into
mainfrom
micah/restore-old-miles-images
Nov 18, 2026
Merged

Micah Yong (micahtyong) merged 1 commit into
mainfrom
micah/restore-old-miles-images

Conversation

@micahtyong

Copy link
Copy Markdown
Collaborator

Summary

A Miles LoRA checkpoint restores only on the Miles revision that saved it. #361 removed miles-v0.1.1-fdd808c, miles-v0.1.2-f2f8447 and miles-v0.1.2-464efc9-glm53, the images Spindle 0.1.7 and earlier trained on, so training states saved before the seeded images could no longer be restored with load_state. This adds them back as restore-only names, allowed by the unused-image test, and documents when to use them. It also points the native-adapter note at miles-v0.2.0-8c5de26 instead of the removed miles-v0.2.0-15afe21.

Testing

pytest tests/providers/test_deployment_apps.py tests/test_deployments.py and pre-commit pass. The restored names build the same image_at commits as before #361. On main with that image defined in user code, a Qwen3.5-4B LoRA checkpoint saved on fdd808c restored with load_state_with_optimizer through the stock Tinker SDK, and a save and reload after one more step matched exactly (W&B).

A Miles LoRA checkpoint restores only on the Miles revision that saved it.
#361 removed the three images every 0.1.x release trained on, so training
states saved by 0.1.7 and earlier could no longer be restored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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