Euge

Results 2 comments of Euge

试试 1. 安装 `safetensors` ```pip pip install safetensors ``` 2. 然后运行以下代码 ```python import torch from safetensors.torch import save_file sd = torch.load("controlnet.pt") save_file(sd, "controlnet.safetensors") ```

For those who want to use the newest comfyui, just change the 91-th line of `/custom_nodes/ComfyUI_TiledKSampler/nodes.py`, from ``` model.cond_hint = hint.to(model.control_model.dtype).to(model.device) ``` to ``` model.cond_hint = hint.to(model.control_model.dtype).to(model.control_model.device) ``` Then it...