Instructions to use tiny-random/flux-3-image-klein-comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tiny-random/flux-3-image-klein-comfy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tiny-random/flux-3-image-klein-comfy", 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
Download runtime/pyproject.toml from tiny-random/flux-3-image-klein-comfy: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/tiny-random/flux-3-image-klein-comfy/resolve/main/runtime/pyproject.toml
- Command line
-
hf download hf://tiny-random/flux-3-image-klein-comfy/runtime/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/tiny-random/flux-3-image-klein-comfy/resolve/main/runtime/pyproject.toml
439 Bytes
| [build-system] | |
| requires = ["setuptools>=68"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "sglang-flux3-config" | |
| version = "0.1.0" | |
| description = "Configuration-driven native FLUX 3 loading for SGLang" | |
| requires-python = ">=3.10" | |
| dependencies = ["sglang>=0.5.23.dev384"] | |
| [project.entry-points."sglang.multimodal_gen.plugins"] | |
| flux3_config = "sglang_flux3_config:register" | |
| [tool.setuptools] | |
| py-modules = ["sglang_flux3_config"] | |