Instructions to use diffusers-test/test4xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-test/test4xl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers-test/test4xl", 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
Update tokenizer_2/tokenizer_config.json
Browse files
tokenizer_2/tokenizer_config.json
CHANGED
|
@@ -33,6 +33,6 @@
|
|
| 33 |
"errors": "replace",
|
| 34 |
"model_max_length": 77,
|
| 35 |
"pad_token": "!",
|
| 36 |
-
"tokenizer_class": "
|
| 37 |
"unk_token": "<|endoftext|>"
|
| 38 |
}
|
|
|
|
| 33 |
"errors": "replace",
|
| 34 |
"model_max_length": 77,
|
| 35 |
"pad_token": "!",
|
| 36 |
+
"tokenizer_class": "CLIPTokenizerFast",
|
| 37 |
"unk_token": "<|endoftext|>"
|
| 38 |
}
|