Skip to content

fix: stop retrying non-recoverable dtype errors - #435

Open
xuyua9 wants to merge 1 commit into
p-e-w:masterfrom
xuyua9:fix/classify-dtype-fallback-errors-xuyua9
Open

xuyua9 wants to merge 1 commit into
p-e-w:masterfrom
xuyua9:fix/classify-dtype-fallback-errors-xuyua9

Conversation

@xuyua9

@xuyua9 xuyua9 commented Aug 27, 2026

Copy link
Copy Markdown

Refs #82, #147\n\nClassify explicit non-recoverable model-load failures such as unsupported architectures, missing dependencies, and invalid dtypes. These failures now clear the cache and stop futile dtype retries, while retryable runtime failures (including memory errors) continue through the configured fallback order. The final exception retains the dtype, classification, and formatted reason.\n\nTests: python -W error::SyntaxWarning -m unittest discover -s tests -p "test_*.py"; ruff check; ruff format --check; ty check.

@p-e-w

p-e-w commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Hey, thanks for the PR! Your agent appears to be configured incorrectly, generating broken PR descriptions (this applies to both PRs you submitted). Could you please rectify this so we can start to discuss the code itself?

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.

3 participants