Use `torch.special.expm1` (#6388) · code/app-python-comfyui@ebf038d · GitHub
Skip to content

Commit ebf038d

Browse files
authored
Use torch.special.expm1 (Comfy-Org#6388)
* Use `torch.special.expm1` This function provides greater precision than `exp(x) - 1` for small values of `x`. Found with TorchFix https://github.com/pytorch-labs/torchfix/ * Use non-alias
1 parent b4de04a commit ebf038d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎comfy/k_diffusion/sampling.py‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)