Skip to content

Conversation

comfyanonymous
Copy link
Owner

No description provided.

@comfyanonymous comfyanonymous merged commit e01e99d into master Sep 11, 2025
10 checks passed
@comfyanonymous comfyanonymous deleted the temp_pr branch September 11, 2025 03:33
vec = self.time_in(timestep_embedding(timesteps, 256, time_factor=1.0).to(img.dtype))

if self.time_r_in is not None:
w = torch.where(transformer_options['sigmas'][0] == transformer_options['sample_sigmas'])[0] # This most likely could be improved
Copy link
Contributor

@RandomGitUser321 RandomGitUser321 Sep 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you just use torch.isclose() instead of the comparison? Floats can get unreliable in situations like this without tolerance checks.

toxicwind pushed a commit to toxicwind/ComfyUI that referenced this pull request Oct 12, 2025
adlerfaulkner pushed a commit to LucaLabsInc/ComfyUI that referenced this pull request Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants