Run this model with HF Jobs

Run tlwu/tiny-random-flux on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/tlwu/tiny-random-flux. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/tlwu/tiny-random-flux on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

This pipeline is intended for debugging or testing. It is saved from black-forest-labs/FLUX.1-dev with smaller size and randomly initialized parameters.

Example Usage

import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("tlwu/tiny-random-flux", torch_dtype=torch.bfloat16)
prompt = "a tree with blue leaves"
image = pipe(
    prompt,
    height=1024,
    width=1024,
    guidance_scale=3.5,
    num_inference_steps=50,
    max_sequence_length=512,
    generator=torch.Generator("cpu").manual_seed(0)
).images[0]

image.save("test.png")
Downloads last month
50
Safetensors
Model size
47.6k params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support