-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that haven't received updatesIssues that haven't received updates
Description
Describe the bug
Generating images with Kolors pipelines produces black images on the torch ROCm backend.
fp16 VAE fix model does not appear to solve the issue.
The normal SDXL pipeline works fine, the code for VAE decoding is basically identical there, so I am not sure if it is related to the VAE.
I would like to possibly contribute some community pipelines related to Kolors, mainly ControlNet and Inpainting variants and just discovered while testing.
This issue also affects the pipelines I have built here: https://github.com/Teriks/dgenerate/tree/version_5.0.0/dgenerate/extras/kolors/pipelines
Any idea where to start looking? Could be related to the text encoder?
Reproduction
import diffusers
import torch
pipe = diffusers.KolorsPipeline.from_pretrained(
'Kwai-Kolors/Kolors-diffusers', variant='fp16', torch_dtype=torch.float16)
pipe.to('cuda')
result = pipe(prompt='hello world')
result.images[0].save('test.png')Logs
System Info
diffusers 0.32.2
transformers 4.48.1
torch 2.5.1
Who can help?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleIssues that haven't received updatesIssues that haven't received updates