Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include build trt dependencies #42

Closed

Conversation

pschroedl
Copy link
Collaborator

Replaces build_trt.py dependency on having a cloned copy of ComfyUI with the custom node ComfyUI_TensorRT in filesystem, with locally copied source from https://github.com/yondonfu/ComfyUI_TensorRT

This unblocks @eliteprox PR : #40

Additionally, adds a if __name__ == "__main__": check to setup_models.py and setup_nodes.py

As before, script should be invoked with the full path and filename of output script ( escaping $stat as necessary ):

python src/comfystream/scripts/build_trt.py \
--model /ComfyUI/models/checkpoints/SD1.5/dreamshaper-8.safetensors \
--out-engine /ComfyUI/output/tensorrt/static-dreamshaper8_SD15_/$stat-b-1-h-512-w-512_00001_.engine

@eliteprox
Copy link
Collaborator

Do we need all of the comfy_extras files? @pschroedl

@eliteprox
Copy link
Collaborator

This is resolved by #89, closing

@eliteprox eliteprox closed this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants