hf-transformers-bot
commited on
Commit
•
754823f
1
Parent(s):
b07f607
Upload folder using huggingface_hub
Browse files- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/multirun.yaml +232 -0
- 2024-06-10/summaries.json +41 -0
- 2024-06-10/summary.json +40 -0
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
88 |
+
- hydra.run.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null
|
93 |
+
- backend.torch_compile=False
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
98 |
+
id: '0'
|
99 |
+
num: 0
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1723.301888,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5034.576896
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.04076508712768555,
|
118 |
+
"mean": 0.020382543563842774,
|
119 |
+
"stdev": 0.0007646236419677731,
|
120 |
+
"p50": 0.020382543563842774,
|
121 |
+
"p90": 0.02099424247741699,
|
122 |
+
"p95": 0.02107070484161377,
|
123 |
+
"p99": 0.021131874732971193,
|
124 |
+
"values": [
|
125 |
+
0.021147167205810547,
|
126 |
+
0.019617919921875
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 343.43113155011315
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1723.379712,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5034.577408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.85029150390625,
|
149 |
+
"mean": 2.425145751953125,
|
150 |
+
"stdev": 0.008099121093749995,
|
151 |
+
"p50": 2.425145751953125,
|
152 |
+
"p90": 2.431625048828125,
|
153 |
+
"p95": 2.4324349609375,
|
154 |
+
"p99": 2.433082890625,
|
155 |
+
"values": [
|
156 |
+
2.417046630859375,
|
157 |
+
2.433244873046875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.3679865004892
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 4.849364982604982,
|
173 |
+
"mean": 0.019167450524130356,
|
174 |
+
"stdev": 0.001259601118010216,
|
175 |
+
"p50": 0.01899622344970703,
|
176 |
+
"p90": 0.019580928802490235,
|
177 |
+
"p95": 0.019634585952758788,
|
178 |
+
"p99": 0.019947479553222656,
|
179 |
+
"values": [
|
180 |
+
0.021135360717773437,
|
181 |
+
0.01902899169921875,
|
182 |
+
0.0188538875579834,
|
183 |
+
0.01884569549560547,
|
184 |
+
0.018912256240844725,
|
185 |
+
0.018852863311767578,
|
186 |
+
0.018897920608520507,
|
187 |
+
0.018911231994628908,
|
188 |
+
0.01886617660522461,
|
189 |
+
0.018890752792358398,
|
190 |
+
0.018881536483764647,
|
191 |
+
0.01887129592895508,
|
192 |
+
0.018873344421386717,
|
193 |
+
0.01886720085144043,
|
194 |
+
0.018913280487060546,
|
195 |
+
0.019179519653320314,
|
196 |
+
0.019162111282348633,
|
197 |
+
0.018896896362304686,
|
198 |
+
0.018990079879760743,
|
199 |
+
0.019382272720336914,
|
200 |
+
0.019591167449951173,
|
201 |
+
0.018919424057006837,
|
202 |
+
0.018905088424682616,
|
203 |
+
0.018877439498901367,
|
204 |
+
0.01887129592895508,
|
205 |
+
0.018928640365600585,
|
206 |
+
0.018893823623657227,
|
207 |
+
0.01887129592895508,
|
208 |
+
0.01886412811279297,
|
209 |
+
0.018936832427978514,
|
210 |
+
0.018891775131225585,
|
211 |
+
0.018900991439819336,
|
212 |
+
0.018923519134521484,
|
213 |
+
0.018921472549438476,
|
214 |
+
0.018926591873168946,
|
215 |
+
0.01887948799133301,
|
216 |
+
0.018966527938842775,
|
217 |
+
0.018900991439819336,
|
218 |
+
0.01889587211608887,
|
219 |
+
0.01883033561706543,
|
220 |
+
0.018861055374145508,
|
221 |
+
0.018873344421386717,
|
222 |
+
0.01883545684814453,
|
223 |
+
0.01885491180419922,
|
224 |
+
0.018888704299926756,
|
225 |
+
0.01883443260192871,
|
226 |
+
0.01883545684814453,
|
227 |
+
0.01885593605041504,
|
228 |
+
0.01887129592895508,
|
229 |
+
0.01887539291381836,
|
230 |
+
0.019124223709106446,
|
231 |
+
0.01926246452331543,
|
232 |
+
0.019975168228149414,
|
233 |
+
0.01909350395202637,
|
234 |
+
0.018749439239501953,
|
235 |
+
0.018844671249389648,
|
236 |
+
0.019014656066894533,
|
237 |
+
0.01903718376159668,
|
238 |
+
0.018991104125976564,
|
239 |
+
0.018972671508789063,
|
240 |
+
0.01900441551208496,
|
241 |
+
0.018980863571166993,
|
242 |
+
0.018982912063598634,
|
243 |
+
0.018946048736572265,
|
244 |
+
0.01902899169921875,
|
245 |
+
0.018997247695922852,
|
246 |
+
0.018829376220703124,
|
247 |
+
0.01893574333190918,
|
248 |
+
0.018958335876464845,
|
249 |
+
0.01900851249694824,
|
250 |
+
0.01898700714111328,
|
251 |
+
0.01901158332824707,
|
252 |
+
0.018981887817382814,
|
253 |
+
0.018974720001220705,
|
254 |
+
0.01903308868408203,
|
255 |
+
0.01900032043457031,
|
256 |
+
0.019086336135864256,
|
257 |
+
0.0188221435546875,
|
258 |
+
0.01883647918701172,
|
259 |
+
0.01902592086791992,
|
260 |
+
0.019147775650024415,
|
261 |
+
0.019019775390625,
|
262 |
+
0.019009536743164062,
|
263 |
+
0.0190894718170166,
|
264 |
+
0.01899616050720215,
|
265 |
+
0.018997247695922852,
|
266 |
+
0.018938880920410156,
|
267 |
+
0.018815999984741212,
|
268 |
+
0.018971647262573242,
|
269 |
+
0.018940927505493164,
|
270 |
+
0.018844671249389648,
|
271 |
+
0.01881088066101074,
|
272 |
+
0.018975744247436522,
|
273 |
+
0.01901055908203125,
|
274 |
+
0.01899622344970703,
|
275 |
+
0.019359743118286133,
|
276 |
+
0.019581951141357423,
|
277 |
+
0.019569664001464843,
|
278 |
+
0.01898700714111328,
|
279 |
+
0.018993183135986327,
|
280 |
+
0.01903919982910156,
|
281 |
+
0.01903104019165039,
|
282 |
+
0.018984960556030273,
|
283 |
+
0.019221567153930665,
|
284 |
+
0.01953171157836914,
|
285 |
+
0.019083263397216797,
|
286 |
+
0.019096576690673828,
|
287 |
+
0.01901260757446289,
|
288 |
+
0.018997247695922852,
|
289 |
+
0.018949119567871094,
|
290 |
+
0.018952192306518553,
|
291 |
+
0.01901055908203125,
|
292 |
+
0.018998271942138673,
|
293 |
+
0.019021823883056642,
|
294 |
+
0.01905254364013672,
|
295 |
+
0.0190382080078125,
|
296 |
+
0.019519487380981446,
|
297 |
+
0.019512319564819337,
|
298 |
+
0.019577856063842772,
|
299 |
+
0.018991104125976564,
|
300 |
+
0.018963455200195312,
|
301 |
+
0.019001344680786132,
|
302 |
+
0.018985984802246093,
|
303 |
+
0.018938880920410156,
|
304 |
+
0.018941951751708985,
|
305 |
+
0.018969600677490234,
|
306 |
+
0.038586368560791014,
|
307 |
+
0.018783231735229493,
|
308 |
+
0.018768896102905275,
|
309 |
+
0.018869247436523438,
|
310 |
+
0.018779136657714843,
|
311 |
+
0.018868223190307617,
|
312 |
+
0.0188272647857666,
|
313 |
+
0.01881292724609375,
|
314 |
+
0.018770944595336913,
|
315 |
+
0.01883443260192871,
|
316 |
+
0.018865152359008788,
|
317 |
+
0.01881395149230957,
|
318 |
+
0.018908159255981445,
|
319 |
+
0.018888736724853517,
|
320 |
+
0.018698207855224608,
|
321 |
+
0.018932735443115235,
|
322 |
+
0.018873344421386717,
|
323 |
+
0.01884160041809082,
|
324 |
+
0.018844671249389648,
|
325 |
+
0.01886617660522461,
|
326 |
+
0.01884774398803711,
|
327 |
+
0.01881292724609375,
|
328 |
+
0.01882111930847168,
|
329 |
+
0.018884607315063476,
|
330 |
+
0.01883750343322754,
|
331 |
+
0.01863680076599121,
|
332 |
+
0.018740224838256835,
|
333 |
+
0.01880985641479492,
|
334 |
+
0.018923519134521484,
|
335 |
+
0.018865152359008788,
|
336 |
+
0.018880512237548826,
|
337 |
+
0.019098623275756836,
|
338 |
+
0.019495935440063478,
|
339 |
+
0.019430400848388672,
|
340 |
+
0.0194201602935791,
|
341 |
+
0.019352575302124024,
|
342 |
+
0.018844671249389648,
|
343 |
+
0.018856960296630858,
|
344 |
+
0.01886207962036133,
|
345 |
+
0.018899967193603515,
|
346 |
+
0.018918399810791017,
|
347 |
+
0.018880512237548826,
|
348 |
+
0.018918399810791017,
|
349 |
+
0.018899967193603515,
|
350 |
+
0.01883340835571289,
|
351 |
+
0.018811904907226562,
|
352 |
+
0.018851839065551757,
|
353 |
+
0.018886655807495118,
|
354 |
+
0.018918399810791017,
|
355 |
+
0.018933759689331055,
|
356 |
+
0.01885081672668457,
|
357 |
+
0.018944000244140623,
|
358 |
+
0.018851839065551757,
|
359 |
+
0.019364864349365234,
|
360 |
+
0.019388416290283202,
|
361 |
+
0.019338239669799806,
|
362 |
+
0.018917375564575196,
|
363 |
+
0.019721216201782226,
|
364 |
+
0.01963520050048828,
|
365 |
+
0.019580928802490235,
|
366 |
+
0.019555328369140625,
|
367 |
+
0.019573759078979493,
|
368 |
+
0.01942937660217285,
|
369 |
+
0.019629056930541993,
|
370 |
+
0.01959219169616699,
|
371 |
+
0.01963929557800293,
|
372 |
+
0.019591167449951173,
|
373 |
+
0.01966592025756836,
|
374 |
+
0.019554304122924804,
|
375 |
+
0.019611648559570313,
|
376 |
+
0.019596288681030274,
|
377 |
+
0.01970790481567383,
|
378 |
+
0.019647487640380858,
|
379 |
+
0.01992192077636719,
|
380 |
+
0.019148799896240236,
|
381 |
+
0.01904025650024414,
|
382 |
+
0.019009536743164062,
|
383 |
+
0.019083263397216797,
|
384 |
+
0.019491840362548828,
|
385 |
+
0.019116031646728517,
|
386 |
+
0.01904844856262207,
|
387 |
+
0.019013631820678712,
|
388 |
+
0.01905356788635254,
|
389 |
+
0.01943244743347168,
|
390 |
+
0.019501056671142578,
|
391 |
+
0.019361791610717775,
|
392 |
+
0.019388416290283202,
|
393 |
+
0.01905766487121582,
|
394 |
+
0.01941606330871582,
|
395 |
+
0.019543039321899415,
|
396 |
+
0.019086336135864256,
|
397 |
+
0.019070976257324217,
|
398 |
+
0.019615743637084963,
|
399 |
+
0.019373056411743163,
|
400 |
+
0.019321855545043946,
|
401 |
+
0.01900441551208496,
|
402 |
+
0.019280895233154297,
|
403 |
+
0.01962188720703125,
|
404 |
+
0.019689472198486328,
|
405 |
+
0.019589120864868165,
|
406 |
+
0.019620864868164063,
|
407 |
+
0.019539968490600586,
|
408 |
+
0.01963929557800293,
|
409 |
+
0.01963417625427246,
|
410 |
+
0.019696640014648437,
|
411 |
+
0.01921023941040039,
|
412 |
+
0.019139583587646485,
|
413 |
+
0.01903513526916504,
|
414 |
+
0.019165184020996092,
|
415 |
+
0.019339263916015623,
|
416 |
+
0.01927065658569336,
|
417 |
+
0.019096576690673828,
|
418 |
+
0.019042303085327148,
|
419 |
+
0.01904332733154297,
|
420 |
+
0.01906892776489258,
|
421 |
+
0.0190248966217041,
|
422 |
+
0.01901568031311035,
|
423 |
+
0.01904332733154297,
|
424 |
+
0.019090431213378906,
|
425 |
+
0.019173376083374022,
|
426 |
+
0.019132415771484376,
|
427 |
+
0.01904844856262207,
|
428 |
+
0.019076095581054688,
|
429 |
+
0.019005439758300782,
|
430 |
+
0.019309568405151366,
|
431 |
+
0.019573759078979493,
|
432 |
+
0.019580928802490235
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 52.17177937885252
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1723.301888,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5034.576896
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.04076508712768555,
|
15 |
+
"mean": 0.020382543563842774,
|
16 |
+
"stdev": 0.0007646236419677731,
|
17 |
+
"p50": 0.020382543563842774,
|
18 |
+
"p90": 0.02099424247741699,
|
19 |
+
"p95": 0.02107070484161377,
|
20 |
+
"p99": 0.021131874732971193,
|
21 |
+
"values": [
|
22 |
+
0.021147167205810547,
|
23 |
+
0.019617919921875
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 343.43113155011315
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1723.379712,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5034.577408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.85029150390625,
|
46 |
+
"mean": 2.425145751953125,
|
47 |
+
"stdev": 0.008099121093749995,
|
48 |
+
"p50": 2.425145751953125,
|
49 |
+
"p90": 2.431625048828125,
|
50 |
+
"p95": 2.4324349609375,
|
51 |
+
"p99": 2.433082890625,
|
52 |
+
"values": [
|
53 |
+
2.417046630859375,
|
54 |
+
2.433244873046875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.3679865004892
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 4.849364982604982,
|
70 |
+
"mean": 0.019167450524130356,
|
71 |
+
"stdev": 0.001259601118010216,
|
72 |
+
"p50": 0.01899622344970703,
|
73 |
+
"p90": 0.019580928802490235,
|
74 |
+
"p95": 0.019634585952758788,
|
75 |
+
"p99": 0.019947479553222656,
|
76 |
+
"values": [
|
77 |
+
0.021135360717773437,
|
78 |
+
0.01902899169921875,
|
79 |
+
0.0188538875579834,
|
80 |
+
0.01884569549560547,
|
81 |
+
0.018912256240844725,
|
82 |
+
0.018852863311767578,
|
83 |
+
0.018897920608520507,
|
84 |
+
0.018911231994628908,
|
85 |
+
0.01886617660522461,
|
86 |
+
0.018890752792358398,
|
87 |
+
0.018881536483764647,
|
88 |
+
0.01887129592895508,
|
89 |
+
0.018873344421386717,
|
90 |
+
0.01886720085144043,
|
91 |
+
0.018913280487060546,
|
92 |
+
0.019179519653320314,
|
93 |
+
0.019162111282348633,
|
94 |
+
0.018896896362304686,
|
95 |
+
0.018990079879760743,
|
96 |
+
0.019382272720336914,
|
97 |
+
0.019591167449951173,
|
98 |
+
0.018919424057006837,
|
99 |
+
0.018905088424682616,
|
100 |
+
0.018877439498901367,
|
101 |
+
0.01887129592895508,
|
102 |
+
0.018928640365600585,
|
103 |
+
0.018893823623657227,
|
104 |
+
0.01887129592895508,
|
105 |
+
0.01886412811279297,
|
106 |
+
0.018936832427978514,
|
107 |
+
0.018891775131225585,
|
108 |
+
0.018900991439819336,
|
109 |
+
0.018923519134521484,
|
110 |
+
0.018921472549438476,
|
111 |
+
0.018926591873168946,
|
112 |
+
0.01887948799133301,
|
113 |
+
0.018966527938842775,
|
114 |
+
0.018900991439819336,
|
115 |
+
0.01889587211608887,
|
116 |
+
0.01883033561706543,
|
117 |
+
0.018861055374145508,
|
118 |
+
0.018873344421386717,
|
119 |
+
0.01883545684814453,
|
120 |
+
0.01885491180419922,
|
121 |
+
0.018888704299926756,
|
122 |
+
0.01883443260192871,
|
123 |
+
0.01883545684814453,
|
124 |
+
0.01885593605041504,
|
125 |
+
0.01887129592895508,
|
126 |
+
0.01887539291381836,
|
127 |
+
0.019124223709106446,
|
128 |
+
0.01926246452331543,
|
129 |
+
0.019975168228149414,
|
130 |
+
0.01909350395202637,
|
131 |
+
0.018749439239501953,
|
132 |
+
0.018844671249389648,
|
133 |
+
0.019014656066894533,
|
134 |
+
0.01903718376159668,
|
135 |
+
0.018991104125976564,
|
136 |
+
0.018972671508789063,
|
137 |
+
0.01900441551208496,
|
138 |
+
0.018980863571166993,
|
139 |
+
0.018982912063598634,
|
140 |
+
0.018946048736572265,
|
141 |
+
0.01902899169921875,
|
142 |
+
0.018997247695922852,
|
143 |
+
0.018829376220703124,
|
144 |
+
0.01893574333190918,
|
145 |
+
0.018958335876464845,
|
146 |
+
0.01900851249694824,
|
147 |
+
0.01898700714111328,
|
148 |
+
0.01901158332824707,
|
149 |
+
0.018981887817382814,
|
150 |
+
0.018974720001220705,
|
151 |
+
0.01903308868408203,
|
152 |
+
0.01900032043457031,
|
153 |
+
0.019086336135864256,
|
154 |
+
0.0188221435546875,
|
155 |
+
0.01883647918701172,
|
156 |
+
0.01902592086791992,
|
157 |
+
0.019147775650024415,
|
158 |
+
0.019019775390625,
|
159 |
+
0.019009536743164062,
|
160 |
+
0.0190894718170166,
|
161 |
+
0.01899616050720215,
|
162 |
+
0.018997247695922852,
|
163 |
+
0.018938880920410156,
|
164 |
+
0.018815999984741212,
|
165 |
+
0.018971647262573242,
|
166 |
+
0.018940927505493164,
|
167 |
+
0.018844671249389648,
|
168 |
+
0.01881088066101074,
|
169 |
+
0.018975744247436522,
|
170 |
+
0.01901055908203125,
|
171 |
+
0.01899622344970703,
|
172 |
+
0.019359743118286133,
|
173 |
+
0.019581951141357423,
|
174 |
+
0.019569664001464843,
|
175 |
+
0.01898700714111328,
|
176 |
+
0.018993183135986327,
|
177 |
+
0.01903919982910156,
|
178 |
+
0.01903104019165039,
|
179 |
+
0.018984960556030273,
|
180 |
+
0.019221567153930665,
|
181 |
+
0.01953171157836914,
|
182 |
+
0.019083263397216797,
|
183 |
+
0.019096576690673828,
|
184 |
+
0.01901260757446289,
|
185 |
+
0.018997247695922852,
|
186 |
+
0.018949119567871094,
|
187 |
+
0.018952192306518553,
|
188 |
+
0.01901055908203125,
|
189 |
+
0.018998271942138673,
|
190 |
+
0.019021823883056642,
|
191 |
+
0.01905254364013672,
|
192 |
+
0.0190382080078125,
|
193 |
+
0.019519487380981446,
|
194 |
+
0.019512319564819337,
|
195 |
+
0.019577856063842772,
|
196 |
+
0.018991104125976564,
|
197 |
+
0.018963455200195312,
|
198 |
+
0.019001344680786132,
|
199 |
+
0.018985984802246093,
|
200 |
+
0.018938880920410156,
|
201 |
+
0.018941951751708985,
|
202 |
+
0.018969600677490234,
|
203 |
+
0.038586368560791014,
|
204 |
+
0.018783231735229493,
|
205 |
+
0.018768896102905275,
|
206 |
+
0.018869247436523438,
|
207 |
+
0.018779136657714843,
|
208 |
+
0.018868223190307617,
|
209 |
+
0.0188272647857666,
|
210 |
+
0.01881292724609375,
|
211 |
+
0.018770944595336913,
|
212 |
+
0.01883443260192871,
|
213 |
+
0.018865152359008788,
|
214 |
+
0.01881395149230957,
|
215 |
+
0.018908159255981445,
|
216 |
+
0.018888736724853517,
|
217 |
+
0.018698207855224608,
|
218 |
+
0.018932735443115235,
|
219 |
+
0.018873344421386717,
|
220 |
+
0.01884160041809082,
|
221 |
+
0.018844671249389648,
|
222 |
+
0.01886617660522461,
|
223 |
+
0.01884774398803711,
|
224 |
+
0.01881292724609375,
|
225 |
+
0.01882111930847168,
|
226 |
+
0.018884607315063476,
|
227 |
+
0.01883750343322754,
|
228 |
+
0.01863680076599121,
|
229 |
+
0.018740224838256835,
|
230 |
+
0.01880985641479492,
|
231 |
+
0.018923519134521484,
|
232 |
+
0.018865152359008788,
|
233 |
+
0.018880512237548826,
|
234 |
+
0.019098623275756836,
|
235 |
+
0.019495935440063478,
|
236 |
+
0.019430400848388672,
|
237 |
+
0.0194201602935791,
|
238 |
+
0.019352575302124024,
|
239 |
+
0.018844671249389648,
|
240 |
+
0.018856960296630858,
|
241 |
+
0.01886207962036133,
|
242 |
+
0.018899967193603515,
|
243 |
+
0.018918399810791017,
|
244 |
+
0.018880512237548826,
|
245 |
+
0.018918399810791017,
|
246 |
+
0.018899967193603515,
|
247 |
+
0.01883340835571289,
|
248 |
+
0.018811904907226562,
|
249 |
+
0.018851839065551757,
|
250 |
+
0.018886655807495118,
|
251 |
+
0.018918399810791017,
|
252 |
+
0.018933759689331055,
|
253 |
+
0.01885081672668457,
|
254 |
+
0.018944000244140623,
|
255 |
+
0.018851839065551757,
|
256 |
+
0.019364864349365234,
|
257 |
+
0.019388416290283202,
|
258 |
+
0.019338239669799806,
|
259 |
+
0.018917375564575196,
|
260 |
+
0.019721216201782226,
|
261 |
+
0.01963520050048828,
|
262 |
+
0.019580928802490235,
|
263 |
+
0.019555328369140625,
|
264 |
+
0.019573759078979493,
|
265 |
+
0.01942937660217285,
|
266 |
+
0.019629056930541993,
|
267 |
+
0.01959219169616699,
|
268 |
+
0.01963929557800293,
|
269 |
+
0.019591167449951173,
|
270 |
+
0.01966592025756836,
|
271 |
+
0.019554304122924804,
|
272 |
+
0.019611648559570313,
|
273 |
+
0.019596288681030274,
|
274 |
+
0.01970790481567383,
|
275 |
+
0.019647487640380858,
|
276 |
+
0.01992192077636719,
|
277 |
+
0.019148799896240236,
|
278 |
+
0.01904025650024414,
|
279 |
+
0.019009536743164062,
|
280 |
+
0.019083263397216797,
|
281 |
+
0.019491840362548828,
|
282 |
+
0.019116031646728517,
|
283 |
+
0.01904844856262207,
|
284 |
+
0.019013631820678712,
|
285 |
+
0.01905356788635254,
|
286 |
+
0.01943244743347168,
|
287 |
+
0.019501056671142578,
|
288 |
+
0.019361791610717775,
|
289 |
+
0.019388416290283202,
|
290 |
+
0.01905766487121582,
|
291 |
+
0.01941606330871582,
|
292 |
+
0.019543039321899415,
|
293 |
+
0.019086336135864256,
|
294 |
+
0.019070976257324217,
|
295 |
+
0.019615743637084963,
|
296 |
+
0.019373056411743163,
|
297 |
+
0.019321855545043946,
|
298 |
+
0.01900441551208496,
|
299 |
+
0.019280895233154297,
|
300 |
+
0.01962188720703125,
|
301 |
+
0.019689472198486328,
|
302 |
+
0.019589120864868165,
|
303 |
+
0.019620864868164063,
|
304 |
+
0.019539968490600586,
|
305 |
+
0.01963929557800293,
|
306 |
+
0.01963417625427246,
|
307 |
+
0.019696640014648437,
|
308 |
+
0.01921023941040039,
|
309 |
+
0.019139583587646485,
|
310 |
+
0.01903513526916504,
|
311 |
+
0.019165184020996092,
|
312 |
+
0.019339263916015623,
|
313 |
+
0.01927065658569336,
|
314 |
+
0.019096576690673828,
|
315 |
+
0.019042303085327148,
|
316 |
+
0.01904332733154297,
|
317 |
+
0.01906892776489258,
|
318 |
+
0.0190248966217041,
|
319 |
+
0.01901568031311035,
|
320 |
+
0.01904332733154297,
|
321 |
+
0.019090431213378906,
|
322 |
+
0.019173376083374022,
|
323 |
+
0.019132415771484376,
|
324 |
+
0.01904844856262207,
|
325 |
+
0.019076095581054688,
|
326 |
+
0.019005439758300782,
|
327 |
+
0.019309568405151366,
|
328 |
+
0.019573759078979493,
|
329 |
+
0.019580928802490235
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 52.17177937885252
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "google/gemma-2b",
|
3 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020382543563842774,
|
7 |
+
"prefill.throughput.value": 343.43113155011315,
|
8 |
+
"decode.latency.mean": 2.425145751953125,
|
9 |
+
"decode.throughput.value": 52.3679865004892,
|
10 |
+
"per_token.latency.mean": 0.019167450524130356,
|
11 |
+
"per_token.throughput.value": 52.17177937885252
|
12 |
+
}
|
13 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
88 |
+
- hydra.run.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null
|
93 |
+
- backend.torch_compile=True
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
98 |
+
id: '1'
|
99 |
+
num: 1
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-10 02:37:23,331[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
88 |
+
- hydra.run.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=static
|
93 |
+
- backend.torch_compile=False
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
98 |
+
id: '2'
|
99 |
+
num: 2
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1749.438464,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5036.936192
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.04539161682128906,
|
118 |
+
"mean": 0.02269580841064453,
|
119 |
+
"stdev": 0.00048652839660644556,
|
120 |
+
"p50": 0.02269580841064453,
|
121 |
+
"p90": 0.023085031127929687,
|
122 |
+
"p95": 0.02313368396759033,
|
123 |
+
"p99": 0.023172606239318848,
|
124 |
+
"values": [
|
125 |
+
0.022209280014038085,
|
126 |
+
0.023182336807250976
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 308.4269955643853
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1749.454848,
|
140 |
+
"max_global_vram": 6793.199616,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6146.752512,
|
143 |
+
"max_allocated": 5036.936704
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 5.117288330078125,
|
149 |
+
"mean": 2.5586441650390626,
|
150 |
+
"stdev": 0.024914672851562347,
|
151 |
+
"p50": 2.5586441650390626,
|
152 |
+
"p90": 2.5785759033203126,
|
153 |
+
"p95": 2.5810673706054685,
|
154 |
+
"p99": 2.5830605444335935,
|
155 |
+
"values": [
|
156 |
+
2.583558837890625,
|
157 |
+
2.5337294921875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.63566319041519
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 5.119621120452879,
|
173 |
+
"mean": 0.020235656602580556,
|
174 |
+
"stdev": 0.001533867494208121,
|
175 |
+
"p50": 0.019965951919555663,
|
176 |
+
"p90": 0.020746393966674805,
|
177 |
+
"p95": 0.021015961456298825,
|
178 |
+
"p99": 0.022081044692993154,
|
179 |
+
"values": [
|
180 |
+
0.02123161506652832,
|
181 |
+
0.021602304458618164,
|
182 |
+
0.021316608428955077,
|
183 |
+
0.020933631896972657,
|
184 |
+
0.020817920684814452,
|
185 |
+
0.020692991256713866,
|
186 |
+
0.020976640701293944,
|
187 |
+
0.020387840270996094,
|
188 |
+
0.02122137641906738,
|
189 |
+
0.022599679946899414,
|
190 |
+
0.021312511444091797,
|
191 |
+
0.020941823959350587,
|
192 |
+
0.02068992042541504,
|
193 |
+
0.020998144149780275,
|
194 |
+
0.021396480560302734,
|
195 |
+
0.020787200927734374,
|
196 |
+
0.020999168395996092,
|
197 |
+
0.020592639923095703,
|
198 |
+
0.02092748832702637,
|
199 |
+
0.02060492706298828,
|
200 |
+
0.020434944152832032,
|
201 |
+
0.020549631118774413,
|
202 |
+
0.020603904724121092,
|
203 |
+
0.020520959854125977,
|
204 |
+
0.020527103424072265,
|
205 |
+
0.020566015243530272,
|
206 |
+
0.02145792007446289,
|
207 |
+
0.02104115104675293,
|
208 |
+
0.020730880737304686,
|
209 |
+
0.020760576248168947,
|
210 |
+
0.02067148780822754,
|
211 |
+
0.020543487548828124,
|
212 |
+
0.02064384078979492,
|
213 |
+
0.02086604881286621,
|
214 |
+
0.020963327407836914,
|
215 |
+
0.02043801689147949,
|
216 |
+
0.020616191864013672,
|
217 |
+
0.020521984100341797,
|
218 |
+
0.021222400665283202,
|
219 |
+
0.020674560546875,
|
220 |
+
0.020523008346557618,
|
221 |
+
0.02078927993774414,
|
222 |
+
0.020587488174438475,
|
223 |
+
0.020396064758300782,
|
224 |
+
0.021330911636352538,
|
225 |
+
0.023147520065307618,
|
226 |
+
0.020521984100341797,
|
227 |
+
0.020196352005004883,
|
228 |
+
0.019977216720581056,
|
229 |
+
0.01993011283874512,
|
230 |
+
0.019924991607666014,
|
231 |
+
0.020246528625488282,
|
232 |
+
0.02006118392944336,
|
233 |
+
0.019952640533447266,
|
234 |
+
0.019933183670043944,
|
235 |
+
0.019922943115234376,
|
236 |
+
0.020059135437011717,
|
237 |
+
0.02046156883239746,
|
238 |
+
0.019965951919555663,
|
239 |
+
0.01993011283874512,
|
240 |
+
0.019933183670043944,
|
241 |
+
0.019933183670043944,
|
242 |
+
0.019942399978637695,
|
243 |
+
0.019746816635131836,
|
244 |
+
0.019987455368041994,
|
245 |
+
0.019934207916259765,
|
246 |
+
0.019973119735717772,
|
247 |
+
0.019966976165771484,
|
248 |
+
0.019971071243286134,
|
249 |
+
0.019914751052856446,
|
250 |
+
0.0200447998046875,
|
251 |
+
0.019957759857177734,
|
252 |
+
0.019964927673339843,
|
253 |
+
0.019938304901123048,
|
254 |
+
0.019932159423828123,
|
255 |
+
0.019911680221557617,
|
256 |
+
0.02007347106933594,
|
257 |
+
0.019907583236694337,
|
258 |
+
0.01993011283874512,
|
259 |
+
0.019968000411987305,
|
260 |
+
0.0198922233581543,
|
261 |
+
0.019904512405395508,
|
262 |
+
0.01990656089782715,
|
263 |
+
0.020151296615600587,
|
264 |
+
0.0202608642578125,
|
265 |
+
0.02022707176208496,
|
266 |
+
0.02038374328613281,
|
267 |
+
0.020613216400146486,
|
268 |
+
0.020394912719726564,
|
269 |
+
0.019999744415283204,
|
270 |
+
0.020739072799682616,
|
271 |
+
0.020023296356201172,
|
272 |
+
0.020345855712890625,
|
273 |
+
0.020178943634033202,
|
274 |
+
0.020332544326782227,
|
275 |
+
0.019891231536865235,
|
276 |
+
0.019908575057983397,
|
277 |
+
0.020067327499389647,
|
278 |
+
0.020381759643554688,
|
279 |
+
0.02074822425842285,
|
280 |
+
0.02000383949279785,
|
281 |
+
0.019895296096801757,
|
282 |
+
0.019976192474365235,
|
283 |
+
0.019945472717285157,
|
284 |
+
0.019910655975341796,
|
285 |
+
0.01988198471069336,
|
286 |
+
0.01985228729248047,
|
287 |
+
0.019869695663452147,
|
288 |
+
0.01987481689453125,
|
289 |
+
0.019681280136108398,
|
290 |
+
0.01970790481567383,
|
291 |
+
0.019854400634765627,
|
292 |
+
0.019905471801757814,
|
293 |
+
0.019794944763183595,
|
294 |
+
0.019768320083618163,
|
295 |
+
0.01982156753540039,
|
296 |
+
0.019735551834106444,
|
297 |
+
0.019703807830810546,
|
298 |
+
0.019697664260864257,
|
299 |
+
0.019704832077026366,
|
300 |
+
0.02002124786376953,
|
301 |
+
0.019911680221557617,
|
302 |
+
0.019963903427124022,
|
303 |
+
0.019906591415405274,
|
304 |
+
0.019915775299072267,
|
305 |
+
0.019809247970581055,
|
306 |
+
0.04347187042236328,
|
307 |
+
0.019942399978637695,
|
308 |
+
0.019975168228149414,
|
309 |
+
0.019965951919555663,
|
310 |
+
0.019825664520263672,
|
311 |
+
0.019710975646972655,
|
312 |
+
0.019919872283935547,
|
313 |
+
0.019727359771728514,
|
314 |
+
0.019718143463134767,
|
315 |
+
0.01969254493713379,
|
316 |
+
0.01969152069091797,
|
317 |
+
0.019687423706054686,
|
318 |
+
0.01966592025756836,
|
319 |
+
0.019938304901123048,
|
320 |
+
0.019887104034423828,
|
321 |
+
0.01990656089782715,
|
322 |
+
0.019787776947021486,
|
323 |
+
0.019729408264160156,
|
324 |
+
0.01993011283874512,
|
325 |
+
0.0198922233581543,
|
326 |
+
0.019883007049560548,
|
327 |
+
0.020374528884887694,
|
328 |
+
0.019826688766479493,
|
329 |
+
0.019687423706054686,
|
330 |
+
0.019727359771728514,
|
331 |
+
0.020405248641967775,
|
332 |
+
0.019924991607666014,
|
333 |
+
0.019932159423828123,
|
334 |
+
0.019943424224853516,
|
335 |
+
0.01992710494995117,
|
336 |
+
0.020117439270019532,
|
337 |
+
0.020282367706298828,
|
338 |
+
0.02028339195251465,
|
339 |
+
0.01989836883544922,
|
340 |
+
0.019981311798095702,
|
341 |
+
0.02023526382446289,
|
342 |
+
0.02019430351257324,
|
343 |
+
0.020237312316894532,
|
344 |
+
0.019953664779663087,
|
345 |
+
0.020059135437011717,
|
346 |
+
0.02006425666809082,
|
347 |
+
0.019894271850585937,
|
348 |
+
0.019914751052856446,
|
349 |
+
0.019931135177612306,
|
350 |
+
0.01990656089782715,
|
351 |
+
0.019965951919555663,
|
352 |
+
0.019938304901123048,
|
353 |
+
0.019974143981933593,
|
354 |
+
0.019877887725830077,
|
355 |
+
0.019982336044311523,
|
356 |
+
0.019981311798095702,
|
357 |
+
0.020015104293823242,
|
358 |
+
0.019937280654907227,
|
359 |
+
0.0200263671875,
|
360 |
+
0.019994623184204103,
|
361 |
+
0.019957759857177734,
|
362 |
+
0.019986431121826173,
|
363 |
+
0.019987455368041994,
|
364 |
+
0.019946495056152345,
|
365 |
+
0.019947519302368166,
|
366 |
+
0.020008960723876954,
|
367 |
+
0.019968000411987305,
|
368 |
+
0.020382720947265624,
|
369 |
+
0.020011007308959963,
|
370 |
+
0.019963903427124022,
|
371 |
+
0.020148223876953125,
|
372 |
+
0.019748863220214845,
|
373 |
+
0.019778560638427735,
|
374 |
+
0.01996396827697754,
|
375 |
+
0.020027328491210937,
|
376 |
+
0.01986457633972168,
|
377 |
+
0.01978265571594238,
|
378 |
+
0.020487167358398437,
|
379 |
+
0.0200581111907959,
|
380 |
+
0.019939327239990236,
|
381 |
+
0.020106271743774416,
|
382 |
+
0.019967967987060548,
|
383 |
+
0.019946495056152345,
|
384 |
+
0.019977216720581056,
|
385 |
+
0.019953664779663087,
|
386 |
+
0.019965951919555663,
|
387 |
+
0.019775487899780272,
|
388 |
+
0.019969120025634765,
|
389 |
+
0.020375455856323242,
|
390 |
+
0.019928064346313477,
|
391 |
+
0.02001919937133789,
|
392 |
+
0.019981311798095702,
|
393 |
+
0.020006912231445313,
|
394 |
+
0.019781631469726564,
|
395 |
+
0.019739648818969727,
|
396 |
+
0.019811328887939454,
|
397 |
+
0.019804159164428712,
|
398 |
+
0.019927040100097656,
|
399 |
+
0.01997209548950195,
|
400 |
+
0.019946495056152345,
|
401 |
+
0.019894271850585937,
|
402 |
+
0.020222976684570314,
|
403 |
+
0.019916799545288084,
|
404 |
+
0.019787776947021486,
|
405 |
+
0.019740671157836915,
|
406 |
+
0.019787776947021486,
|
407 |
+
0.020000768661499024,
|
408 |
+
0.019901439666748046,
|
409 |
+
0.019689472198486328,
|
410 |
+
0.01994140815734863,
|
411 |
+
0.01997001647949219,
|
412 |
+
0.019963903427124022,
|
413 |
+
0.019973119735717772,
|
414 |
+
0.01986457633972168,
|
415 |
+
0.019942399978637695,
|
416 |
+
0.019989503860473632,
|
417 |
+
0.01999564743041992,
|
418 |
+
0.019965951919555663,
|
419 |
+
0.019962879180908204,
|
420 |
+
0.019934207916259765,
|
421 |
+
0.019954687118530275,
|
422 |
+
0.019954687118530275,
|
423 |
+
0.019959808349609375,
|
424 |
+
0.019931135177612306,
|
425 |
+
0.019954687118530275,
|
426 |
+
0.019934207916259765,
|
427 |
+
0.019945472717285157,
|
428 |
+
0.019940351486206053,
|
429 |
+
0.01988915252685547,
|
430 |
+
0.01995065689086914,
|
431 |
+
0.019912639617919923,
|
432 |
+
0.019947519302368166
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.41771940686495
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1749.438464,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5036.936192
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.04539161682128906,
|
15 |
+
"mean": 0.02269580841064453,
|
16 |
+
"stdev": 0.00048652839660644556,
|
17 |
+
"p50": 0.02269580841064453,
|
18 |
+
"p90": 0.023085031127929687,
|
19 |
+
"p95": 0.02313368396759033,
|
20 |
+
"p99": 0.023172606239318848,
|
21 |
+
"values": [
|
22 |
+
0.022209280014038085,
|
23 |
+
0.023182336807250976
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 308.4269955643853
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1749.454848,
|
37 |
+
"max_global_vram": 6793.199616,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6146.752512,
|
40 |
+
"max_allocated": 5036.936704
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 5.117288330078125,
|
46 |
+
"mean": 2.5586441650390626,
|
47 |
+
"stdev": 0.024914672851562347,
|
48 |
+
"p50": 2.5586441650390626,
|
49 |
+
"p90": 2.5785759033203126,
|
50 |
+
"p95": 2.5810673706054685,
|
51 |
+
"p99": 2.5830605444335935,
|
52 |
+
"values": [
|
53 |
+
2.583558837890625,
|
54 |
+
2.5337294921875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.63566319041519
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 5.119621120452879,
|
70 |
+
"mean": 0.020235656602580556,
|
71 |
+
"stdev": 0.001533867494208121,
|
72 |
+
"p50": 0.019965951919555663,
|
73 |
+
"p90": 0.020746393966674805,
|
74 |
+
"p95": 0.021015961456298825,
|
75 |
+
"p99": 0.022081044692993154,
|
76 |
+
"values": [
|
77 |
+
0.02123161506652832,
|
78 |
+
0.021602304458618164,
|
79 |
+
0.021316608428955077,
|
80 |
+
0.020933631896972657,
|
81 |
+
0.020817920684814452,
|
82 |
+
0.020692991256713866,
|
83 |
+
0.020976640701293944,
|
84 |
+
0.020387840270996094,
|
85 |
+
0.02122137641906738,
|
86 |
+
0.022599679946899414,
|
87 |
+
0.021312511444091797,
|
88 |
+
0.020941823959350587,
|
89 |
+
0.02068992042541504,
|
90 |
+
0.020998144149780275,
|
91 |
+
0.021396480560302734,
|
92 |
+
0.020787200927734374,
|
93 |
+
0.020999168395996092,
|
94 |
+
0.020592639923095703,
|
95 |
+
0.02092748832702637,
|
96 |
+
0.02060492706298828,
|
97 |
+
0.020434944152832032,
|
98 |
+
0.020549631118774413,
|
99 |
+
0.020603904724121092,
|
100 |
+
0.020520959854125977,
|
101 |
+
0.020527103424072265,
|
102 |
+
0.020566015243530272,
|
103 |
+
0.02145792007446289,
|
104 |
+
0.02104115104675293,
|
105 |
+
0.020730880737304686,
|
106 |
+
0.020760576248168947,
|
107 |
+
0.02067148780822754,
|
108 |
+
0.020543487548828124,
|
109 |
+
0.02064384078979492,
|
110 |
+
0.02086604881286621,
|
111 |
+
0.020963327407836914,
|
112 |
+
0.02043801689147949,
|
113 |
+
0.020616191864013672,
|
114 |
+
0.020521984100341797,
|
115 |
+
0.021222400665283202,
|
116 |
+
0.020674560546875,
|
117 |
+
0.020523008346557618,
|
118 |
+
0.02078927993774414,
|
119 |
+
0.020587488174438475,
|
120 |
+
0.020396064758300782,
|
121 |
+
0.021330911636352538,
|
122 |
+
0.023147520065307618,
|
123 |
+
0.020521984100341797,
|
124 |
+
0.020196352005004883,
|
125 |
+
0.019977216720581056,
|
126 |
+
0.01993011283874512,
|
127 |
+
0.019924991607666014,
|
128 |
+
0.020246528625488282,
|
129 |
+
0.02006118392944336,
|
130 |
+
0.019952640533447266,
|
131 |
+
0.019933183670043944,
|
132 |
+
0.019922943115234376,
|
133 |
+
0.020059135437011717,
|
134 |
+
0.02046156883239746,
|
135 |
+
0.019965951919555663,
|
136 |
+
0.01993011283874512,
|
137 |
+
0.019933183670043944,
|
138 |
+
0.019933183670043944,
|
139 |
+
0.019942399978637695,
|
140 |
+
0.019746816635131836,
|
141 |
+
0.019987455368041994,
|
142 |
+
0.019934207916259765,
|
143 |
+
0.019973119735717772,
|
144 |
+
0.019966976165771484,
|
145 |
+
0.019971071243286134,
|
146 |
+
0.019914751052856446,
|
147 |
+
0.0200447998046875,
|
148 |
+
0.019957759857177734,
|
149 |
+
0.019964927673339843,
|
150 |
+
0.019938304901123048,
|
151 |
+
0.019932159423828123,
|
152 |
+
0.019911680221557617,
|
153 |
+
0.02007347106933594,
|
154 |
+
0.019907583236694337,
|
155 |
+
0.01993011283874512,
|
156 |
+
0.019968000411987305,
|
157 |
+
0.0198922233581543,
|
158 |
+
0.019904512405395508,
|
159 |
+
0.01990656089782715,
|
160 |
+
0.020151296615600587,
|
161 |
+
0.0202608642578125,
|
162 |
+
0.02022707176208496,
|
163 |
+
0.02038374328613281,
|
164 |
+
0.020613216400146486,
|
165 |
+
0.020394912719726564,
|
166 |
+
0.019999744415283204,
|
167 |
+
0.020739072799682616,
|
168 |
+
0.020023296356201172,
|
169 |
+
0.020345855712890625,
|
170 |
+
0.020178943634033202,
|
171 |
+
0.020332544326782227,
|
172 |
+
0.019891231536865235,
|
173 |
+
0.019908575057983397,
|
174 |
+
0.020067327499389647,
|
175 |
+
0.020381759643554688,
|
176 |
+
0.02074822425842285,
|
177 |
+
0.02000383949279785,
|
178 |
+
0.019895296096801757,
|
179 |
+
0.019976192474365235,
|
180 |
+
0.019945472717285157,
|
181 |
+
0.019910655975341796,
|
182 |
+
0.01988198471069336,
|
183 |
+
0.01985228729248047,
|
184 |
+
0.019869695663452147,
|
185 |
+
0.01987481689453125,
|
186 |
+
0.019681280136108398,
|
187 |
+
0.01970790481567383,
|
188 |
+
0.019854400634765627,
|
189 |
+
0.019905471801757814,
|
190 |
+
0.019794944763183595,
|
191 |
+
0.019768320083618163,
|
192 |
+
0.01982156753540039,
|
193 |
+
0.019735551834106444,
|
194 |
+
0.019703807830810546,
|
195 |
+
0.019697664260864257,
|
196 |
+
0.019704832077026366,
|
197 |
+
0.02002124786376953,
|
198 |
+
0.019911680221557617,
|
199 |
+
0.019963903427124022,
|
200 |
+
0.019906591415405274,
|
201 |
+
0.019915775299072267,
|
202 |
+
0.019809247970581055,
|
203 |
+
0.04347187042236328,
|
204 |
+
0.019942399978637695,
|
205 |
+
0.019975168228149414,
|
206 |
+
0.019965951919555663,
|
207 |
+
0.019825664520263672,
|
208 |
+
0.019710975646972655,
|
209 |
+
0.019919872283935547,
|
210 |
+
0.019727359771728514,
|
211 |
+
0.019718143463134767,
|
212 |
+
0.01969254493713379,
|
213 |
+
0.01969152069091797,
|
214 |
+
0.019687423706054686,
|
215 |
+
0.01966592025756836,
|
216 |
+
0.019938304901123048,
|
217 |
+
0.019887104034423828,
|
218 |
+
0.01990656089782715,
|
219 |
+
0.019787776947021486,
|
220 |
+
0.019729408264160156,
|
221 |
+
0.01993011283874512,
|
222 |
+
0.0198922233581543,
|
223 |
+
0.019883007049560548,
|
224 |
+
0.020374528884887694,
|
225 |
+
0.019826688766479493,
|
226 |
+
0.019687423706054686,
|
227 |
+
0.019727359771728514,
|
228 |
+
0.020405248641967775,
|
229 |
+
0.019924991607666014,
|
230 |
+
0.019932159423828123,
|
231 |
+
0.019943424224853516,
|
232 |
+
0.01992710494995117,
|
233 |
+
0.020117439270019532,
|
234 |
+
0.020282367706298828,
|
235 |
+
0.02028339195251465,
|
236 |
+
0.01989836883544922,
|
237 |
+
0.019981311798095702,
|
238 |
+
0.02023526382446289,
|
239 |
+
0.02019430351257324,
|
240 |
+
0.020237312316894532,
|
241 |
+
0.019953664779663087,
|
242 |
+
0.020059135437011717,
|
243 |
+
0.02006425666809082,
|
244 |
+
0.019894271850585937,
|
245 |
+
0.019914751052856446,
|
246 |
+
0.019931135177612306,
|
247 |
+
0.01990656089782715,
|
248 |
+
0.019965951919555663,
|
249 |
+
0.019938304901123048,
|
250 |
+
0.019974143981933593,
|
251 |
+
0.019877887725830077,
|
252 |
+
0.019982336044311523,
|
253 |
+
0.019981311798095702,
|
254 |
+
0.020015104293823242,
|
255 |
+
0.019937280654907227,
|
256 |
+
0.0200263671875,
|
257 |
+
0.019994623184204103,
|
258 |
+
0.019957759857177734,
|
259 |
+
0.019986431121826173,
|
260 |
+
0.019987455368041994,
|
261 |
+
0.019946495056152345,
|
262 |
+
0.019947519302368166,
|
263 |
+
0.020008960723876954,
|
264 |
+
0.019968000411987305,
|
265 |
+
0.020382720947265624,
|
266 |
+
0.020011007308959963,
|
267 |
+
0.019963903427124022,
|
268 |
+
0.020148223876953125,
|
269 |
+
0.019748863220214845,
|
270 |
+
0.019778560638427735,
|
271 |
+
0.01996396827697754,
|
272 |
+
0.020027328491210937,
|
273 |
+
0.01986457633972168,
|
274 |
+
0.01978265571594238,
|
275 |
+
0.020487167358398437,
|
276 |
+
0.0200581111907959,
|
277 |
+
0.019939327239990236,
|
278 |
+
0.020106271743774416,
|
279 |
+
0.019967967987060548,
|
280 |
+
0.019946495056152345,
|
281 |
+
0.019977216720581056,
|
282 |
+
0.019953664779663087,
|
283 |
+
0.019965951919555663,
|
284 |
+
0.019775487899780272,
|
285 |
+
0.019969120025634765,
|
286 |
+
0.020375455856323242,
|
287 |
+
0.019928064346313477,
|
288 |
+
0.02001919937133789,
|
289 |
+
0.019981311798095702,
|
290 |
+
0.020006912231445313,
|
291 |
+
0.019781631469726564,
|
292 |
+
0.019739648818969727,
|
293 |
+
0.019811328887939454,
|
294 |
+
0.019804159164428712,
|
295 |
+
0.019927040100097656,
|
296 |
+
0.01997209548950195,
|
297 |
+
0.019946495056152345,
|
298 |
+
0.019894271850585937,
|
299 |
+
0.020222976684570314,
|
300 |
+
0.019916799545288084,
|
301 |
+
0.019787776947021486,
|
302 |
+
0.019740671157836915,
|
303 |
+
0.019787776947021486,
|
304 |
+
0.020000768661499024,
|
305 |
+
0.019901439666748046,
|
306 |
+
0.019689472198486328,
|
307 |
+
0.01994140815734863,
|
308 |
+
0.01997001647949219,
|
309 |
+
0.019963903427124022,
|
310 |
+
0.019973119735717772,
|
311 |
+
0.01986457633972168,
|
312 |
+
0.019942399978637695,
|
313 |
+
0.019989503860473632,
|
314 |
+
0.01999564743041992,
|
315 |
+
0.019965951919555663,
|
316 |
+
0.019962879180908204,
|
317 |
+
0.019934207916259765,
|
318 |
+
0.019954687118530275,
|
319 |
+
0.019954687118530275,
|
320 |
+
0.019959808349609375,
|
321 |
+
0.019931135177612306,
|
322 |
+
0.019954687118530275,
|
323 |
+
0.019934207916259765,
|
324 |
+
0.019945472717285157,
|
325 |
+
0.019940351486206053,
|
326 |
+
0.01988915252685547,
|
327 |
+
0.01995065689086914,
|
328 |
+
0.019912639617919923,
|
329 |
+
0.019947519302368166
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.41771940686495
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "google/gemma-2b",
|
3 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02269580841064453,
|
7 |
+
"prefill.throughput.value": 308.4269955643853,
|
8 |
+
"decode.latency.mean": 2.5586441650390626,
|
9 |
+
"decode.throughput.value": 49.63566319041519,
|
10 |
+
"per_token.latency.mean": 0.020235656602580556,
|
11 |
+
"per_token.throughput.value": 49.41771940686495
|
12 |
+
}
|
13 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
88 |
+
- hydra.run.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=static
|
93 |
+
- backend.torch_compile=True
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
98 |
+
id: '3'
|
99 |
+
num: 3
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1915.461632,
|
109 |
+
"max_global_vram": 6094.848,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 5379.19488,
|
112 |
+
"max_allocated": 5021.251584
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.028111583709716795,
|
118 |
+
"mean": 0.014055791854858397,
|
119 |
+
"stdev": 0.0001049757003784178,
|
120 |
+
"p50": 0.014055791854858397,
|
121 |
+
"p90": 0.014139772415161133,
|
122 |
+
"p95": 0.014150269985198975,
|
123 |
+
"p99": 0.014158668041229248,
|
124 |
+
"values": [
|
125 |
+
0.014160767555236816,
|
126 |
+
0.01395081615447998
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.01534287664083
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2259.218432,
|
140 |
+
"max_global_vram": 8907.128832,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 5379.19488,
|
143 |
+
"max_allocated": 5027.089408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 3.144959716796875,
|
149 |
+
"mean": 1.5724798583984374,
|
150 |
+
"stdev": 0.014818481445312504,
|
151 |
+
"p50": 1.5724798583984374,
|
152 |
+
"p90": 1.5843346435546874,
|
153 |
+
"p95": 1.5858164916992186,
|
154 |
+
"p99": 1.5870019702148437,
|
155 |
+
"values": [
|
156 |
+
1.58729833984375,
|
157 |
+
1.557661376953125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.7641505369416
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 3.1460618238449114,
|
173 |
+
"mean": 0.012435026971719011,
|
174 |
+
"stdev": 0.0009010077205329179,
|
175 |
+
"p50": 0.012273664474487305,
|
176 |
+
"p90": 0.012698418998718262,
|
177 |
+
"p95": 0.012728729820251465,
|
178 |
+
"p99": 0.012768542556762696,
|
179 |
+
"values": [
|
180 |
+
0.012661791801452637,
|
181 |
+
0.012739551544189454,
|
182 |
+
0.012682239532470703,
|
183 |
+
0.01276313591003418,
|
184 |
+
0.012697600364685058,
|
185 |
+
0.012728320121765137,
|
186 |
+
0.012662783622741699,
|
187 |
+
0.01273036766052246,
|
188 |
+
0.012659711837768555,
|
189 |
+
0.0127457275390625,
|
190 |
+
0.012687359809875488,
|
191 |
+
0.012719103813171387,
|
192 |
+
0.012687359809875488,
|
193 |
+
0.012688447952270508,
|
194 |
+
0.012610495567321777,
|
195 |
+
0.012744704246520995,
|
196 |
+
0.01266380786895752,
|
197 |
+
0.012778495788574219,
|
198 |
+
0.012689408302307128,
|
199 |
+
0.012744704246520995,
|
200 |
+
0.012700672149658204,
|
201 |
+
0.012774399757385254,
|
202 |
+
0.012669952392578124,
|
203 |
+
0.012761088371276855,
|
204 |
+
0.012675071716308594,
|
205 |
+
0.012719103813171387,
|
206 |
+
0.012684288024902344,
|
207 |
+
0.012690431594848632,
|
208 |
+
0.012653568267822265,
|
209 |
+
0.012698623657226562,
|
210 |
+
0.012667903900146485,
|
211 |
+
0.012690431594848632,
|
212 |
+
0.012662783622741699,
|
213 |
+
0.01267199993133545,
|
214 |
+
0.012630016326904296,
|
215 |
+
0.012661760330200195,
|
216 |
+
0.012650495529174804,
|
217 |
+
0.012677120208740235,
|
218 |
+
0.012669952392578124,
|
219 |
+
0.012759039878845215,
|
220 |
+
0.012645376205444337,
|
221 |
+
0.012705792427062988,
|
222 |
+
0.012684288024902344,
|
223 |
+
0.012715007781982422,
|
224 |
+
0.012703743934631348,
|
225 |
+
0.012708864212036132,
|
226 |
+
0.01267302417755127,
|
227 |
+
0.012700672149658204,
|
228 |
+
0.012677120208740235,
|
229 |
+
0.01274060821533203,
|
230 |
+
0.01266380786895752,
|
231 |
+
0.012694527626037597,
|
232 |
+
0.012682239532470703,
|
233 |
+
0.012717056274414062,
|
234 |
+
0.012676095962524414,
|
235 |
+
0.012729344367980957,
|
236 |
+
0.012624896049499512,
|
237 |
+
0.012687359809875488,
|
238 |
+
0.012645376205444337,
|
239 |
+
0.012689408302307128,
|
240 |
+
0.012654591560363769,
|
241 |
+
0.012727295875549317,
|
242 |
+
0.012630016326904296,
|
243 |
+
0.012626943588256835,
|
244 |
+
0.012521471977233887,
|
245 |
+
0.012469247817993164,
|
246 |
+
0.012641280174255372,
|
247 |
+
0.012298239707946777,
|
248 |
+
0.012340224266052247,
|
249 |
+
0.01257369613647461,
|
250 |
+
0.012395520210266114,
|
251 |
+
0.012724224090576173,
|
252 |
+
0.012399616241455079,
|
253 |
+
0.01232588768005371,
|
254 |
+
0.012279808044433594,
|
255 |
+
0.01235865592956543,
|
256 |
+
0.012290047645568849,
|
257 |
+
0.012402688026428223,
|
258 |
+
0.012236800193786621,
|
259 |
+
0.012313599586486817,
|
260 |
+
0.01224294376373291,
|
261 |
+
0.01226956844329834,
|
262 |
+
0.012228608131408691,
|
263 |
+
0.01226956844329834,
|
264 |
+
0.012238847732543945,
|
265 |
+
0.012262399673461915,
|
266 |
+
0.012224512100219726,
|
267 |
+
0.012283904075622559,
|
268 |
+
0.012225536346435547,
|
269 |
+
0.012266495704650878,
|
270 |
+
0.01222758388519287,
|
271 |
+
0.012266495704650878,
|
272 |
+
0.012231679916381836,
|
273 |
+
0.01226854419708252,
|
274 |
+
0.012224512100219726,
|
275 |
+
0.012294143676757812,
|
276 |
+
0.01225216007232666,
|
277 |
+
0.012274687767028808,
|
278 |
+
0.012225536346435547,
|
279 |
+
0.012263423919677734,
|
280 |
+
0.012228608131408691,
|
281 |
+
0.012272640228271485,
|
282 |
+
0.012233728408813477,
|
283 |
+
0.012286975860595703,
|
284 |
+
0.012224512100219726,
|
285 |
+
0.012271615982055664,
|
286 |
+
0.012222463607788087,
|
287 |
+
0.01225113582611084,
|
288 |
+
0.012229632377624512,
|
289 |
+
0.012271615982055664,
|
290 |
+
0.012222463607788087,
|
291 |
+
0.012294143676757812,
|
292 |
+
0.012239871978759765,
|
293 |
+
0.012265472412109376,
|
294 |
+
0.012225536346435547,
|
295 |
+
0.012274687767028808,
|
296 |
+
0.012220416069030762,
|
297 |
+
0.012274687767028808,
|
298 |
+
0.01222758388519287,
|
299 |
+
0.012271615982055664,
|
300 |
+
0.012233728408813477,
|
301 |
+
0.012286975860595703,
|
302 |
+
0.012238847732543945,
|
303 |
+
0.012273664474487305,
|
304 |
+
0.012233728408813477,
|
305 |
+
0.012280832290649414,
|
306 |
+
0.026407936096191405,
|
307 |
+
0.012241920471191407,
|
308 |
+
0.012270591735839843,
|
309 |
+
0.012220416069030762,
|
310 |
+
0.012270591735839843,
|
311 |
+
0.012241920471191407,
|
312 |
+
0.012285951614379884,
|
313 |
+
0.0122357759475708,
|
314 |
+
0.012309503555297852,
|
315 |
+
0.012240896224975586,
|
316 |
+
0.01226956844329834,
|
317 |
+
0.01222758388519287,
|
318 |
+
0.012283904075622559,
|
319 |
+
0.012229632377624512,
|
320 |
+
0.012278783798217773,
|
321 |
+
0.01222758388519287,
|
322 |
+
0.012272640228271485,
|
323 |
+
0.012233728408813477,
|
324 |
+
0.01226137638092041,
|
325 |
+
0.012229632377624512,
|
326 |
+
0.012265472412109376,
|
327 |
+
0.01234227180480957,
|
328 |
+
0.012267519950866699,
|
329 |
+
0.01226035213470459,
|
330 |
+
0.012299263954162597,
|
331 |
+
0.012231679916381836,
|
332 |
+
0.01226956844329834,
|
333 |
+
0.01223475170135498,
|
334 |
+
0.012266495704650878,
|
335 |
+
0.012218367576599122,
|
336 |
+
0.012271615982055664,
|
337 |
+
0.012238847732543945,
|
338 |
+
0.012274687767028808,
|
339 |
+
0.012231679916381836,
|
340 |
+
0.012270591735839843,
|
341 |
+
0.012253184318542481,
|
342 |
+
0.012274687767028808,
|
343 |
+
0.012229632377624512,
|
344 |
+
0.012286975860595703,
|
345 |
+
0.012272640228271485,
|
346 |
+
0.01226956844329834,
|
347 |
+
0.012224512100219726,
|
348 |
+
0.012265472412109376,
|
349 |
+
0.012226559638977052,
|
350 |
+
0.012270591735839843,
|
351 |
+
0.012223487854003906,
|
352 |
+
0.012296192169189453,
|
353 |
+
0.01224294376373291,
|
354 |
+
0.012274687767028808,
|
355 |
+
0.012224512100219726,
|
356 |
+
0.012272640228271485,
|
357 |
+
0.012263423919677734,
|
358 |
+
0.012294143676757812,
|
359 |
+
0.012240896224975586,
|
360 |
+
0.012303359985351562,
|
361 |
+
0.012255231857299804,
|
362 |
+
0.012267519950866699,
|
363 |
+
0.012237824440002442,
|
364 |
+
0.012264448165893555,
|
365 |
+
0.012226559638977052,
|
366 |
+
0.012257280349731446,
|
367 |
+
0.012222463607788087,
|
368 |
+
0.012263423919677734,
|
369 |
+
0.012231679916381836,
|
370 |
+
0.012266495704650878,
|
371 |
+
0.012218367576599122,
|
372 |
+
0.012275712013244629,
|
373 |
+
0.012217344284057617,
|
374 |
+
0.01227673625946045,
|
375 |
+
0.012223487854003906,
|
376 |
+
0.012301312446594239,
|
377 |
+
0.012237824440002442,
|
378 |
+
0.012273664474487305,
|
379 |
+
0.01222758388519287,
|
380 |
+
0.012271615982055664,
|
381 |
+
0.01221939182281494,
|
382 |
+
0.012273664474487305,
|
383 |
+
0.01221939182281494,
|
384 |
+
0.012338175773620605,
|
385 |
+
0.012237824440002442,
|
386 |
+
0.012314623832702636,
|
387 |
+
0.01227673625946045,
|
388 |
+
0.012291071891784668,
|
389 |
+
0.01225011157989502,
|
390 |
+
0.012274687767028808,
|
391 |
+
0.012267519950866699,
|
392 |
+
0.012306431770324706,
|
393 |
+
0.01225011157989502,
|
394 |
+
0.012300288200378418,
|
395 |
+
0.012676095962524414,
|
396 |
+
0.012337151527404786,
|
397 |
+
0.012240896224975586,
|
398 |
+
0.012285951614379884,
|
399 |
+
0.012246015548706055,
|
400 |
+
0.012278783798217773,
|
401 |
+
0.01224294376373291,
|
402 |
+
0.012270591735839843,
|
403 |
+
0.012226559638977052,
|
404 |
+
0.012291071891784668,
|
405 |
+
0.012254207611083985,
|
406 |
+
0.012265472412109376,
|
407 |
+
0.01221939182281494,
|
408 |
+
0.012270591735839843,
|
409 |
+
0.012224512100219726,
|
410 |
+
0.012272640228271485,
|
411 |
+
0.012223487854003906,
|
412 |
+
0.012266495704650878,
|
413 |
+
0.012224512100219726,
|
414 |
+
0.012267519950866699,
|
415 |
+
0.012237824440002442,
|
416 |
+
0.012291071891784668,
|
417 |
+
0.012231679916381836,
|
418 |
+
0.012254207611083985,
|
419 |
+
0.012239871978759765,
|
420 |
+
0.012301312446594239,
|
421 |
+
0.01225011157989502,
|
422 |
+
0.012320768356323243,
|
423 |
+
0.012233728408813477,
|
424 |
+
0.012264448165893555,
|
425 |
+
0.012233728408813477,
|
426 |
+
0.012297216415405274,
|
427 |
+
0.012347392082214356,
|
428 |
+
0.01229312038421631,
|
429 |
+
0.012229632377624512,
|
430 |
+
0.012289024353027344,
|
431 |
+
0.012231679916381836,
|
432 |
+
0.012273664474487305
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.41800007947715
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1915.461632,
|
6 |
+
"max_global_vram": 6094.848,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 5379.19488,
|
9 |
+
"max_allocated": 5021.251584
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.028111583709716795,
|
15 |
+
"mean": 0.014055791854858397,
|
16 |
+
"stdev": 0.0001049757003784178,
|
17 |
+
"p50": 0.014055791854858397,
|
18 |
+
"p90": 0.014139772415161133,
|
19 |
+
"p95": 0.014150269985198975,
|
20 |
+
"p99": 0.014158668041229248,
|
21 |
+
"values": [
|
22 |
+
0.014160767555236816,
|
23 |
+
0.01395081615447998
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.01534287664083
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2259.218432,
|
37 |
+
"max_global_vram": 8907.128832,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 5379.19488,
|
40 |
+
"max_allocated": 5027.089408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 3.144959716796875,
|
46 |
+
"mean": 1.5724798583984374,
|
47 |
+
"stdev": 0.014818481445312504,
|
48 |
+
"p50": 1.5724798583984374,
|
49 |
+
"p90": 1.5843346435546874,
|
50 |
+
"p95": 1.5858164916992186,
|
51 |
+
"p99": 1.5870019702148437,
|
52 |
+
"values": [
|
53 |
+
1.58729833984375,
|
54 |
+
1.557661376953125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.7641505369416
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 3.1460618238449114,
|
70 |
+
"mean": 0.012435026971719011,
|
71 |
+
"stdev": 0.0009010077205329179,
|
72 |
+
"p50": 0.012273664474487305,
|
73 |
+
"p90": 0.012698418998718262,
|
74 |
+
"p95": 0.012728729820251465,
|
75 |
+
"p99": 0.012768542556762696,
|
76 |
+
"values": [
|
77 |
+
0.012661791801452637,
|
78 |
+
0.012739551544189454,
|
79 |
+
0.012682239532470703,
|
80 |
+
0.01276313591003418,
|
81 |
+
0.012697600364685058,
|
82 |
+
0.012728320121765137,
|
83 |
+
0.012662783622741699,
|
84 |
+
0.01273036766052246,
|
85 |
+
0.012659711837768555,
|
86 |
+
0.0127457275390625,
|
87 |
+
0.012687359809875488,
|
88 |
+
0.012719103813171387,
|
89 |
+
0.012687359809875488,
|
90 |
+
0.012688447952270508,
|
91 |
+
0.012610495567321777,
|
92 |
+
0.012744704246520995,
|
93 |
+
0.01266380786895752,
|
94 |
+
0.012778495788574219,
|
95 |
+
0.012689408302307128,
|
96 |
+
0.012744704246520995,
|
97 |
+
0.012700672149658204,
|
98 |
+
0.012774399757385254,
|
99 |
+
0.012669952392578124,
|
100 |
+
0.012761088371276855,
|
101 |
+
0.012675071716308594,
|
102 |
+
0.012719103813171387,
|
103 |
+
0.012684288024902344,
|
104 |
+
0.012690431594848632,
|
105 |
+
0.012653568267822265,
|
106 |
+
0.012698623657226562,
|
107 |
+
0.012667903900146485,
|
108 |
+
0.012690431594848632,
|
109 |
+
0.012662783622741699,
|
110 |
+
0.01267199993133545,
|
111 |
+
0.012630016326904296,
|
112 |
+
0.012661760330200195,
|
113 |
+
0.012650495529174804,
|
114 |
+
0.012677120208740235,
|
115 |
+
0.012669952392578124,
|
116 |
+
0.012759039878845215,
|
117 |
+
0.012645376205444337,
|
118 |
+
0.012705792427062988,
|
119 |
+
0.012684288024902344,
|
120 |
+
0.012715007781982422,
|
121 |
+
0.012703743934631348,
|
122 |
+
0.012708864212036132,
|
123 |
+
0.01267302417755127,
|
124 |
+
0.012700672149658204,
|
125 |
+
0.012677120208740235,
|
126 |
+
0.01274060821533203,
|
127 |
+
0.01266380786895752,
|
128 |
+
0.012694527626037597,
|
129 |
+
0.012682239532470703,
|
130 |
+
0.012717056274414062,
|
131 |
+
0.012676095962524414,
|
132 |
+
0.012729344367980957,
|
133 |
+
0.012624896049499512,
|
134 |
+
0.012687359809875488,
|
135 |
+
0.012645376205444337,
|
136 |
+
0.012689408302307128,
|
137 |
+
0.012654591560363769,
|
138 |
+
0.012727295875549317,
|
139 |
+
0.012630016326904296,
|
140 |
+
0.012626943588256835,
|
141 |
+
0.012521471977233887,
|
142 |
+
0.012469247817993164,
|
143 |
+
0.012641280174255372,
|
144 |
+
0.012298239707946777,
|
145 |
+
0.012340224266052247,
|
146 |
+
0.01257369613647461,
|
147 |
+
0.012395520210266114,
|
148 |
+
0.012724224090576173,
|
149 |
+
0.012399616241455079,
|
150 |
+
0.01232588768005371,
|
151 |
+
0.012279808044433594,
|
152 |
+
0.01235865592956543,
|
153 |
+
0.012290047645568849,
|
154 |
+
0.012402688026428223,
|
155 |
+
0.012236800193786621,
|
156 |
+
0.012313599586486817,
|
157 |
+
0.01224294376373291,
|
158 |
+
0.01226956844329834,
|
159 |
+
0.012228608131408691,
|
160 |
+
0.01226956844329834,
|
161 |
+
0.012238847732543945,
|
162 |
+
0.012262399673461915,
|
163 |
+
0.012224512100219726,
|
164 |
+
0.012283904075622559,
|
165 |
+
0.012225536346435547,
|
166 |
+
0.012266495704650878,
|
167 |
+
0.01222758388519287,
|
168 |
+
0.012266495704650878,
|
169 |
+
0.012231679916381836,
|
170 |
+
0.01226854419708252,
|
171 |
+
0.012224512100219726,
|
172 |
+
0.012294143676757812,
|
173 |
+
0.01225216007232666,
|
174 |
+
0.012274687767028808,
|
175 |
+
0.012225536346435547,
|
176 |
+
0.012263423919677734,
|
177 |
+
0.012228608131408691,
|
178 |
+
0.012272640228271485,
|
179 |
+
0.012233728408813477,
|
180 |
+
0.012286975860595703,
|
181 |
+
0.012224512100219726,
|
182 |
+
0.012271615982055664,
|
183 |
+
0.012222463607788087,
|
184 |
+
0.01225113582611084,
|
185 |
+
0.012229632377624512,
|
186 |
+
0.012271615982055664,
|
187 |
+
0.012222463607788087,
|
188 |
+
0.012294143676757812,
|
189 |
+
0.012239871978759765,
|
190 |
+
0.012265472412109376,
|
191 |
+
0.012225536346435547,
|
192 |
+
0.012274687767028808,
|
193 |
+
0.012220416069030762,
|
194 |
+
0.012274687767028808,
|
195 |
+
0.01222758388519287,
|
196 |
+
0.012271615982055664,
|
197 |
+
0.012233728408813477,
|
198 |
+
0.012286975860595703,
|
199 |
+
0.012238847732543945,
|
200 |
+
0.012273664474487305,
|
201 |
+
0.012233728408813477,
|
202 |
+
0.012280832290649414,
|
203 |
+
0.026407936096191405,
|
204 |
+
0.012241920471191407,
|
205 |
+
0.012270591735839843,
|
206 |
+
0.012220416069030762,
|
207 |
+
0.012270591735839843,
|
208 |
+
0.012241920471191407,
|
209 |
+
0.012285951614379884,
|
210 |
+
0.0122357759475708,
|
211 |
+
0.012309503555297852,
|
212 |
+
0.012240896224975586,
|
213 |
+
0.01226956844329834,
|
214 |
+
0.01222758388519287,
|
215 |
+
0.012283904075622559,
|
216 |
+
0.012229632377624512,
|
217 |
+
0.012278783798217773,
|
218 |
+
0.01222758388519287,
|
219 |
+
0.012272640228271485,
|
220 |
+
0.012233728408813477,
|
221 |
+
0.01226137638092041,
|
222 |
+
0.012229632377624512,
|
223 |
+
0.012265472412109376,
|
224 |
+
0.01234227180480957,
|
225 |
+
0.012267519950866699,
|
226 |
+
0.01226035213470459,
|
227 |
+
0.012299263954162597,
|
228 |
+
0.012231679916381836,
|
229 |
+
0.01226956844329834,
|
230 |
+
0.01223475170135498,
|
231 |
+
0.012266495704650878,
|
232 |
+
0.012218367576599122,
|
233 |
+
0.012271615982055664,
|
234 |
+
0.012238847732543945,
|
235 |
+
0.012274687767028808,
|
236 |
+
0.012231679916381836,
|
237 |
+
0.012270591735839843,
|
238 |
+
0.012253184318542481,
|
239 |
+
0.012274687767028808,
|
240 |
+
0.012229632377624512,
|
241 |
+
0.012286975860595703,
|
242 |
+
0.012272640228271485,
|
243 |
+
0.01226956844329834,
|
244 |
+
0.012224512100219726,
|
245 |
+
0.012265472412109376,
|
246 |
+
0.012226559638977052,
|
247 |
+
0.012270591735839843,
|
248 |
+
0.012223487854003906,
|
249 |
+
0.012296192169189453,
|
250 |
+
0.01224294376373291,
|
251 |
+
0.012274687767028808,
|
252 |
+
0.012224512100219726,
|
253 |
+
0.012272640228271485,
|
254 |
+
0.012263423919677734,
|
255 |
+
0.012294143676757812,
|
256 |
+
0.012240896224975586,
|
257 |
+
0.012303359985351562,
|
258 |
+
0.012255231857299804,
|
259 |
+
0.012267519950866699,
|
260 |
+
0.012237824440002442,
|
261 |
+
0.012264448165893555,
|
262 |
+
0.012226559638977052,
|
263 |
+
0.012257280349731446,
|
264 |
+
0.012222463607788087,
|
265 |
+
0.012263423919677734,
|
266 |
+
0.012231679916381836,
|
267 |
+
0.012266495704650878,
|
268 |
+
0.012218367576599122,
|
269 |
+
0.012275712013244629,
|
270 |
+
0.012217344284057617,
|
271 |
+
0.01227673625946045,
|
272 |
+
0.012223487854003906,
|
273 |
+
0.012301312446594239,
|
274 |
+
0.012237824440002442,
|
275 |
+
0.012273664474487305,
|
276 |
+
0.01222758388519287,
|
277 |
+
0.012271615982055664,
|
278 |
+
0.01221939182281494,
|
279 |
+
0.012273664474487305,
|
280 |
+
0.01221939182281494,
|
281 |
+
0.012338175773620605,
|
282 |
+
0.012237824440002442,
|
283 |
+
0.012314623832702636,
|
284 |
+
0.01227673625946045,
|
285 |
+
0.012291071891784668,
|
286 |
+
0.01225011157989502,
|
287 |
+
0.012274687767028808,
|
288 |
+
0.012267519950866699,
|
289 |
+
0.012306431770324706,
|
290 |
+
0.01225011157989502,
|
291 |
+
0.012300288200378418,
|
292 |
+
0.012676095962524414,
|
293 |
+
0.012337151527404786,
|
294 |
+
0.012240896224975586,
|
295 |
+
0.012285951614379884,
|
296 |
+
0.012246015548706055,
|
297 |
+
0.012278783798217773,
|
298 |
+
0.01224294376373291,
|
299 |
+
0.012270591735839843,
|
300 |
+
0.012226559638977052,
|
301 |
+
0.012291071891784668,
|
302 |
+
0.012254207611083985,
|
303 |
+
0.012265472412109376,
|
304 |
+
0.01221939182281494,
|
305 |
+
0.012270591735839843,
|
306 |
+
0.012224512100219726,
|
307 |
+
0.012272640228271485,
|
308 |
+
0.012223487854003906,
|
309 |
+
0.012266495704650878,
|
310 |
+
0.012224512100219726,
|
311 |
+
0.012267519950866699,
|
312 |
+
0.012237824440002442,
|
313 |
+
0.012291071891784668,
|
314 |
+
0.012231679916381836,
|
315 |
+
0.012254207611083985,
|
316 |
+
0.012239871978759765,
|
317 |
+
0.012301312446594239,
|
318 |
+
0.01225011157989502,
|
319 |
+
0.012320768356323243,
|
320 |
+
0.012233728408813477,
|
321 |
+
0.012264448165893555,
|
322 |
+
0.012233728408813477,
|
323 |
+
0.012297216415405274,
|
324 |
+
0.012347392082214356,
|
325 |
+
0.01229312038421631,
|
326 |
+
0.012229632377624512,
|
327 |
+
0.012289024353027344,
|
328 |
+
0.012231679916381836,
|
329 |
+
0.012273664474487305
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.41800007947715
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "google/gemma-2b",
|
3 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014055791854858397,
|
7 |
+
"prefill.throughput.value": 498.01534287664083,
|
8 |
+
"decode.latency.mean": 1.5724798583984374,
|
9 |
+
"decode.throughput.value": 80.7641505369416,
|
10 |
+
"per_token.latency.mean": 0.012435026971719011,
|
11 |
+
"per_token.throughput.value": 80.41800007947715
|
12 |
+
}
|
13 |
+
}
|
2024-06-10/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmdf92j8j/commit=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
88 |
+
- hydra.run.dir=_benchmark/tmpmdf92j8j/commit\=25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-06-10/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020382543563842774,
|
8 |
+
"prefill.throughput.value": 343.43113155011315,
|
9 |
+
"decode.latency.mean": 2.425145751953125,
|
10 |
+
"decode.throughput.value": 52.3679865004892,
|
11 |
+
"per_token.latency.mean": 0.019167450524130356,
|
12 |
+
"per_token.throughput.value": 52.17177937885252
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02269580841064453,
|
21 |
+
"prefill.throughput.value": 308.4269955643853,
|
22 |
+
"decode.latency.mean": 2.5586441650390626,
|
23 |
+
"decode.throughput.value": 49.63566319041519,
|
24 |
+
"per_token.latency.mean": 0.020235656602580556,
|
25 |
+
"per_token.throughput.value": 49.41771940686495
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014055791854858397,
|
34 |
+
"prefill.throughput.value": 498.01534287664083,
|
35 |
+
"decode.latency.mean": 1.5724798583984374,
|
36 |
+
"decode.throughput.value": 80.7641505369416,
|
37 |
+
"per_token.latency.mean": 0.012435026971719011,
|
38 |
+
"per_token.throughput.value": 80.41800007947715
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-10/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020382543563842774,
|
7 |
+
"prefill.throughput.value": 343.43113155011315,
|
8 |
+
"decode.latency.mean": 2.425145751953125,
|
9 |
+
"decode.throughput.value": 52.3679865004892,
|
10 |
+
"per_token.latency.mean": 0.019167450524130356,
|
11 |
+
"per_token.throughput.value": 52.17177937885252
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02269580841064453,
|
19 |
+
"prefill.throughput.value": 308.4269955643853,
|
20 |
+
"decode.latency.mean": 2.5586441650390626,
|
21 |
+
"decode.throughput.value": 49.63566319041519,
|
22 |
+
"per_token.latency.mean": 0.020235656602580556,
|
23 |
+
"per_token.throughput.value": 49.41771940686495
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014055791854858397,
|
31 |
+
"prefill.throughput.value": 498.01534287664083,
|
32 |
+
"decode.latency.mean": 1.5724798583984374,
|
33 |
+
"decode.throughput.value": 80.7641505369416,
|
34 |
+
"per_token.latency.mean": 0.012435026971719011,
|
35 |
+
"per_token.throughput.value": 80.41800007947715
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|