Instructions to use Kwai-Kolors/CoTyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kwai-Kolors/CoTyle with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Kwai-Kolors/CoTyle", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download codebook/model.pth from Kwai-Kolors/CoTyle: direct link, hf CLI and curl.
- Browser
- Download file 285 MB
-
https://huggingface.co/Kwai-Kolors/CoTyle/resolve/main/codebook/model.pth
- Command line
-
hf download hf://Kwai-Kolors/CoTyle/codebook/model.pth
-
curl -L -o model.pth https://huggingface.co/Kwai-Kolors/CoTyle/resolve/main/codebook/model.pth
285 MB
- Xet hash:
- 1e4d8a5e54eec29724e62704f2bd4420fbbe4894444f7bd6566c1699541741d1
- Size of remote file:
- 285 MB
- SHA256:
- 57f3a583c016bd97fe0c0c553bbe82d785070784fc48b266ee984f663fb89b13
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.