truss-examples icon indicating copy to clipboard operation
truss-examples copied to clipboard

Ip adaptor model not downloading

Open D33ADLOCK opened this issue 10 months ago • 8 comments

I want to use IP adaptor in my workflow and to do that I tried to download model but it showing that the dir not found. The problem is that the ip adaptor custom node doesn\t create the ipadaptor folder inside model. So it is not able to find the ipadptor model. How can I download the model? Or craete a ipadaptor folder before the it is downloaded.

D33ADLOCK avatar Mar 31 '24 10:03 D33ADLOCK

Hi @D33ADLOCK -- could you provide more context here? I am not sure what IP Adaptor is. Is there a truss example that's not working for you? Could you specify which example that is and what exact steps you took? thank you

squidarth avatar Apr 01 '24 18:04 squidarth

I am having the same issue. Specifically when using the comfyui-truss workflow, when you use the IPAdapter node you need a folder called model/ipadapter/... - usually in comfyui the user creates this folder themselves and that is how the ipadapter node references a model. Looks like BaseTen's comfyui truss workflow does not support that greatly limiting using it for professional workflows.

glyfspace avatar Apr 22 '24 22:04 glyfspace

@D33ADLOCK @glyfspace Our current ComfyUI setup does not create an ipadapter folder by default. You can modify the helpers.py file in the comfyui-truss to create a directory called ipdapter. There you can download the weights necessary for your model.

htrivedi99 avatar Apr 23 '24 00:04 htrivedi99

That fixed my issue! But now when trying to load the IPAdapterPlus custom nodes I am getting the following error. _ Cannot import /app/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus module for custom nodes: No module named 'node_helpers'_

On the IPAdapter repository it says the solution is to update Comfy. How would I update comfy on Baseten?

Thank you!

glyfspace avatar Apr 23 '24 02:04 glyfspace

looks like the base_image in the config.yaml is an outdated version of comfy - how does one update this?

base_image: image: bolabaseten/comfyui-truss-base:6a7bc35

changing the commit extension to the latest version doesn't work - guessing something has to be changed with the actual base_image on Baseten

it would be great if this could be updated! thank you!

glyfspace avatar Apr 23 '24 19:04 glyfspace

I need help with too, can the base image be update so that it has the late version of comfy ui @squidarth

VedanthB avatar Apr 29 '24 08:04 VedanthB

Hi everyone, I've create a new base image that has the latest version of Comfy. Inside the config.yaml please use this as the new base image:

base_image:
    image: htrivedi05/updated-comfyui-base-image:latest
    python_executable_path: /usr/bin/python3

htrivedi99 avatar Apr 29 '24 14:04 htrivedi99

Hi everyone, I've create a new base image that has the latest version of Comfy. Inside the config.yaml please use this as the new base image:

base_image:
    image: htrivedi05/updated-comfyui-base-image:latest
    python_executable_path: /usr/bin/python3

Could you update it again?

rk-helper avatar Jul 19 '24 18:07 rk-helper