Instructions to use manycore-research/FLUX.1-Layout-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use manycore-research/FLUX.1-Layout-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("manycore-research/FLUX.1-Layout-ControlNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
File size: 421 Bytes
6e4996d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"_class_name": "FluxControlNetModel",
"_diffusers_version": "0.31.0",
"attention_head_dim": 128,
"axes_dims_rope": [
16,
56,
56
],
"guidance_embeds": true,
"in_channels": 64,
"joint_attention_dim": 4096,
"num_attention_heads": 24,
"conditioning_embedding_channels": 16,
"num_layers": 2,
"num_mode": null,
"num_single_layers": 0,
"patch_size": 2,
"pooled_projection_dim": 768
}
|