Skip to content

fix(ds4): resolve Hugging Face repository imports - #11340

Open
localai-org-maint-bot wants to merge 1 commit into
masterfrom
bot/issue-11337-ds4-hf-import
Open

fix(ds4): resolve Hugging Face repository imports#11340
localai-org-maint-bot wants to merge 1 commit into
masterfrom
bot/issue-11337-ds4-hf-import

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Summary

  • resolve DS4 Hugging Face repository imports to a concrete canonical DeepSeek V4 Flash GGUF
  • honor quantization preference order with token-safe matching and preserve existing fallback behavior
  • reject unresolved repositories instead of emitting an invalid bare repository download URI
  • preserve explicit GGUF URLs, including query strings

Testing

  • go test ./core/gallery/importers -ginkgo.focus='DS4Importer'

The complete importer suite was also checked, but this environment receives HTTP 403 responses from Hugging Face; the unchanged baseline has 20 unrelated network-dependent failures.

Fixes #11337

Select a concrete DeepSeek V4 Flash GGUF from Hugging Face metadata while honoring quantization preference order. Reject unresolved repository imports instead of emitting an invalid bare URI.

Assisted-by: Codex:gpt-5
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.

Cannot import some HF models

1 participant