Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update benchmark readme #430

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Bench OneDiff
# OneDiff Benchmark

## Build docker image

Expand All @@ -25,15 +25,15 @@ Wait for a while, you will see the following logs,
```bash
onediff-benchmark-community-default | Run SD1.5(FP16) 1024x1024...
onediff-benchmark-community-default | + python3 ./text_to_image.py --model /benchmark_model/stable-diffusion-v1-5 --warmup 5 --height 1024 --width 1024
Loading pipeline components...: 43% 3/7 [00:00<00:00, 20.94it/s]`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
Loading pipeline components...: 100% 7/7 [00:00<00:00, 12.79it/s]
Loading pipeline components...: 29% 2/7 [00:00<00:00, 12.51it/s]`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
Loading pipeline components...: 100% 7/7 [00:00<00:00, 12.91it/s]
100% 30/30 [00:43<00:00, 1.45s/it] |
100% 30/30 [00:03<00:00, 7.76it/s] |
100% 30/30 [00:03<00:00, 7.74it/s] |
100% 30/30 [00:03<00:00, 7.74it/s] |
100% 30/30 [00:03<00:00, 7.72it/s] |
100% 30/30 [00:03<00:00, 7.72it/s] |
onediff-benchmark-community-default | e2e (30 steps) elapsed: 4.1393163204193115 s, cuda memory usage: 7226.875 MiB
100% 30/30 [00:03<00:00, 8.47it/s] |
100% 30/30 [00:03<00:00, 8.42it/s] |
100% 30/30 [00:03<00:00, 8.41it/s] |
100% 30/30 [00:03<00:00, 8.40it/s] |
100% 30/30 [00:03<00:00, 8.38it/s] |
onediff-benchmark-community-default | e2e (30 steps) elapsed: 3.803581953048706 s, cuda memory usage: 7174.875 MiB
......
```

Expand Down