Hey everyone. I am trying to run a Diffusion workf...
# ask-metaflow
f
Hey everyone. I am trying to run a Diffusion workflow, straight from the Outterbounds repo. Though I had previously tested this, now I get all kind of weird errors regarding transformers with this being the prominent (module transformers has no attribute CLIPImageProcessor). This is when I try to run the download model python file. Is anyone else using Metaflow for Stable Diffusion workflows that I could pick their brain?
h
hey! can you share the error ?
f
👋
module transformers has no attribute CLIPImageProcessor
I'm pretty sure my dependencies are fine, I have tried both with venv and conda.
Hmm got it working by transferring the model files from an earlier S3 I had provisioned. Also I'm pretty sure the G5 instance acted up, in contrary to G4dn instance. Do you have any recommendations on AWS instances for this? I am ultimately trying to run https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/
h
btw that flow used a very specific version of diffusers and transformers; even the docker image has the same dependencies; People in hf community solved it by bumping the transformers versions; i havent used sd-xl yet so don't have intuition on what GPUs you may need. there is some chatter in the HF community on the GPU memory requirements for the topic
f
That's gold! Thank you. Taking a peek..