- Installation Guide
- Checkpoint: v1-5-pruned-emaonly.ckpt
- ControlNet: control_openpose-fp16.safetensors
- (4.48 - 2.35) / 4.48 = 47.6%
Here's some simple example of how to use controlnets. You can load this image in ComfyUI
to get the full workflow.
Please note: When launching comfyui, add the gpu-only
parameter, for example, python main.py --gpu-only
.
Replace "Load ControlNet Model"
with "Load ControlNet Model - OneDiff"
in comfyui, as follows:
-
Q: RuntimeError: After graph built, the device of graph can't be modified, current device: cuda:0, target device: cpu
- Please use
--gpu-only
when launching comfyui, for example,python main.py --gpu-only
.
- Please use
-
Q: oneflow._oneflow_internal.exception.Exception: Check failed:(xxx == yyy)
- To initiate a fresh run, delete the files within the
ComfyUI/input/graphs/
directory and then proceed with rerunning the process. - Switching the strength parameter between 0 and > 0 in the "Apply ControlNet" node is not supported. A strength of 0 implies not using ControlNet, while a strength greater than 0 activates ControlNet. This may lead to changes in the graph structure, resulting in errors.
- To initiate a fresh run, delete the files within the
-
Q: Acceleration of ControlNet: Not very apparent
- ControlNet is a very small model, In prior tests, the iteration ratio between UNet and ControlNet was 2:1.
- UNet compilation contributed to a 30% acceleration, while ControlNet contributed 15%, resulting in an overall acceleration of approximately 45%.
- In the enterprise edition, UNet exhibited a more substantial acceleration, making the acceleration from ControlNet relatively smaller.
For users of OneDiff Community, please visit GitHub Issues for bug reports and feature requests.
For users of OneDiff Enterprise, you can contact [email protected] for commercial support.
Feel free to join our Discord community for discussions and to receive the latest updates.