Skip to content

fix: add HuggingFace auth to z-image-turbo downloads#205

Merged
TimPietruskyRunPod merged 2 commits intomainfrom
fix/z-image-turbo-auth
Mar 14, 2026
Merged

fix: add HuggingFace auth to z-image-turbo downloads#205
TimPietruskyRunPod merged 2 commits intomainfrom
fix/z-image-turbo-auth

Conversation

@TimPietruskyRunPod
Copy link
Copy Markdown
Contributor

Summary

  • Adds --header="Authorization: Bearer ${HUGGINGFACE_ACCESS_TOKEN}" to the z-image-turbo model wget commands
  • All other model downloads already use this header, but z-image-turbo was missing it
  • Fixes the release build failure (wget exit code 3)

Changeset

N/A — build fix only.

Copy link
Copy Markdown
Contributor

@max4c max4c left a comment

Choose a reason for hiding this comment

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

Looks good — straightforward build fix adding the HuggingFace auth header to the z-image-turbo wget commands, consistent with the existing pattern for other gated models.

One minor note: the alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union repo also gets the auth header now. If that repo is public, the header is harmless (HuggingFace ignores unnecessary auth), but worth confirming it doesn't cause issues if the token lacks access to that specific org.

LGTM ✅

@TimPietruskyRunPod TimPietruskyRunPod merged commit 7960395 into main Mar 14, 2026
2 checks passed
@TimPietruskyRunPod TimPietruskyRunPod deleted the fix/z-image-turbo-auth branch March 14, 2026 15:55
theOnlyHorst pushed a commit to theOnlyHorst/worker-comfyui that referenced this pull request Mar 30, 2026
)

* fix: add HuggingFace auth header to z-image-turbo model downloads

* chore: add changeset for z-image-turbo auth fix

---------

Co-authored-by: Tim Pietrusky <timpietrusky@gmail.com>
pescador-barquero pushed a commit to pescador-barquero/worker-comfyui-anima that referenced this pull request May 1, 2026
)

* fix: add HuggingFace auth header to z-image-turbo model downloads

* chore: add changeset for z-image-turbo auth fix

---------

Co-authored-by: Tim Pietrusky <timpietrusky@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.

3 participants