Skip to content

fix(model-manager): reduce inventory DNS lookups - #752

Merged
0xShug0 merged 1 commit into
mainfrom
fix/model-manager-dns
Oct 1, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
fix/model-manager-dns

Conversation

@0xShug0

@0xShug0 0xShug0 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reuse per-thread HTTP connections and consume HF metadata without unnecessary CDN redirects, preserving Xet ETag compatibility.
  • Read complete inventory JSON instead of truncating it at 64 KiB.

Validation

  • macOS/Metal server: one 316-package scan dropped from 2,576 to 18 hostname-resolution calls; package sizes/statuses unchanged. These are resolver calls, not packet counts.
  • HTTP, ModelScope, and installer tests pass, including redirects, downloads, manifests, cancellation, and large inventories.

Fixes #751

@0xShug0
0xShug0 merged commit 7e835bb into main Oct 1, 2026
9 checks passed
@0xShug0
0xShug0 deleted the fix/model-manager-dns branch October 1, 2026 16:42
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.

UI Model management performs too many DNS requests

1 participant