Instructions to use blurgy/CoMPaSS-FLUX.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use blurgy/CoMPaSS-FLUX.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("blurgy/CoMPaSS-FLUX.1") prompt = "a photo of a laptop above a dog" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Gaoyang Zhang commited on
include ComfyUI support in README
Browse filesSigned-off-by: Gaoyang Zhang <gy@blurgy.xyz>
README.md
CHANGED
|
@@ -45,6 +45,11 @@ spatial relationships between objects.
|
|
| 45 |
- **Framework**: Diffusers
|
| 46 |
- **License**: Non-Commercial (see [./LICENSE])
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
## Intended Use
|
| 49 |
|
| 50 |
- Generating images with accurate spatial relationships between objects
|
|
@@ -124,6 +129,9 @@ Weights for this model are available in Safetensors format.
|
|
| 124 |
|
| 125 |
[Download](/blurgy/CoMPaSS-FLUX.1/tree/main) them in the Files & versions tab.
|
| 126 |
|
|
|
|
|
|
|
|
|
|
| 127 |
[./LICENSE]: <./LICENSE>
|
| 128 |
[Project page]: <https://compass.blurgy.xyz>
|
| 129 |
[code]: <https://github.com/blurgyy/CoMPaSS>
|
|
|
|
| 45 |
- **Framework**: Diffusers
|
| 46 |
- **License**: Non-Commercial (see [./LICENSE])
|
| 47 |
|
| 48 |
+
## ComfyUI Support
|
| 49 |
+
|
| 50 |
+
We provide a custom node with examples at [comfyui-node-impl]. Use the
|
| 51 |
+
ComfyUI-compatible LoRA checkpoint [comfyui-checkpoint] to get started.
|
| 52 |
+
|
| 53 |
## Intended Use
|
| 54 |
|
| 55 |
- Generating images with accurate spatial relationships between objects
|
|
|
|
| 129 |
|
| 130 |
[Download](/blurgy/CoMPaSS-FLUX.1/tree/main) them in the Files & versions tab.
|
| 131 |
|
| 132 |
+
[comfyui-node-impl]: <https://github.com/blurgyy/CoMPaSS-FLUX.1-dev-ComfyUI>
|
| 133 |
+
[comfyui-checkpoint]: <./CoMPaSS-FLUX.1-comfyui.safetensors>
|
| 134 |
+
|
| 135 |
[./LICENSE]: <./LICENSE>
|
| 136 |
[Project page]: <https://compass.blurgy.xyz>
|
| 137 |
[code]: <https://github.com/blurgyy/CoMPaSS>
|