Giter Club home page Giter Club logo

Comments (9)

comfyanonymous avatar comfyanonymous commented on June 16, 2024 6

Here this should work:

Replace comfy.samplers.calculate_sigmas_scheduler(model.model, "sgm_uniform", total_steps) in that custom_nodes/ComfyUI-sampler-lcm-alternative/sampler_lcm_alt.py custom node with:

comfy.samplers.calculate_sigmas(model.get_model_object("model_sampling"), "sgm_uniform", total_steps)

from comfyui.

WeiQingSong avatar WeiQingSong commented on June 16, 2024 1

nnnn

from comfyui.

Ari-Wagner avatar Ari-Wagner commented on June 16, 2024 1

Same problem.
In fact, until a few hours ago, before updating some nodes everything was working fine for me.

from comfyui.

comfyanonymous avatar comfyanonymous commented on June 16, 2024 1

See other comment for correct instructions.

from comfyui.

hgoten avatar hgoten commented on June 16, 2024 1

My 81's line of "custom_nodes/ComfyUI-sampler-lcm-alternative/sampler_lcm_alt.py" is a bit different.

sigmas = comfy.samplers.calculate_sigmas(model.get_model_object("model_sampling"), "sgm_uniform", total_steps).cpu()

What should I replace it?
Just getting rid of cpu() did not work.

from comfyui.

mike-rowley avatar mike-rowley commented on June 16, 2024

@comfyanonymous
That change doesn't work for me. The error message is 'comfy.samplers' has no attribute 'calculate_sigmas_scheduler' so changing the parameters in the call to calculate_sigmas_scheduler is not going to help as calculate_sigmas_scheduler is the problem.

from comfyui.

Ari-Wagner avatar Ari-Wagner commented on June 16, 2024

@comfyanonymous
didn't work for me either

from comfyui.

Ari-Wagner avatar Ari-Wagner commented on June 16, 2024

@comfyanonymous
it's working, thanks!!

from comfyui.

davedaverave avatar davedaverave commented on June 16, 2024

Thanks :)

from comfyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.