Skip to content

Commit 60a9371

Browse files
committed
Fixed BIGMAX_TENSOR to not be so big that it becomes an int64 instead of a float32, version bump
1 parent 23563ec commit 60a9371

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adv_control/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
BIGMIN = -(2**53-1)
2020
BIGMAX = (2**53-1)
21-
BIGMAX_TENSOR = torch.tensor(BIGMAX)
21+
BIGMAX_TENSOR = torch.tensor(9999999999.9)
2222

2323
ORIG_PREVIOUS_CONTROLNET = "_orig_previous_controlnet"
2424
CONTROL_INIT_BY_ACN = "_control_init_by_ACN"

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-advanced-controlnet"
33
description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks."
4-
version = "1.5.2"
4+
version = "1.5.3"
55
license = { file = "LICENSE" }
66
dependencies = []
77

0 commit comments

Comments
 (0)