Coder Social home page Coder Social logo

Comments (5)

ZhenshengWu avatar ZhenshengWu commented on August 30, 2024 1

I have solved this problem by commenting on this line of code. Although the original Ksampler took about 0.85 milliseconds, it now takes about 0.93ms. However, it has greatly improved my system
0f665ce65cff46df5f8e6cbdc564a843

from comfyui.

ltdrdata avatar ltdrdata commented on August 30, 2024

In my experience, the ultralytics module does something in the global scope. Instead of importing ultralytics initially, when I tried dynamically importing ultralytics inside a function, I encountered a phenomenon where it would malfunction from the second use onwards, producing unreliable results.

Perhaps this phenomenon could be due to ultralytics preemptively occupying some of torch's resources.

from comfyui.

bakatimeproject avatar bakatimeproject commented on August 30, 2024

Use the package linked on here: https://github.com/comfyanonymous/ComfyUI/releases/tag/v0.0.4 it has pytorch 2.3.1

from comfyui.

ZhenshengWu avatar ZhenshengWu commented on August 30, 2024

使用此处链接的包:https://github.com/comfyanonymous/ComfyUI/releases/tag/v0.0.4它有 pytorch 2.3.1

Thank you for comment. However, have replaced all versions of PyTorch, including 2.1.2 to 2.4. It does not work

from comfyui.

bakatimeproject avatar bakatimeproject commented on August 30, 2024

使用此处链接的包:https://github.com/comfyanonymous/ComfyUI/releases/tag/v0.0.4它有 pytorch 2.3.1

Thank you for comment. However, have replaced all versions of PyTorch, including 2.1.2 to 2.4. It does not work

Try a clean installation, back up the folders: custom nodes, models, output, input.
delete all comfyui.
Unzip, place the backup folders and run the .bat, it was the only thing that restored my speed. don't update anything. Only then did everything return to normal.

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.