hf-transformers-bot
commited on
Commit
•
bc8b69b
1
Parent(s):
eb3dd77
Upload folder using huggingface_hub
Browse files- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/multirun.yaml +234 -0
- 2024-08-29/summaries.json +41 -0
- 2024-08-29/summary.json +40 -0
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
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 |
+
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 |
+
memory: true
|
51 |
+
latency: 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 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
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/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_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 |
+
"memory": true,
|
57 |
+
"latency": 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 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1318.494208,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.415380859375,
|
120 |
+
"mean": 11.415380859375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.415380859375,
|
123 |
+
"p90": 11.415380859375,
|
124 |
+
"p95": 11.415380859375,
|
125 |
+
"p99": 11.415380859375,
|
126 |
+
"values": [
|
127 |
+
11.415380859375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1713.262592,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.431872
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04120265579223632,
|
147 |
+
"mean": 0.02060132789611816,
|
148 |
+
"stdev": 0.00014081573486328207,
|
149 |
+
"p50": 0.02060132789611816,
|
150 |
+
"p90": 0.020713980484008788,
|
151 |
+
"p95": 0.020728062057495118,
|
152 |
+
"p99": 0.02073932731628418,
|
153 |
+
"values": [
|
154 |
+
0.020742143630981445,
|
155 |
+
0.02046051216125488
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 339.78392243924173
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1767.333888,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 4.90454150390625,
|
178 |
+
"mean": 2.452270751953125,
|
179 |
+
"stdev": 0.01503124999999983,
|
180 |
+
"p50": 2.452270751953125,
|
181 |
+
"p90": 2.464295751953125,
|
182 |
+
"p95": 2.4657988769531247,
|
183 |
+
"p99": 2.467001376953125,
|
184 |
+
"values": [
|
185 |
+
2.467302001953125,
|
186 |
+
2.437239501953125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 51.78873495059635
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 4.904195070266719,
|
202 |
+
"mean": 0.019307854607349306,
|
203 |
+
"stdev": 0.00036247550552472534,
|
204 |
+
"p50": 0.019407872200012208,
|
205 |
+
"p90": 0.01966336078643799,
|
206 |
+
"p95": 0.019793562507629394,
|
207 |
+
"p99": 0.02029118501663208,
|
208 |
+
"values": [
|
209 |
+
0.019293184280395507,
|
210 |
+
0.019331071853637697,
|
211 |
+
0.0194201602935791,
|
212 |
+
0.019308544158935546,
|
213 |
+
0.019376127243041993,
|
214 |
+
0.0194334716796875,
|
215 |
+
0.019339263916015623,
|
216 |
+
0.01943449592590332,
|
217 |
+
0.01943142318725586,
|
218 |
+
0.019353599548339845,
|
219 |
+
0.01880473518371582,
|
220 |
+
0.0188538875579834,
|
221 |
+
0.018784255981445314,
|
222 |
+
0.018757631301879883,
|
223 |
+
0.019347455978393553,
|
224 |
+
0.01901055908203125,
|
225 |
+
0.019078144073486326,
|
226 |
+
0.01943244743347168,
|
227 |
+
0.019381248474121093,
|
228 |
+
0.018905088424682616,
|
229 |
+
0.01939558410644531,
|
230 |
+
0.01945292854309082,
|
231 |
+
0.019361791610717775,
|
232 |
+
0.019603456497192383,
|
233 |
+
0.019339263916015623,
|
234 |
+
0.01941196823120117,
|
235 |
+
0.01960960006713867,
|
236 |
+
0.01939455986022949,
|
237 |
+
0.019566591262817384,
|
238 |
+
0.01945292854309082,
|
239 |
+
0.019506175994873046,
|
240 |
+
0.019401727676391603,
|
241 |
+
0.019351551055908203,
|
242 |
+
0.019561471939086913,
|
243 |
+
0.01944473648071289,
|
244 |
+
0.019386367797851564,
|
245 |
+
0.01963827133178711,
|
246 |
+
0.01947238349914551,
|
247 |
+
0.01881088066101074,
|
248 |
+
0.01898700714111328,
|
249 |
+
0.019517440795898438,
|
250 |
+
0.019500032424926757,
|
251 |
+
0.019519487380981446,
|
252 |
+
0.019309568405151366,
|
253 |
+
0.019158016204833983,
|
254 |
+
0.019386367797851564,
|
255 |
+
0.019359743118286133,
|
256 |
+
0.01942118453979492,
|
257 |
+
0.019343360900878907,
|
258 |
+
0.019360767364501954,
|
259 |
+
0.01880985641479492,
|
260 |
+
0.01879859161376953,
|
261 |
+
0.019547136306762695,
|
262 |
+
0.01941196823120117,
|
263 |
+
0.019535871505737306,
|
264 |
+
0.019408895492553712,
|
265 |
+
0.018790399551391602,
|
266 |
+
0.018948095321655273,
|
267 |
+
0.01884979248046875,
|
268 |
+
0.019514368057250975,
|
269 |
+
0.019602432250976562,
|
270 |
+
0.019573759078979493,
|
271 |
+
0.01889587211608887,
|
272 |
+
0.018991104125976564,
|
273 |
+
0.01882828712463379,
|
274 |
+
0.018894847869873048,
|
275 |
+
0.019907583236694337,
|
276 |
+
0.019713024139404296,
|
277 |
+
0.019877887725830077,
|
278 |
+
0.01964646339416504,
|
279 |
+
0.01948467254638672,
|
280 |
+
0.01962393569946289,
|
281 |
+
0.019517440795898438,
|
282 |
+
0.019706880569458008,
|
283 |
+
0.019701759338378907,
|
284 |
+
0.019606527328491212,
|
285 |
+
0.019610624313354492,
|
286 |
+
0.019710975646972655,
|
287 |
+
0.019511295318603517,
|
288 |
+
0.019499008178710937,
|
289 |
+
0.019760128021240234,
|
290 |
+
0.020163583755493163,
|
291 |
+
0.019736576080322265,
|
292 |
+
0.019451904296875,
|
293 |
+
0.018851839065551757,
|
294 |
+
0.0188538875579834,
|
295 |
+
0.018912256240844725,
|
296 |
+
0.019150848388671874,
|
297 |
+
0.01965260887145996,
|
298 |
+
0.01949286460876465,
|
299 |
+
0.019481599807739256,
|
300 |
+
0.019489791870117186,
|
301 |
+
0.019552255630493166,
|
302 |
+
0.01948467254638672,
|
303 |
+
0.01946112060546875,
|
304 |
+
0.019559423446655275,
|
305 |
+
0.019406848907470704,
|
306 |
+
0.01960960006713867,
|
307 |
+
0.019563520431518554,
|
308 |
+
0.019396608352661132,
|
309 |
+
0.019580928802490235,
|
310 |
+
0.019628032684326172,
|
311 |
+
0.019494911193847657,
|
312 |
+
0.019523584365844726,
|
313 |
+
0.01945907211303711,
|
314 |
+
0.0195020809173584,
|
315 |
+
0.01944988822937012,
|
316 |
+
0.019567583084106447,
|
317 |
+
0.019536895751953123,
|
318 |
+
0.019594240188598632,
|
319 |
+
0.01962598419189453,
|
320 |
+
0.01947340774536133,
|
321 |
+
0.019527679443359376,
|
322 |
+
0.019542015075683594,
|
323 |
+
0.019532800674438477,
|
324 |
+
0.019501056671142578,
|
325 |
+
0.019680255889892577,
|
326 |
+
0.019742719650268553,
|
327 |
+
0.019547136306762695,
|
328 |
+
0.019486719131469727,
|
329 |
+
0.01982259178161621,
|
330 |
+
0.020065280914306642,
|
331 |
+
0.019703807830810546,
|
332 |
+
0.02025984001159668,
|
333 |
+
0.02045337677001953,
|
334 |
+
0.019571712493896484,
|
335 |
+
0.019594240188598632,
|
336 |
+
0.018713600158691408,
|
337 |
+
0.018677759170532226,
|
338 |
+
0.019483648300170898,
|
339 |
+
0.01948876762390137,
|
340 |
+
0.019352575302124024,
|
341 |
+
0.019384319305419923,
|
342 |
+
0.019533824920654298,
|
343 |
+
0.019512319564819337,
|
344 |
+
0.019819520950317384,
|
345 |
+
0.019555328369140625,
|
346 |
+
0.018770944595336913,
|
347 |
+
0.019487743377685548,
|
348 |
+
0.01943756866455078,
|
349 |
+
0.01943552017211914,
|
350 |
+
0.018961408615112304,
|
351 |
+
0.0190248966217041,
|
352 |
+
0.019358720779418945,
|
353 |
+
0.019408895492553712,
|
354 |
+
0.01943961524963379,
|
355 |
+
0.0202608642578125,
|
356 |
+
0.01945292854309082,
|
357 |
+
0.019462207794189453,
|
358 |
+
0.019409856796264648,
|
359 |
+
0.019495935440063478,
|
360 |
+
0.01943142318725586,
|
361 |
+
0.019342336654663086,
|
362 |
+
0.019583999633789064,
|
363 |
+
0.019483648300170898,
|
364 |
+
0.018785280227661134,
|
365 |
+
0.018873344421386717,
|
366 |
+
0.019475456237792968,
|
367 |
+
0.019361791610717775,
|
368 |
+
0.019354623794555666,
|
369 |
+
0.01945599937438965,
|
370 |
+
0.018897920608520507,
|
371 |
+
0.018886655807495118,
|
372 |
+
0.018710527420043945,
|
373 |
+
0.019364864349365234,
|
374 |
+
0.019384319305419923,
|
375 |
+
0.018890752792358398,
|
376 |
+
0.01882521629333496,
|
377 |
+
0.01966796875,
|
378 |
+
0.019500032424926757,
|
379 |
+
0.018738176345825194,
|
380 |
+
0.019288063049316406,
|
381 |
+
0.01902796745300293,
|
382 |
+
0.019527679443359376,
|
383 |
+
0.019596288681030274,
|
384 |
+
0.019337215423583985,
|
385 |
+
0.019360767364501954,
|
386 |
+
0.019301376342773437,
|
387 |
+
0.019481599807739256,
|
388 |
+
0.019481599807739256,
|
389 |
+
0.019344383239746094,
|
390 |
+
0.01941606330871582,
|
391 |
+
0.018719743728637696,
|
392 |
+
0.018732032775878905,
|
393 |
+
0.018882560729980468,
|
394 |
+
0.018912256240844725,
|
395 |
+
0.019570688247680663,
|
396 |
+
0.019520511627197267,
|
397 |
+
0.01942732810974121,
|
398 |
+
0.019628032684326172,
|
399 |
+
0.020525056838989256,
|
400 |
+
0.02032537651062012,
|
401 |
+
0.019779584884643556,
|
402 |
+
0.019689472198486328,
|
403 |
+
0.019553279876708983,
|
404 |
+
0.019602432250976562,
|
405 |
+
0.019568639755249022,
|
406 |
+
0.019562496185302734,
|
407 |
+
0.019982336044311523,
|
408 |
+
0.02007040023803711,
|
409 |
+
0.019679231643676756,
|
410 |
+
0.019560447692871095,
|
411 |
+
0.01887027168273926,
|
412 |
+
0.018930688858032226,
|
413 |
+
0.01883340835571289,
|
414 |
+
0.018876415252685547,
|
415 |
+
0.018890752792358398,
|
416 |
+
0.018928640365600585,
|
417 |
+
0.018949119567871094,
|
418 |
+
0.018967552185058592,
|
419 |
+
0.01885798454284668,
|
420 |
+
0.019116031646728517,
|
421 |
+
0.018877439498901367,
|
422 |
+
0.018880512237548826,
|
423 |
+
0.01904640007019043,
|
424 |
+
0.018957311630249024,
|
425 |
+
0.01885081672668457,
|
426 |
+
0.01887948799133301,
|
427 |
+
0.01883955192565918,
|
428 |
+
0.01901055908203125,
|
429 |
+
0.0188590087890625,
|
430 |
+
0.01881804847717285,
|
431 |
+
0.018790399551391602,
|
432 |
+
0.018778112411499022,
|
433 |
+
0.01886412811279297,
|
434 |
+
0.01884569549560547,
|
435 |
+
0.018868223190307617,
|
436 |
+
0.019378175735473634,
|
437 |
+
0.01920921516418457,
|
438 |
+
0.018927616119384767,
|
439 |
+
0.01887027168273926,
|
440 |
+
0.018874368667602538,
|
441 |
+
0.01888768005371094,
|
442 |
+
0.01883955192565918,
|
443 |
+
0.019084287643432618,
|
444 |
+
0.018928640365600585,
|
445 |
+
0.018899967193603515,
|
446 |
+
0.018860031127929687,
|
447 |
+
0.018884607315063476,
|
448 |
+
0.01884160041809082,
|
449 |
+
0.01886720085144043,
|
450 |
+
0.018817024230957033,
|
451 |
+
0.018800640106201173,
|
452 |
+
0.01884774398803711,
|
453 |
+
0.018792448043823243,
|
454 |
+
0.018971647262573242,
|
455 |
+
0.018936832427978514,
|
456 |
+
0.018885631561279297,
|
457 |
+
0.01884262466430664,
|
458 |
+
0.01889587211608887,
|
459 |
+
0.018969600677490234,
|
460 |
+
0.01882931137084961,
|
461 |
+
0.01883750343322754,
|
462 |
+
0.019509248733520508
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 51.79239332055887
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
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 |
+
"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 |
+
"memory": true,
|
56 |
+
"latency": 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 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1318.494208,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.415380859375,
|
15 |
+
"mean": 11.415380859375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.415380859375,
|
18 |
+
"p90": 11.415380859375,
|
19 |
+
"p95": 11.415380859375,
|
20 |
+
"p99": 11.415380859375,
|
21 |
+
"values": [
|
22 |
+
11.415380859375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1713.262592,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.431872
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04120265579223632,
|
42 |
+
"mean": 0.02060132789611816,
|
43 |
+
"stdev": 0.00014081573486328207,
|
44 |
+
"p50": 0.02060132789611816,
|
45 |
+
"p90": 0.020713980484008788,
|
46 |
+
"p95": 0.020728062057495118,
|
47 |
+
"p99": 0.02073932731628418,
|
48 |
+
"values": [
|
49 |
+
0.020742143630981445,
|
50 |
+
0.02046051216125488
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 339.78392243924173
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1767.333888,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 4.90454150390625,
|
73 |
+
"mean": 2.452270751953125,
|
74 |
+
"stdev": 0.01503124999999983,
|
75 |
+
"p50": 2.452270751953125,
|
76 |
+
"p90": 2.464295751953125,
|
77 |
+
"p95": 2.4657988769531247,
|
78 |
+
"p99": 2.467001376953125,
|
79 |
+
"values": [
|
80 |
+
2.467302001953125,
|
81 |
+
2.437239501953125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 51.78873495059635
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 4.904195070266719,
|
97 |
+
"mean": 0.019307854607349306,
|
98 |
+
"stdev": 0.00036247550552472534,
|
99 |
+
"p50": 0.019407872200012208,
|
100 |
+
"p90": 0.01966336078643799,
|
101 |
+
"p95": 0.019793562507629394,
|
102 |
+
"p99": 0.02029118501663208,
|
103 |
+
"values": [
|
104 |
+
0.019293184280395507,
|
105 |
+
0.019331071853637697,
|
106 |
+
0.0194201602935791,
|
107 |
+
0.019308544158935546,
|
108 |
+
0.019376127243041993,
|
109 |
+
0.0194334716796875,
|
110 |
+
0.019339263916015623,
|
111 |
+
0.01943449592590332,
|
112 |
+
0.01943142318725586,
|
113 |
+
0.019353599548339845,
|
114 |
+
0.01880473518371582,
|
115 |
+
0.0188538875579834,
|
116 |
+
0.018784255981445314,
|
117 |
+
0.018757631301879883,
|
118 |
+
0.019347455978393553,
|
119 |
+
0.01901055908203125,
|
120 |
+
0.019078144073486326,
|
121 |
+
0.01943244743347168,
|
122 |
+
0.019381248474121093,
|
123 |
+
0.018905088424682616,
|
124 |
+
0.01939558410644531,
|
125 |
+
0.01945292854309082,
|
126 |
+
0.019361791610717775,
|
127 |
+
0.019603456497192383,
|
128 |
+
0.019339263916015623,
|
129 |
+
0.01941196823120117,
|
130 |
+
0.01960960006713867,
|
131 |
+
0.01939455986022949,
|
132 |
+
0.019566591262817384,
|
133 |
+
0.01945292854309082,
|
134 |
+
0.019506175994873046,
|
135 |
+
0.019401727676391603,
|
136 |
+
0.019351551055908203,
|
137 |
+
0.019561471939086913,
|
138 |
+
0.01944473648071289,
|
139 |
+
0.019386367797851564,
|
140 |
+
0.01963827133178711,
|
141 |
+
0.01947238349914551,
|
142 |
+
0.01881088066101074,
|
143 |
+
0.01898700714111328,
|
144 |
+
0.019517440795898438,
|
145 |
+
0.019500032424926757,
|
146 |
+
0.019519487380981446,
|
147 |
+
0.019309568405151366,
|
148 |
+
0.019158016204833983,
|
149 |
+
0.019386367797851564,
|
150 |
+
0.019359743118286133,
|
151 |
+
0.01942118453979492,
|
152 |
+
0.019343360900878907,
|
153 |
+
0.019360767364501954,
|
154 |
+
0.01880985641479492,
|
155 |
+
0.01879859161376953,
|
156 |
+
0.019547136306762695,
|
157 |
+
0.01941196823120117,
|
158 |
+
0.019535871505737306,
|
159 |
+
0.019408895492553712,
|
160 |
+
0.018790399551391602,
|
161 |
+
0.018948095321655273,
|
162 |
+
0.01884979248046875,
|
163 |
+
0.019514368057250975,
|
164 |
+
0.019602432250976562,
|
165 |
+
0.019573759078979493,
|
166 |
+
0.01889587211608887,
|
167 |
+
0.018991104125976564,
|
168 |
+
0.01882828712463379,
|
169 |
+
0.018894847869873048,
|
170 |
+
0.019907583236694337,
|
171 |
+
0.019713024139404296,
|
172 |
+
0.019877887725830077,
|
173 |
+
0.01964646339416504,
|
174 |
+
0.01948467254638672,
|
175 |
+
0.01962393569946289,
|
176 |
+
0.019517440795898438,
|
177 |
+
0.019706880569458008,
|
178 |
+
0.019701759338378907,
|
179 |
+
0.019606527328491212,
|
180 |
+
0.019610624313354492,
|
181 |
+
0.019710975646972655,
|
182 |
+
0.019511295318603517,
|
183 |
+
0.019499008178710937,
|
184 |
+
0.019760128021240234,
|
185 |
+
0.020163583755493163,
|
186 |
+
0.019736576080322265,
|
187 |
+
0.019451904296875,
|
188 |
+
0.018851839065551757,
|
189 |
+
0.0188538875579834,
|
190 |
+
0.018912256240844725,
|
191 |
+
0.019150848388671874,
|
192 |
+
0.01965260887145996,
|
193 |
+
0.01949286460876465,
|
194 |
+
0.019481599807739256,
|
195 |
+
0.019489791870117186,
|
196 |
+
0.019552255630493166,
|
197 |
+
0.01948467254638672,
|
198 |
+
0.01946112060546875,
|
199 |
+
0.019559423446655275,
|
200 |
+
0.019406848907470704,
|
201 |
+
0.01960960006713867,
|
202 |
+
0.019563520431518554,
|
203 |
+
0.019396608352661132,
|
204 |
+
0.019580928802490235,
|
205 |
+
0.019628032684326172,
|
206 |
+
0.019494911193847657,
|
207 |
+
0.019523584365844726,
|
208 |
+
0.01945907211303711,
|
209 |
+
0.0195020809173584,
|
210 |
+
0.01944988822937012,
|
211 |
+
0.019567583084106447,
|
212 |
+
0.019536895751953123,
|
213 |
+
0.019594240188598632,
|
214 |
+
0.01962598419189453,
|
215 |
+
0.01947340774536133,
|
216 |
+
0.019527679443359376,
|
217 |
+
0.019542015075683594,
|
218 |
+
0.019532800674438477,
|
219 |
+
0.019501056671142578,
|
220 |
+
0.019680255889892577,
|
221 |
+
0.019742719650268553,
|
222 |
+
0.019547136306762695,
|
223 |
+
0.019486719131469727,
|
224 |
+
0.01982259178161621,
|
225 |
+
0.020065280914306642,
|
226 |
+
0.019703807830810546,
|
227 |
+
0.02025984001159668,
|
228 |
+
0.02045337677001953,
|
229 |
+
0.019571712493896484,
|
230 |
+
0.019594240188598632,
|
231 |
+
0.018713600158691408,
|
232 |
+
0.018677759170532226,
|
233 |
+
0.019483648300170898,
|
234 |
+
0.01948876762390137,
|
235 |
+
0.019352575302124024,
|
236 |
+
0.019384319305419923,
|
237 |
+
0.019533824920654298,
|
238 |
+
0.019512319564819337,
|
239 |
+
0.019819520950317384,
|
240 |
+
0.019555328369140625,
|
241 |
+
0.018770944595336913,
|
242 |
+
0.019487743377685548,
|
243 |
+
0.01943756866455078,
|
244 |
+
0.01943552017211914,
|
245 |
+
0.018961408615112304,
|
246 |
+
0.0190248966217041,
|
247 |
+
0.019358720779418945,
|
248 |
+
0.019408895492553712,
|
249 |
+
0.01943961524963379,
|
250 |
+
0.0202608642578125,
|
251 |
+
0.01945292854309082,
|
252 |
+
0.019462207794189453,
|
253 |
+
0.019409856796264648,
|
254 |
+
0.019495935440063478,
|
255 |
+
0.01943142318725586,
|
256 |
+
0.019342336654663086,
|
257 |
+
0.019583999633789064,
|
258 |
+
0.019483648300170898,
|
259 |
+
0.018785280227661134,
|
260 |
+
0.018873344421386717,
|
261 |
+
0.019475456237792968,
|
262 |
+
0.019361791610717775,
|
263 |
+
0.019354623794555666,
|
264 |
+
0.01945599937438965,
|
265 |
+
0.018897920608520507,
|
266 |
+
0.018886655807495118,
|
267 |
+
0.018710527420043945,
|
268 |
+
0.019364864349365234,
|
269 |
+
0.019384319305419923,
|
270 |
+
0.018890752792358398,
|
271 |
+
0.01882521629333496,
|
272 |
+
0.01966796875,
|
273 |
+
0.019500032424926757,
|
274 |
+
0.018738176345825194,
|
275 |
+
0.019288063049316406,
|
276 |
+
0.01902796745300293,
|
277 |
+
0.019527679443359376,
|
278 |
+
0.019596288681030274,
|
279 |
+
0.019337215423583985,
|
280 |
+
0.019360767364501954,
|
281 |
+
0.019301376342773437,
|
282 |
+
0.019481599807739256,
|
283 |
+
0.019481599807739256,
|
284 |
+
0.019344383239746094,
|
285 |
+
0.01941606330871582,
|
286 |
+
0.018719743728637696,
|
287 |
+
0.018732032775878905,
|
288 |
+
0.018882560729980468,
|
289 |
+
0.018912256240844725,
|
290 |
+
0.019570688247680663,
|
291 |
+
0.019520511627197267,
|
292 |
+
0.01942732810974121,
|
293 |
+
0.019628032684326172,
|
294 |
+
0.020525056838989256,
|
295 |
+
0.02032537651062012,
|
296 |
+
0.019779584884643556,
|
297 |
+
0.019689472198486328,
|
298 |
+
0.019553279876708983,
|
299 |
+
0.019602432250976562,
|
300 |
+
0.019568639755249022,
|
301 |
+
0.019562496185302734,
|
302 |
+
0.019982336044311523,
|
303 |
+
0.02007040023803711,
|
304 |
+
0.019679231643676756,
|
305 |
+
0.019560447692871095,
|
306 |
+
0.01887027168273926,
|
307 |
+
0.018930688858032226,
|
308 |
+
0.01883340835571289,
|
309 |
+
0.018876415252685547,
|
310 |
+
0.018890752792358398,
|
311 |
+
0.018928640365600585,
|
312 |
+
0.018949119567871094,
|
313 |
+
0.018967552185058592,
|
314 |
+
0.01885798454284668,
|
315 |
+
0.019116031646728517,
|
316 |
+
0.018877439498901367,
|
317 |
+
0.018880512237548826,
|
318 |
+
0.01904640007019043,
|
319 |
+
0.018957311630249024,
|
320 |
+
0.01885081672668457,
|
321 |
+
0.01887948799133301,
|
322 |
+
0.01883955192565918,
|
323 |
+
0.01901055908203125,
|
324 |
+
0.0188590087890625,
|
325 |
+
0.01881804847717285,
|
326 |
+
0.018790399551391602,
|
327 |
+
0.018778112411499022,
|
328 |
+
0.01886412811279297,
|
329 |
+
0.01884569549560547,
|
330 |
+
0.018868223190307617,
|
331 |
+
0.019378175735473634,
|
332 |
+
0.01920921516418457,
|
333 |
+
0.018927616119384767,
|
334 |
+
0.01887027168273926,
|
335 |
+
0.018874368667602538,
|
336 |
+
0.01888768005371094,
|
337 |
+
0.01883955192565918,
|
338 |
+
0.019084287643432618,
|
339 |
+
0.018928640365600585,
|
340 |
+
0.018899967193603515,
|
341 |
+
0.018860031127929687,
|
342 |
+
0.018884607315063476,
|
343 |
+
0.01884160041809082,
|
344 |
+
0.01886720085144043,
|
345 |
+
0.018817024230957033,
|
346 |
+
0.018800640106201173,
|
347 |
+
0.01884774398803711,
|
348 |
+
0.018792448043823243,
|
349 |
+
0.018971647262573242,
|
350 |
+
0.018936832427978514,
|
351 |
+
0.018885631561279297,
|
352 |
+
0.01884262466430664,
|
353 |
+
0.01889587211608887,
|
354 |
+
0.018969600677490234,
|
355 |
+
0.01882931137084961,
|
356 |
+
0.01883750343322754,
|
357 |
+
0.019509248733520508
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 51.79239332055887
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02060132789611816,
|
7 |
+
"prefill.throughput.value": 339.78392243924173,
|
8 |
+
"decode.latency.mean": 2.452270751953125,
|
9 |
+
"decode.throughput.value": 51.78873495059635,
|
10 |
+
"per_token.latency.mean": 0.019307854607349306,
|
11 |
+
"per_token.throughput.value": 51.79239332055887
|
12 |
+
}
|
13 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
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 |
+
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 |
+
memory: true
|
51 |
+
latency: 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 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
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/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-08-29 02:41:23,992[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-08-29 02:41:26,373[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
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 |
+
"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 |
+
"memory": true,
|
56 |
+
"latency": 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 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
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 |
+
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 |
+
memory: true
|
51 |
+
latency: 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 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
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/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_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 |
+
"memory": true,
|
57 |
+
"latency": 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 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1321.259008,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.3464619140625,
|
120 |
+
"mean": 11.3464619140625,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.3464619140625,
|
123 |
+
"p90": 11.3464619140625,
|
124 |
+
"p95": 11.3464619140625,
|
125 |
+
"p99": 11.3464619140625,
|
126 |
+
"values": [
|
127 |
+
11.3464619140625
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1750.8352,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.450816
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04506313514709473,
|
147 |
+
"mean": 0.022531567573547365,
|
148 |
+
"stdev": 0.0006003999710083013,
|
149 |
+
"p50": 0.022531567573547365,
|
150 |
+
"p90": 0.023011887550354004,
|
151 |
+
"p95": 0.023071927547454834,
|
152 |
+
"p99": 0.023119959545135498,
|
153 |
+
"values": [
|
154 |
+
0.023131967544555664,
|
155 |
+
0.02193116760253906
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 310.67523274404476
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1775.419392,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.820288
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.20160107421875,
|
178 |
+
"mean": 2.600800537109375,
|
179 |
+
"stdev": 0.032942626953125,
|
180 |
+
"p50": 2.600800537109375,
|
181 |
+
"p90": 2.627154638671875,
|
182 |
+
"p95": 2.6304489013671875,
|
183 |
+
"p99": 2.6330843115234375,
|
184 |
+
"values": [
|
185 |
+
2.6337431640625,
|
186 |
+
2.56785791015625
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.83111879896504
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 5.201337326049804,
|
202 |
+
"mean": 0.0204777060080701,
|
203 |
+
"stdev": 0.0005291648902045253,
|
204 |
+
"p50": 0.02016819190979004,
|
205 |
+
"p90": 0.02119546871185303,
|
206 |
+
"p95": 0.021245183753967285,
|
207 |
+
"p99": 0.02163812328338623,
|
208 |
+
"values": [
|
209 |
+
0.02108006477355957,
|
210 |
+
0.021154815673828126,
|
211 |
+
0.021173248291015623,
|
212 |
+
0.021130239486694336,
|
213 |
+
0.02107596778869629,
|
214 |
+
0.02107187271118164,
|
215 |
+
0.021073919296264648,
|
216 |
+
0.02109542465209961,
|
217 |
+
0.021186559677124024,
|
218 |
+
0.021090303421020508,
|
219 |
+
0.021082111358642578,
|
220 |
+
0.02103500747680664,
|
221 |
+
0.021138431549072266,
|
222 |
+
0.021191680908203125,
|
223 |
+
0.02122956848144531,
|
224 |
+
0.02105446434020996,
|
225 |
+
0.021154815673828126,
|
226 |
+
0.021177343368530274,
|
227 |
+
0.021202943801879884,
|
228 |
+
0.021160959243774414,
|
229 |
+
0.021217279434204102,
|
230 |
+
0.02120806312561035,
|
231 |
+
0.021200895309448242,
|
232 |
+
0.021184511184692383,
|
233 |
+
0.021215232849121093,
|
234 |
+
0.02107084846496582,
|
235 |
+
0.021255168914794922,
|
236 |
+
0.02107904052734375,
|
237 |
+
0.02104217529296875,
|
238 |
+
0.02105855941772461,
|
239 |
+
0.021121023178100586,
|
240 |
+
0.02104319953918457,
|
241 |
+
0.021082111358642578,
|
242 |
+
0.021097471237182617,
|
243 |
+
0.02106265640258789,
|
244 |
+
0.021751840591430663,
|
245 |
+
0.021476320266723633,
|
246 |
+
0.021201919555664063,
|
247 |
+
0.02111692810058594,
|
248 |
+
0.021109760284423826,
|
249 |
+
0.02127257537841797,
|
250 |
+
0.021006336212158205,
|
251 |
+
0.02122137641906738,
|
252 |
+
0.021214208602905273,
|
253 |
+
0.02126848030090332,
|
254 |
+
0.021195775985717775,
|
255 |
+
0.021296127319335938,
|
256 |
+
0.021145599365234375,
|
257 |
+
0.021204992294311522,
|
258 |
+
0.021161983489990235,
|
259 |
+
0.02126233673095703,
|
260 |
+
0.02109235191345215,
|
261 |
+
0.021176319122314453,
|
262 |
+
0.02105548858642578,
|
263 |
+
0.021073919296264648,
|
264 |
+
0.02063871955871582,
|
265 |
+
0.021148672103881837,
|
266 |
+
0.021194751739501954,
|
267 |
+
0.02105241584777832,
|
268 |
+
0.02108415985107422,
|
269 |
+
0.021259263992309572,
|
270 |
+
0.021152767181396484,
|
271 |
+
0.021090303421020508,
|
272 |
+
0.021072895050048827,
|
273 |
+
0.023966720581054687,
|
274 |
+
0.021621759414672852,
|
275 |
+
0.021331968307495116,
|
276 |
+
0.021186559677124024,
|
277 |
+
0.02109235191345215,
|
278 |
+
0.021117952346801756,
|
279 |
+
0.02020966339111328,
|
280 |
+
0.020189184188842774,
|
281 |
+
0.020172800064086914,
|
282 |
+
0.020703231811523438,
|
283 |
+
0.020619264602661135,
|
284 |
+
0.020192256927490236,
|
285 |
+
0.020167680740356447,
|
286 |
+
0.020132863998413086,
|
287 |
+
0.02011955261230469,
|
288 |
+
0.02020351982116699,
|
289 |
+
0.020149248123168945,
|
290 |
+
0.020125696182250977,
|
291 |
+
0.02012876892089844,
|
292 |
+
0.020106239318847655,
|
293 |
+
0.020099071502685546,
|
294 |
+
0.020129791259765627,
|
295 |
+
0.020151296615600587,
|
296 |
+
0.020122623443603514,
|
297 |
+
0.020090879440307616,
|
298 |
+
0.020139007568359374,
|
299 |
+
0.02007961654663086,
|
300 |
+
0.020099071502685546,
|
301 |
+
0.02008576011657715,
|
302 |
+
0.020093952178955078,
|
303 |
+
0.020146175384521483,
|
304 |
+
0.020157440185546875,
|
305 |
+
0.020215808868408205,
|
306 |
+
0.020180992126464844,
|
307 |
+
0.02021887969970703,
|
308 |
+
0.020282367706298828,
|
309 |
+
0.020165632247924805,
|
310 |
+
0.020106239318847655,
|
311 |
+
0.020305919647216796,
|
312 |
+
0.02011238479614258,
|
313 |
+
0.020113407135009767,
|
314 |
+
0.020146175384521483,
|
315 |
+
0.020155391693115234,
|
316 |
+
0.020090879440307616,
|
317 |
+
0.020124671936035156,
|
318 |
+
0.020135936737060548,
|
319 |
+
0.020145151138305666,
|
320 |
+
0.020147199630737304,
|
321 |
+
0.020116479873657226,
|
322 |
+
0.020145151138305666,
|
323 |
+
0.020719615936279297,
|
324 |
+
0.02021887969970703,
|
325 |
+
0.020156415939331054,
|
326 |
+
0.020118528366088868,
|
327 |
+
0.020170751571655272,
|
328 |
+
0.020156415939331054,
|
329 |
+
0.020131839752197265,
|
330 |
+
0.02005299186706543,
|
331 |
+
0.02007961654663086,
|
332 |
+
0.020129791259765627,
|
333 |
+
0.020134912490844727,
|
334 |
+
0.02009600067138672,
|
335 |
+
0.020109312057495117,
|
336 |
+
0.020115455627441405,
|
337 |
+
0.020154367446899413,
|
338 |
+
0.02008064079284668,
|
339 |
+
0.020093952178955078,
|
340 |
+
0.020101119995117187,
|
341 |
+
0.020109312057495117,
|
342 |
+
0.02023219108581543,
|
343 |
+
0.02008883285522461,
|
344 |
+
0.020109312057495117,
|
345 |
+
0.020134912490844727,
|
346 |
+
0.020074495315551756,
|
347 |
+
0.02001408004760742,
|
348 |
+
0.019912704467773438,
|
349 |
+
0.019944448471069336,
|
350 |
+
0.0200949764251709,
|
351 |
+
0.02006630325317383,
|
352 |
+
0.02021683120727539,
|
353 |
+
0.02010419273376465,
|
354 |
+
0.019938304901123048,
|
355 |
+
0.02008064079284668,
|
356 |
+
0.02016972732543945,
|
357 |
+
0.020136959075927736,
|
358 |
+
0.019938304901123048,
|
359 |
+
0.020011007308959963,
|
360 |
+
0.02001408004760742,
|
361 |
+
0.020116479873657226,
|
362 |
+
0.020107263565063475,
|
363 |
+
0.020117504119873047,
|
364 |
+
0.020108287811279296,
|
365 |
+
0.02008883285522461,
|
366 |
+
0.020134912490844727,
|
367 |
+
0.020137983322143553,
|
368 |
+
0.0200949764251709,
|
369 |
+
0.020134912490844727,
|
370 |
+
0.020092927932739257,
|
371 |
+
0.020140031814575195,
|
372 |
+
0.020133888244628906,
|
373 |
+
0.020091903686523437,
|
374 |
+
0.020102144241333008,
|
375 |
+
0.020110336303710938,
|
376 |
+
0.020092927932739257,
|
377 |
+
0.020101119995117187,
|
378 |
+
0.020115455627441405,
|
379 |
+
0.020165632247924805,
|
380 |
+
0.020180992126464844,
|
381 |
+
0.020195327758789062,
|
382 |
+
0.020158464431762696,
|
383 |
+
0.020108287811279296,
|
384 |
+
0.020125696182250977,
|
385 |
+
0.02030284881591797,
|
386 |
+
0.02024038314819336,
|
387 |
+
0.02108518409729004,
|
388 |
+
0.02110054397583008,
|
389 |
+
0.021105663299560547,
|
390 |
+
0.020108287811279296,
|
391 |
+
0.020091903686523437,
|
392 |
+
0.020118528366088868,
|
393 |
+
0.020161535263061522,
|
394 |
+
0.020296703338623046,
|
395 |
+
0.02165657615661621,
|
396 |
+
0.02132275199890137,
|
397 |
+
0.02122137641906738,
|
398 |
+
0.02123980712890625,
|
399 |
+
0.02106265640258789,
|
400 |
+
0.021073919296264648,
|
401 |
+
0.02089472007751465,
|
402 |
+
0.020154367446899413,
|
403 |
+
0.020160512924194338,
|
404 |
+
0.020162559509277343,
|
405 |
+
0.02043084716796875,
|
406 |
+
0.02030182456970215,
|
407 |
+
0.02024550437927246,
|
408 |
+
0.020190208435058594,
|
409 |
+
0.020161535263061522,
|
410 |
+
0.020170751571655272,
|
411 |
+
0.020162559509277343,
|
412 |
+
0.020198400497436524,
|
413 |
+
0.020162559509277343,
|
414 |
+
0.020136959075927736,
|
415 |
+
0.020121599197387697,
|
416 |
+
0.020154367446899413,
|
417 |
+
0.020158464431762696,
|
418 |
+
0.020108287811279296,
|
419 |
+
0.020170751571655272,
|
420 |
+
0.02012057685852051,
|
421 |
+
0.02018611145019531,
|
422 |
+
0.02018611145019531,
|
423 |
+
0.02021990394592285,
|
424 |
+
0.020166656494140626,
|
425 |
+
0.020157440185546875,
|
426 |
+
0.02023628807067871,
|
427 |
+
0.020150272369384766,
|
428 |
+
0.020125696182250977,
|
429 |
+
0.020136959075927736,
|
430 |
+
0.020222976684570314,
|
431 |
+
0.020174848556518556,
|
432 |
+
0.020168703079223634,
|
433 |
+
0.0201308479309082,
|
434 |
+
0.020243423461914063,
|
435 |
+
0.0202106876373291,
|
436 |
+
0.020132863998413086,
|
437 |
+
0.020110336303710938,
|
438 |
+
0.020140031814575195,
|
439 |
+
0.02010316848754883,
|
440 |
+
0.02007347106933594,
|
441 |
+
0.020068351745605468,
|
442 |
+
0.020123647689819335,
|
443 |
+
0.020190208435058594,
|
444 |
+
0.02021887969970703,
|
445 |
+
0.020101119995117187,
|
446 |
+
0.020168703079223634,
|
447 |
+
0.02011136054992676,
|
448 |
+
0.020170751571655272,
|
449 |
+
0.020152320861816408,
|
450 |
+
0.020144128799438478,
|
451 |
+
0.020163583755493163,
|
452 |
+
0.020151296615600587,
|
453 |
+
0.020164608001708984,
|
454 |
+
0.020188159942626953,
|
455 |
+
0.02019430351257324,
|
456 |
+
0.020011007308959963,
|
457 |
+
0.0200130558013916,
|
458 |
+
0.020023296356201172,
|
459 |
+
0.02019430351257324,
|
460 |
+
0.020213760375976563,
|
461 |
+
0.020113407135009767,
|
462 |
+
0.020118528366088868
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.83359491565648
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
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 |
+
"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 |
+
"memory": true,
|
56 |
+
"latency": 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 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1321.259008,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.3464619140625,
|
15 |
+
"mean": 11.3464619140625,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.3464619140625,
|
18 |
+
"p90": 11.3464619140625,
|
19 |
+
"p95": 11.3464619140625,
|
20 |
+
"p99": 11.3464619140625,
|
21 |
+
"values": [
|
22 |
+
11.3464619140625
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1750.8352,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.450816
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04506313514709473,
|
42 |
+
"mean": 0.022531567573547365,
|
43 |
+
"stdev": 0.0006003999710083013,
|
44 |
+
"p50": 0.022531567573547365,
|
45 |
+
"p90": 0.023011887550354004,
|
46 |
+
"p95": 0.023071927547454834,
|
47 |
+
"p99": 0.023119959545135498,
|
48 |
+
"values": [
|
49 |
+
0.023131967544555664,
|
50 |
+
0.02193116760253906
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 310.67523274404476
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1775.419392,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.820288
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.20160107421875,
|
73 |
+
"mean": 2.600800537109375,
|
74 |
+
"stdev": 0.032942626953125,
|
75 |
+
"p50": 2.600800537109375,
|
76 |
+
"p90": 2.627154638671875,
|
77 |
+
"p95": 2.6304489013671875,
|
78 |
+
"p99": 2.6330843115234375,
|
79 |
+
"values": [
|
80 |
+
2.6337431640625,
|
81 |
+
2.56785791015625
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.83111879896504
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 5.201337326049804,
|
97 |
+
"mean": 0.0204777060080701,
|
98 |
+
"stdev": 0.0005291648902045253,
|
99 |
+
"p50": 0.02016819190979004,
|
100 |
+
"p90": 0.02119546871185303,
|
101 |
+
"p95": 0.021245183753967285,
|
102 |
+
"p99": 0.02163812328338623,
|
103 |
+
"values": [
|
104 |
+
0.02108006477355957,
|
105 |
+
0.021154815673828126,
|
106 |
+
0.021173248291015623,
|
107 |
+
0.021130239486694336,
|
108 |
+
0.02107596778869629,
|
109 |
+
0.02107187271118164,
|
110 |
+
0.021073919296264648,
|
111 |
+
0.02109542465209961,
|
112 |
+
0.021186559677124024,
|
113 |
+
0.021090303421020508,
|
114 |
+
0.021082111358642578,
|
115 |
+
0.02103500747680664,
|
116 |
+
0.021138431549072266,
|
117 |
+
0.021191680908203125,
|
118 |
+
0.02122956848144531,
|
119 |
+
0.02105446434020996,
|
120 |
+
0.021154815673828126,
|
121 |
+
0.021177343368530274,
|
122 |
+
0.021202943801879884,
|
123 |
+
0.021160959243774414,
|
124 |
+
0.021217279434204102,
|
125 |
+
0.02120806312561035,
|
126 |
+
0.021200895309448242,
|
127 |
+
0.021184511184692383,
|
128 |
+
0.021215232849121093,
|
129 |
+
0.02107084846496582,
|
130 |
+
0.021255168914794922,
|
131 |
+
0.02107904052734375,
|
132 |
+
0.02104217529296875,
|
133 |
+
0.02105855941772461,
|
134 |
+
0.021121023178100586,
|
135 |
+
0.02104319953918457,
|
136 |
+
0.021082111358642578,
|
137 |
+
0.021097471237182617,
|
138 |
+
0.02106265640258789,
|
139 |
+
0.021751840591430663,
|
140 |
+
0.021476320266723633,
|
141 |
+
0.021201919555664063,
|
142 |
+
0.02111692810058594,
|
143 |
+
0.021109760284423826,
|
144 |
+
0.02127257537841797,
|
145 |
+
0.021006336212158205,
|
146 |
+
0.02122137641906738,
|
147 |
+
0.021214208602905273,
|
148 |
+
0.02126848030090332,
|
149 |
+
0.021195775985717775,
|
150 |
+
0.021296127319335938,
|
151 |
+
0.021145599365234375,
|
152 |
+
0.021204992294311522,
|
153 |
+
0.021161983489990235,
|
154 |
+
0.02126233673095703,
|
155 |
+
0.02109235191345215,
|
156 |
+
0.021176319122314453,
|
157 |
+
0.02105548858642578,
|
158 |
+
0.021073919296264648,
|
159 |
+
0.02063871955871582,
|
160 |
+
0.021148672103881837,
|
161 |
+
0.021194751739501954,
|
162 |
+
0.02105241584777832,
|
163 |
+
0.02108415985107422,
|
164 |
+
0.021259263992309572,
|
165 |
+
0.021152767181396484,
|
166 |
+
0.021090303421020508,
|
167 |
+
0.021072895050048827,
|
168 |
+
0.023966720581054687,
|
169 |
+
0.021621759414672852,
|
170 |
+
0.021331968307495116,
|
171 |
+
0.021186559677124024,
|
172 |
+
0.02109235191345215,
|
173 |
+
0.021117952346801756,
|
174 |
+
0.02020966339111328,
|
175 |
+
0.020189184188842774,
|
176 |
+
0.020172800064086914,
|
177 |
+
0.020703231811523438,
|
178 |
+
0.020619264602661135,
|
179 |
+
0.020192256927490236,
|
180 |
+
0.020167680740356447,
|
181 |
+
0.020132863998413086,
|
182 |
+
0.02011955261230469,
|
183 |
+
0.02020351982116699,
|
184 |
+
0.020149248123168945,
|
185 |
+
0.020125696182250977,
|
186 |
+
0.02012876892089844,
|
187 |
+
0.020106239318847655,
|
188 |
+
0.020099071502685546,
|
189 |
+
0.020129791259765627,
|
190 |
+
0.020151296615600587,
|
191 |
+
0.020122623443603514,
|
192 |
+
0.020090879440307616,
|
193 |
+
0.020139007568359374,
|
194 |
+
0.02007961654663086,
|
195 |
+
0.020099071502685546,
|
196 |
+
0.02008576011657715,
|
197 |
+
0.020093952178955078,
|
198 |
+
0.020146175384521483,
|
199 |
+
0.020157440185546875,
|
200 |
+
0.020215808868408205,
|
201 |
+
0.020180992126464844,
|
202 |
+
0.02021887969970703,
|
203 |
+
0.020282367706298828,
|
204 |
+
0.020165632247924805,
|
205 |
+
0.020106239318847655,
|
206 |
+
0.020305919647216796,
|
207 |
+
0.02011238479614258,
|
208 |
+
0.020113407135009767,
|
209 |
+
0.020146175384521483,
|
210 |
+
0.020155391693115234,
|
211 |
+
0.020090879440307616,
|
212 |
+
0.020124671936035156,
|
213 |
+
0.020135936737060548,
|
214 |
+
0.020145151138305666,
|
215 |
+
0.020147199630737304,
|
216 |
+
0.020116479873657226,
|
217 |
+
0.020145151138305666,
|
218 |
+
0.020719615936279297,
|
219 |
+
0.02021887969970703,
|
220 |
+
0.020156415939331054,
|
221 |
+
0.020118528366088868,
|
222 |
+
0.020170751571655272,
|
223 |
+
0.020156415939331054,
|
224 |
+
0.020131839752197265,
|
225 |
+
0.02005299186706543,
|
226 |
+
0.02007961654663086,
|
227 |
+
0.020129791259765627,
|
228 |
+
0.020134912490844727,
|
229 |
+
0.02009600067138672,
|
230 |
+
0.020109312057495117,
|
231 |
+
0.020115455627441405,
|
232 |
+
0.020154367446899413,
|
233 |
+
0.02008064079284668,
|
234 |
+
0.020093952178955078,
|
235 |
+
0.020101119995117187,
|
236 |
+
0.020109312057495117,
|
237 |
+
0.02023219108581543,
|
238 |
+
0.02008883285522461,
|
239 |
+
0.020109312057495117,
|
240 |
+
0.020134912490844727,
|
241 |
+
0.020074495315551756,
|
242 |
+
0.02001408004760742,
|
243 |
+
0.019912704467773438,
|
244 |
+
0.019944448471069336,
|
245 |
+
0.0200949764251709,
|
246 |
+
0.02006630325317383,
|
247 |
+
0.02021683120727539,
|
248 |
+
0.02010419273376465,
|
249 |
+
0.019938304901123048,
|
250 |
+
0.02008064079284668,
|
251 |
+
0.02016972732543945,
|
252 |
+
0.020136959075927736,
|
253 |
+
0.019938304901123048,
|
254 |
+
0.020011007308959963,
|
255 |
+
0.02001408004760742,
|
256 |
+
0.020116479873657226,
|
257 |
+
0.020107263565063475,
|
258 |
+
0.020117504119873047,
|
259 |
+
0.020108287811279296,
|
260 |
+
0.02008883285522461,
|
261 |
+
0.020134912490844727,
|
262 |
+
0.020137983322143553,
|
263 |
+
0.0200949764251709,
|
264 |
+
0.020134912490844727,
|
265 |
+
0.020092927932739257,
|
266 |
+
0.020140031814575195,
|
267 |
+
0.020133888244628906,
|
268 |
+
0.020091903686523437,
|
269 |
+
0.020102144241333008,
|
270 |
+
0.020110336303710938,
|
271 |
+
0.020092927932739257,
|
272 |
+
0.020101119995117187,
|
273 |
+
0.020115455627441405,
|
274 |
+
0.020165632247924805,
|
275 |
+
0.020180992126464844,
|
276 |
+
0.020195327758789062,
|
277 |
+
0.020158464431762696,
|
278 |
+
0.020108287811279296,
|
279 |
+
0.020125696182250977,
|
280 |
+
0.02030284881591797,
|
281 |
+
0.02024038314819336,
|
282 |
+
0.02108518409729004,
|
283 |
+
0.02110054397583008,
|
284 |
+
0.021105663299560547,
|
285 |
+
0.020108287811279296,
|
286 |
+
0.020091903686523437,
|
287 |
+
0.020118528366088868,
|
288 |
+
0.020161535263061522,
|
289 |
+
0.020296703338623046,
|
290 |
+
0.02165657615661621,
|
291 |
+
0.02132275199890137,
|
292 |
+
0.02122137641906738,
|
293 |
+
0.02123980712890625,
|
294 |
+
0.02106265640258789,
|
295 |
+
0.021073919296264648,
|
296 |
+
0.02089472007751465,
|
297 |
+
0.020154367446899413,
|
298 |
+
0.020160512924194338,
|
299 |
+
0.020162559509277343,
|
300 |
+
0.02043084716796875,
|
301 |
+
0.02030182456970215,
|
302 |
+
0.02024550437927246,
|
303 |
+
0.020190208435058594,
|
304 |
+
0.020161535263061522,
|
305 |
+
0.020170751571655272,
|
306 |
+
0.020162559509277343,
|
307 |
+
0.020198400497436524,
|
308 |
+
0.020162559509277343,
|
309 |
+
0.020136959075927736,
|
310 |
+
0.020121599197387697,
|
311 |
+
0.020154367446899413,
|
312 |
+
0.020158464431762696,
|
313 |
+
0.020108287811279296,
|
314 |
+
0.020170751571655272,
|
315 |
+
0.02012057685852051,
|
316 |
+
0.02018611145019531,
|
317 |
+
0.02018611145019531,
|
318 |
+
0.02021990394592285,
|
319 |
+
0.020166656494140626,
|
320 |
+
0.020157440185546875,
|
321 |
+
0.02023628807067871,
|
322 |
+
0.020150272369384766,
|
323 |
+
0.020125696182250977,
|
324 |
+
0.020136959075927736,
|
325 |
+
0.020222976684570314,
|
326 |
+
0.020174848556518556,
|
327 |
+
0.020168703079223634,
|
328 |
+
0.0201308479309082,
|
329 |
+
0.020243423461914063,
|
330 |
+
0.0202106876373291,
|
331 |
+
0.020132863998413086,
|
332 |
+
0.020110336303710938,
|
333 |
+
0.020140031814575195,
|
334 |
+
0.02010316848754883,
|
335 |
+
0.02007347106933594,
|
336 |
+
0.020068351745605468,
|
337 |
+
0.020123647689819335,
|
338 |
+
0.020190208435058594,
|
339 |
+
0.02021887969970703,
|
340 |
+
0.020101119995117187,
|
341 |
+
0.020168703079223634,
|
342 |
+
0.02011136054992676,
|
343 |
+
0.020170751571655272,
|
344 |
+
0.020152320861816408,
|
345 |
+
0.020144128799438478,
|
346 |
+
0.020163583755493163,
|
347 |
+
0.020151296615600587,
|
348 |
+
0.020164608001708984,
|
349 |
+
0.020188159942626953,
|
350 |
+
0.02019430351257324,
|
351 |
+
0.020011007308959963,
|
352 |
+
0.0200130558013916,
|
353 |
+
0.020023296356201172,
|
354 |
+
0.02019430351257324,
|
355 |
+
0.020213760375976563,
|
356 |
+
0.020113407135009767,
|
357 |
+
0.020118528366088868
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.83359491565648
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022531567573547365,
|
7 |
+
"prefill.throughput.value": 310.67523274404476,
|
8 |
+
"decode.latency.mean": 2.600800537109375,
|
9 |
+
"decode.throughput.value": 48.83111879896504,
|
10 |
+
"per_token.latency.mean": 0.0204777060080701,
|
11 |
+
"per_token.throughput.value": 48.83359491565648
|
12 |
+
}
|
13 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
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 |
+
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 |
+
memory: true
|
51 |
+
latency: 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 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
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/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${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/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_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 |
+
"memory": true,
|
57 |
+
"latency": 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 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1336.725504,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 12.33864453125,
|
120 |
+
"mean": 12.33864453125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.33864453125,
|
123 |
+
"p90": 12.33864453125,
|
124 |
+
"p95": 12.33864453125,
|
125 |
+
"p99": 12.33864453125,
|
126 |
+
"values": [
|
127 |
+
12.33864453125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1853.190144,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6138.363904,
|
141 |
+
"max_allocated": 5278.596608
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.02829747200012207,
|
147 |
+
"mean": 0.014148736000061035,
|
148 |
+
"stdev": 0.00018742370605468774,
|
149 |
+
"p50": 0.014148736000061035,
|
150 |
+
"p90": 0.014298674964904785,
|
151 |
+
"p95": 0.014317417335510254,
|
152 |
+
"p99": 0.014332411231994628,
|
153 |
+
"values": [
|
154 |
+
0.013961312294006347,
|
155 |
+
0.014336159706115723
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 494.7438414265277
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2023.407616,
|
169 |
+
"max_global_vram": 6071.779328,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 5381.292032,
|
172 |
+
"max_allocated": 5282.647552
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 3.131887817382813,
|
178 |
+
"mean": 1.5659439086914064,
|
179 |
+
"stdev": 0.0005791625976562242,
|
180 |
+
"p50": 1.5659439086914064,
|
181 |
+
"p90": 1.5664072387695314,
|
182 |
+
"p95": 1.566465155029297,
|
183 |
+
"p99": 1.5665114880371094,
|
184 |
+
"values": [
|
185 |
+
1.5665230712890625,
|
186 |
+
1.56536474609375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.10124462001232
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 3.131602930068971,
|
202 |
+
"mean": 0.01232914539397232,
|
203 |
+
"stdev": 7.297808381758111e-05,
|
204 |
+
"p50": 0.012312064170837403,
|
205 |
+
"p90": 0.012346367835998535,
|
206 |
+
"p95": 0.012381900596618652,
|
207 |
+
"p99": 0.012803522539138794,
|
208 |
+
"values": [
|
209 |
+
0.012354559898376465,
|
210 |
+
0.012314623832702636,
|
211 |
+
0.012302335739135742,
|
212 |
+
0.012311552047729492,
|
213 |
+
0.012329983711242675,
|
214 |
+
0.012305407524108887,
|
215 |
+
0.012299263954162597,
|
216 |
+
0.012316672325134278,
|
217 |
+
0.012312576293945313,
|
218 |
+
0.01235865592956543,
|
219 |
+
0.012310527801513671,
|
220 |
+
0.012302335739135742,
|
221 |
+
0.012336128234863282,
|
222 |
+
0.012299263954162597,
|
223 |
+
0.012307456016540527,
|
224 |
+
0.012297216415405274,
|
225 |
+
0.012300288200378418,
|
226 |
+
0.012313599586486817,
|
227 |
+
0.012311552047729492,
|
228 |
+
0.012302335739135742,
|
229 |
+
0.012329983711242675,
|
230 |
+
0.012309503555297852,
|
231 |
+
0.012307456016540527,
|
232 |
+
0.012308480262756348,
|
233 |
+
0.012303359985351562,
|
234 |
+
0.01233510398864746,
|
235 |
+
0.012322815895080566,
|
236 |
+
0.012333056449890138,
|
237 |
+
0.012316672325134278,
|
238 |
+
0.012327936172485352,
|
239 |
+
0.012319744110107422,
|
240 |
+
0.012579839706420898,
|
241 |
+
0.012831744194030761,
|
242 |
+
0.012315648078918457,
|
243 |
+
0.012321791648864745,
|
244 |
+
0.012426239967346191,
|
245 |
+
0.01234124755859375,
|
246 |
+
0.012317695617675782,
|
247 |
+
0.012317695617675782,
|
248 |
+
0.012313599586486817,
|
249 |
+
0.012310527801513671,
|
250 |
+
0.012319744110107422,
|
251 |
+
0.012314623832702636,
|
252 |
+
0.012309503555297852,
|
253 |
+
0.012307456016540527,
|
254 |
+
0.012383232116699219,
|
255 |
+
0.012318719863891601,
|
256 |
+
0.012401663780212402,
|
257 |
+
0.01244159984588623,
|
258 |
+
0.012345343589782716,
|
259 |
+
0.012527615547180175,
|
260 |
+
0.012346367835998535,
|
261 |
+
0.012291071891784668,
|
262 |
+
0.012317695617675782,
|
263 |
+
0.012316672325134278,
|
264 |
+
0.012297216415405274,
|
265 |
+
0.012306431770324706,
|
266 |
+
0.012301312446594239,
|
267 |
+
0.012337151527404786,
|
268 |
+
0.012337151527404786,
|
269 |
+
0.012294143676757812,
|
270 |
+
0.012320768356323243,
|
271 |
+
0.012318719863891601,
|
272 |
+
0.012319744110107422,
|
273 |
+
0.012299263954162597,
|
274 |
+
0.012322815895080566,
|
275 |
+
0.012346367835998535,
|
276 |
+
0.012321791648864745,
|
277 |
+
0.012296192169189453,
|
278 |
+
0.01234124755859375,
|
279 |
+
0.012317695617675782,
|
280 |
+
0.012327936172485352,
|
281 |
+
0.012303359985351562,
|
282 |
+
0.012313599586486817,
|
283 |
+
0.012320768356323243,
|
284 |
+
0.012357631683349609,
|
285 |
+
0.012307456016540527,
|
286 |
+
0.012314623832702636,
|
287 |
+
0.012306431770324706,
|
288 |
+
0.012299263954162597,
|
289 |
+
0.012304384231567383,
|
290 |
+
0.012305407524108887,
|
291 |
+
0.012298239707946777,
|
292 |
+
0.01233510398864746,
|
293 |
+
0.012332032203674317,
|
294 |
+
0.012315679550170898,
|
295 |
+
0.01231766414642334,
|
296 |
+
0.012307456016540527,
|
297 |
+
0.01233510398864746,
|
298 |
+
0.012321791648864745,
|
299 |
+
0.012308480262756348,
|
300 |
+
0.012312576293945313,
|
301 |
+
0.012303359985351562,
|
302 |
+
0.012319744110107422,
|
303 |
+
0.012315648078918457,
|
304 |
+
0.012305407524108887,
|
305 |
+
0.012327936172485352,
|
306 |
+
0.012320768356323243,
|
307 |
+
0.012302335739135742,
|
308 |
+
0.012309503555297852,
|
309 |
+
0.012308480262756348,
|
310 |
+
0.012313599586486817,
|
311 |
+
0.012318719863891601,
|
312 |
+
0.012310527801513671,
|
313 |
+
0.012300288200378418,
|
314 |
+
0.012299263954162597,
|
315 |
+
0.012323840141296387,
|
316 |
+
0.01232588768005371,
|
317 |
+
0.012306431770324706,
|
318 |
+
0.012320768356323243,
|
319 |
+
0.012315648078918457,
|
320 |
+
0.012308480262756348,
|
321 |
+
0.012296192169189453,
|
322 |
+
0.012319744110107422,
|
323 |
+
0.012317695617675782,
|
324 |
+
0.012492799758911132,
|
325 |
+
0.01285324764251709,
|
326 |
+
0.012320768356323243,
|
327 |
+
0.012311552047729492,
|
328 |
+
0.012337151527404786,
|
329 |
+
0.012319744110107422,
|
330 |
+
0.012302335739135742,
|
331 |
+
0.012353535652160644,
|
332 |
+
0.012381183624267577,
|
333 |
+
0.012318719863891601,
|
334 |
+
0.012311552047729492,
|
335 |
+
0.012346367835998535,
|
336 |
+
0.012356608390808106,
|
337 |
+
0.012319744110107422,
|
338 |
+
0.012308480262756348,
|
339 |
+
0.012348416328430176,
|
340 |
+
0.012314623832702636,
|
341 |
+
0.012297216415405274,
|
342 |
+
0.01232588768005371,
|
343 |
+
0.012305407524108887,
|
344 |
+
0.012296192169189453,
|
345 |
+
0.012320768356323243,
|
346 |
+
0.012322815895080566,
|
347 |
+
0.012307456016540527,
|
348 |
+
0.012328960418701173,
|
349 |
+
0.012292096138000488,
|
350 |
+
0.012321791648864745,
|
351 |
+
0.012302335739135742,
|
352 |
+
0.012301312446594239,
|
353 |
+
0.012303359985351562,
|
354 |
+
0.012323840141296387,
|
355 |
+
0.012309503555297852,
|
356 |
+
0.012309503555297852,
|
357 |
+
0.012305439949035645,
|
358 |
+
0.012314592361450195,
|
359 |
+
0.012317695617675782,
|
360 |
+
0.012297216415405274,
|
361 |
+
0.012294143676757812,
|
362 |
+
0.012307456016540527,
|
363 |
+
0.012306431770324706,
|
364 |
+
0.012308480262756348,
|
365 |
+
0.012306431770324706,
|
366 |
+
0.012305407524108887,
|
367 |
+
0.012308480262756348,
|
368 |
+
0.012305407524108887,
|
369 |
+
0.012304384231567383,
|
370 |
+
0.012296192169189453,
|
371 |
+
0.012362751960754394,
|
372 |
+
0.012316672325134278,
|
373 |
+
0.012313599586486817,
|
374 |
+
0.012306431770324706,
|
375 |
+
0.012322815895080566,
|
376 |
+
0.012318719863891601,
|
377 |
+
0.012297216415405274,
|
378 |
+
0.012309503555297852,
|
379 |
+
0.012303359985351562,
|
380 |
+
0.012303359985351562,
|
381 |
+
0.012307456016540527,
|
382 |
+
0.012313599586486817,
|
383 |
+
0.012311552047729492,
|
384 |
+
0.012322815895080566,
|
385 |
+
0.012302335739135742,
|
386 |
+
0.012296192169189453,
|
387 |
+
0.01229312038421631,
|
388 |
+
0.012329983711242675,
|
389 |
+
0.012320832252502441,
|
390 |
+
0.012318655967712403,
|
391 |
+
0.012346367835998535,
|
392 |
+
0.01233510398864746,
|
393 |
+
0.012349439620971679,
|
394 |
+
0.012309503555297852,
|
395 |
+
0.012300288200378418,
|
396 |
+
0.012318719863891601,
|
397 |
+
0.012338175773620605,
|
398 |
+
0.012308480262756348,
|
399 |
+
0.012309503555297852,
|
400 |
+
0.012298239707946777,
|
401 |
+
0.012307456016540527,
|
402 |
+
0.012603391647338867,
|
403 |
+
0.012494848251342774,
|
404 |
+
0.01236787223815918,
|
405 |
+
0.012360704421997071,
|
406 |
+
0.012317695617675782,
|
407 |
+
0.012834815979003907,
|
408 |
+
0.012778495788574219,
|
409 |
+
0.012328960418701173,
|
410 |
+
0.012308480262756348,
|
411 |
+
0.012339200019836426,
|
412 |
+
0.012303359985351562,
|
413 |
+
0.012303359985351562,
|
414 |
+
0.012310527801513671,
|
415 |
+
0.012339200019836426,
|
416 |
+
0.012324864387512208,
|
417 |
+
0.012357631683349609,
|
418 |
+
0.012305407524108887,
|
419 |
+
0.012302335739135742,
|
420 |
+
0.012304384231567383,
|
421 |
+
0.012313599586486817,
|
422 |
+
0.012311552047729492,
|
423 |
+
0.012303423881530762,
|
424 |
+
0.012308416366577148,
|
425 |
+
0.012306431770324706,
|
426 |
+
0.012300288200378418,
|
427 |
+
0.012303359985351562,
|
428 |
+
0.012306431770324706,
|
429 |
+
0.012291071891784668,
|
430 |
+
0.012321791648864745,
|
431 |
+
0.012306431770324706,
|
432 |
+
0.012299263954162597,
|
433 |
+
0.012298239707946777,
|
434 |
+
0.012314623832702636,
|
435 |
+
0.012319744110107422,
|
436 |
+
0.012308480262756348,
|
437 |
+
0.012322815895080566,
|
438 |
+
0.012305407524108887,
|
439 |
+
0.012306431770324706,
|
440 |
+
0.012304384231567383,
|
441 |
+
0.012310527801513671,
|
442 |
+
0.012323840141296387,
|
443 |
+
0.01234329605102539,
|
444 |
+
0.012306431770324706,
|
445 |
+
0.012295167922973632,
|
446 |
+
0.012313599586486817,
|
447 |
+
0.012316672325134278,
|
448 |
+
0.012310527801513671,
|
449 |
+
0.012300288200378418,
|
450 |
+
0.012304384231567383,
|
451 |
+
0.012303359985351562,
|
452 |
+
0.012298239707946777,
|
453 |
+
0.012296192169189453,
|
454 |
+
0.012303359985351562,
|
455 |
+
0.012311552047729492,
|
456 |
+
0.012324864387512208,
|
457 |
+
0.012308480262756348,
|
458 |
+
0.012307456016540527,
|
459 |
+
0.012299263954162597,
|
460 |
+
0.012308480262756348,
|
461 |
+
0.012308511734008789,
|
462 |
+
0.012304351806640626
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.10862253996103
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
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 |
+
"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 |
+
"memory": true,
|
56 |
+
"latency": 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 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1336.725504,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 12.33864453125,
|
15 |
+
"mean": 12.33864453125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.33864453125,
|
18 |
+
"p90": 12.33864453125,
|
19 |
+
"p95": 12.33864453125,
|
20 |
+
"p99": 12.33864453125,
|
21 |
+
"values": [
|
22 |
+
12.33864453125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1853.190144,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6138.363904,
|
36 |
+
"max_allocated": 5278.596608
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.02829747200012207,
|
42 |
+
"mean": 0.014148736000061035,
|
43 |
+
"stdev": 0.00018742370605468774,
|
44 |
+
"p50": 0.014148736000061035,
|
45 |
+
"p90": 0.014298674964904785,
|
46 |
+
"p95": 0.014317417335510254,
|
47 |
+
"p99": 0.014332411231994628,
|
48 |
+
"values": [
|
49 |
+
0.013961312294006347,
|
50 |
+
0.014336159706115723
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 494.7438414265277
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2023.407616,
|
64 |
+
"max_global_vram": 6071.779328,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 5381.292032,
|
67 |
+
"max_allocated": 5282.647552
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 3.131887817382813,
|
73 |
+
"mean": 1.5659439086914064,
|
74 |
+
"stdev": 0.0005791625976562242,
|
75 |
+
"p50": 1.5659439086914064,
|
76 |
+
"p90": 1.5664072387695314,
|
77 |
+
"p95": 1.566465155029297,
|
78 |
+
"p99": 1.5665114880371094,
|
79 |
+
"values": [
|
80 |
+
1.5665230712890625,
|
81 |
+
1.56536474609375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.10124462001232
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 3.131602930068971,
|
97 |
+
"mean": 0.01232914539397232,
|
98 |
+
"stdev": 7.297808381758111e-05,
|
99 |
+
"p50": 0.012312064170837403,
|
100 |
+
"p90": 0.012346367835998535,
|
101 |
+
"p95": 0.012381900596618652,
|
102 |
+
"p99": 0.012803522539138794,
|
103 |
+
"values": [
|
104 |
+
0.012354559898376465,
|
105 |
+
0.012314623832702636,
|
106 |
+
0.012302335739135742,
|
107 |
+
0.012311552047729492,
|
108 |
+
0.012329983711242675,
|
109 |
+
0.012305407524108887,
|
110 |
+
0.012299263954162597,
|
111 |
+
0.012316672325134278,
|
112 |
+
0.012312576293945313,
|
113 |
+
0.01235865592956543,
|
114 |
+
0.012310527801513671,
|
115 |
+
0.012302335739135742,
|
116 |
+
0.012336128234863282,
|
117 |
+
0.012299263954162597,
|
118 |
+
0.012307456016540527,
|
119 |
+
0.012297216415405274,
|
120 |
+
0.012300288200378418,
|
121 |
+
0.012313599586486817,
|
122 |
+
0.012311552047729492,
|
123 |
+
0.012302335739135742,
|
124 |
+
0.012329983711242675,
|
125 |
+
0.012309503555297852,
|
126 |
+
0.012307456016540527,
|
127 |
+
0.012308480262756348,
|
128 |
+
0.012303359985351562,
|
129 |
+
0.01233510398864746,
|
130 |
+
0.012322815895080566,
|
131 |
+
0.012333056449890138,
|
132 |
+
0.012316672325134278,
|
133 |
+
0.012327936172485352,
|
134 |
+
0.012319744110107422,
|
135 |
+
0.012579839706420898,
|
136 |
+
0.012831744194030761,
|
137 |
+
0.012315648078918457,
|
138 |
+
0.012321791648864745,
|
139 |
+
0.012426239967346191,
|
140 |
+
0.01234124755859375,
|
141 |
+
0.012317695617675782,
|
142 |
+
0.012317695617675782,
|
143 |
+
0.012313599586486817,
|
144 |
+
0.012310527801513671,
|
145 |
+
0.012319744110107422,
|
146 |
+
0.012314623832702636,
|
147 |
+
0.012309503555297852,
|
148 |
+
0.012307456016540527,
|
149 |
+
0.012383232116699219,
|
150 |
+
0.012318719863891601,
|
151 |
+
0.012401663780212402,
|
152 |
+
0.01244159984588623,
|
153 |
+
0.012345343589782716,
|
154 |
+
0.012527615547180175,
|
155 |
+
0.012346367835998535,
|
156 |
+
0.012291071891784668,
|
157 |
+
0.012317695617675782,
|
158 |
+
0.012316672325134278,
|
159 |
+
0.012297216415405274,
|
160 |
+
0.012306431770324706,
|
161 |
+
0.012301312446594239,
|
162 |
+
0.012337151527404786,
|
163 |
+
0.012337151527404786,
|
164 |
+
0.012294143676757812,
|
165 |
+
0.012320768356323243,
|
166 |
+
0.012318719863891601,
|
167 |
+
0.012319744110107422,
|
168 |
+
0.012299263954162597,
|
169 |
+
0.012322815895080566,
|
170 |
+
0.012346367835998535,
|
171 |
+
0.012321791648864745,
|
172 |
+
0.012296192169189453,
|
173 |
+
0.01234124755859375,
|
174 |
+
0.012317695617675782,
|
175 |
+
0.012327936172485352,
|
176 |
+
0.012303359985351562,
|
177 |
+
0.012313599586486817,
|
178 |
+
0.012320768356323243,
|
179 |
+
0.012357631683349609,
|
180 |
+
0.012307456016540527,
|
181 |
+
0.012314623832702636,
|
182 |
+
0.012306431770324706,
|
183 |
+
0.012299263954162597,
|
184 |
+
0.012304384231567383,
|
185 |
+
0.012305407524108887,
|
186 |
+
0.012298239707946777,
|
187 |
+
0.01233510398864746,
|
188 |
+
0.012332032203674317,
|
189 |
+
0.012315679550170898,
|
190 |
+
0.01231766414642334,
|
191 |
+
0.012307456016540527,
|
192 |
+
0.01233510398864746,
|
193 |
+
0.012321791648864745,
|
194 |
+
0.012308480262756348,
|
195 |
+
0.012312576293945313,
|
196 |
+
0.012303359985351562,
|
197 |
+
0.012319744110107422,
|
198 |
+
0.012315648078918457,
|
199 |
+
0.012305407524108887,
|
200 |
+
0.012327936172485352,
|
201 |
+
0.012320768356323243,
|
202 |
+
0.012302335739135742,
|
203 |
+
0.012309503555297852,
|
204 |
+
0.012308480262756348,
|
205 |
+
0.012313599586486817,
|
206 |
+
0.012318719863891601,
|
207 |
+
0.012310527801513671,
|
208 |
+
0.012300288200378418,
|
209 |
+
0.012299263954162597,
|
210 |
+
0.012323840141296387,
|
211 |
+
0.01232588768005371,
|
212 |
+
0.012306431770324706,
|
213 |
+
0.012320768356323243,
|
214 |
+
0.012315648078918457,
|
215 |
+
0.012308480262756348,
|
216 |
+
0.012296192169189453,
|
217 |
+
0.012319744110107422,
|
218 |
+
0.012317695617675782,
|
219 |
+
0.012492799758911132,
|
220 |
+
0.01285324764251709,
|
221 |
+
0.012320768356323243,
|
222 |
+
0.012311552047729492,
|
223 |
+
0.012337151527404786,
|
224 |
+
0.012319744110107422,
|
225 |
+
0.012302335739135742,
|
226 |
+
0.012353535652160644,
|
227 |
+
0.012381183624267577,
|
228 |
+
0.012318719863891601,
|
229 |
+
0.012311552047729492,
|
230 |
+
0.012346367835998535,
|
231 |
+
0.012356608390808106,
|
232 |
+
0.012319744110107422,
|
233 |
+
0.012308480262756348,
|
234 |
+
0.012348416328430176,
|
235 |
+
0.012314623832702636,
|
236 |
+
0.012297216415405274,
|
237 |
+
0.01232588768005371,
|
238 |
+
0.012305407524108887,
|
239 |
+
0.012296192169189453,
|
240 |
+
0.012320768356323243,
|
241 |
+
0.012322815895080566,
|
242 |
+
0.012307456016540527,
|
243 |
+
0.012328960418701173,
|
244 |
+
0.012292096138000488,
|
245 |
+
0.012321791648864745,
|
246 |
+
0.012302335739135742,
|
247 |
+
0.012301312446594239,
|
248 |
+
0.012303359985351562,
|
249 |
+
0.012323840141296387,
|
250 |
+
0.012309503555297852,
|
251 |
+
0.012309503555297852,
|
252 |
+
0.012305439949035645,
|
253 |
+
0.012314592361450195,
|
254 |
+
0.012317695617675782,
|
255 |
+
0.012297216415405274,
|
256 |
+
0.012294143676757812,
|
257 |
+
0.012307456016540527,
|
258 |
+
0.012306431770324706,
|
259 |
+
0.012308480262756348,
|
260 |
+
0.012306431770324706,
|
261 |
+
0.012305407524108887,
|
262 |
+
0.012308480262756348,
|
263 |
+
0.012305407524108887,
|
264 |
+
0.012304384231567383,
|
265 |
+
0.012296192169189453,
|
266 |
+
0.012362751960754394,
|
267 |
+
0.012316672325134278,
|
268 |
+
0.012313599586486817,
|
269 |
+
0.012306431770324706,
|
270 |
+
0.012322815895080566,
|
271 |
+
0.012318719863891601,
|
272 |
+
0.012297216415405274,
|
273 |
+
0.012309503555297852,
|
274 |
+
0.012303359985351562,
|
275 |
+
0.012303359985351562,
|
276 |
+
0.012307456016540527,
|
277 |
+
0.012313599586486817,
|
278 |
+
0.012311552047729492,
|
279 |
+
0.012322815895080566,
|
280 |
+
0.012302335739135742,
|
281 |
+
0.012296192169189453,
|
282 |
+
0.01229312038421631,
|
283 |
+
0.012329983711242675,
|
284 |
+
0.012320832252502441,
|
285 |
+
0.012318655967712403,
|
286 |
+
0.012346367835998535,
|
287 |
+
0.01233510398864746,
|
288 |
+
0.012349439620971679,
|
289 |
+
0.012309503555297852,
|
290 |
+
0.012300288200378418,
|
291 |
+
0.012318719863891601,
|
292 |
+
0.012338175773620605,
|
293 |
+
0.012308480262756348,
|
294 |
+
0.012309503555297852,
|
295 |
+
0.012298239707946777,
|
296 |
+
0.012307456016540527,
|
297 |
+
0.012603391647338867,
|
298 |
+
0.012494848251342774,
|
299 |
+
0.01236787223815918,
|
300 |
+
0.012360704421997071,
|
301 |
+
0.012317695617675782,
|
302 |
+
0.012834815979003907,
|
303 |
+
0.012778495788574219,
|
304 |
+
0.012328960418701173,
|
305 |
+
0.012308480262756348,
|
306 |
+
0.012339200019836426,
|
307 |
+
0.012303359985351562,
|
308 |
+
0.012303359985351562,
|
309 |
+
0.012310527801513671,
|
310 |
+
0.012339200019836426,
|
311 |
+
0.012324864387512208,
|
312 |
+
0.012357631683349609,
|
313 |
+
0.012305407524108887,
|
314 |
+
0.012302335739135742,
|
315 |
+
0.012304384231567383,
|
316 |
+
0.012313599586486817,
|
317 |
+
0.012311552047729492,
|
318 |
+
0.012303423881530762,
|
319 |
+
0.012308416366577148,
|
320 |
+
0.012306431770324706,
|
321 |
+
0.012300288200378418,
|
322 |
+
0.012303359985351562,
|
323 |
+
0.012306431770324706,
|
324 |
+
0.012291071891784668,
|
325 |
+
0.012321791648864745,
|
326 |
+
0.012306431770324706,
|
327 |
+
0.012299263954162597,
|
328 |
+
0.012298239707946777,
|
329 |
+
0.012314623832702636,
|
330 |
+
0.012319744110107422,
|
331 |
+
0.012308480262756348,
|
332 |
+
0.012322815895080566,
|
333 |
+
0.012305407524108887,
|
334 |
+
0.012306431770324706,
|
335 |
+
0.012304384231567383,
|
336 |
+
0.012310527801513671,
|
337 |
+
0.012323840141296387,
|
338 |
+
0.01234329605102539,
|
339 |
+
0.012306431770324706,
|
340 |
+
0.012295167922973632,
|
341 |
+
0.012313599586486817,
|
342 |
+
0.012316672325134278,
|
343 |
+
0.012310527801513671,
|
344 |
+
0.012300288200378418,
|
345 |
+
0.012304384231567383,
|
346 |
+
0.012303359985351562,
|
347 |
+
0.012298239707946777,
|
348 |
+
0.012296192169189453,
|
349 |
+
0.012303359985351562,
|
350 |
+
0.012311552047729492,
|
351 |
+
0.012324864387512208,
|
352 |
+
0.012308480262756348,
|
353 |
+
0.012307456016540527,
|
354 |
+
0.012299263954162597,
|
355 |
+
0.012308480262756348,
|
356 |
+
0.012308511734008789,
|
357 |
+
0.012304351806640626
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.10862253996103
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/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": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014148736000061035,
|
7 |
+
"prefill.throughput.value": 494.7438414265277,
|
8 |
+
"decode.latency.mean": 1.5659439086914064,
|
9 |
+
"decode.throughput.value": 81.10124462001232,
|
10 |
+
"per_token.latency.mean": 0.01232914539397232,
|
11 |
+
"per_token.throughput.value": 81.10862253996103
|
12 |
+
}
|
13 |
+
}
|
2024-08-29/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_2_bjpp/commit=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
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/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_2_bjpp/commit\=5c1027bf09717f664b579e01cbb8ec3ef5aeb140/${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.4.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model_type: null
|
150 |
+
model: google/gemma-2b
|
151 |
+
processor: null
|
152 |
+
device: cuda
|
153 |
+
device_ids: '0'
|
154 |
+
seed: 42
|
155 |
+
inter_op_num_threads: null
|
156 |
+
intra_op_num_threads: null
|
157 |
+
model_kwargs: {}
|
158 |
+
processor_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 |
+
memory: true
|
192 |
+
latency: 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 |
+
numactl: false
|
206 |
+
numactl_kwargs: {}
|
207 |
+
start_method: spawn
|
208 |
+
environment:
|
209 |
+
cpu: ' AMD EPYC 7R32'
|
210 |
+
cpu_count: 16
|
211 |
+
cpu_ram_mb: 66697.261056
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
215 |
+
processor: x86_64
|
216 |
+
python_version: 3.8.10
|
217 |
+
gpu:
|
218 |
+
- NVIDIA A10G
|
219 |
+
gpu_count: 1
|
220 |
+
gpu_vram_mb: 24146608128
|
221 |
+
optimum_benchmark_version: 0.4.0
|
222 |
+
optimum_benchmark_commit: null
|
223 |
+
transformers_version: 4.45.0.dev0
|
224 |
+
transformers_commit: 5c1027bf09717f664b579e01cbb8ec3ef5aeb140
|
225 |
+
accelerate_version: 0.34.0.dev0
|
226 |
+
accelerate_commit: null
|
227 |
+
diffusers_version: null
|
228 |
+
diffusers_commit: null
|
229 |
+
optimum_version: 1.22.0.dev0
|
230 |
+
optimum_commit: null
|
231 |
+
timm_version: 0.9.16
|
232 |
+
timm_commit: null
|
233 |
+
peft_version: 0.12.1.dev0
|
234 |
+
peft_commit: null
|
2024-08-29/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02060132789611816,
|
8 |
+
"prefill.throughput.value": 339.78392243924173,
|
9 |
+
"decode.latency.mean": 2.452270751953125,
|
10 |
+
"decode.throughput.value": 51.78873495059635,
|
11 |
+
"per_token.latency.mean": 0.019307854607349306,
|
12 |
+
"per_token.throughput.value": 51.79239332055887
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022531567573547365,
|
21 |
+
"prefill.throughput.value": 310.67523274404476,
|
22 |
+
"decode.latency.mean": 2.600800537109375,
|
23 |
+
"decode.throughput.value": 48.83111879896504,
|
24 |
+
"per_token.latency.mean": 0.0204777060080701,
|
25 |
+
"per_token.throughput.value": 48.83359491565648
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014148736000061035,
|
34 |
+
"prefill.throughput.value": 494.7438414265277,
|
35 |
+
"decode.latency.mean": 1.5659439086914064,
|
36 |
+
"decode.throughput.value": 81.10124462001232,
|
37 |
+
"per_token.latency.mean": 0.01232914539397232,
|
38 |
+
"per_token.throughput.value": 81.10862253996103
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-08-29/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"5c1027bf09717f664b579e01cbb8ec3ef5aeb140": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02060132789611816,
|
7 |
+
"prefill.throughput.value": 339.78392243924173,
|
8 |
+
"decode.latency.mean": 2.452270751953125,
|
9 |
+
"decode.throughput.value": 51.78873495059635,
|
10 |
+
"per_token.latency.mean": 0.019307854607349306,
|
11 |
+
"per_token.throughput.value": 51.79239332055887
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"5c1027bf09717f664b579e01cbb8ec3ef5aeb140": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022531567573547365,
|
19 |
+
"prefill.throughput.value": 310.67523274404476,
|
20 |
+
"decode.latency.mean": 2.600800537109375,
|
21 |
+
"decode.throughput.value": 48.83111879896504,
|
22 |
+
"per_token.latency.mean": 0.0204777060080701,
|
23 |
+
"per_token.throughput.value": 48.83359491565648
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"5c1027bf09717f664b579e01cbb8ec3ef5aeb140": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014148736000061035,
|
31 |
+
"prefill.throughput.value": 494.7438414265277,
|
32 |
+
"decode.latency.mean": 1.5659439086914064,
|
33 |
+
"decode.throughput.value": 81.10124462001232,
|
34 |
+
"per_token.latency.mean": 0.01232914539397232,
|
35 |
+
"per_token.throughput.value": 81.10862253996103
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|