Instructions to use bdsqlsz/qinglong_controlnet-lllite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bdsqlsz/qinglong_controlnet-lllite with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("bdsqlsz/qinglong_controlnet-lllite", 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
Rename bdsqlsz_controlllite_xl_tile_anime_α.safetensors to bdsqlsz_controlllite_xl_tile_anime_alpha.safetensors
If we try to load the file directly as below, we will get 404 Client Error. Hugging Face client seem to have problem with special character or something.
"https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite/blob/main/bdsqlsz_controlllite_xl_tile_anime_%CE%B2.safetensors"
)```
Oops, just saw that tile models are not supporting diffusers yet.
But I will leave the PR as it is more of a file download problem. Not even reached to the model loading.
If we try to load the file directly as below, we will get 404 Client Error. Hugging Face client seem to have problem with special character or something.
"https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite/blob/main/bdsqlsz_controlllite_xl_tile_anime_%CE%B2.safetensors" )```
Maybe need to do some extra url decoding to get it to work.
If we try to load the file directly as below, we will get 404 Client Error. Hugging Face client seem to have problem with special character or something.
"https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite/blob/main/bdsqlsz_controlllite_xl_tile_anime_%CE%B2.safetensors" )```Maybe need to do some extra url decoding to get it to work.
Yes, if we use urllib.parse it can work.
If you want to keep the file as it is, I will open the PR then.