Skip to content

fix(imspy-predictors): model download 404 + bump to 0.5.1#390

Merged
theGreatHerrLebert merged 1 commit intomainfrom
fix/predictors-model-download
Feb 13, 2026
Merged

fix(imspy-predictors): model download 404 + bump to 0.5.1#390
theGreatHerrLebert merged 1 commit intomainfrom
fix/predictors-model-download

Conversation

@theGreatHerrLebert
Copy link
Copy Markdown
Owner

Summary

  • Uploaded the 4 missing task-specific model assets (rt-best_model.pt, ccs-best_model.pt, charge-best_model.pt, intensity-best_model.pt) to the models-v0.5.0 GitHub release
  • Added _find_bundled_model() fallback in hub.py for editable/source installs where .pt files live next to the module
  • Bumped version to 0.5.1 so the fix can be published to PyPI

Context

pip install imspy-predictors users hit an HTTP 404 on first model load because:

  1. The wheel excludes .pt files (intentional, keeps wheel small)
  2. The download fallback in hub.py referenced filenames (rt-best_model.pt, etc.) that were never uploaded to the GitHub release

After merge

Trigger workflow_dispatch on Build and Publish Python Packages to publish imspy-predictors==0.5.1. All other packages use --skip-existing and will be silently skipped by PyPI.

🤖 Generated with Claude Code

…back in hub.py

The wheel excludes .pt files to keep it small, but the GitHub release was
missing the task-specific model assets (rt-, ccs-, charge-, intensity-best_model.pt).
This caused a 404 on first use for pip-installed users.

- Upload the 4 missing assets to the models-v0.5.0 release
- Add _find_bundled_model() fallback in hub.py for editable/source installs
- Bump version to 0.5.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@theGreatHerrLebert theGreatHerrLebert merged commit 873d225 into main Feb 13, 2026
2 checks passed
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