1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-03 07:26:31 +08:00

Some minor cleanups.

This commit is contained in:
comfyanonymous
2024-10-05 13:22:39 -04:00
parent 6f021d8aa0
commit 7d2467e830
3 changed files with 1 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
import torch
import math
def calc_mantissa(abs_x, exponent, normal_mask, MANTISSA_BITS, EXPONENT_BIAS, generator=None):
mantissa_scaled = torch.where(