Comments (11)
Cannot run onRTX4090 with 24GB. Keep getting CUDA out of memory error.
from storydiffusion.
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.
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.
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.
I, too, am curious about PC requirements.
How will the following do?
AMD 5800X 64GB, RTX 3080 12GB
from storydiffusion.
4070 can run
from storydiffusion.
I'm OOMing as well, is this model just really beefy? Using the defaults, running on linux with Triton etc. installed.
from storydiffusion.
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.
Any chance we can run this on 3060 12gb vram?
from storydiffusion.
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.
I think I should leave this chat having RTX 4050 6GB Laptop GPU 😅
from storydiffusion.
Related Issues (20)
- 运行时内存问题 HOT 2
- global variables HOT 1
- 生图顺序的问题
- 之前还能用,现在报错不能用了咋回事KeyError: 'Event not found in queue. If you are deploying this Gradio app with multiple replicas, please enable stickiness to ensure that all requests from the same user are routed to the same instance.'
- pad_image error when calling get_comic_4panel function
- 故事提示词中的 [NC] 和 # 分别是表示什么意思啊? HOT 1
- 如何使用controlNet进行骨骼控制? HOT 9
- StoryDiffusion compared to style-align
- can a single 4090 be used to train this model
- How many frames can stroydiffusion generate at most? HOT 2
- Please share SD1.5 version
- Loading pipeline components problem HOT 1
- Where in the source code is the equivalent of Consistent Self Attention (CSA)?
- ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/SG161222/RealVisXL_V4.0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff4d2910490>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: d22bc047-7270-40ef-bc33-f1811076027b)') HOT 1
- UnboundLocalError: local variable 'captions' referenced before assignment
- Release the weights 释放重量
- A question about mask1024 and mask4096
- 可以更换其他模型吗?怎么做呢? HOT 1
- 怎么运行啊? HOT 2
- 运行失败,cuda错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storydiffusion.