Instructions to use mingyi456/LongCat-Image-DF11 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mingyi456/LongCat-Image-DF11 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mingyi456/LongCat-Image-DF11", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use mingyi456/LongCat-Image-DF11 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,6 +11,10 @@ library_name: diffusers
|
|
| 11 |
tags:
|
| 12 |
- diffusion-single-file
|
| 13 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
### How to Use
|
| 15 |
|
| 16 |
#### `diffusers`
|
|
|
|
| 11 |
tags:
|
| 12 |
- diffusion-single-file
|
| 13 |
---
|
| 14 |
+
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11 and https://github.com/LeanModels/DFloat11
|
| 15 |
+
|
| 16 |
+
Feel free to request for other models for compression as well (for either the `diffusers` library, ComfyUI, or any other model), although models that use architectures which are unfamiliar to me might be more difficult.
|
| 17 |
+
|
| 18 |
### How to Use
|
| 19 |
|
| 20 |
#### `diffusers`
|