Skip to content

docs: add hf:// protocol documentation for Hugging Face integration#386

Open
pmady wants to merge 1 commit intodragonflyoss:mainfrom
pmady:docs/huggingface-integration
Open

docs: add hf:// protocol documentation for Hugging Face integration#386
pmady wants to merge 1 commit intodragonflyoss:mainfrom
pmady:docs/huggingface-integration

Conversation

@pmady
Copy link

@pmady pmady commented Feb 9, 2026

What is the purpose of the change

Add documentation for the native hf:// protocol support in dfget, which enables direct P2P downloads from Hugging Face Hub repositories.

Related to: dragonflyoss/client#1665

Changes

docs/operations/integrations/hugging-face.md:

  • Added new section "Use dfget to download files with hf:// protocol" documenting:
    • URL format specification
    • Single file download
    • Authentication with --hf-token
    • Recursive repository download
    • Dataset download
    • Revision-specific download

docs/reference/commands/client/dfget.md:

  • Added "Download with Hugging Face protocol" section with examples for models, datasets, authentication, recursive downloads, and revisions

- Add native hf:// protocol section to Hugging Face integration page
  with URL format, single file, auth, recursive, dataset, and revision examples
- Add Hugging Face protocol section to dfget reference page with
  download examples for models, datasets, auth, and revisions

Signed-off-by: pmady <pavan4devops@gmail.com>
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