Skip to content
New issue

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

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

Already on GitHub? # to your account

Add LCM Scripts #5727

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Add LCM Scripts #5727

merged 2 commits into from
Nov 9, 2023

Conversation

patil-suraj
Copy link
Contributor

What does this PR do?

@patil-suraj patil-suraj changed the title Lcm scripts scripts Nov 9, 2023
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 9, 2023

The documentation is not available anymore as the PR was closed or merged.

@patil-suraj patil-suraj changed the title scripts Add LCM Scripts Nov 9, 2023
@patil-suraj patil-suraj merged commit db2d8e7 into main Nov 9, 2023
@patil-suraj patil-suraj deleted the lcm-scripts branch November 9, 2023 16:29
kashif pushed a commit to kashif/diffusers that referenced this pull request Nov 11, 2023
* add lcm scripts

* Co-authored-by: dgu8957@gmail.com
@shuminghu
Copy link

shuminghu commented Nov 26, 2023

Runnning the script would encounter error related to missing argument unet_time_cond_proj_dim.
What's the default dim used for this argument? @patil-suraj @luosiallen

Traceback (most recent call last):
  File "/home/smhu/diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py", line 1302, in <module>
    main(args)
  File "/home/smhu/diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py", line 857, in main
    teacher_unet.config["time_cond_proj_dim"] = args.unet_time_cond_proj_dim
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'unet_time_cond_proj_dim'

@shuminghu
Copy link

Runnning the script would encounter error related to missing argument unet_time_cond_proj_dim. What's the default dim used for this argument? @patil-suraj @luosiallen

Traceback (most recent call last):
  File "/home/smhu/diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py", line 1302, in <module>
    main(args)
  File "/home/smhu/diffusers/examples/consistency_distillation/train_lcm_distill_sd_wds.py", line 857, in main
    teacher_unet.config["time_cond_proj_dim"] = args.unet_time_cond_proj_dim
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'unet_time_cond_proj_dim'

opened an issue in LCM repo:
luosiallen/latent-consistency-model#58

AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* add lcm scripts

* Co-authored-by: dgu8957@gmail.com
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants