Comfy-Org / Comfy-Org/ComfyUI

KSamepler duplicate temp img, bug?

Open
#8,138 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

Hi all , first sorry, im not english.

I have a question with the Ksampler of Efficiency Nodes. If preview is enabled, and IMG is connected to a Preview node, two equal files are generated in the TMP folder.

I'm pretty sure this started recently
With the standard KSampler it works fine, only one image is saved in temporary.

Is this a new feature? a bug? can it be fixed?

I have tried with a clean installation of ComfyUI with only Efficiency installed and the same thing happens.

### Actual Behavior

KSampler standar:

![Image](https://github.com/user-attachments/assets/4a5dd0ff-b7f3-4c2d-ac3d-22d8ebdffad2)

KSampler Efficiency:

![Image](https://github.com/user-attachments/assets/c75b109f-d52c-4552-aa30-07f9fa09356f)

### Steps to Reproduce

Gen img with KSampler Efficiency, check temp folder

### Debug Logs

```powershell
No log
```

### Other

Thanks

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.