jyoung105/perflow 🔢📝 → 🖼️

▶️ 17 runs 📅 Nov 2024 ⚙️ Cog 0.13.2 🔗 GitHub 📄 Paper ⚖️ License
rectified-flow sdxl text-to-image

About

PeRFlow: Piecewise Rectified Flow as Universal Plug-and-Play Accelerator

Example Output

Prompt:

"A man with hoodie on, illustration"

Output

Example output

Performance Metrics

4.52s Prediction Time
98.30s Total Time
All Input Parameters
{
  "eta": 0,
  "steps": 6,
  "width": 1024,
  "height": 1024,
  "prompt": "A man with hoodie on, illustration",
  "clip_skip": 0,
  "num_images": 1,
  "guidance_scale": 2
}
Input Parameters
eta Type: numberDefault: 0Range: 0 - 1
Stochastic parameter to control the randomness.
seed Type: integer
Random seed. Leave blank to randomize the seed.
steps Type: integerDefault: 6Range: 1 - 50
Number of denoising steps.
width Type: integerDefault: 1024Range: 1 - 2048
Width of the output image.
height Type: integerDefault: 1024Range: 1 - 2048
Height of the output image.
prompt Type: string
Input prompt, text of what you want to generate.
clip_skip Type: integerDefault: 0
Number of the layers to skip in CLIP.
num_images Type: integerDefault: 1Range: 1 - 4
Number of output images.
guidance_scale Type: numberDefault: 2Range: 0 - 20
Scale for classifier-free guidance.
negative_prompt Type: string
Input negative prompt, text of what you don't want to generate.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
[Debug] DEVICE: cuda
[Debug] DTYPE: torch.float16
Setup completed in 0.00 seconds.
[~] Generating images...
[Debug] Prompt: A man with hoodie on, illustration, best quality, high detail, sharp focus
[Debug] Seed: 52611
  0%|          | 0/6 [00:00<?, ?it/s]
 17%|█▋        | 1/6 [00:00<00:01,  2.96it/s]
 33%|███▎      | 2/6 [00:00<00:01,  3.98it/s]
 50%|█████     | 3/6 [00:00<00:00,  4.46it/s]
 67%|██████▋   | 4/6 [00:00<00:00,  4.73it/s]
 83%|████████▎ | 5/6 [00:01<00:00,  4.89it/s]
100%|██████████| 6/6 [00:01<00:00,  4.97it/s]
100%|██████████| 6/6 [00:01<00:00,  4.62it/s]
Image generation completed in 2.71 seconds.
Version Details
Version ID
b355c3d2ec0967f90a5fa492590f4d9a14ec3948bd966c927193126138dfdf3b
Version Created
November 22, 2024
Run on Replicate →