Instructions to use fal/AuraFlow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/AuraFlow with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fal/AuraFlow", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Error: "AutoPipeline can't find a pipeline linked to AuraFlowPipeline for None"
#28
by aimpellitteri1 - opened
I am encountering an error while trying to access an image model using the Hugging Face serverless inference API. The error message I receive is as follows:
{'error': "AutoPipeline can't find a pipeline linked to AuraFlowPipeline for None"}
This comment has been hidden
You can use AuraFlow ZeroGPU space via API
from gradio_client import Client
client = Client("multimodalart/AuraFlow")
result = client.predict(
prompt="Hello!!",
negative_prompt="Hello!!",
seed=0,
randomize_seed=True,
width=1024,
height=1024,
guidance_scale=5,
num_inference_steps=28,
model_version="0.2",
comparison_mode=False,
api_name="/infer"
)
print(result)