Victor Hall
Victor Hall
Just to put a bug in the team's ear and add a +1 here, I'm working on more general case fine tuning projects (as opposed to dreambooth) and it would...
The ckpt contains optimizer state in addition to the Unet, CLIP, and VAE weights in FP32 precision. The optimizer state can be removed to produce a 4GB file.
Someone linked you were looking for help, can provide some insights perhaps. You can cache the latents of your training images ahead of time to disk or sys ram, but...
There's a general non-graceful handling here where the 503 errors end up in context, confusing the workflow. I'm personally agnostic to whether retries are automatic on 429/503 or could be...
client = openai.AsyncOpenAI(base_url=conf.base_url, api_key=api_key) async with aiofiles.open(image_path, "rb") as image_file: file_contents = await image_file.read() b64_image = base64.b64encode(file_contents).decode("utf-8") first_message = [{"type": "text", "text": first_prompt_text}, {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{b64_image}"}}] messages.append({"role": "user",...