Skip to content

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

Merged
gaius-qi merged 2 commits intodragonflyoss:mainfrom
pmady:docs/huggingface-integration
Mar 9, 2026
Merged

docs: add hf:// protocol documentation for Hugging Face integration#386
gaius-qi merged 2 commits intodragonflyoss:mainfrom
pmady:docs/huggingface-integration

Conversation

@pmady
Copy link
Copy Markdown
Contributor

@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>
Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi enabled auto-merge (squash) March 9, 2026 06:10
Copy link
Copy Markdown
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants