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

VAE cant backed in #436

Closed
kalle07 opened this issue Jan 15, 2025 · 2 comments
Closed

VAE cant backed in #436

kalle07 opened this issue Jan 15, 2025 · 2 comments

Comments

@kalle07
Copy link

kalle07 commented Jan 15, 2025

normal SDXL models that i can merge without VAE

but with

...

Baking in VAE from E:\WebUI_Forge\webui\models\VAE\sdxl_vae_fp16.safetensors
Traceback (most recent call last):
File "e:\WebUI_Forge\system\python\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "e:\WebUI_Forge\system\python\lib\site-packages\gradio\route_utils.py", line 285, in call_process_api
output = await app.get_blocks().process_api(
File "e:\WebUI_Forge\system\python\lib\site-packages\gradio\blocks.py", line 1923, in process_api
result = await self.call_function(
File "e:\WebUI_Forge\system\python\lib\site-packages\gradio\blocks.py", line 1508, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "e:\WebUI_Forge\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "e:\WebUI_Forge\system\python\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "e:\WebUI_Forge\system\python\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "e:\WebUI_Forge\system\python\lib\site-packages\gradio\utils.py", line 818, in wrapper
response = f(*args, **kwargs)
File "E:\WebUI_Forge\webui\extensions\sd-webui-supermerger\scripts\mergers\mergers.py", line 119, in smergegen
result,currentmodel,modelid,theta_0,metadata = smerge(
File "E:\WebUI_Forge\webui\extensions\sd-webui-supermerger\scripts\mergers\mergers.py", line 623, in smerge
for key in vae_dict.keys():
AttributeError: 'NoneType' object has no attribute 'keys'

@duskfallcrew
Copy link
Contributor

Huh, interesting - if someone else doesn't get to this in a few days i'll peek at it, it'll be a dictionary issue with the keys - Weirdly how i don't properly code and i acctually know what's likely wrong sweats

@hako-mikan
Copy link
Owner

same to #407
and fixed in Commit ae8886d

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