Giter Site home page Giter Site logo

Comments (8)

hipsterusername avatar hipsterusername commented on September 21, 2024

How much RAM do you have?

from invokeai.

MorpheusXX0 avatar MorpheusXX0 commented on September 21, 2024

How much RAM do you have?

16 GB

from invokeai.

psychedelicious avatar psychedelicious commented on September 21, 2024

Which model is causing the crash? And to confirm, it's RAM and not VRAM that's getting maxed out?

from invokeai.

MorpheusXX0 avatar MorpheusXX0 commented on September 21, 2024

Which model is causing the crash? And to confirm, it's RAM and not VRAM that's getting maxed out?

Any sdxl model, I was only able to convert one model without this problem, the dreamshaper sdxl turbo, all the others had this problem. And Yes, the problem is the ram not vram, and if I run a sdxl model that its already in diffusers format it can generate imagens without any problems, this only happens when I try to convert from ckpt or safetensors to diffusers. Sd 1.5 can convert without any problems.

from invokeai.

psychedelicious avatar psychedelicious commented on September 21, 2024

Please let us know a specific model that has the problem so we can attempt to reproduce the issue exactly.

from invokeai.

MorpheusXX0 avatar MorpheusXX0 commented on September 21, 2024

Please let us know a specific model that has the problem so we can attempt to reproduce the issue exactly.

Some examples are juggernaut xl version X , the normal and the hyper version and kohaku xl episilon. I tried with other models too but these are some.

from invokeai.

psychedelicious avatar psychedelicious commented on September 21, 2024

Thanks. I've done a brief test with Juggernaut X and can confirm conversion uses an excessive amount of RAM.

I had 12GB free and OOM'd when attempting to convert using the convert button. However, I can generate with the safetensors model, the automatic conversion there works without issue. I suspect there is something in the conversion endpoint that isn't set up correctly. @lstein , can you please take a look?

from invokeai.

MorpheusXX0 avatar MorpheusXX0 commented on September 21, 2024

Thanks. I've done a brief test with Juggernaut X and can confirm conversion uses an excessive amount of RAM.

I had 12GB free and OOM'd when attempting to convert using the convert button. However, I can generate with the safetensors model, the automatic conversion there works without issue. I suspect there is something in the conversion endpoint that isn't set up correctly. @lstein , can you please take a look?

For me, even when I try to generate without previously converting, the automatic conversion runs out of memory. Therefore, if I use a SafeTensor or a ckpt model, I cannot use SDXL; instead, I need to use a model that is already in the Diffusers format. Every method of converting the model, whether through the model manager or through the automatic conversion, always runs out of memory. And I think there is no way to use a SafeTensor or ckpt model without converting, right? I can use a space on Hugging Face to convert to Diffusers, but this requires a lot of work.

from invokeai.

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.