From 60a937144ebc51a28a07cdcf13f94271ae95f61e Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Fri, 31 Jan 2025 03:59:05 -0600 Subject: [PATCH] Fixed BIGMAX_TENSOR to not be so big that it becomes an int64 instead of a float32, version bump --- adv_control/utils.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adv_control/utils.py b/adv_control/utils.py index 4dc7363..0f023e9 100644 --- a/adv_control/utils.py +++ b/adv_control/utils.py @@ -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" diff --git a/pyproject.toml b/pyproject.toml index 3f9afa5..f04a8ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-advanced-controlnet" description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks." -version = "1.5.2" +version = "1.5.3" license = { file = "LICENSE" } dependencies = []