Skip to content

feat: support arbitrary HuggingFace models via custom repo ID#169

Draft
HWiese1980 wants to merge 1 commit into1038lab:mainfrom
HWiese1980:feature/custom-hf-model-repo
Draft

feat: support arbitrary HuggingFace models via custom repo ID#169
HWiese1980 wants to merge 1 commit into1038lab:mainfrom
HWiese1980:feature/custom-hf-model-repo

Conversation

@HWiese1980
Copy link
Copy Markdown

Add custom_model_repo input to all HF nodes (QwenVL, QwenVL Advanced, PromptEnhancer) allowing users to specify any HuggingFace repo ID (e.g. user/model-name) to override the predefined model dropdown.

Add custom_repo_id, custom_model_file, and custom_mmproj_file inputs to all GGUF nodes (QwenVL GGUF, QwenVL GGUF Advanced, GGUF Prompt Enhancer) for downloading and using arbitrary GGUF models from HF.

Key changes:

  • ensure_model() accepts direct HF repo IDs (user/model format)
  • enforce_memory() gracefully skips VRAM checks for unknown models
  • GGUF _load_model() bypasses catalog when custom fields are provided
  • PromptEnhancer _load_text_model() handles direct repo IDs
  • All changes are backward-compatible (empty fields use dropdown)

Add custom_model_repo input to all HF nodes (QwenVL, QwenVL Advanced,
PromptEnhancer) allowing users to specify any HuggingFace repo ID
(e.g. user/model-name) to override the predefined model dropdown.

Add custom_repo_id, custom_model_file, and custom_mmproj_file inputs
to all GGUF nodes (QwenVL GGUF, QwenVL GGUF Advanced, GGUF Prompt
Enhancer) for downloading and using arbitrary GGUF models from HF.

Key changes:
- ensure_model() accepts direct HF repo IDs (user/model format)
- enforce_memory() gracefully skips VRAM checks for unknown models
- GGUF _load_model() bypasses catalog when custom fields are provided
- PromptEnhancer _load_text_model() handles direct repo IDs
- All changes are backward-compatible (empty fields use dropdown)
@HWiese1980 HWiese1980 changed the title feat: support arbitrary HuggingFace models via custom repo ID Draft: feat: support arbitrary HuggingFace models via custom repo ID Mar 19, 2026
@HWiese1980 HWiese1980 marked this pull request as draft March 19, 2026 18:24
@HWiese1980 HWiese1980 changed the title Draft: feat: support arbitrary HuggingFace models via custom repo ID feat: support arbitrary HuggingFace models via custom repo ID Mar 19, 2026
@HWiese1980
Copy link
Copy Markdown
Author

I'll mark this as draft for now because I want to harmonize it with the already existing custom_models.json mechanism.

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