Skip to content
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

Stuck at loading 1 model, and RAM dedicated stuck at max. #74

Closed
1 task
naK-GH opened this issue Dec 5, 2024 · 3 comments
Closed
1 task

Stuck at loading 1 model, and RAM dedicated stuck at max. #74

naK-GH opened this issue Dec 5, 2024 · 3 comments

Comments

@naK-GH
Copy link

naK-GH commented Dec 5, 2024


Issue/Feature Request Description

Type of Issue:

  • Bug Stuck loading 1 model and RAM usage

Steps to Reproduce (For Bugs Only)

  1. Windows setup.bat Python 3.10 ; Nvidia 4070Ti
  2. Launch a generation and it stuck. Sometimes i have the result sometime no, but i'm always stuck on cmd at Loading 1 model, and gpu ram usage stuck at 12Go ( 4070Ti )

Capture d'écran 2024-12-05 183434
Capture d'écran 2024-12-05 183404
Capture d'écran 2024-12-05 181121


Environment

  • OS: Win 11
  • Version: 24H2
  • Any Relevant Dependencies: 4070Ti. 32Go RAM; 13700K hyperthreading off

@naK-GH
Copy link
Author

naK-GH commented Dec 5, 2024

On screenshot when it's stuck at model 1, i tried to generte an other image. That's why you can see the INFO line.

@ForteDexe
Copy link

Same issue, but in Linux. What is up with this:

We will use 90% of the memory on device 0 for storing the model, and 10% for the buffer to avoid OOM. You can set `max_memory` in to a higher value to use more memory (at your own risk).

I don't know where it comes from, but certainly it prevent me generate because of run out of memory

@zliucz
Copy link
Member

zliucz commented Jan 4, 2025

Check this solution to oom. You may disable the llava module.

@zliucz zliucz closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants