Skip to content

Fix CoreML batch IOSurface exhaustion - #1

Merged
mathew-cf merged 1 commit into
mainfrom
mathew/coreml-iosurface-fix
Aug 17, 2026
Merged

mathew-cf merged 1 commit into
mainfrom
mathew/coreml-iosurface-fix

Conversation

@mathew-cf

Copy link
Copy Markdown
Owner

Summary

  • drain autoreleased CoreML outputs after each batch
  • prevent large indexes from reaching macOS’s per-process IOSurface limit
  • retain CoreML batch throughput while coreml-native 0.2.0 is pinned
  • remove the direct objc2 workaround after the upstream fix is released

Testing

  • indexed the 102,508-unique-chunk cloudflare-docs corpus successfully
  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • npm test
  • cargo package --allow-dirty

Upstream: robertelee78/coreml-native#1
Fix: robertelee78/coreml-native#2

@mathew-cf
mathew-cf merged commit 15bc147 into main Aug 17, 2026
7 checks passed
@mathew-cf
mathew-cf deleted the mathew/coreml-iosurface-fix branch August 17, 2026 20:40
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