Instructions to use nubby/kl-f8-anime2-blessed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nubby/kl-f8-anime2-blessed with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nubby/kl-f8-anime2-blessed", 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
Adding `safetensors` variant of these models
#1
by neggles - opened
This PR adds a safetensors variant of these models.
This is essentially identical to the PyTorch state dict file, but safe in the sense that no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
also hi nubby lol <3
(what, did you think i'd just use their tool instead of hacking it up myself?)
Thanks neggles!
nubby changed pull request status to merged