Skip to content

Commit e6fd521

Browse files
fix vae issue
1 parent 9860039 commit e6fd521

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

node_openvino.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def execute(cls, model, device) -> io.NodeOutput:
244244
ov_ex.compiled_cache.clear()
245245
ov_ex.req_cache.clear()
246246
ov_ex.partitioned_modules.clear()
247+
ov_ex.max_openvino_partitions = 0
247248

248249
m = model.clone()
249250
set_torch_compile_wrapper(
@@ -281,6 +282,7 @@ def execute(cls, vae, device, compile_encoder, compile_decoder, remove_compile)
281282
ov_ex.compiled_cache.clear()
282283
ov_ex.req_cache.clear()
283284
ov_ex.partitioned_modules.clear()
285+
ov_ex.max_openvino_partitions = 0
284286

285287
# Get or create wrapper
286288
if not hasattr(vae, '_compile_wrapper'):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-openvino"
33
description = "OpenVINO node is designed for optimizing the performance of model inference in ComfyUI by leveraging Intel OpenVINO toolkits. It can support running model on Intel CPU, GPU and NPU device."
4-
version = "1.2.0"
4+
version = "1.2.1"
55
license = {file = "LICENSE"}
66

77
[project.urls]

0 commit comments

Comments
 (0)