Instructions to use socialtrait/flux-3-image-klein-infendpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use socialtrait/flux-3-image-klein-infendpoint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("socialtrait/flux-3-image-klein-infendpoint", 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
Download upstream_inventory.json from socialtrait/flux-3-image-klein-infendpoint: direct link, hf CLI and curl.
- Browser
- Download file 3.22 kB
-
https://huggingface.co/socialtrait/flux-3-image-klein-infendpoint/resolve/main/upstream_inventory.json
- Command line
-
hf download hf://socialtrait/flux-3-image-klein-infendpoint/upstream_inventory.json
-
curl -L -o upstream_inventory.json https://huggingface.co/socialtrait/flux-3-image-klein-infendpoint/resolve/main/upstream_inventory.json
3.22 kB
| { | |
| "source": "black-forest-labs/flux-3-image-klein", | |
| "source_revision": "337337621b8526e120f2275d250242f4a6bedd75", | |
| "destination": "socialtrait/flux-3-image-klein-infendpoint", | |
| "format": "BF16 Diffusers deployment subset", | |
| "source_files": [ | |
| { | |
| "path": ".gitattributes", | |
| "size": 1902, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "LICENSE.md", | |
| "size": 19593, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "NOTICE.md", | |
| "size": 330, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "README.md", | |
| "size": 14525, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "modular_model_index.json", | |
| "size": 2115, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/LICENSE", | |
| "size": 11357, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/README.md", | |
| "size": 7133, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/chat_template.json", | |
| "size": 5502, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/config.json", | |
| "size": 1505, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/generation_config.json", | |
| "size": 269, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/merges.txt", | |
| "size": 1671839, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/model-00001-of-00002.safetensors", | |
| "size": 4967229296, | |
| "sha256": "30a01a0556622645a3cce87b655bbbbbc1f170c196099f1b666c93202c3339a9" | |
| }, | |
| { | |
| "path": "text_encoder/model-00002-of-00002.safetensors", | |
| "size": 3908490048, | |
| "sha256": "046296a2a387efb43b0c997d5833c789604d168834f6e0d3064bf7bb13d002a6" | |
| }, | |
| { | |
| "path": "text_encoder/model.safetensors.index.json", | |
| "size": 64742, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/preprocessor_config.json", | |
| "size": 390, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/tokenizer.json", | |
| "size": 7032403, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/tokenizer_config.json", | |
| "size": 10868, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/video_preprocessor_config.json", | |
| "size": 385, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "text_encoder/vocab.json", | |
| "size": 2776833, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "transformer/config.json", | |
| "size": 436, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00001-of-00002.safetensors", | |
| "size": 9907529352, | |
| "sha256": "4f01de41470090586d7a25aa4aec93987724eae45db45b68de2b3f566f438a8b" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00002-of-00002.safetensors", | |
| "size": 1189878064, | |
| "sha256": "6f6217ab2c7ce5ef177ec202f79d4c2ddab78111c4645030c8828ec615d5f02c" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model.safetensors.index.json", | |
| "size": 37951, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "vae/config.json", | |
| "size": 808, | |
| "sha256": null | |
| }, | |
| { | |
| "path": "vae/diffusion_pytorch_model.safetensors", | |
| "size": 336213556, | |
| "sha256": "d64f3a68e1cc4f9f4e29b6e0da38a0204fe9a49f2d4053f0ec1fa1ca02f9c4b5" | |
| } | |
| ], | |
| "total_source_bytes": 20321001202 | |
| } | |