Comfy-Org / Comfy-Org/ComfyUI

black images when storing checkpoints on CIFS share

Open
#2,534 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I've had the issue that when I load a model there is a very high chance that all the images that I generate are just black and that I get a error in my terminal (`invalid value encountered in cast img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))`). After restarting Comfyui a lot of times it would work, but if I used another checkpoint the issue would happen again. Ever since I moved my models from a CIFS share (uid and gid where set to the user which ran comfyui) to a ISCSI disk with ext4 this issue doesn't happen anymore. This behavior isn't new and has plagued me for months.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.