Skip to content

Commit 125c5d6

Browse files
ryanontheinsideryanontheinstiderickstaaeliteprox
authored
feat: upgrade hiddenswitch (yondonfu#37)
Co-authored-by: RyanOnTheInside <ryanontheinside@users.noreply.github.com> Co-authored-by: ryanontheinstide <ryanfosdick87@gmail.com> Co-authored-by: Rick Staa <rick.staa@outlook.com> Co-authored-by: Elite <john@eliteencoder.net>
1 parent e4ae200 commit 125c5d6

File tree

4 files changed

+398
-13
lines changed

4 files changed

+398
-13
lines changed

configs/nodes.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ nodes:
22
# Core TensorRT nodes
33
comfyui-tensorrt:
44
name: "ComfyUI TensorRT"
5-
url: "https://github.com/yondonfu/ComfyUI_TensorRT"
6-
branch: "quantization_with_controlnet_fixes"
5+
url: "https://github.com/ryanontheinside/ComfyUI_TensorRT"
6+
branch: "hs-fix"
77
type: "tensorrt"
88

99
comfyui-depthanything-tensorrt:

server/app.py

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
import json
55
import logging
66

7+
import torch
8+
9+
# Initialize CUDA before any other imports to prevent core dump.
10+
if torch.cuda.is_available():
11+
torch.cuda.init()
12+
13+
714
from twilio.rest import Client
815
from aiohttp import web
916
from aiortc import (

setup.py

+1-11
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@
77
package_dir={"": "src"},
88
install_requires=[
99
"asyncio",
10-
# Pin opentelemetry versions until this comfyui PR is merged:
11-
# https://github.com/hiddenswitch/ComfyUI/pull/26
12-
"opentelemetry-distro==0.48b0",
13-
"opentelemetry-exporter-otlp==1.27.0",
14-
"opentelemetry-propagator-jaeger==1.27.0",
15-
"opentelemetry-instrumentation==0.48b0",
16-
"opentelemetry-util-http==0.48b0",
17-
"opentelemetry-instrumentation-aio-pika==0.48b0",
18-
"opentelemetry-instrumentation-requests==0.48b0",
19-
"opentelemetry-semantic-conventions==0.48b0",
20-
"comfyui @ git+https://github.com/hiddenswitch/ComfyUI.git@89d07f3adf32a6703181343bc732bd85104bb653",
10+
"comfyui @ git+https://github.com/hiddenswitch/ComfyUI.git@ce3583ad42c024b8f060d0002cbe20c265da6dc8",
2111
],
2212
extras_require={"dev": ["pytest"]},
2313
url="https://github.com/yondonfu/comfystream",

0 commit comments

Comments
 (0)