Giter Site home page Giter Site logo

Comments (11)

Speedway1 avatar Speedway1 commented on August 26, 2024 6

Cannot run onRTX4090 with 24GB. Keep getting CUDA out of memory error.

from storydiffusion.

deepbeepmeep avatar deepbeepmeep commented on August 26, 2024 3

I have been succesful with a RTX 4090 by enabling VAE slicing and CPU offloading.

Add at line 545 of gradio_app_sdxl_specific_id.py:
[TAB]pipe.enable_vae_slicing()
[TAB]pipe.enable_model_cpu_offload()

You may need to use an old version of pillow as the one installed by pip may be too recent:
pip install pillow==9.5

from storydiffusion.

Z-YuPeng avatar Z-YuPeng commented on August 26, 2024 3

We now add a low GPU Memory cost version, it was tested on a machine with 24GB GPU memory (Tesla A10) and 30GB RAM and is expected to work well with >20 G GPU memory.

python gradio_app_sdxl_specific_id_low_vram.py

from storydiffusion.

Speedway1 avatar Speedway1 commented on August 26, 2024 1

OK we just found a way to run it on a RTX4090 , you need to drop the "number of sample steps" to 35 and the image dimensions should be dropped too. 1040x640 or 640x640 works.And you can only have up to 5 or 6 steps in the description as well. Anything longer blows the ram. Having said that, right now only "RealVision" is working.

from storydiffusion.

ScotterMonk avatar ScotterMonk commented on August 26, 2024

I, too, am curious about PC requirements.
How will the following do?
AMD 5800X 64GB, RTX 3080 12GB

from storydiffusion.

smthemex avatar smthemex commented on August 26, 2024

4070 can run

from storydiffusion.

cryptowooser avatar cryptowooser commented on August 26, 2024

I'm OOMing as well, is this model just really beefy? Using the defaults, running on linux with Triton etc. installed.

from storydiffusion.

Speedway1 avatar Speedway1 commented on August 26, 2024

I have been succesful with a RTX 4090 by enabling VAE slicing and CPU offloading.

Add at line 545 of gradio_app_sdxl_specific_id.py: [TAB]pipe.enable_vae_slicing() [TAB]pipe.enable_model_cpu_offload()

You may need to use an old version of pillow as the one installed by pip may be too recent: pip install pillow==9.5

Thank you that's very helpful!

from storydiffusion.

maxbizz avatar maxbizz commented on August 26, 2024

Any chance we can run this on 3060 12gb vram?

from storydiffusion.

jjhaggar avatar jjhaggar commented on August 26, 2024

Any way of running this on a Nvidia GeForce RTX 2070 with 8gb vram?
Maybe lowering the resolution and number of steps? Please, let us know if somebody gets it to work with similar hardware specs :)

from storydiffusion.

AayushSameerShah avatar AayushSameerShah commented on August 26, 2024

I think I should leave this chat having RTX 4050 6GB Laptop GPU 😅

from storydiffusion.

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.