k-diffusion icon indicating copy to clipboard operation
k-diffusion copied to clipboard

Use `torch.special.expm1`

Open kit1980 opened this issue 11 months ago • 0 comments

This function provides greater precision than exp(x) - 1 for small values of x.

Found with TorchFix https://github.com/pytorch-labs/torchfix/

kit1980 avatar Jan 07 '25 23:01 kit1980