Skip to content

Restore fast CUDA detection with CPU fallback - #29

Merged
Aaaaamadeus merged 2 commits into
mainfrom
codex/model-adaptation-update
Nov 10, 2026
Merged

Aaaaamadeus merged 2 commits into
mainfrom
codex/model-adaptation-update

Conversation

@Aaaaamadeus

Copy link
Copy Markdown
Owner

Automatic detection now prefers Comic Text Detector when ONNX Runtime actually enables CUDA. CPU installations still prefer the lightweight dual-graph detector, and a missing or unusable optional model falls back to the available detector. Manual model paths keep priority.

White-balloon repair now limits extra fill to glyph-sized marks near detected text so isolated artwork is preserved. The Windows model archive includes both detectors and validates the restored graph against the original SHA-256.

Validation: 418 model-branch tests passed. Real CPU and CUDA inference, CUDA enabled with the device hidden, and both detector weights in the model ZIP were verified.

@Aaaaamadeus
Aaaaamadeus merged commit bda0124 into main Nov 10, 2026
1 check 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