Skip to content

Commit

Permalink
benchmarks: add diffusers SDXL
Browse files Browse the repository at this point in the history
  • Loading branch information
isidentical committed Nov 4, 2023
1 parent 49c6566 commit ef9aa2a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ better understanding of their performance and scalability.

Running on an A100 80G SXM hosted at [fal.ai](https://fal.ai).

Generation options:
- `prompt="A photo of a cat"`
- `num_inference_steps=50`

<!-- START TABLE -->
| | mean (s) | median (s) | min (s) | max (s) |
|------------------|----------|------------|---------|---------|
| Diffusers SD1.5 | 1.592s | 1.588s | 1.584s | 1.605s |
| Diffusers SD1.5 | 1.619s | 1.614s | 1.603s | 1.645s |
| Diffusers SDXL | 5.916s | 5.917s | 5.909s | 5.927s |
<!-- END TABLE -->
9 changes: 8 additions & 1 deletion benchmarks/diffusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,12 @@ def diffusers_any(
"kwargs": {
"model_name": "runwayml/stable-diffusion-v1-5",
},
}
},
{
"name": "Diffusers SDXL",
"function": diffusers_any,
"kwargs": {
"model_name": "stabilityai/stable-diffusion-xl-base-1.0",
},
},
]

0 comments on commit ef9aa2a

Please sign in to comment.