Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
9d313fc7
Unverified
Commit
9d313fc7
authored
Jul 30, 2025
by
Álvaro Somoza
Committed by
GitHub
Jul 30, 2025
Browse files
[Fix] huggingface-cli to hf missed files (#12008)
fix
parent
f83dd5c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.github/workflows/mirror_community_pipeline.yml
.github/workflows/mirror_community_pipeline.yml
+2
-2
src/diffusers/commands/fp16_safetensors.py
src/diffusers/commands/fp16_safetensors.py
+1
-1
No files found.
.github/workflows/mirror_community_pipeline.yml
View file @
9d313fc7
...
@@ -79,14 +79,14 @@ jobs:
...
@@ -79,14 +79,14 @@ jobs:
# Check secret is set
# Check secret is set
-
name
:
whoami
-
name
:
whoami
run
:
h
uggingface-cli
whoami
run
:
h
f auth
whoami
env
:
env
:
HF_TOKEN
:
${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
HF_TOKEN
:
${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
# Push to HF! (under subfolder based on checkout ref)
# Push to HF! (under subfolder based on checkout ref)
# https://huggingface.co/datasets/diffusers/community-pipelines-mirror
# https://huggingface.co/datasets/diffusers/community-pipelines-mirror
-
name
:
Mirror community pipeline to HF
-
name
:
Mirror community pipeline to HF
run
:
h
uggingface-cli
upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
run
:
h
f
upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
env
:
env
:
PATH_IN_REPO
:
${{ env.PATH_IN_REPO }}
PATH_IN_REPO
:
${{ env.PATH_IN_REPO }}
HF_TOKEN
:
${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
HF_TOKEN
:
${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
...
...
src/diffusers/commands/fp16_safetensors.py
View file @
9d313fc7
...
@@ -59,7 +59,7 @@ class FP16SafetensorsCommand(BaseDiffusersCLICommand):
...
@@ -59,7 +59,7 @@ class FP16SafetensorsCommand(BaseDiffusersCLICommand):
conversion_parser
.
add_argument
(
conversion_parser
.
add_argument
(
"--use_auth_token"
,
"--use_auth_token"
,
action
=
"store_true"
,
action
=
"store_true"
,
help
=
"When working with checkpoints having private visibility. When used `h
uggingface-cli
login` needs to be run beforehand."
,
help
=
"When working with checkpoints having private visibility. When used `h
f auth
login` needs to be run beforehand."
,
)
)
conversion_parser
.
set_defaults
(
func
=
conversion_command_factory
)
conversion_parser
.
set_defaults
(
func
=
conversion_command_factory
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment