Skip to content

No generation with VULKAN backend for some parametersΒ #518

@olivbrau

Description

@olivbrau

Hi,
I've tried the VULKAN backend and encountered strange results.
(I used model 2.1, but the issues arise also with other models)

1) no image if no --vae-on-cpu parameter
sd -m .\v2-1_768-nonema-pruned.safetensors --sampling-method euler --steps 20 -H 512 -W 512--type q8_0 -p "a cute birman cat"
--> the generation phase is realised, and then during the phase where the logs says "decoding latents", suddenly the simulation ends suddenly and no image is written
--> if I add --vae-on-cpu, it works

2) black image for some image size
sd -m .\v2-1_768-nonema-pruned.safetensors --sampling-method euler --steps 20 -H 512 -W 512 --type q8_0 -p "a cute birman cat" --vae-on-cpu -->OK
sd -m .\v2-1_768-nonema-pruned.safetensors --sampling-method euler --steps 20 -H 768 -W 768 --type q8_0 -p "a cute birman cat" --vae-on-cpu -->KO the phase "generating image"hangs and the script ends suddenly
sd -m .\v2-1_768-nonema-pruned.safetensors --sampling-method euler --steps 20 -H 512 -W 832 --type q8_0 -p "a cute birman cat" --vae-on-cpu --> KO the process goes until the end, but the image is totally black
For the 2 last examples, the same command with CPU backend works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions