replicate / cog-sdxl

Stable Diffusion XL training and inference as a cog model
https://replicate.com/stability-ai/sdxl
Apache License 2.0
212 stars 106 forks source link

Allow passing in lora from huggingface/civit.ai #50

Open szeka94 opened 8 months ago

szeka94 commented 8 months ago

Deploying a custom model works, but for sites with low traffic the cold-boot can be painfully long.

I'm curious if we could add an optional parameter that'd point to a lora stored on huggingface (or civit.ai) that we can load and un-load after the generation.

I'm happy to contribute if you give me a thumbs up.