ComfyUI/comfy/k_diffusion
Sergii Dymchenko ebf038d4fa
Use torch.special.expm1 (#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
2025-01-19 04:54:32 -05:00
..
deis.py Lint all unused variables (#5989) 2024-12-12 17:59:16 -05:00
sampling.py Use torch.special.expm1 (#6388) 2025-01-19 04:54:32 -05:00
utils.py Remove useless code. 2023-06-13 02:40:58 -04:00