-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running 'example. py' in a Docker container can cause the system to freeze or be forced to shut down #22
Comments
Are you facing this issue all the time or it is happening occasionally. I am running on 8GB VRAM / Windows 11 and it happens randomly. It happens during loading of model, if model loads inference is smooth. |
always. |
Try this
pipeline.enable_sequential_cpu_offload() |
But I don't think it's a problem with the VRAM. My VRAM has 24GB, which is sufficient. It's likely a problem with the CPU |
I see. This issue seems similar to #40 Previously, we instantiated the 16-bit DiT on CPU, so it consumes about 24G RAM. We have optimized the process and now it only consumes ~10G RAM. You can pull the latest code and try again. |
Great! It solved my problem. Thank you for your great works! |
@lmxyy |
Hi, Are you using docker on Windows or native Linux? |
using docker on native Linux. |
I have discovered another issue. |
Good finding. Could you look into |
Due to work reasons, I can't post the specific log. |
i meet the problem too. if run the program, the ssh port 22 will be shutdown. |
I am running it in a Docker container and nunkaku has been successfully compiled.
I replaced the schnell model in example. py with the dev model and ran it.
When the program reaches the prompt to load svdq-int4-flux.1-dev.safedetectors and outputs' Done '.
The system is stuck or forced to shut down
Warning of very high system memory usage detected when stuck or forced to shut down
May I ask if the current version of the code requires extremely high memory usage and approximately how much memory is needed
Or whether there are memory management or leakage issues
The text was updated successfully, but these errors were encountered: