Skip to content

Commit 4bc66bf

Browse files
committed
examples and more logins
1 parent 375984b commit 4bc66bf

File tree

83 files changed

+83
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+83
-83
lines changed

examples/advanced_diffusion_training/train_dreambooth_lora_flux_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ def main(args):
13211321
if args.report_to == "wandb" and args.hub_token is not None:
13221322
raise ValueError(
13231323
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
1324-
" Please use `huggingface-cli login` to authenticate with the Hub."
1324+
" Please use `hf auth login` to authenticate with the Hub."
13251325
)
13261326

13271327
if torch.backends.mps.is_available() and args.mixed_precision == "bf16":

examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ def main(args):
10501050
if args.report_to == "wandb" and args.hub_token is not None:
10511051
raise ValueError(
10521052
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
1053-
" Please use `huggingface-cli login` to authenticate with the Hub."
1053+
" Please use `hf auth login` to authenticate with the Hub."
10541054
)
10551055

10561056
logging_dir = Path(args.output_dir, args.logging_dir)

examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ def main(args):
12921292
if args.report_to == "wandb" and args.hub_token is not None:
12931293
raise ValueError(
12941294
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
1295-
" Please use `huggingface-cli login` to authenticate with the Hub."
1295+
" Please use `hf auth login` to authenticate with the Hub."
12961296
)
12971297

12981298
if args.do_edm_style_training and args.snr_gamma is not None:

examples/cogvideo/train_cogvideox_image_to_video_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ def main(args):
962962
if args.report_to == "wandb" and args.hub_token is not None:
963963
raise ValueError(
964964
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
965-
" Please use `huggingface-cli login` to authenticate with the Hub."
965+
" Please use `hf auth login` to authenticate with the Hub."
966966
)
967967

968968
if torch.backends.mps.is_available() and args.mixed_precision == "bf16":

examples/cogvideo/train_cogvideox_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ def main(args):
984984
if args.report_to == "wandb" and args.hub_token is not None:
985985
raise ValueError(
986986
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
987-
" Please use `huggingface-cli login` to authenticate with the Hub."
987+
" Please use `hf auth login` to authenticate with the Hub."
988988
)
989989

990990
if torch.backends.mps.is_available() and args.mixed_precision == "bf16":

examples/cogview4-control/train_control_cogview4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def main(args):
705705
if args.report_to == "wandb" and args.hub_token is not None:
706706
raise ValueError(
707707
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
708-
" Please use `huggingface-cli login` to authenticate with the Hub."
708+
" Please use `hf auth login` to authenticate with the Hub."
709709
)
710710

711711
logging_out_dir = Path(args.output_dir, args.logging_dir)

examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def main(args):
877877
if args.report_to == "wandb" and args.hub_token is not None:
878878
raise ValueError(
879879
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
880-
" Please use `huggingface-cli login` to authenticate with the Hub."
880+
" Please use `hf auth login` to authenticate with the Hub."
881881
)
882882

883883
logging_dir = Path(args.output_dir, args.logging_dir)

examples/consistency_distillation/train_lcm_distill_lora_sdxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def main(args):
709709
if args.report_to == "wandb" and args.hub_token is not None:
710710
raise ValueError(
711711
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
712-
" Please use `huggingface-cli login` to authenticate with the Hub."
712+
" Please use `hf auth login` to authenticate with the Hub."
713713
)
714714

715715
logging_dir = Path(args.output_dir, args.logging_dir)

examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def main(args):
872872
if args.report_to == "wandb" and args.hub_token is not None:
873873
raise ValueError(
874874
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
875-
" Please use `huggingface-cli login` to authenticate with the Hub."
875+
" Please use `hf auth login` to authenticate with the Hub."
876876
)
877877

878878
logging_dir = Path(args.output_dir, args.logging_dir)

examples/consistency_distillation/train_lcm_distill_sd_wds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ def main(args):
842842
if args.report_to == "wandb" and args.hub_token is not None:
843843
raise ValueError(
844844
"You cannot use both --report_to=wandb and --hub_token due to a security risk of exposing your token."
845-
" Please use `huggingface-cli login` to authenticate with the Hub."
845+
" Please use `hf auth login` to authenticate with the Hub."
846846
)
847847

848848
logging_dir = Path(args.output_dir, args.logging_dir)

0 commit comments

Comments
 (0)