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