Loading the 720p gguf models produces unexpected arhitecture error. 480p ones work fine.

#4
by monkeylashes - opened

UnetLoaderGGUF

Unexpected architecture type in GGUF file, expected one of flux, sd1, sdxl, t5encoder but got 'pig'

click dropdown to select file (pig is default when you click and drag an image, but obviously isn't the model).

Not sure what you mean, I did select it from dropdown. As stated, the same workflow works fine when selecting the 480p model. I tried both Q6 and Q8 720p models both with the UnetLoaderGGUF node and with the MultiGPU node and all failed with the same error.

should use LoaderGGUF under the gguf node if you are using the pig architecture gguf in this repo; UnetLoaderGGUF is a different loader from comfyui-gguf, it works fine if you manually add "pig" to its loader.py's IMG_ARCH_LIST (same as MultiGPU); since pig is a lazy/universal architecture in gguf node for ease model management/conversion purpose (it applies to encoder and vae); btw, "wan" architecture gguf should work in both two loaders as well as the gguf node

Sign up or log in to comment