fermatresearch / dpo-sdxl-controlnet-lora

DPO-SDXL Canny controlnet with LoRA support.

  • Public
  • 752 runs
  • GitHub

If you haven’t yet trained a model on Replicate, we recommend you read one of the following guides.

Pricing

Trainings for this model run on Nvidia L40S GPU hardware, which costs $0.000975 per second.

Create a training

Install the Python library:

pip install replicate

Then, run this to create a training with fermatresearch/dpo-sdxl-controlnet-lora:5779933f as the base model:

import replicate

training = replicate.trainings.create(
  version="fermatresearch/dpo-sdxl-controlnet-lora:5779933f36e3ecc23c51c18de01caff6aa54ea9e147ef3edf0b2924191595216",
  input={
    ...
  },
  destination=f"{username}/<destination-model-name>"
)

print(training)

Note that before you can create a training, you’ll need to create a model and use its name as the value for the destination field.