Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error when running autotrain CLI from huggingface - unrecognized arguments #647

Closed
2 tasks done
thinkingkoala opened this issue May 19, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@thinkingkoala
Copy link

Prerequisites

  • I have read the documentation.
  • I have checked other issues for similar problems.

Backend

Hugging Face Space/Endpoints

Interface Used

CLI

CLI Command

subprocess_command = ["autotrain", "spacerunner", "--project-name", slugged_lora_name, "--script-path", spacerunner_folder, "--username", username, "--token", token, "--backend", "spaces-a10gs", "--env",f"HF_TOKEN={token};HF_HUB_ENABLE_HF_TRANSFER=1", "--args", spacerunner_args]

AutoTrain advanced CLI: error: unrecognized arguments: --args pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0;pretrained_vae_model_name_or_path=madebyollin/sdxl-vae-fp16-fix;instance_prompt=A photo of TOK;dataset_name=./a6a7f02e-f9cf-4878-aa2e-358dd3a26870;caption_column=prompt;output_dir=test1805;mixed_precision=bf16;resolution=1024;train_batch_size=2;repeats=3;gradient_accumulation_steps=1;learning_rate=1.0;text_encoder_lr=1.0;adam_beta1=0.9;adam_beta2=0.999;optimizer=prodigy;train_text_encoder_ti_frac=0.5;lr_scheduler=constant;lr_warmup_steps=0;rank=32;max_train_steps=500;checkpointing_steps=100000;seed=42;prior_loss_weight=1.0;num_new_tokens_per_abstraction=2;num_train_epochs=1;adam_weight_decay=0.0001;adam_epsilon=1e-08;prodigy_decouple=True;prodigy_use_bias_correction=True;prodigy_safeguard_warmup=True;max_grad_norm=1.0;lr_num_cycles=1;lr_power=1.0;dataloader_num_workers=0;local_rank=-1;cache_latents;gradient_checkpointing;train_text_encoder_ti;with_prior_preservation;class_prompt=a photo of a person;num_class_images=150;class_data_dir=72d4e0ef-1513-46ec-8e7a-8ae7166a3353

UI Screenshots & Parameters

No response

Error Logs

image

Additional Information

This error appeared just a couple of days ago when running autotrain from this Hugging Face space https://huggingface.co/spaces/multimodalart/lora-ease
Can't make it work from my private space either.

Would appreciate it if you take a look

@thinkingkoala thinkingkoala added the bug Something isn't working label May 19, 2024
@abhishekkrthakur
Copy link
Member

it was fixed in lora-ease. closing the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants