Skip to content

localize: resolve the Flashzoi backbone path in published model configs - #13

Merged
lhqing merged 1 commit into
mainfrom
fix/flashzoi-config-path
Oct 27, 2026
Merged

lhqing merged 1 commit into
mainfrom
fix/flashzoi-config-path

Conversation

@lhqing

@lhqing lhqing commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Published multi-dataset model configs name the backbone as wmb/model/Borzoi/flashzoi_checkpoints/fold_{n}.renamed.pt. That file isn't on HuggingFace, so building a model off-lab failed at the backbone load.

 localize(path)
   lab copy exists -> return it
+  logical path is the Flashzoi backbone -> get_flashzoi_checkpoint(fold)
   manifest entry  -> download

Evidence

  • Before: localize('wmb/model/Borzoi/flashzoi_checkpoints/fold_1.renamed.pt') raised FileNotAvailableError (no manifest entry).
    After: it returns the same file as get_flashzoi_checkpoint(1). New test: test_localize_maps_config_backbone_path. Gate on arc: 26 passed, 2 skipped. Ruff passes on the changed files.

Merge Danger

Door: two-way

Blast Radius: small. Only that one path pattern changes behaviour.

🤖 Generated with Claude Code

… configs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 22:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@lhqing
lhqing merged commit 058b9f5 into main Oct 27, 2026
1 check passed
@lhqing
lhqing deleted the fix/flashzoi-config-path branch October 27, 2026 22:46
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