o retrieve the base model
from sayakpaul/sd-model-finetuned-lora-t4 like so:


	Copied
from huggingface_hub.repocard import RepoCard

card = RepoCard.load("sayakpaul/sd-model-finetuned-lora-t4")
base_model = card.data.to_dict()["base_model"]
# 'CompVis/stable-diffusion-v1-4'
And then you can use pipe = StableDiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.float16).
This is especially useful when you don’t want to hardcode the ba