charlesmccarthy / sdxl

SDXL on a A40

  • Public
  • 53.2K runs

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 charlesmccarthy/sdxl:4c7300e6 as the base model:

import replicate

training = replicate.trainings.create(
  version="charlesmccarthy/sdxl:4c7300e6b45a6dacc2fbbeaa0d2e17624231fa02d998923e94a462423ed12ba5",
  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.