Fixed BIGMAX_TENSOR to not be so big that it becomes an int64 instead of a float32

This commit is contained in:
Jedrzej Kosinski
2025-01-31 03:54:39 -06:00
parent 3d5600a41a
commit ab5dac03c6
+1 -1
View File
@@ -18,7 +18,7 @@ from .logger import logger
BIGMIN = -(2**53-1)
BIGMAX = (2**53-1)
BIGMAX_TENSOR = torch.tensor(BIGMAX)
BIGMAX_TENSOR = torch.tensor(9999999999.9)
ORIG_PREVIOUS_CONTROLNET = "_orig_previous_controlnet"
CONTROL_INIT_BY_ACN = "_control_init_by_ACN"