Skip to content

fix: Add try except for force download#223

Merged
Pringled merged 2 commits into
mainfrom
fix/retry-incomplete-model-download
Jul 13, 2026
Merged

fix: Add try except for force download#223
Pringled merged 2 commits into
mainfrom
fix/retry-incomplete-model-download

Conversation

@Pringled

Copy link
Copy Markdown
Member

This PR adds a try except to the model loading, falling back to force_download=True in case it fails for any reason. Closes #222.

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/index/dense.py 100.00% <100.00%> (ø)
src/semble/version.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Reviews (1): Last reviewed commit: "Add try except for force download" | Re-trigger Greptile

@Pringled Pringled merged commit f4c397e into main Jul 13, 2026
16 checks passed
@Pringled Pringled deleted the fix/retry-incomplete-model-download branch July 13, 2026 15:49
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.

Semble 0.5.0 cannot recover from an incomplete Hugging Face model download

1 participant