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

Model SDXL Merger Problem? #2621

Open
xxl2005 opened this issue Feb 5, 2025 · 0 comments
Open

Model SDXL Merger Problem? #2621

xxl2005 opened this issue Feb 5, 2025 · 0 comments

Comments

@xxl2005
Copy link

xxl2005 commented Feb 5, 2025

I can't merge the SDXL model. I restarted my computer without success. What could be the problem?
my GPU Nvidia 4060 TI 16 GB, computer ram 32GB, OS Linux Zorin os

Error merging checkpoints: [enforce fail at alloc_cpu.cpp:117] err == 0. DefaultCPUAllocator: can't allocate memory: you tried to allocate 335544320000 bytes. Error code 12 (Cannot allocate memory)
Time taken: 0.2 sec.

A: 0.01 GB, R: 0.01 GB, Sys: 0.4/15.6973 GB (2.7%)

Loading /home/tobias/AI/stable-diffusion-webui-forge/models/Stable-diffusion/sd_xl_base_1.0_0.9vae.safetensors... Loading /home/tobias/AI/stable-diffusion-webui-forge/models/Stable-diffusion/realisticVisionV51_v51VAE.safetensors... Merging... 49%|██████████████████▏ | 556/1131 [00:00<00:00, 10500.92it/s] *** Error loading/saving model file Traceback (most recent call last): File "/home/tobias/AI/stable-diffusion-webui-forge/modules/ui_checkpoint_merger.py", line 21, in modelmerger results = extras.run_modelmerger(*args) File "/home/tobias/AI/stable-diffusion-webui-forge/modules/extras.py", line 213, in run_modelmerger theta_0[key] = theta_func2(a, b, multiplier) File "/home/tobias/AI/stable-diffusion-webui-forge/modules/extras.py", line 97, in weighted_sum return ((1 - alpha) * theta0) + (alpha * theta1) RuntimeError: [enforce fail at alloc_cpu.cpp:117] err == 0. DefaultCPUAllocator: can't allocate memory: you tried to allocate 335544320000 bytes. Error code 12 (Cannot allocate memory)

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

1 participant