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

The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. Killed #64

Closed
DeepAlgoExpert opened this issue May 14, 2024 · 13 comments

Comments

@DeepAlgoExpert
Copy link

Thanks for your great work.
I tried to run gradio demo on ubuntu with cuda 11.8 but got error.
git-error
Please help me!
Thanks.

@FurkanGozukara
Copy link

killed means not enough RAM usually

@SailochanaR
Copy link

killed means not enough RAM usually
@yisol can u reveal the specifications it requires to launch ,details about cpu n gpu etc
@FurkanGozukara please can u estimate how much it requires , because I'm using 16GB Memory and 24GB gpu still same error
@DeepAlgoExpert did u solve ??

@FurkanGozukara
Copy link

well we have even 8 GB VRAM working version

even if you dont have sufficient RAM it should work with virtual RAM

for Windows : https://youtu.be/m4pcIeAVQD0
for linux / ubuntu : https://youtu.be/LeHfgq_lAXU

@hetsalk
Copy link

hetsalk commented May 21, 2024

I get same error while tring to run command

python gradio_demo/app.py

But i have 16 GB RAM and every time when i run this command it acquirer all 16 GB ram and it caused my pc was hanged.
So please provide solution for that.

@jeffryWillam
Copy link

I get same error while tring to run command

python gradio_demo/app.py

But i have 16 GB RAM and every time when i run this command it acquirer all 16 GB ram and it caused my pc was hanged. So please provide solution for that.

the same. Have u solved the problem?

@longding717
Copy link

I have 64g of RAM and 24g of GPU memory, but the same error message appears. It's puzzling.

@SailochanaR
Copy link

SailochanaR commented May 29, 2024

@longding717 yeah while doing setup it eataways time but it actually works ,
I used g5.2xlarge 8vCPUs 32 gb Memory EC2 Instance ,works for me .
In local also we can run I was able to launch in NVIDIA GeForce RTX 3070 Mobile / Max-Q
Memory: 32.0 GiB GDDR6

@Utkarsh13tiwari
Copy link

Utkarsh13tiwari commented Jun 4, 2024

Getting the same issue.

Laptop config= 8 cores CPU, 1660 4gb RAM GeforceGTX GPU, 16 GB RAM and 512GB SSD.

Any possible fix to the issue please help me out.

@SailochanaR
Copy link

@Utkarsh13tiwari can u share error ?

@Utkarsh13tiwari
Copy link

@SailochanaR
error:

The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. Killed


there is no error, but seems to some problem with memory according to the previous comments/suggestions. Look the above warning

@SailochanaR
Copy link

SailochanaR commented Jun 6, 2024

@Utkarsh13tiwari
The issue is with insufficient memory, u require 32GB memory, even I faced same Error .
Ur Error : concludes with launching
The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file.
At this point the model configures the system requirements after this it will load UNET model files

@Utkarsh13tiwari
Copy link

@SailochanaR So whats the possible fix? should i use AWS ec2 instance for running the API?

How did you overcome the error?

@SailochanaR
Copy link

@Utkarsh13tiwari yes .
I used g5.2xlarge 8vCPUs 32 gb Memory EC2 Instance

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

7 participants