Instructions to use gyrojeff/Hyperstroke-Quickdraw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gyrojeff/Hyperstroke-Quickdraw with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("gyrojeff/Hyperstroke-Quickdraw", torch_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
| { | |
| "_class_name": "HyperstrokeConfig", | |
| "_diffusers_version": "0.32.2", | |
| "bbox_vocab_size": 32, | |
| "num_bbox_token": 4, | |
| "num_codebook_token": 64, | |
| "pretrained_canvas_processor": "google/vit-base-patch16-224-in21k", | |
| "pretrained_control_processor": "openai/clip-vit-base-patch32", | |
| "vqgan_input_height": 128, | |
| "vqgan_input_width": 128 | |
| } | |