Instructions to use TTPlanet/TTPLanet_SDXL_Controlnet_Tile_Realistic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TTPlanet/TTPLanet_SDXL_Controlnet_Tile_Realistic with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TTPlanet/TTPLanet_SDXL_Controlnet_Tile_Realistic", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
How to use this model in Diffusers
#1
by kitsuneautodraft - opened
While trying to test this model out in my diffusers script, using ControlNetModel.from_single_file, I encounter the following error :
KeyError: 'time_embed.0.weight'
Nevermind, got it!
kitsuneautodraft changed discussion status to closed
@kitsuneautodraft What's the solution to this? from_single_file and from_pretrained both seems to not work.