bizyengine 1.2.30__py3-none-any.whl → 1.2.31__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bizyengine/bizyair_extras/nodes_nunchaku.py +5 -1
- bizyengine/core/commands/processors/prompt_processor.py +17 -4
- bizyengine/core/configs/models.yaml +12 -0
- bizyengine/version.txt +1 -1
- {bizyengine-1.2.30.dist-info → bizyengine-1.2.31.dist-info}/METADATA +1 -1
- {bizyengine-1.2.30.dist-info → bizyengine-1.2.31.dist-info}/RECORD +8 -8
- {bizyengine-1.2.30.dist-info → bizyengine-1.2.31.dist-info}/WHEEL +0 -0
- {bizyengine-1.2.30.dist-info → bizyengine-1.2.31.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,11 @@ class NunchakuFluxDiTLoader(BizyAirBaseNode):
|
|
|
11
11
|
return {
|
|
12
12
|
"required": {
|
|
13
13
|
"model_path": (
|
|
14
|
-
[
|
|
14
|
+
[
|
|
15
|
+
"svdq-int4-flux.1-dev",
|
|
16
|
+
"svdq-int4-flux.1-fill-dev",
|
|
17
|
+
"svdq-int4_r32-flux.1-kontext-dev.safetensors",
|
|
18
|
+
],
|
|
15
19
|
{"tooltip": "The SVDQuant quantized FLUX.1 models."},
|
|
16
20
|
),
|
|
17
21
|
"cache_threshold": (
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
|
+
import time
|
|
2
3
|
from collections import deque
|
|
4
|
+
from pathlib import Path
|
|
3
5
|
from typing import Any, Dict, List
|
|
4
6
|
|
|
5
7
|
from bizyengine.core.commands.base import Processor # type: ignore
|
|
@@ -109,17 +111,28 @@ class PromptProcessor(Processor):
|
|
|
109
111
|
last_node_ids: List[str],
|
|
110
112
|
**kwargs,
|
|
111
113
|
):
|
|
112
|
-
|
|
114
|
+
request_data = {
|
|
113
115
|
"prompt": prompt,
|
|
114
116
|
"last_node_id": last_node_ids[0],
|
|
115
117
|
"exec_info": self._exec_info(prompt, kwargs["api_key"]),
|
|
116
118
|
}
|
|
117
119
|
if "prompt_id" in kwargs:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
request_data["prompt_id"] = kwargs["prompt_id"]
|
|
121
|
+
|
|
122
|
+
if BIZYAIR_DEBUG:
|
|
123
|
+
save_dir = Path("runs") / "request_bodies"
|
|
124
|
+
save_dir.mkdir(parents=True, exist_ok=True)
|
|
125
|
+
timestamp = time.strftime("%Y%m%d_%H%M%S")
|
|
126
|
+
prompt_id = request_data.get("prompt_id", "no_prompt_id")
|
|
127
|
+
file_path = save_dir / f"request_{timestamp}_{prompt_id}.json"
|
|
128
|
+
file_path.write_text(
|
|
129
|
+
json.dumps(request_data, indent=2, ensure_ascii=False), encoding="utf-8"
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
json_payload = json.dumps(request_data).encode("utf-8")
|
|
120
133
|
return client.send_request(
|
|
121
134
|
url=url,
|
|
122
|
-
data=
|
|
135
|
+
data=json_payload,
|
|
123
136
|
headers=client.headers(api_key=kwargs["api_key"]),
|
|
124
137
|
)
|
|
125
138
|
|
|
@@ -62,6 +62,17 @@ model_rules:
|
|
|
62
62
|
unet_name:
|
|
63
63
|
- ^flux1-dev-kontext-onediff.safetensors$
|
|
64
64
|
|
|
65
|
+
- mode_type: unet
|
|
66
|
+
base_model: FLUX-kontext
|
|
67
|
+
describe: flux1-kontext
|
|
68
|
+
score: 3
|
|
69
|
+
route: /supernode/bizyair-comfyui-flux1-kontext-svdq
|
|
70
|
+
nodes:
|
|
71
|
+
- class_type: NunchakuFluxDiTLoader
|
|
72
|
+
inputs:
|
|
73
|
+
model_path:
|
|
74
|
+
- ^svdq-int4_r32-flux.1-kontext-dev.safetensors$
|
|
75
|
+
|
|
65
76
|
- mode_type: unet
|
|
66
77
|
base_model: FLUX-kontext
|
|
67
78
|
describe: flux1-kontext for bizybot only
|
|
@@ -102,6 +113,7 @@ model_rules:
|
|
|
102
113
|
inputs:
|
|
103
114
|
model_path:
|
|
104
115
|
- ^svdq-int4-flux.1-fill-dev$
|
|
116
|
+
|
|
105
117
|
- mode_type: unet
|
|
106
118
|
base_model: FLUX
|
|
107
119
|
describe: NunchakuPulidLoader
|
bizyengine/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.31
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.31
|
|
4
4
|
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
5
|
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
6
|
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
|
|
2
|
-
bizyengine/version.txt,sha256=
|
|
2
|
+
bizyengine/version.txt,sha256=8k_K6cZwraSxzwRljwaYEJU4CJ6aEZ_N8-tcuJ9lNi8,6
|
|
3
3
|
bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
|
|
4
4
|
bizyengine/bizy_server/api_client.py,sha256=t6cwob7hs993oy5WdFcjKtIzfi3S_eUhODdDVv_Hedo,43822
|
|
5
5
|
bizyengine/bizy_server/errno.py,sha256=Q-U96XnZQCuPH_44Om8wnc2-Kh7qFqwLKtox27msU54,16095
|
|
@@ -27,7 +27,7 @@ bizyengine/bizyair_extras/nodes_image_utils.py,sha256=BldF_CKD2M01K8-SnG-QV86u3H
|
|
|
27
27
|
bizyengine/bizyair_extras/nodes_ip2p.py,sha256=GSEFJvrs4f2tv0xwYkWqc8uhsXrzAJVPvvwcw0gTjR0,619
|
|
28
28
|
bizyengine/bizyair_extras/nodes_janus_pro.py,sha256=hAdMsS09RkRHZn9cNwpmyOaH7ODOMjVt9SbBsD-UvbM,2665
|
|
29
29
|
bizyengine/bizyair_extras/nodes_model_advanced.py,sha256=RR2pzvlNW7NEcgtRcQSLZ8Vy7_ygA0NOZDjd7ZfzX5k,1756
|
|
30
|
-
bizyengine/bizyair_extras/nodes_nunchaku.py,sha256=
|
|
30
|
+
bizyengine/bizyair_extras/nodes_nunchaku.py,sha256=E0E8f9LmEzfn4a_LdWIUBatV9n-8RFLSYlPb90SKKxs,8222
|
|
31
31
|
bizyengine/bizyair_extras/nodes_sd3.py,sha256=lZCxj0IFmuxk1fZTDcRKgVV5QWHjkUdpR4w9-DZbMf4,1727
|
|
32
32
|
bizyengine/bizyair_extras/nodes_segment_anything.py,sha256=x1ei2UggHnB8T6aUtK_ZcUehMALEyLUnDoD5SNJCbFU,7249
|
|
33
33
|
bizyengine/bizyair_extras/nodes_segment_anything_utils.py,sha256=ZefAqrFrevDH3XY_wipr_VwKfeXrgpZEUFaqg_JGOdU,4714
|
|
@@ -52,7 +52,7 @@ bizyengine/core/commands/__init__.py,sha256=82yRdMT23RTiZPkFW_G3fVa-fj3-TUAXnj6c
|
|
|
52
52
|
bizyengine/core/commands/base.py,sha256=TYH9lhr033B2roBLPkWkxcvoz_fW3cdzx_bvP_FI7dg,635
|
|
53
53
|
bizyengine/core/commands/invoker.py,sha256=8wcIMd8k44o96LAvxFrIiKOlVtf1MW-AcMDXsZkb5Qc,215
|
|
54
54
|
bizyengine/core/commands/processors/model_hosting_processor.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
|
-
bizyengine/core/commands/processors/prompt_processor.py,sha256=
|
|
55
|
+
bizyengine/core/commands/processors/prompt_processor.py,sha256=jG0EuphvtycH5Dm-frBGtlIcxkTCXiFMQ1vFMvi_Re0,4963
|
|
56
56
|
bizyengine/core/commands/servers/model_server.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
57
|
bizyengine/core/commands/servers/prompt_server.py,sha256=f5qTTyoe7_cFJ8xESG--mvP2axATKUgHyTBeV6JrBCI,8529
|
|
58
58
|
bizyengine/core/common/__init__.py,sha256=GicZw6YeAZk1PsKmFDt9dm1F75zPUlpia9Q_ki5vW1Y,179
|
|
@@ -62,7 +62,7 @@ bizyengine/core/common/env_var.py,sha256=1EAW3gOXY2bKouCqrGa583vTJRdDasQ1IsFTnzD
|
|
|
62
62
|
bizyengine/core/common/utils.py,sha256=bm-XmSPy83AyjD0v5EfWp6jiO6_5p7rkZ_HQAuVmgmo,3086
|
|
63
63
|
bizyengine/core/configs/conf.py,sha256=D_UWG9SSJnK5EhbrfNFryJQ8hUwwdvhOGlq1TielwpI,3830
|
|
64
64
|
bizyengine/core/configs/models.json,sha256=NqYVmp-ICpr1vFgafWjJMu5dyuRt9ffVUJmov3_-xRY,2746
|
|
65
|
-
bizyengine/core/configs/models.yaml,sha256=
|
|
65
|
+
bizyengine/core/configs/models.yaml,sha256=vK8knwfQm9RS4y5NXrDp2tt76-x08gFHxy7cnC7wA5w,10160
|
|
66
66
|
bizyengine/core/path_utils/__init__.py,sha256=JVpqNHgaKiEtTI8_r47af8GtWHxrtOockQ6Qpzp9_MQ,260
|
|
67
67
|
bizyengine/core/path_utils/path_manager.py,sha256=tRVAcpsYvfWD-tK7khLvNCZayB0wpU9L0tRTH4ZESzM,10549
|
|
68
68
|
bizyengine/core/path_utils/utils.py,sha256=kQfPQjGU27qF9iyzRxLSRg5cMsd-VixuCUldART7cgY,2394
|
|
@@ -77,7 +77,7 @@ bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,
|
|
|
77
77
|
bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
|
|
78
78
|
bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
|
|
79
79
|
bizyengine/misc/utils.py,sha256=deQjBgLAkxIr-NaOMm77TcgBT3ExAp0MFm5ehUJ3CGs,6829
|
|
80
|
-
bizyengine-1.2.
|
|
81
|
-
bizyengine-1.2.
|
|
82
|
-
bizyengine-1.2.
|
|
83
|
-
bizyengine-1.2.
|
|
80
|
+
bizyengine-1.2.31.dist-info/METADATA,sha256=kEzb7uTkB3vTTZy6LuqXXuRsg4YI3SCg7SE-lsdjNh8,675
|
|
81
|
+
bizyengine-1.2.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
bizyengine-1.2.31.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
|
|
83
|
+
bizyengine-1.2.31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|