hf-transformers-bot
commited on
Commit
•
438750d
1
Parent(s):
1fc60f2
Upload folder using huggingface_hub
Browse files- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/multirun.yaml +234 -0
- 2024-09-10/summaries.json +41 -0
- 2024-09-10/summary.json +40 -0
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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: f745e7d3f902601686b83c7cce2660c2a94509f0
|
84 |
+
accelerate_version: 0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0
|
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/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0
|
88 |
+
- hydra.run.dir=_benchmark/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0/${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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
94 |
+
"accelerate_version": "0.35.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": 1334.534144,
|
111 |
+
"max_global_vram": 6775.373824,
|
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.4153681640625,
|
120 |
+
"mean": 11.4153681640625,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.4153681640625,
|
123 |
+
"p90": 11.4153681640625,
|
124 |
+
"p95": 11.4153681640625,
|
125 |
+
"p99": 11.4153681640625,
|
126 |
+
"values": [
|
127 |
+
11.4153681640625
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1770.340352,
|
138 |
+
"max_global_vram": 6796.345344,
|
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.04313571357727051,
|
147 |
+
"mean": 0.021567856788635254,
|
148 |
+
"stdev": 0.00015540790557861187,
|
149 |
+
"p50": 0.021567856788635254,
|
150 |
+
"p90": 0.021692183113098142,
|
151 |
+
"p95": 0.021707723903656006,
|
152 |
+
"p99": 0.021720156536102295,
|
153 |
+
"values": [
|
154 |
+
0.021412448883056642,
|
155 |
+
0.021723264694213866
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 324.5570511989169
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1828.306944,
|
169 |
+
"max_global_vram": 6800.539648,
|
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": 5.2175419921875,
|
178 |
+
"mean": 2.60877099609375,
|
179 |
+
"stdev": 0.004361572265624947,
|
180 |
+
"p50": 2.60877099609375,
|
181 |
+
"p90": 2.61226025390625,
|
182 |
+
"p95": 2.6126964111328124,
|
183 |
+
"p99": 2.6130453369140625,
|
184 |
+
"values": [
|
185 |
+
2.604409423828125,
|
186 |
+
2.613132568359375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.68192730989565
|
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.217216512680051,
|
202 |
+
"mean": 0.02054022249086635,
|
203 |
+
"stdev": 0.00032452951192328636,
|
204 |
+
"p50": 0.020625920295715333,
|
205 |
+
"p90": 0.020822732734680178,
|
206 |
+
"p95": 0.02085790729522705,
|
207 |
+
"p99": 0.021302917289733887,
|
208 |
+
"values": [
|
209 |
+
0.01998028755187988,
|
210 |
+
0.020323328018188477,
|
211 |
+
0.019924991607666014,
|
212 |
+
0.02001203155517578,
|
213 |
+
0.019886079788208007,
|
214 |
+
0.019775487899780272,
|
215 |
+
0.020523008346557618,
|
216 |
+
0.020611072540283205,
|
217 |
+
0.02063564872741699,
|
218 |
+
0.020501504898071288,
|
219 |
+
0.0200263671875,
|
220 |
+
0.020545536041259766,
|
221 |
+
0.020609024047851563,
|
222 |
+
0.020684799194335936,
|
223 |
+
0.020701183319091796,
|
224 |
+
0.020402175903320312,
|
225 |
+
0.02062745666503906,
|
226 |
+
0.01982156753540039,
|
227 |
+
0.019825664520263672,
|
228 |
+
0.01987583923339844,
|
229 |
+
0.019817472457885742,
|
230 |
+
0.020347904205322266,
|
231 |
+
0.020372480392456056,
|
232 |
+
0.01987379264831543,
|
233 |
+
0.02005606460571289,
|
234 |
+
0.020191232681274415,
|
235 |
+
0.020075519561767577,
|
236 |
+
0.020063232421875,
|
237 |
+
0.020116479873657226,
|
238 |
+
0.020067327499389647,
|
239 |
+
0.020337663650512695,
|
240 |
+
0.02068992042541504,
|
241 |
+
0.020603904724121092,
|
242 |
+
0.02067865562438965,
|
243 |
+
0.020024320602416993,
|
244 |
+
0.02008883285522461,
|
245 |
+
0.020540416717529295,
|
246 |
+
0.02058956718444824,
|
247 |
+
0.02067251205444336,
|
248 |
+
0.020602880477905275,
|
249 |
+
0.020418560028076172,
|
250 |
+
0.020345855712890625,
|
251 |
+
0.020384767532348632,
|
252 |
+
0.020607999801635742,
|
253 |
+
0.020982784271240236,
|
254 |
+
0.020908031463623047,
|
255 |
+
0.02066431999206543,
|
256 |
+
0.020619264602661135,
|
257 |
+
0.02065203285217285,
|
258 |
+
0.02003558349609375,
|
259 |
+
0.020350976943969725,
|
260 |
+
0.019833856582641602,
|
261 |
+
0.01980620765686035,
|
262 |
+
0.019924991607666014,
|
263 |
+
0.020017152786254884,
|
264 |
+
0.02043289566040039,
|
265 |
+
0.020641792297363282,
|
266 |
+
0.020123647689819335,
|
267 |
+
0.02011136054992676,
|
268 |
+
0.020167680740356447,
|
269 |
+
0.02063052749633789,
|
270 |
+
0.020781055450439453,
|
271 |
+
0.020773887634277344,
|
272 |
+
0.02072166442871094,
|
273 |
+
0.020707328796386718,
|
274 |
+
0.020772863388061523,
|
275 |
+
0.020769792556762694,
|
276 |
+
0.020757503509521484,
|
277 |
+
0.020789247512817383,
|
278 |
+
0.020526079177856444,
|
279 |
+
0.020794368743896483,
|
280 |
+
0.020781055450439453,
|
281 |
+
0.02083737564086914,
|
282 |
+
0.020884479522705078,
|
283 |
+
0.02083020782470703,
|
284 |
+
0.020727807998657227,
|
285 |
+
0.020840448379516603,
|
286 |
+
0.020792320251464845,
|
287 |
+
0.02076982307434082,
|
288 |
+
0.020847583770751955,
|
289 |
+
0.02085068893432617,
|
290 |
+
0.020822015762329102,
|
291 |
+
0.02071244812011719,
|
292 |
+
0.020728832244873048,
|
293 |
+
0.020743167877197266,
|
294 |
+
0.02044927978515625,
|
295 |
+
0.020790271759033203,
|
296 |
+
0.02068070411682129,
|
297 |
+
0.02043801689147949,
|
298 |
+
0.02051584053039551,
|
299 |
+
0.020460544586181642,
|
300 |
+
0.01988812828063965,
|
301 |
+
0.01987379264831543,
|
302 |
+
0.020328447341918944,
|
303 |
+
0.020768768310546876,
|
304 |
+
0.02047385597229004,
|
305 |
+
0.020205568313598633,
|
306 |
+
0.02008883285522461,
|
307 |
+
0.020101119995117187,
|
308 |
+
0.020533248901367186,
|
309 |
+
0.019993600845336915,
|
310 |
+
0.021370880126953123,
|
311 |
+
0.021788671493530275,
|
312 |
+
0.020920320510864256,
|
313 |
+
0.020823040008544923,
|
314 |
+
0.020780031204223632,
|
315 |
+
0.02072985649108887,
|
316 |
+
0.020754432678222655,
|
317 |
+
0.02058137512207031,
|
318 |
+
0.020824064254760744,
|
319 |
+
0.020738048553466795,
|
320 |
+
0.020788223266601562,
|
321 |
+
0.020725759506225586,
|
322 |
+
0.02087014389038086,
|
323 |
+
0.020775936126708985,
|
324 |
+
0.02052403259277344,
|
325 |
+
0.020545536041259766,
|
326 |
+
0.020734975814819336,
|
327 |
+
0.020724735260009765,
|
328 |
+
0.020753408432006838,
|
329 |
+
0.020746240615844725,
|
330 |
+
0.020929536819458007,
|
331 |
+
0.02079641532897949,
|
332 |
+
0.020720640182495118,
|
333 |
+
0.020730880737304686,
|
334 |
+
0.020793344497680662,
|
335 |
+
0.020855808258056642,
|
336 |
+
0.020782079696655274,
|
337 |
+
0.020570112228393556,
|
338 |
+
0.020577280044555665,
|
339 |
+
0.02062233543395996,
|
340 |
+
0.02062335968017578,
|
341 |
+
0.020576255798339844,
|
342 |
+
0.020557823181152343,
|
343 |
+
0.020599807739257812,
|
344 |
+
0.020584447860717774,
|
345 |
+
0.020576255798339844,
|
346 |
+
0.020561920166015626,
|
347 |
+
0.020583423614501953,
|
348 |
+
0.020591615676879883,
|
349 |
+
0.020685823440551757,
|
350 |
+
0.020727807998657227,
|
351 |
+
0.02069708824157715,
|
352 |
+
0.020059135437011717,
|
353 |
+
0.020619264602661135,
|
354 |
+
0.02010419273376465,
|
355 |
+
0.02049945640563965,
|
356 |
+
0.020545536041259766,
|
357 |
+
0.020685823440551757,
|
358 |
+
0.020802560806274413,
|
359 |
+
0.020771839141845702,
|
360 |
+
0.02131865692138672,
|
361 |
+
0.02128895950317383,
|
362 |
+
0.02069811248779297,
|
363 |
+
0.020747264862060546,
|
364 |
+
0.020618240356445314,
|
365 |
+
0.020723712921142577,
|
366 |
+
0.020582399368286132,
|
367 |
+
0.020590591430664062,
|
368 |
+
0.020684799194335936,
|
369 |
+
0.020641792297363282,
|
370 |
+
0.020714496612548827,
|
371 |
+
0.02065203285217285,
|
372 |
+
0.020612096786499022,
|
373 |
+
0.020722688674926756,
|
374 |
+
0.020624383926391602,
|
375 |
+
0.02062131118774414,
|
376 |
+
0.02064896011352539,
|
377 |
+
0.02065715217590332,
|
378 |
+
0.02066534423828125,
|
379 |
+
0.02061311912536621,
|
380 |
+
0.020786176681518553,
|
381 |
+
0.020718591690063477,
|
382 |
+
0.020720640182495118,
|
383 |
+
0.02059775924682617,
|
384 |
+
0.020741119384765624,
|
385 |
+
0.02062950325012207,
|
386 |
+
0.020684799194335936,
|
387 |
+
0.02066227149963379,
|
388 |
+
0.02061516761779785,
|
389 |
+
0.02060697555541992,
|
390 |
+
0.02062131118774414,
|
391 |
+
0.020592639923095703,
|
392 |
+
0.02058137512207031,
|
393 |
+
0.020741119384765624,
|
394 |
+
0.020772863388061523,
|
395 |
+
0.020730880737304686,
|
396 |
+
0.020750335693359375,
|
397 |
+
0.020813823699951172,
|
398 |
+
0.020757503509521484,
|
399 |
+
0.020801536560058592,
|
400 |
+
0.020123647689819335,
|
401 |
+
0.020142080307006836,
|
402 |
+
0.020185087203979494,
|
403 |
+
0.020556800842285155,
|
404 |
+
0.020716543197631835,
|
405 |
+
0.020971519470214844,
|
406 |
+
0.020847616195678712,
|
407 |
+
0.020786176681518553,
|
408 |
+
0.020560895919799805,
|
409 |
+
0.020801536560058592,
|
410 |
+
0.020756479263305663,
|
411 |
+
0.02085683250427246,
|
412 |
+
0.020802560806274413,
|
413 |
+
0.02082815933227539,
|
414 |
+
0.020792320251464845,
|
415 |
+
0.020769792556762694,
|
416 |
+
0.020756479263305663,
|
417 |
+
0.020772863388061523,
|
418 |
+
0.020781055450439453,
|
419 |
+
0.020715520858764647,
|
420 |
+
0.020762624740600585,
|
421 |
+
0.020840448379516603,
|
422 |
+
0.020711423873901368,
|
423 |
+
0.020790271759033203,
|
424 |
+
0.020783103942871094,
|
425 |
+
0.020185087203979494,
|
426 |
+
0.020153343200683595,
|
427 |
+
0.020155391693115234,
|
428 |
+
0.020801536560058592,
|
429 |
+
0.02048102378845215,
|
430 |
+
0.020454431533813478,
|
431 |
+
0.02073187255859375,
|
432 |
+
0.020419584274291993,
|
433 |
+
0.02083737564086914,
|
434 |
+
0.020759552001953126,
|
435 |
+
0.02085990333557129,
|
436 |
+
0.020792320251464845,
|
437 |
+
0.020776960372924806,
|
438 |
+
0.02086604881286621,
|
439 |
+
0.020807680130004884,
|
440 |
+
0.020564992904663085,
|
441 |
+
0.020486143112182616,
|
442 |
+
0.02044108772277832,
|
443 |
+
0.019914751052856446,
|
444 |
+
0.019923967361450197,
|
445 |
+
0.019899391174316407,
|
446 |
+
0.019982336044311523,
|
447 |
+
0.020152320861816408,
|
448 |
+
0.019947519302368166,
|
449 |
+
0.01992192077636719,
|
450 |
+
0.019914751052856446,
|
451 |
+
0.019937280654907227,
|
452 |
+
0.02065407943725586,
|
453 |
+
0.020306943893432617,
|
454 |
+
0.0206561279296875,
|
455 |
+
0.020271104812622072,
|
456 |
+
0.020155391693115234,
|
457 |
+
0.020478975296020507,
|
458 |
+
0.019999744415283204,
|
459 |
+
0.019918848037719726,
|
460 |
+
0.020125696182250977,
|
461 |
+
0.020075519561767577,
|
462 |
+
0.020393983840942383
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.684964364172366
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
93 |
+
"accelerate_version": "0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": 1334.534144,
|
6 |
+
"max_global_vram": 6775.373824,
|
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.4153681640625,
|
15 |
+
"mean": 11.4153681640625,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.4153681640625,
|
18 |
+
"p90": 11.4153681640625,
|
19 |
+
"p95": 11.4153681640625,
|
20 |
+
"p99": 11.4153681640625,
|
21 |
+
"values": [
|
22 |
+
11.4153681640625
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1770.340352,
|
33 |
+
"max_global_vram": 6796.345344,
|
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.04313571357727051,
|
42 |
+
"mean": 0.021567856788635254,
|
43 |
+
"stdev": 0.00015540790557861187,
|
44 |
+
"p50": 0.021567856788635254,
|
45 |
+
"p90": 0.021692183113098142,
|
46 |
+
"p95": 0.021707723903656006,
|
47 |
+
"p99": 0.021720156536102295,
|
48 |
+
"values": [
|
49 |
+
0.021412448883056642,
|
50 |
+
0.021723264694213866
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 324.5570511989169
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1828.306944,
|
64 |
+
"max_global_vram": 6800.539648,
|
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": 5.2175419921875,
|
73 |
+
"mean": 2.60877099609375,
|
74 |
+
"stdev": 0.004361572265624947,
|
75 |
+
"p50": 2.60877099609375,
|
76 |
+
"p90": 2.61226025390625,
|
77 |
+
"p95": 2.6126964111328124,
|
78 |
+
"p99": 2.6130453369140625,
|
79 |
+
"values": [
|
80 |
+
2.604409423828125,
|
81 |
+
2.613132568359375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.68192730989565
|
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.217216512680051,
|
97 |
+
"mean": 0.02054022249086635,
|
98 |
+
"stdev": 0.00032452951192328636,
|
99 |
+
"p50": 0.020625920295715333,
|
100 |
+
"p90": 0.020822732734680178,
|
101 |
+
"p95": 0.02085790729522705,
|
102 |
+
"p99": 0.021302917289733887,
|
103 |
+
"values": [
|
104 |
+
0.01998028755187988,
|
105 |
+
0.020323328018188477,
|
106 |
+
0.019924991607666014,
|
107 |
+
0.02001203155517578,
|
108 |
+
0.019886079788208007,
|
109 |
+
0.019775487899780272,
|
110 |
+
0.020523008346557618,
|
111 |
+
0.020611072540283205,
|
112 |
+
0.02063564872741699,
|
113 |
+
0.020501504898071288,
|
114 |
+
0.0200263671875,
|
115 |
+
0.020545536041259766,
|
116 |
+
0.020609024047851563,
|
117 |
+
0.020684799194335936,
|
118 |
+
0.020701183319091796,
|
119 |
+
0.020402175903320312,
|
120 |
+
0.02062745666503906,
|
121 |
+
0.01982156753540039,
|
122 |
+
0.019825664520263672,
|
123 |
+
0.01987583923339844,
|
124 |
+
0.019817472457885742,
|
125 |
+
0.020347904205322266,
|
126 |
+
0.020372480392456056,
|
127 |
+
0.01987379264831543,
|
128 |
+
0.02005606460571289,
|
129 |
+
0.020191232681274415,
|
130 |
+
0.020075519561767577,
|
131 |
+
0.020063232421875,
|
132 |
+
0.020116479873657226,
|
133 |
+
0.020067327499389647,
|
134 |
+
0.020337663650512695,
|
135 |
+
0.02068992042541504,
|
136 |
+
0.020603904724121092,
|
137 |
+
0.02067865562438965,
|
138 |
+
0.020024320602416993,
|
139 |
+
0.02008883285522461,
|
140 |
+
0.020540416717529295,
|
141 |
+
0.02058956718444824,
|
142 |
+
0.02067251205444336,
|
143 |
+
0.020602880477905275,
|
144 |
+
0.020418560028076172,
|
145 |
+
0.020345855712890625,
|
146 |
+
0.020384767532348632,
|
147 |
+
0.020607999801635742,
|
148 |
+
0.020982784271240236,
|
149 |
+
0.020908031463623047,
|
150 |
+
0.02066431999206543,
|
151 |
+
0.020619264602661135,
|
152 |
+
0.02065203285217285,
|
153 |
+
0.02003558349609375,
|
154 |
+
0.020350976943969725,
|
155 |
+
0.019833856582641602,
|
156 |
+
0.01980620765686035,
|
157 |
+
0.019924991607666014,
|
158 |
+
0.020017152786254884,
|
159 |
+
0.02043289566040039,
|
160 |
+
0.020641792297363282,
|
161 |
+
0.020123647689819335,
|
162 |
+
0.02011136054992676,
|
163 |
+
0.020167680740356447,
|
164 |
+
0.02063052749633789,
|
165 |
+
0.020781055450439453,
|
166 |
+
0.020773887634277344,
|
167 |
+
0.02072166442871094,
|
168 |
+
0.020707328796386718,
|
169 |
+
0.020772863388061523,
|
170 |
+
0.020769792556762694,
|
171 |
+
0.020757503509521484,
|
172 |
+
0.020789247512817383,
|
173 |
+
0.020526079177856444,
|
174 |
+
0.020794368743896483,
|
175 |
+
0.020781055450439453,
|
176 |
+
0.02083737564086914,
|
177 |
+
0.020884479522705078,
|
178 |
+
0.02083020782470703,
|
179 |
+
0.020727807998657227,
|
180 |
+
0.020840448379516603,
|
181 |
+
0.020792320251464845,
|
182 |
+
0.02076982307434082,
|
183 |
+
0.020847583770751955,
|
184 |
+
0.02085068893432617,
|
185 |
+
0.020822015762329102,
|
186 |
+
0.02071244812011719,
|
187 |
+
0.020728832244873048,
|
188 |
+
0.020743167877197266,
|
189 |
+
0.02044927978515625,
|
190 |
+
0.020790271759033203,
|
191 |
+
0.02068070411682129,
|
192 |
+
0.02043801689147949,
|
193 |
+
0.02051584053039551,
|
194 |
+
0.020460544586181642,
|
195 |
+
0.01988812828063965,
|
196 |
+
0.01987379264831543,
|
197 |
+
0.020328447341918944,
|
198 |
+
0.020768768310546876,
|
199 |
+
0.02047385597229004,
|
200 |
+
0.020205568313598633,
|
201 |
+
0.02008883285522461,
|
202 |
+
0.020101119995117187,
|
203 |
+
0.020533248901367186,
|
204 |
+
0.019993600845336915,
|
205 |
+
0.021370880126953123,
|
206 |
+
0.021788671493530275,
|
207 |
+
0.020920320510864256,
|
208 |
+
0.020823040008544923,
|
209 |
+
0.020780031204223632,
|
210 |
+
0.02072985649108887,
|
211 |
+
0.020754432678222655,
|
212 |
+
0.02058137512207031,
|
213 |
+
0.020824064254760744,
|
214 |
+
0.020738048553466795,
|
215 |
+
0.020788223266601562,
|
216 |
+
0.020725759506225586,
|
217 |
+
0.02087014389038086,
|
218 |
+
0.020775936126708985,
|
219 |
+
0.02052403259277344,
|
220 |
+
0.020545536041259766,
|
221 |
+
0.020734975814819336,
|
222 |
+
0.020724735260009765,
|
223 |
+
0.020753408432006838,
|
224 |
+
0.020746240615844725,
|
225 |
+
0.020929536819458007,
|
226 |
+
0.02079641532897949,
|
227 |
+
0.020720640182495118,
|
228 |
+
0.020730880737304686,
|
229 |
+
0.020793344497680662,
|
230 |
+
0.020855808258056642,
|
231 |
+
0.020782079696655274,
|
232 |
+
0.020570112228393556,
|
233 |
+
0.020577280044555665,
|
234 |
+
0.02062233543395996,
|
235 |
+
0.02062335968017578,
|
236 |
+
0.020576255798339844,
|
237 |
+
0.020557823181152343,
|
238 |
+
0.020599807739257812,
|
239 |
+
0.020584447860717774,
|
240 |
+
0.020576255798339844,
|
241 |
+
0.020561920166015626,
|
242 |
+
0.020583423614501953,
|
243 |
+
0.020591615676879883,
|
244 |
+
0.020685823440551757,
|
245 |
+
0.020727807998657227,
|
246 |
+
0.02069708824157715,
|
247 |
+
0.020059135437011717,
|
248 |
+
0.020619264602661135,
|
249 |
+
0.02010419273376465,
|
250 |
+
0.02049945640563965,
|
251 |
+
0.020545536041259766,
|
252 |
+
0.020685823440551757,
|
253 |
+
0.020802560806274413,
|
254 |
+
0.020771839141845702,
|
255 |
+
0.02131865692138672,
|
256 |
+
0.02128895950317383,
|
257 |
+
0.02069811248779297,
|
258 |
+
0.020747264862060546,
|
259 |
+
0.020618240356445314,
|
260 |
+
0.020723712921142577,
|
261 |
+
0.020582399368286132,
|
262 |
+
0.020590591430664062,
|
263 |
+
0.020684799194335936,
|
264 |
+
0.020641792297363282,
|
265 |
+
0.020714496612548827,
|
266 |
+
0.02065203285217285,
|
267 |
+
0.020612096786499022,
|
268 |
+
0.020722688674926756,
|
269 |
+
0.020624383926391602,
|
270 |
+
0.02062131118774414,
|
271 |
+
0.02064896011352539,
|
272 |
+
0.02065715217590332,
|
273 |
+
0.02066534423828125,
|
274 |
+
0.02061311912536621,
|
275 |
+
0.020786176681518553,
|
276 |
+
0.020718591690063477,
|
277 |
+
0.020720640182495118,
|
278 |
+
0.02059775924682617,
|
279 |
+
0.020741119384765624,
|
280 |
+
0.02062950325012207,
|
281 |
+
0.020684799194335936,
|
282 |
+
0.02066227149963379,
|
283 |
+
0.02061516761779785,
|
284 |
+
0.02060697555541992,
|
285 |
+
0.02062131118774414,
|
286 |
+
0.020592639923095703,
|
287 |
+
0.02058137512207031,
|
288 |
+
0.020741119384765624,
|
289 |
+
0.020772863388061523,
|
290 |
+
0.020730880737304686,
|
291 |
+
0.020750335693359375,
|
292 |
+
0.020813823699951172,
|
293 |
+
0.020757503509521484,
|
294 |
+
0.020801536560058592,
|
295 |
+
0.020123647689819335,
|
296 |
+
0.020142080307006836,
|
297 |
+
0.020185087203979494,
|
298 |
+
0.020556800842285155,
|
299 |
+
0.020716543197631835,
|
300 |
+
0.020971519470214844,
|
301 |
+
0.020847616195678712,
|
302 |
+
0.020786176681518553,
|
303 |
+
0.020560895919799805,
|
304 |
+
0.020801536560058592,
|
305 |
+
0.020756479263305663,
|
306 |
+
0.02085683250427246,
|
307 |
+
0.020802560806274413,
|
308 |
+
0.02082815933227539,
|
309 |
+
0.020792320251464845,
|
310 |
+
0.020769792556762694,
|
311 |
+
0.020756479263305663,
|
312 |
+
0.020772863388061523,
|
313 |
+
0.020781055450439453,
|
314 |
+
0.020715520858764647,
|
315 |
+
0.020762624740600585,
|
316 |
+
0.020840448379516603,
|
317 |
+
0.020711423873901368,
|
318 |
+
0.020790271759033203,
|
319 |
+
0.020783103942871094,
|
320 |
+
0.020185087203979494,
|
321 |
+
0.020153343200683595,
|
322 |
+
0.020155391693115234,
|
323 |
+
0.020801536560058592,
|
324 |
+
0.02048102378845215,
|
325 |
+
0.020454431533813478,
|
326 |
+
0.02073187255859375,
|
327 |
+
0.020419584274291993,
|
328 |
+
0.02083737564086914,
|
329 |
+
0.020759552001953126,
|
330 |
+
0.02085990333557129,
|
331 |
+
0.020792320251464845,
|
332 |
+
0.020776960372924806,
|
333 |
+
0.02086604881286621,
|
334 |
+
0.020807680130004884,
|
335 |
+
0.020564992904663085,
|
336 |
+
0.020486143112182616,
|
337 |
+
0.02044108772277832,
|
338 |
+
0.019914751052856446,
|
339 |
+
0.019923967361450197,
|
340 |
+
0.019899391174316407,
|
341 |
+
0.019982336044311523,
|
342 |
+
0.020152320861816408,
|
343 |
+
0.019947519302368166,
|
344 |
+
0.01992192077636719,
|
345 |
+
0.019914751052856446,
|
346 |
+
0.019937280654907227,
|
347 |
+
0.02065407943725586,
|
348 |
+
0.020306943893432617,
|
349 |
+
0.0206561279296875,
|
350 |
+
0.020271104812622072,
|
351 |
+
0.020155391693115234,
|
352 |
+
0.020478975296020507,
|
353 |
+
0.019999744415283204,
|
354 |
+
0.019918848037719726,
|
355 |
+
0.020125696182250977,
|
356 |
+
0.020075519561767577,
|
357 |
+
0.020393983840942383
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.684964364172366
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021567856788635254,
|
7 |
+
"prefill.throughput.value": 324.5570511989169,
|
8 |
+
"decode.latency.mean": 2.60877099609375,
|
9 |
+
"decode.throughput.value": 48.68192730989565,
|
10 |
+
"per_token.latency.mean": 0.02054022249086635,
|
11 |
+
"per_token.throughput.value": 48.684964364172366
|
12 |
+
}
|
13 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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: f745e7d3f902601686b83c7cce2660c2a94509f0
|
84 |
+
accelerate_version: 0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0
|
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/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0
|
88 |
+
- hydra.run.dir=_benchmark/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0/${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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-09-10 02:44:05,665[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-09-10 02:44:08,046[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
93 |
+
"accelerate_version": "0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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: f745e7d3f902601686b83c7cce2660c2a94509f0
|
84 |
+
accelerate_version: 0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0
|
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/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0
|
88 |
+
- hydra.run.dir=_benchmark/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0/${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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
94 |
+
"accelerate_version": "0.35.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": 1333.673984,
|
111 |
+
"max_global_vram": 6775.373824,
|
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.43676953125,
|
120 |
+
"mean": 11.43676953125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.43676953125,
|
123 |
+
"p90": 11.43676953125,
|
124 |
+
"p95": 11.43676953125,
|
125 |
+
"p99": 11.43676953125,
|
126 |
+
"values": [
|
127 |
+
11.43676953125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1835.728896,
|
138 |
+
"max_global_vram": 6796.345344,
|
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.04459542274475098,
|
147 |
+
"mean": 0.02229771137237549,
|
148 |
+
"stdev": 1.8832206726073636e-05,
|
149 |
+
"p50": 0.02229771137237549,
|
150 |
+
"p90": 0.022312777137756347,
|
151 |
+
"p95": 0.022314660358428957,
|
152 |
+
"p99": 0.022316166934967043,
|
153 |
+
"values": [
|
154 |
+
0.022278879165649416,
|
155 |
+
0.022316543579101563
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 313.9335639922338
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1862.868992,
|
169 |
+
"max_global_vram": 6800.539648,
|
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.257376953125,
|
178 |
+
"mean": 2.6286884765625,
|
179 |
+
"stdev": 0.008773925781250025,
|
180 |
+
"p50": 2.6286884765625,
|
181 |
+
"p90": 2.6357076171875002,
|
182 |
+
"p95": 2.636585009765625,
|
183 |
+
"p99": 2.637286923828125,
|
184 |
+
"values": [
|
185 |
+
2.61991455078125,
|
186 |
+
2.63746240234375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.313066052648495
|
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.257122823715212,
|
202 |
+
"mean": 0.020697333951634683,
|
203 |
+
"stdev": 0.0003283237564827691,
|
204 |
+
"p50": 0.020535295486450195,
|
205 |
+
"p90": 0.02123630771636963,
|
206 |
+
"p95": 0.021291468238830567,
|
207 |
+
"p99": 0.02175401975631714,
|
208 |
+
"values": [
|
209 |
+
0.020512767791748047,
|
210 |
+
0.020540416717529295,
|
211 |
+
0.020556800842285155,
|
212 |
+
0.02049843215942383,
|
213 |
+
0.020526079177856444,
|
214 |
+
0.020526079177856444,
|
215 |
+
0.020531200408935548,
|
216 |
+
0.020502527236938475,
|
217 |
+
0.020388864517211915,
|
218 |
+
0.020582399368286132,
|
219 |
+
0.020932607650756836,
|
220 |
+
0.021168127059936523,
|
221 |
+
0.020595712661743162,
|
222 |
+
0.020521984100341797,
|
223 |
+
0.020534271240234374,
|
224 |
+
0.020554752349853517,
|
225 |
+
0.020540416717529295,
|
226 |
+
0.02050048065185547,
|
227 |
+
0.020535295486450195,
|
228 |
+
0.02046771240234375,
|
229 |
+
0.020527103424072265,
|
230 |
+
0.020519935607910156,
|
231 |
+
0.02058137512207031,
|
232 |
+
0.02053222465515137,
|
233 |
+
0.02049945640563965,
|
234 |
+
0.02046668815612793,
|
235 |
+
0.02064384078979492,
|
236 |
+
0.021788671493530275,
|
237 |
+
0.021380096435546874,
|
238 |
+
0.021259263992309572,
|
239 |
+
0.021242879867553712,
|
240 |
+
0.021222400665283202,
|
241 |
+
0.021296127319335938,
|
242 |
+
0.02053222465515137,
|
243 |
+
0.020553728103637696,
|
244 |
+
0.020368383407592772,
|
245 |
+
0.02063871955871582,
|
246 |
+
0.020513792037963868,
|
247 |
+
0.020588544845581053,
|
248 |
+
0.020512767791748047,
|
249 |
+
0.020510719299316405,
|
250 |
+
0.020501504898071288,
|
251 |
+
0.020561920166015626,
|
252 |
+
0.02051481628417969,
|
253 |
+
0.020539392471313478,
|
254 |
+
0.02050361633300781,
|
255 |
+
0.0205731201171875,
|
256 |
+
0.02048204803466797,
|
257 |
+
0.02046668815612793,
|
258 |
+
0.02046463966369629,
|
259 |
+
0.02050662422180176,
|
260 |
+
0.020537376403808594,
|
261 |
+
0.02053424072265625,
|
262 |
+
0.02048409652709961,
|
263 |
+
0.020570112228393556,
|
264 |
+
0.02051584053039551,
|
265 |
+
0.020525056838989256,
|
266 |
+
0.020489215850830078,
|
267 |
+
0.020538368225097657,
|
268 |
+
0.020644863128662108,
|
269 |
+
0.020692991256713866,
|
270 |
+
0.021128192901611328,
|
271 |
+
0.020641792297363282,
|
272 |
+
0.020508672714233397,
|
273 |
+
0.020529151916503906,
|
274 |
+
0.021007360458374022,
|
275 |
+
0.021393407821655275,
|
276 |
+
0.021271551132202148,
|
277 |
+
0.021198848724365234,
|
278 |
+
0.021210111618041993,
|
279 |
+
0.02109951972961426,
|
280 |
+
0.020426752090454102,
|
281 |
+
0.020521984100341797,
|
282 |
+
0.020551679611206054,
|
283 |
+
0.020518911361694335,
|
284 |
+
0.020508672714233397,
|
285 |
+
0.020463615417480468,
|
286 |
+
0.020513792037963868,
|
287 |
+
0.02045644760131836,
|
288 |
+
0.020528127670288086,
|
289 |
+
0.020454399108886717,
|
290 |
+
0.020502527236938475,
|
291 |
+
0.02049945640563965,
|
292 |
+
0.02051481628417969,
|
293 |
+
0.02046566390991211,
|
294 |
+
0.020535295486450195,
|
295 |
+
0.020549631118774413,
|
296 |
+
0.020509695053100584,
|
297 |
+
0.020537343978881836,
|
298 |
+
0.020620288848876952,
|
299 |
+
0.020562944412231447,
|
300 |
+
0.020551679611206054,
|
301 |
+
0.020505599975585938,
|
302 |
+
0.020559871673583984,
|
303 |
+
0.020534271240234374,
|
304 |
+
0.020526079177856444,
|
305 |
+
0.020530176162719727,
|
306 |
+
0.020463615417480468,
|
307 |
+
0.020553728103637696,
|
308 |
+
0.020445184707641603,
|
309 |
+
0.020497407913208008,
|
310 |
+
0.020772863388061523,
|
311 |
+
0.021226495742797852,
|
312 |
+
0.021180416107177736,
|
313 |
+
0.020520959854125977,
|
314 |
+
0.020460544586181642,
|
315 |
+
0.020505599975585938,
|
316 |
+
0.020521984100341797,
|
317 |
+
0.020547584533691408,
|
318 |
+
0.020518911361694335,
|
319 |
+
0.02087321662902832,
|
320 |
+
0.02104319953918457,
|
321 |
+
0.020770816802978515,
|
322 |
+
0.020538368225097657,
|
323 |
+
0.02057318305969238,
|
324 |
+
0.020551679611206054,
|
325 |
+
0.020567039489746093,
|
326 |
+
0.020526079177856444,
|
327 |
+
0.020512767791748047,
|
328 |
+
0.020554752349853517,
|
329 |
+
0.02048307228088379,
|
330 |
+
0.02048204803466797,
|
331 |
+
0.020509695053100584,
|
332 |
+
0.020471872329711913,
|
333 |
+
0.020444095611572264,
|
334 |
+
0.02043084716796875,
|
335 |
+
0.020460544586181642,
|
336 |
+
0.02053222465515137,
|
337 |
+
0.02049228858947754,
|
338 |
+
0.0204400634765625,
|
339 |
+
0.020479999542236327,
|
340 |
+
0.02046771240234375,
|
341 |
+
0.020502527236938475,
|
342 |
+
0.02048409652709961,
|
343 |
+
0.020545536041259766,
|
344 |
+
0.02048307228088379,
|
345 |
+
0.02048307228088379,
|
346 |
+
0.020561920166015626,
|
347 |
+
0.020486143112182616,
|
348 |
+
0.02051584053039551,
|
349 |
+
0.02044927978515625,
|
350 |
+
0.021583871841430666,
|
351 |
+
0.021198848724365234,
|
352 |
+
0.020495359420776366,
|
353 |
+
0.020753408432006838,
|
354 |
+
0.021167104721069335,
|
355 |
+
0.020592639923095703,
|
356 |
+
0.020516864776611327,
|
357 |
+
0.020495359420776366,
|
358 |
+
0.02046463966369629,
|
359 |
+
0.020516864776611327,
|
360 |
+
0.020493312835693358,
|
361 |
+
0.020471807479858398,
|
362 |
+
0.02044927978515625,
|
363 |
+
0.021109760284423826,
|
364 |
+
0.02122035217285156,
|
365 |
+
0.021164031982421876,
|
366 |
+
0.02162483215332031,
|
367 |
+
0.02048204803466797,
|
368 |
+
0.02128895950317383,
|
369 |
+
0.021740543365478517,
|
370 |
+
0.021769216537475586,
|
371 |
+
0.021268512725830076,
|
372 |
+
0.021240800857543946,
|
373 |
+
0.020530176162719727,
|
374 |
+
0.020508672714233397,
|
375 |
+
0.02050764846801758,
|
376 |
+
0.02045337677001953,
|
377 |
+
0.020554752349853517,
|
378 |
+
0.020337663650512695,
|
379 |
+
0.020384767532348632,
|
380 |
+
0.02047590446472168,
|
381 |
+
0.02046668815612793,
|
382 |
+
0.020468736648559572,
|
383 |
+
0.021226495742797852,
|
384 |
+
0.021255168914794922,
|
385 |
+
0.020510719299316405,
|
386 |
+
0.020463615417480468,
|
387 |
+
0.020611072540283205,
|
388 |
+
0.021420032501220702,
|
389 |
+
0.02124799919128418,
|
390 |
+
0.021179391860961915,
|
391 |
+
0.020545536041259766,
|
392 |
+
0.0204769287109375,
|
393 |
+
0.020530176162719727,
|
394 |
+
0.020553728103637696,
|
395 |
+
0.020518911361694335,
|
396 |
+
0.020531200408935548,
|
397 |
+
0.020943872451782225,
|
398 |
+
0.0212992000579834,
|
399 |
+
0.021238784790039062,
|
400 |
+
0.02125312042236328,
|
401 |
+
0.021195775985717775,
|
402 |
+
0.021213184356689452,
|
403 |
+
0.021128192901611328,
|
404 |
+
0.02061516761779785,
|
405 |
+
0.021186559677124024,
|
406 |
+
0.021243904113769533,
|
407 |
+
0.021215232849121093,
|
408 |
+
0.021211135864257814,
|
409 |
+
0.021191680908203125,
|
410 |
+
0.021212160110473634,
|
411 |
+
0.021100608825683594,
|
412 |
+
0.021230527877807617,
|
413 |
+
0.0211712646484375,
|
414 |
+
0.02115065574645996,
|
415 |
+
0.020802560806274413,
|
416 |
+
0.02122137641906738,
|
417 |
+
0.02125721549987793,
|
418 |
+
0.021394432067871092,
|
419 |
+
0.021783552169799804,
|
420 |
+
0.02142720031738281,
|
421 |
+
0.021213184356689452,
|
422 |
+
0.02125312042236328,
|
423 |
+
0.020617216110229493,
|
424 |
+
0.020587520599365236,
|
425 |
+
0.020540416717529295,
|
426 |
+
0.020531200408935548,
|
427 |
+
0.020479999542236327,
|
428 |
+
0.020553728103637696,
|
429 |
+
0.020553728103637696,
|
430 |
+
0.020552703857421875,
|
431 |
+
0.020545536041259766,
|
432 |
+
0.020543487548828124,
|
433 |
+
0.02044927978515625,
|
434 |
+
0.020496383666992187,
|
435 |
+
0.020470783233642577,
|
436 |
+
0.020546560287475587,
|
437 |
+
0.020498464584350586,
|
438 |
+
0.020567007064819336,
|
439 |
+
0.020502527236938475,
|
440 |
+
0.020511743545532226,
|
441 |
+
0.020501504898071288,
|
442 |
+
0.020517887115478514,
|
443 |
+
0.020516864776611327,
|
444 |
+
0.020548608779907225,
|
445 |
+
0.020564992904663085,
|
446 |
+
0.020552703857421875,
|
447 |
+
0.02047283172607422,
|
448 |
+
0.020557823181152343,
|
449 |
+
0.020523008346557618,
|
450 |
+
0.020504575729370117,
|
451 |
+
0.020511743545532226,
|
452 |
+
0.020553728103637696,
|
453 |
+
0.020572160720825194,
|
454 |
+
0.020493343353271486,
|
455 |
+
0.02049737548828125,
|
456 |
+
0.020552703857421875,
|
457 |
+
0.020560895919799805,
|
458 |
+
0.02039091110229492,
|
459 |
+
0.020526079177856444,
|
460 |
+
0.020727807998657227,
|
461 |
+
0.020669439315795898,
|
462 |
+
0.020523008346557618
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.31540150711148
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
93 |
+
"accelerate_version": "0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": 1333.673984,
|
6 |
+
"max_global_vram": 6775.373824,
|
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.43676953125,
|
15 |
+
"mean": 11.43676953125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.43676953125,
|
18 |
+
"p90": 11.43676953125,
|
19 |
+
"p95": 11.43676953125,
|
20 |
+
"p99": 11.43676953125,
|
21 |
+
"values": [
|
22 |
+
11.43676953125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1835.728896,
|
33 |
+
"max_global_vram": 6796.345344,
|
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.04459542274475098,
|
42 |
+
"mean": 0.02229771137237549,
|
43 |
+
"stdev": 1.8832206726073636e-05,
|
44 |
+
"p50": 0.02229771137237549,
|
45 |
+
"p90": 0.022312777137756347,
|
46 |
+
"p95": 0.022314660358428957,
|
47 |
+
"p99": 0.022316166934967043,
|
48 |
+
"values": [
|
49 |
+
0.022278879165649416,
|
50 |
+
0.022316543579101563
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 313.9335639922338
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1862.868992,
|
64 |
+
"max_global_vram": 6800.539648,
|
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.257376953125,
|
73 |
+
"mean": 2.6286884765625,
|
74 |
+
"stdev": 0.008773925781250025,
|
75 |
+
"p50": 2.6286884765625,
|
76 |
+
"p90": 2.6357076171875002,
|
77 |
+
"p95": 2.636585009765625,
|
78 |
+
"p99": 2.637286923828125,
|
79 |
+
"values": [
|
80 |
+
2.61991455078125,
|
81 |
+
2.63746240234375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.313066052648495
|
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.257122823715212,
|
97 |
+
"mean": 0.020697333951634683,
|
98 |
+
"stdev": 0.0003283237564827691,
|
99 |
+
"p50": 0.020535295486450195,
|
100 |
+
"p90": 0.02123630771636963,
|
101 |
+
"p95": 0.021291468238830567,
|
102 |
+
"p99": 0.02175401975631714,
|
103 |
+
"values": [
|
104 |
+
0.020512767791748047,
|
105 |
+
0.020540416717529295,
|
106 |
+
0.020556800842285155,
|
107 |
+
0.02049843215942383,
|
108 |
+
0.020526079177856444,
|
109 |
+
0.020526079177856444,
|
110 |
+
0.020531200408935548,
|
111 |
+
0.020502527236938475,
|
112 |
+
0.020388864517211915,
|
113 |
+
0.020582399368286132,
|
114 |
+
0.020932607650756836,
|
115 |
+
0.021168127059936523,
|
116 |
+
0.020595712661743162,
|
117 |
+
0.020521984100341797,
|
118 |
+
0.020534271240234374,
|
119 |
+
0.020554752349853517,
|
120 |
+
0.020540416717529295,
|
121 |
+
0.02050048065185547,
|
122 |
+
0.020535295486450195,
|
123 |
+
0.02046771240234375,
|
124 |
+
0.020527103424072265,
|
125 |
+
0.020519935607910156,
|
126 |
+
0.02058137512207031,
|
127 |
+
0.02053222465515137,
|
128 |
+
0.02049945640563965,
|
129 |
+
0.02046668815612793,
|
130 |
+
0.02064384078979492,
|
131 |
+
0.021788671493530275,
|
132 |
+
0.021380096435546874,
|
133 |
+
0.021259263992309572,
|
134 |
+
0.021242879867553712,
|
135 |
+
0.021222400665283202,
|
136 |
+
0.021296127319335938,
|
137 |
+
0.02053222465515137,
|
138 |
+
0.020553728103637696,
|
139 |
+
0.020368383407592772,
|
140 |
+
0.02063871955871582,
|
141 |
+
0.020513792037963868,
|
142 |
+
0.020588544845581053,
|
143 |
+
0.020512767791748047,
|
144 |
+
0.020510719299316405,
|
145 |
+
0.020501504898071288,
|
146 |
+
0.020561920166015626,
|
147 |
+
0.02051481628417969,
|
148 |
+
0.020539392471313478,
|
149 |
+
0.02050361633300781,
|
150 |
+
0.0205731201171875,
|
151 |
+
0.02048204803466797,
|
152 |
+
0.02046668815612793,
|
153 |
+
0.02046463966369629,
|
154 |
+
0.02050662422180176,
|
155 |
+
0.020537376403808594,
|
156 |
+
0.02053424072265625,
|
157 |
+
0.02048409652709961,
|
158 |
+
0.020570112228393556,
|
159 |
+
0.02051584053039551,
|
160 |
+
0.020525056838989256,
|
161 |
+
0.020489215850830078,
|
162 |
+
0.020538368225097657,
|
163 |
+
0.020644863128662108,
|
164 |
+
0.020692991256713866,
|
165 |
+
0.021128192901611328,
|
166 |
+
0.020641792297363282,
|
167 |
+
0.020508672714233397,
|
168 |
+
0.020529151916503906,
|
169 |
+
0.021007360458374022,
|
170 |
+
0.021393407821655275,
|
171 |
+
0.021271551132202148,
|
172 |
+
0.021198848724365234,
|
173 |
+
0.021210111618041993,
|
174 |
+
0.02109951972961426,
|
175 |
+
0.020426752090454102,
|
176 |
+
0.020521984100341797,
|
177 |
+
0.020551679611206054,
|
178 |
+
0.020518911361694335,
|
179 |
+
0.020508672714233397,
|
180 |
+
0.020463615417480468,
|
181 |
+
0.020513792037963868,
|
182 |
+
0.02045644760131836,
|
183 |
+
0.020528127670288086,
|
184 |
+
0.020454399108886717,
|
185 |
+
0.020502527236938475,
|
186 |
+
0.02049945640563965,
|
187 |
+
0.02051481628417969,
|
188 |
+
0.02046566390991211,
|
189 |
+
0.020535295486450195,
|
190 |
+
0.020549631118774413,
|
191 |
+
0.020509695053100584,
|
192 |
+
0.020537343978881836,
|
193 |
+
0.020620288848876952,
|
194 |
+
0.020562944412231447,
|
195 |
+
0.020551679611206054,
|
196 |
+
0.020505599975585938,
|
197 |
+
0.020559871673583984,
|
198 |
+
0.020534271240234374,
|
199 |
+
0.020526079177856444,
|
200 |
+
0.020530176162719727,
|
201 |
+
0.020463615417480468,
|
202 |
+
0.020553728103637696,
|
203 |
+
0.020445184707641603,
|
204 |
+
0.020497407913208008,
|
205 |
+
0.020772863388061523,
|
206 |
+
0.021226495742797852,
|
207 |
+
0.021180416107177736,
|
208 |
+
0.020520959854125977,
|
209 |
+
0.020460544586181642,
|
210 |
+
0.020505599975585938,
|
211 |
+
0.020521984100341797,
|
212 |
+
0.020547584533691408,
|
213 |
+
0.020518911361694335,
|
214 |
+
0.02087321662902832,
|
215 |
+
0.02104319953918457,
|
216 |
+
0.020770816802978515,
|
217 |
+
0.020538368225097657,
|
218 |
+
0.02057318305969238,
|
219 |
+
0.020551679611206054,
|
220 |
+
0.020567039489746093,
|
221 |
+
0.020526079177856444,
|
222 |
+
0.020512767791748047,
|
223 |
+
0.020554752349853517,
|
224 |
+
0.02048307228088379,
|
225 |
+
0.02048204803466797,
|
226 |
+
0.020509695053100584,
|
227 |
+
0.020471872329711913,
|
228 |
+
0.020444095611572264,
|
229 |
+
0.02043084716796875,
|
230 |
+
0.020460544586181642,
|
231 |
+
0.02053222465515137,
|
232 |
+
0.02049228858947754,
|
233 |
+
0.0204400634765625,
|
234 |
+
0.020479999542236327,
|
235 |
+
0.02046771240234375,
|
236 |
+
0.020502527236938475,
|
237 |
+
0.02048409652709961,
|
238 |
+
0.020545536041259766,
|
239 |
+
0.02048307228088379,
|
240 |
+
0.02048307228088379,
|
241 |
+
0.020561920166015626,
|
242 |
+
0.020486143112182616,
|
243 |
+
0.02051584053039551,
|
244 |
+
0.02044927978515625,
|
245 |
+
0.021583871841430666,
|
246 |
+
0.021198848724365234,
|
247 |
+
0.020495359420776366,
|
248 |
+
0.020753408432006838,
|
249 |
+
0.021167104721069335,
|
250 |
+
0.020592639923095703,
|
251 |
+
0.020516864776611327,
|
252 |
+
0.020495359420776366,
|
253 |
+
0.02046463966369629,
|
254 |
+
0.020516864776611327,
|
255 |
+
0.020493312835693358,
|
256 |
+
0.020471807479858398,
|
257 |
+
0.02044927978515625,
|
258 |
+
0.021109760284423826,
|
259 |
+
0.02122035217285156,
|
260 |
+
0.021164031982421876,
|
261 |
+
0.02162483215332031,
|
262 |
+
0.02048204803466797,
|
263 |
+
0.02128895950317383,
|
264 |
+
0.021740543365478517,
|
265 |
+
0.021769216537475586,
|
266 |
+
0.021268512725830076,
|
267 |
+
0.021240800857543946,
|
268 |
+
0.020530176162719727,
|
269 |
+
0.020508672714233397,
|
270 |
+
0.02050764846801758,
|
271 |
+
0.02045337677001953,
|
272 |
+
0.020554752349853517,
|
273 |
+
0.020337663650512695,
|
274 |
+
0.020384767532348632,
|
275 |
+
0.02047590446472168,
|
276 |
+
0.02046668815612793,
|
277 |
+
0.020468736648559572,
|
278 |
+
0.021226495742797852,
|
279 |
+
0.021255168914794922,
|
280 |
+
0.020510719299316405,
|
281 |
+
0.020463615417480468,
|
282 |
+
0.020611072540283205,
|
283 |
+
0.021420032501220702,
|
284 |
+
0.02124799919128418,
|
285 |
+
0.021179391860961915,
|
286 |
+
0.020545536041259766,
|
287 |
+
0.0204769287109375,
|
288 |
+
0.020530176162719727,
|
289 |
+
0.020553728103637696,
|
290 |
+
0.020518911361694335,
|
291 |
+
0.020531200408935548,
|
292 |
+
0.020943872451782225,
|
293 |
+
0.0212992000579834,
|
294 |
+
0.021238784790039062,
|
295 |
+
0.02125312042236328,
|
296 |
+
0.021195775985717775,
|
297 |
+
0.021213184356689452,
|
298 |
+
0.021128192901611328,
|
299 |
+
0.02061516761779785,
|
300 |
+
0.021186559677124024,
|
301 |
+
0.021243904113769533,
|
302 |
+
0.021215232849121093,
|
303 |
+
0.021211135864257814,
|
304 |
+
0.021191680908203125,
|
305 |
+
0.021212160110473634,
|
306 |
+
0.021100608825683594,
|
307 |
+
0.021230527877807617,
|
308 |
+
0.0211712646484375,
|
309 |
+
0.02115065574645996,
|
310 |
+
0.020802560806274413,
|
311 |
+
0.02122137641906738,
|
312 |
+
0.02125721549987793,
|
313 |
+
0.021394432067871092,
|
314 |
+
0.021783552169799804,
|
315 |
+
0.02142720031738281,
|
316 |
+
0.021213184356689452,
|
317 |
+
0.02125312042236328,
|
318 |
+
0.020617216110229493,
|
319 |
+
0.020587520599365236,
|
320 |
+
0.020540416717529295,
|
321 |
+
0.020531200408935548,
|
322 |
+
0.020479999542236327,
|
323 |
+
0.020553728103637696,
|
324 |
+
0.020553728103637696,
|
325 |
+
0.020552703857421875,
|
326 |
+
0.020545536041259766,
|
327 |
+
0.020543487548828124,
|
328 |
+
0.02044927978515625,
|
329 |
+
0.020496383666992187,
|
330 |
+
0.020470783233642577,
|
331 |
+
0.020546560287475587,
|
332 |
+
0.020498464584350586,
|
333 |
+
0.020567007064819336,
|
334 |
+
0.020502527236938475,
|
335 |
+
0.020511743545532226,
|
336 |
+
0.020501504898071288,
|
337 |
+
0.020517887115478514,
|
338 |
+
0.020516864776611327,
|
339 |
+
0.020548608779907225,
|
340 |
+
0.020564992904663085,
|
341 |
+
0.020552703857421875,
|
342 |
+
0.02047283172607422,
|
343 |
+
0.020557823181152343,
|
344 |
+
0.020523008346557618,
|
345 |
+
0.020504575729370117,
|
346 |
+
0.020511743545532226,
|
347 |
+
0.020553728103637696,
|
348 |
+
0.020572160720825194,
|
349 |
+
0.020493343353271486,
|
350 |
+
0.02049737548828125,
|
351 |
+
0.020552703857421875,
|
352 |
+
0.020560895919799805,
|
353 |
+
0.02039091110229492,
|
354 |
+
0.020526079177856444,
|
355 |
+
0.020727807998657227,
|
356 |
+
0.020669439315795898,
|
357 |
+
0.020523008346557618
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.31540150711148
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02229771137237549,
|
7 |
+
"prefill.throughput.value": 313.9335639922338,
|
8 |
+
"decode.latency.mean": 2.6286884765625,
|
9 |
+
"decode.throughput.value": 48.313066052648495,
|
10 |
+
"per_token.latency.mean": 0.020697333951634683,
|
11 |
+
"per_token.throughput.value": 48.31540150711148
|
12 |
+
}
|
13 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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: f745e7d3f902601686b83c7cce2660c2a94509f0
|
84 |
+
accelerate_version: 0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0
|
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/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0
|
88 |
+
- hydra.run.dir=_benchmark/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0/${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/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
94 |
+
"accelerate_version": "0.35.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": 1353.822208,
|
111 |
+
"max_global_vram": 6775.373824,
|
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.31964453125,
|
120 |
+
"mean": 12.31964453125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.31964453125,
|
123 |
+
"p90": 12.31964453125,
|
124 |
+
"p95": 12.31964453125,
|
125 |
+
"p99": 12.31964453125,
|
126 |
+
"values": [
|
127 |
+
12.31964453125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1922.895872,
|
138 |
+
"max_global_vram": 6796.345344,
|
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.02845859146118164,
|
147 |
+
"mean": 0.01422929573059082,
|
148 |
+
"stdev": 9.86719131469728e-05,
|
149 |
+
"p50": 0.01422929573059082,
|
150 |
+
"p90": 0.014308233261108399,
|
151 |
+
"p95": 0.014318100452423096,
|
152 |
+
"p99": 0.014325994205474854,
|
153 |
+
"values": [
|
154 |
+
0.014130623817443847,
|
155 |
+
0.014327967643737793
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 491.9428292540906
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2095.980544,
|
169 |
+
"max_global_vram": 6060.244992,
|
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.12922314453125,
|
178 |
+
"mean": 1.564611572265625,
|
179 |
+
"stdev": 0.00022778320312499822,
|
180 |
+
"p50": 1.564611572265625,
|
181 |
+
"p90": 1.564793798828125,
|
182 |
+
"p95": 1.5648165771484375,
|
183 |
+
"p99": 1.5648347998046876,
|
184 |
+
"values": [
|
185 |
+
1.56483935546875,
|
186 |
+
1.5643837890625
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.17030594123659
|
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.128944636344909,
|
202 |
+
"mean": 0.01231867967064925,
|
203 |
+
"stdev": 9.868414454812689e-05,
|
204 |
+
"p50": 0.012294143676757812,
|
205 |
+
"p90": 0.012333158206939697,
|
206 |
+
"p95": 0.012415436697006225,
|
207 |
+
"p99": 0.012869986734390259,
|
208 |
+
"values": [
|
209 |
+
0.012420096397399903,
|
210 |
+
0.012290047645568849,
|
211 |
+
0.012295167922973632,
|
212 |
+
0.012360704421997071,
|
213 |
+
0.012317695617675782,
|
214 |
+
0.012289024353027344,
|
215 |
+
0.012286975860595703,
|
216 |
+
0.012285951614379884,
|
217 |
+
0.012327936172485352,
|
218 |
+
0.012283904075622559,
|
219 |
+
0.012286975860595703,
|
220 |
+
0.012288000106811523,
|
221 |
+
0.01228492832183838,
|
222 |
+
0.01229312038421631,
|
223 |
+
0.012281855583190919,
|
224 |
+
0.012296192169189453,
|
225 |
+
0.012296192169189453,
|
226 |
+
0.012286975860595703,
|
227 |
+
0.012310527801513671,
|
228 |
+
0.012289024353027344,
|
229 |
+
0.012891136169433593,
|
230 |
+
0.012786687850952149,
|
231 |
+
0.012303359985351562,
|
232 |
+
0.012298239707946777,
|
233 |
+
0.012294143676757812,
|
234 |
+
0.012299263954162597,
|
235 |
+
0.012302335739135742,
|
236 |
+
0.012296192169189453,
|
237 |
+
0.012292096138000488,
|
238 |
+
0.012301312446594239,
|
239 |
+
0.012282879829406738,
|
240 |
+
0.012326911926269531,
|
241 |
+
0.012298303604125977,
|
242 |
+
0.01228384017944336,
|
243 |
+
0.012282879829406738,
|
244 |
+
0.01228492832183838,
|
245 |
+
0.012292096138000488,
|
246 |
+
0.012285951614379884,
|
247 |
+
0.012280832290649414,
|
248 |
+
0.012290047645568849,
|
249 |
+
0.012329983711242675,
|
250 |
+
0.012290047645568849,
|
251 |
+
0.01228492832183838,
|
252 |
+
0.012286975860595703,
|
253 |
+
0.012279808044433594,
|
254 |
+
0.012319744110107422,
|
255 |
+
0.012297216415405274,
|
256 |
+
0.012291071891784668,
|
257 |
+
0.012291071891784668,
|
258 |
+
0.012283904075622559,
|
259 |
+
0.012299263954162597,
|
260 |
+
0.012299263954162597,
|
261 |
+
0.012294143676757812,
|
262 |
+
0.012289024353027344,
|
263 |
+
0.012289024353027344,
|
264 |
+
0.012297216415405274,
|
265 |
+
0.012339200019836426,
|
266 |
+
0.012301312446594239,
|
267 |
+
0.012313599586486817,
|
268 |
+
0.012320768356323243,
|
269 |
+
0.012282879829406738,
|
270 |
+
0.012299263954162597,
|
271 |
+
0.012302335739135742,
|
272 |
+
0.01229312038421631,
|
273 |
+
0.012670975685119629,
|
274 |
+
0.012307456016540527,
|
275 |
+
0.012290047645568849,
|
276 |
+
0.01228492832183838,
|
277 |
+
0.012281855583190919,
|
278 |
+
0.012281855583190919,
|
279 |
+
0.012323840141296387,
|
280 |
+
0.012310527801513671,
|
281 |
+
0.01227673625946045,
|
282 |
+
0.012290047645568849,
|
283 |
+
0.012290047645568849,
|
284 |
+
0.012285951614379884,
|
285 |
+
0.012311552047729492,
|
286 |
+
0.012297216415405274,
|
287 |
+
0.012292096138000488,
|
288 |
+
0.012289024353027344,
|
289 |
+
0.012288000106811523,
|
290 |
+
0.012338175773620605,
|
291 |
+
0.012305407524108887,
|
292 |
+
0.012292096138000488,
|
293 |
+
0.012386303901672363,
|
294 |
+
0.012310527801513671,
|
295 |
+
0.012317695617675782,
|
296 |
+
0.012294143676757812,
|
297 |
+
0.012297216415405274,
|
298 |
+
0.012301312446594239,
|
299 |
+
0.01228492832183838,
|
300 |
+
0.012300288200378418,
|
301 |
+
0.012290047645568849,
|
302 |
+
0.012304384231567383,
|
303 |
+
0.012292096138000488,
|
304 |
+
0.012285951614379884,
|
305 |
+
0.012288000106811523,
|
306 |
+
0.012312576293945313,
|
307 |
+
0.012338175773620605,
|
308 |
+
0.012297216415405274,
|
309 |
+
0.012291071891784668,
|
310 |
+
0.012285951614379884,
|
311 |
+
0.012301312446594239,
|
312 |
+
0.012294143676757812,
|
313 |
+
0.012851231575012207,
|
314 |
+
0.012842975616455077,
|
315 |
+
0.012336128234863282,
|
316 |
+
0.012328960418701173,
|
317 |
+
0.01235148811340332,
|
318 |
+
0.012302335739135742,
|
319 |
+
0.012302335739135742,
|
320 |
+
0.012289024353027344,
|
321 |
+
0.01228492832183838,
|
322 |
+
0.01227673625946045,
|
323 |
+
0.012320768356323243,
|
324 |
+
0.012302335739135742,
|
325 |
+
0.01228492832183838,
|
326 |
+
0.012285951614379884,
|
327 |
+
0.01227673625946045,
|
328 |
+
0.012278783798217773,
|
329 |
+
0.012355584144592285,
|
330 |
+
0.012329983711242675,
|
331 |
+
0.012305407524108887,
|
332 |
+
0.012292096138000488,
|
333 |
+
0.012289024353027344,
|
334 |
+
0.012305407524108887,
|
335 |
+
0.012306431770324706,
|
336 |
+
0.012313599586486817,
|
337 |
+
0.012915712356567383,
|
338 |
+
0.012621824264526366,
|
339 |
+
0.012523520469665527,
|
340 |
+
0.012426239967346191,
|
341 |
+
0.012319744110107422,
|
342 |
+
0.012337151527404786,
|
343 |
+
0.012346367835998535,
|
344 |
+
0.012300288200378418,
|
345 |
+
0.012291071891784668,
|
346 |
+
0.012278783798217773,
|
347 |
+
0.012281855583190919,
|
348 |
+
0.012295167922973632,
|
349 |
+
0.012283904075622559,
|
350 |
+
0.012280832290649414,
|
351 |
+
0.012277759552001954,
|
352 |
+
0.01228492832183838,
|
353 |
+
0.012304384231567383,
|
354 |
+
0.01229312038421631,
|
355 |
+
0.012277759552001954,
|
356 |
+
0.012305407524108887,
|
357 |
+
0.012309503555297852,
|
358 |
+
0.012453887939453125,
|
359 |
+
0.012299263954162597,
|
360 |
+
0.012283904075622559,
|
361 |
+
0.012285951614379884,
|
362 |
+
0.012291071891784668,
|
363 |
+
0.012289024353027344,
|
364 |
+
0.012300288200378418,
|
365 |
+
0.012302335739135742,
|
366 |
+
0.012285951614379884,
|
367 |
+
0.012412927627563476,
|
368 |
+
0.012299263954162597,
|
369 |
+
0.012338175773620605,
|
370 |
+
0.01233407974243164,
|
371 |
+
0.012294143676757812,
|
372 |
+
0.012282879829406738,
|
373 |
+
0.012283904075622559,
|
374 |
+
0.012301312446594239,
|
375 |
+
0.012296192169189453,
|
376 |
+
0.01229312038421631,
|
377 |
+
0.01229312038421631,
|
378 |
+
0.012296192169189453,
|
379 |
+
0.01228492832183838,
|
380 |
+
0.01229312038421631,
|
381 |
+
0.012278783798217773,
|
382 |
+
0.012326911926269531,
|
383 |
+
0.012305407524108887,
|
384 |
+
0.012291071891784668,
|
385 |
+
0.012295167922973632,
|
386 |
+
0.012304384231567383,
|
387 |
+
0.012299263954162597,
|
388 |
+
0.012310527801513671,
|
389 |
+
0.012286975860595703,
|
390 |
+
0.012291071891784668,
|
391 |
+
0.012280832290649414,
|
392 |
+
0.012278783798217773,
|
393 |
+
0.012290047645568849,
|
394 |
+
0.012304384231567383,
|
395 |
+
0.012322815895080566,
|
396 |
+
0.012920831680297852,
|
397 |
+
0.012732416152954102,
|
398 |
+
0.012307456016540527,
|
399 |
+
0.012291071891784668,
|
400 |
+
0.012309503555297852,
|
401 |
+
0.012288000106811523,
|
402 |
+
0.012286975860595703,
|
403 |
+
0.012288000106811523,
|
404 |
+
0.012289024353027344,
|
405 |
+
0.012298239707946777,
|
406 |
+
0.012313599586486817,
|
407 |
+
0.012294143676757812,
|
408 |
+
0.012283904075622559,
|
409 |
+
0.012274687767028808,
|
410 |
+
0.012321791648864745,
|
411 |
+
0.012309503555297852,
|
412 |
+
0.01228492832183838,
|
413 |
+
0.01229312038421631,
|
414 |
+
0.012283904075622559,
|
415 |
+
0.012292096138000488,
|
416 |
+
0.012307456016540527,
|
417 |
+
0.012289024353027344,
|
418 |
+
0.01228492832183838,
|
419 |
+
0.012307456016540527,
|
420 |
+
0.012309503555297852,
|
421 |
+
0.012315648078918457,
|
422 |
+
0.012283904075622559,
|
423 |
+
0.012291071891784668,
|
424 |
+
0.012292096138000488,
|
425 |
+
0.012294143676757812,
|
426 |
+
0.012291071891784668,
|
427 |
+
0.012286975860595703,
|
428 |
+
0.012290047645568849,
|
429 |
+
0.01228492832183838,
|
430 |
+
0.012275712013244629,
|
431 |
+
0.012290047645568849,
|
432 |
+
0.012312576293945313,
|
433 |
+
0.012319744110107422,
|
434 |
+
0.012286975860595703,
|
435 |
+
0.012289024353027344,
|
436 |
+
0.012306431770324706,
|
437 |
+
0.012304384231567383,
|
438 |
+
0.012289024353027344,
|
439 |
+
0.012296192169189453,
|
440 |
+
0.012289024353027344,
|
441 |
+
0.012289024353027344,
|
442 |
+
0.012291071891784668,
|
443 |
+
0.012282879829406738,
|
444 |
+
0.012291071891784668,
|
445 |
+
0.012277759552001954,
|
446 |
+
0.012300288200378418,
|
447 |
+
0.012331007957458496,
|
448 |
+
0.012296192169189453,
|
449 |
+
0.012288000106811523,
|
450 |
+
0.012295167922973632,
|
451 |
+
0.012286975860595703,
|
452 |
+
0.012304384231567383,
|
453 |
+
0.012281855583190919,
|
454 |
+
0.012283904075622559,
|
455 |
+
0.012309503555297852,
|
456 |
+
0.012303359985351562,
|
457 |
+
0.012292096138000488,
|
458 |
+
0.012300288200378418,
|
459 |
+
0.012275712013244629,
|
460 |
+
0.012310527801513671,
|
461 |
+
0.012283904075622559,
|
462 |
+
0.012288000106811523
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.17753093155116
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
93 |
+
"accelerate_version": "0.35.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-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": 1353.822208,
|
6 |
+
"max_global_vram": 6775.373824,
|
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.31964453125,
|
15 |
+
"mean": 12.31964453125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.31964453125,
|
18 |
+
"p90": 12.31964453125,
|
19 |
+
"p95": 12.31964453125,
|
20 |
+
"p99": 12.31964453125,
|
21 |
+
"values": [
|
22 |
+
12.31964453125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1922.895872,
|
33 |
+
"max_global_vram": 6796.345344,
|
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.02845859146118164,
|
42 |
+
"mean": 0.01422929573059082,
|
43 |
+
"stdev": 9.86719131469728e-05,
|
44 |
+
"p50": 0.01422929573059082,
|
45 |
+
"p90": 0.014308233261108399,
|
46 |
+
"p95": 0.014318100452423096,
|
47 |
+
"p99": 0.014325994205474854,
|
48 |
+
"values": [
|
49 |
+
0.014130623817443847,
|
50 |
+
0.014327967643737793
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 491.9428292540906
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2095.980544,
|
64 |
+
"max_global_vram": 6060.244992,
|
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.12922314453125,
|
73 |
+
"mean": 1.564611572265625,
|
74 |
+
"stdev": 0.00022778320312499822,
|
75 |
+
"p50": 1.564611572265625,
|
76 |
+
"p90": 1.564793798828125,
|
77 |
+
"p95": 1.5648165771484375,
|
78 |
+
"p99": 1.5648347998046876,
|
79 |
+
"values": [
|
80 |
+
1.56483935546875,
|
81 |
+
1.5643837890625
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.17030594123659
|
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.128944636344909,
|
97 |
+
"mean": 0.01231867967064925,
|
98 |
+
"stdev": 9.868414454812689e-05,
|
99 |
+
"p50": 0.012294143676757812,
|
100 |
+
"p90": 0.012333158206939697,
|
101 |
+
"p95": 0.012415436697006225,
|
102 |
+
"p99": 0.012869986734390259,
|
103 |
+
"values": [
|
104 |
+
0.012420096397399903,
|
105 |
+
0.012290047645568849,
|
106 |
+
0.012295167922973632,
|
107 |
+
0.012360704421997071,
|
108 |
+
0.012317695617675782,
|
109 |
+
0.012289024353027344,
|
110 |
+
0.012286975860595703,
|
111 |
+
0.012285951614379884,
|
112 |
+
0.012327936172485352,
|
113 |
+
0.012283904075622559,
|
114 |
+
0.012286975860595703,
|
115 |
+
0.012288000106811523,
|
116 |
+
0.01228492832183838,
|
117 |
+
0.01229312038421631,
|
118 |
+
0.012281855583190919,
|
119 |
+
0.012296192169189453,
|
120 |
+
0.012296192169189453,
|
121 |
+
0.012286975860595703,
|
122 |
+
0.012310527801513671,
|
123 |
+
0.012289024353027344,
|
124 |
+
0.012891136169433593,
|
125 |
+
0.012786687850952149,
|
126 |
+
0.012303359985351562,
|
127 |
+
0.012298239707946777,
|
128 |
+
0.012294143676757812,
|
129 |
+
0.012299263954162597,
|
130 |
+
0.012302335739135742,
|
131 |
+
0.012296192169189453,
|
132 |
+
0.012292096138000488,
|
133 |
+
0.012301312446594239,
|
134 |
+
0.012282879829406738,
|
135 |
+
0.012326911926269531,
|
136 |
+
0.012298303604125977,
|
137 |
+
0.01228384017944336,
|
138 |
+
0.012282879829406738,
|
139 |
+
0.01228492832183838,
|
140 |
+
0.012292096138000488,
|
141 |
+
0.012285951614379884,
|
142 |
+
0.012280832290649414,
|
143 |
+
0.012290047645568849,
|
144 |
+
0.012329983711242675,
|
145 |
+
0.012290047645568849,
|
146 |
+
0.01228492832183838,
|
147 |
+
0.012286975860595703,
|
148 |
+
0.012279808044433594,
|
149 |
+
0.012319744110107422,
|
150 |
+
0.012297216415405274,
|
151 |
+
0.012291071891784668,
|
152 |
+
0.012291071891784668,
|
153 |
+
0.012283904075622559,
|
154 |
+
0.012299263954162597,
|
155 |
+
0.012299263954162597,
|
156 |
+
0.012294143676757812,
|
157 |
+
0.012289024353027344,
|
158 |
+
0.012289024353027344,
|
159 |
+
0.012297216415405274,
|
160 |
+
0.012339200019836426,
|
161 |
+
0.012301312446594239,
|
162 |
+
0.012313599586486817,
|
163 |
+
0.012320768356323243,
|
164 |
+
0.012282879829406738,
|
165 |
+
0.012299263954162597,
|
166 |
+
0.012302335739135742,
|
167 |
+
0.01229312038421631,
|
168 |
+
0.012670975685119629,
|
169 |
+
0.012307456016540527,
|
170 |
+
0.012290047645568849,
|
171 |
+
0.01228492832183838,
|
172 |
+
0.012281855583190919,
|
173 |
+
0.012281855583190919,
|
174 |
+
0.012323840141296387,
|
175 |
+
0.012310527801513671,
|
176 |
+
0.01227673625946045,
|
177 |
+
0.012290047645568849,
|
178 |
+
0.012290047645568849,
|
179 |
+
0.012285951614379884,
|
180 |
+
0.012311552047729492,
|
181 |
+
0.012297216415405274,
|
182 |
+
0.012292096138000488,
|
183 |
+
0.012289024353027344,
|
184 |
+
0.012288000106811523,
|
185 |
+
0.012338175773620605,
|
186 |
+
0.012305407524108887,
|
187 |
+
0.012292096138000488,
|
188 |
+
0.012386303901672363,
|
189 |
+
0.012310527801513671,
|
190 |
+
0.012317695617675782,
|
191 |
+
0.012294143676757812,
|
192 |
+
0.012297216415405274,
|
193 |
+
0.012301312446594239,
|
194 |
+
0.01228492832183838,
|
195 |
+
0.012300288200378418,
|
196 |
+
0.012290047645568849,
|
197 |
+
0.012304384231567383,
|
198 |
+
0.012292096138000488,
|
199 |
+
0.012285951614379884,
|
200 |
+
0.012288000106811523,
|
201 |
+
0.012312576293945313,
|
202 |
+
0.012338175773620605,
|
203 |
+
0.012297216415405274,
|
204 |
+
0.012291071891784668,
|
205 |
+
0.012285951614379884,
|
206 |
+
0.012301312446594239,
|
207 |
+
0.012294143676757812,
|
208 |
+
0.012851231575012207,
|
209 |
+
0.012842975616455077,
|
210 |
+
0.012336128234863282,
|
211 |
+
0.012328960418701173,
|
212 |
+
0.01235148811340332,
|
213 |
+
0.012302335739135742,
|
214 |
+
0.012302335739135742,
|
215 |
+
0.012289024353027344,
|
216 |
+
0.01228492832183838,
|
217 |
+
0.01227673625946045,
|
218 |
+
0.012320768356323243,
|
219 |
+
0.012302335739135742,
|
220 |
+
0.01228492832183838,
|
221 |
+
0.012285951614379884,
|
222 |
+
0.01227673625946045,
|
223 |
+
0.012278783798217773,
|
224 |
+
0.012355584144592285,
|
225 |
+
0.012329983711242675,
|
226 |
+
0.012305407524108887,
|
227 |
+
0.012292096138000488,
|
228 |
+
0.012289024353027344,
|
229 |
+
0.012305407524108887,
|
230 |
+
0.012306431770324706,
|
231 |
+
0.012313599586486817,
|
232 |
+
0.012915712356567383,
|
233 |
+
0.012621824264526366,
|
234 |
+
0.012523520469665527,
|
235 |
+
0.012426239967346191,
|
236 |
+
0.012319744110107422,
|
237 |
+
0.012337151527404786,
|
238 |
+
0.012346367835998535,
|
239 |
+
0.012300288200378418,
|
240 |
+
0.012291071891784668,
|
241 |
+
0.012278783798217773,
|
242 |
+
0.012281855583190919,
|
243 |
+
0.012295167922973632,
|
244 |
+
0.012283904075622559,
|
245 |
+
0.012280832290649414,
|
246 |
+
0.012277759552001954,
|
247 |
+
0.01228492832183838,
|
248 |
+
0.012304384231567383,
|
249 |
+
0.01229312038421631,
|
250 |
+
0.012277759552001954,
|
251 |
+
0.012305407524108887,
|
252 |
+
0.012309503555297852,
|
253 |
+
0.012453887939453125,
|
254 |
+
0.012299263954162597,
|
255 |
+
0.012283904075622559,
|
256 |
+
0.012285951614379884,
|
257 |
+
0.012291071891784668,
|
258 |
+
0.012289024353027344,
|
259 |
+
0.012300288200378418,
|
260 |
+
0.012302335739135742,
|
261 |
+
0.012285951614379884,
|
262 |
+
0.012412927627563476,
|
263 |
+
0.012299263954162597,
|
264 |
+
0.012338175773620605,
|
265 |
+
0.01233407974243164,
|
266 |
+
0.012294143676757812,
|
267 |
+
0.012282879829406738,
|
268 |
+
0.012283904075622559,
|
269 |
+
0.012301312446594239,
|
270 |
+
0.012296192169189453,
|
271 |
+
0.01229312038421631,
|
272 |
+
0.01229312038421631,
|
273 |
+
0.012296192169189453,
|
274 |
+
0.01228492832183838,
|
275 |
+
0.01229312038421631,
|
276 |
+
0.012278783798217773,
|
277 |
+
0.012326911926269531,
|
278 |
+
0.012305407524108887,
|
279 |
+
0.012291071891784668,
|
280 |
+
0.012295167922973632,
|
281 |
+
0.012304384231567383,
|
282 |
+
0.012299263954162597,
|
283 |
+
0.012310527801513671,
|
284 |
+
0.012286975860595703,
|
285 |
+
0.012291071891784668,
|
286 |
+
0.012280832290649414,
|
287 |
+
0.012278783798217773,
|
288 |
+
0.012290047645568849,
|
289 |
+
0.012304384231567383,
|
290 |
+
0.012322815895080566,
|
291 |
+
0.012920831680297852,
|
292 |
+
0.012732416152954102,
|
293 |
+
0.012307456016540527,
|
294 |
+
0.012291071891784668,
|
295 |
+
0.012309503555297852,
|
296 |
+
0.012288000106811523,
|
297 |
+
0.012286975860595703,
|
298 |
+
0.012288000106811523,
|
299 |
+
0.012289024353027344,
|
300 |
+
0.012298239707946777,
|
301 |
+
0.012313599586486817,
|
302 |
+
0.012294143676757812,
|
303 |
+
0.012283904075622559,
|
304 |
+
0.012274687767028808,
|
305 |
+
0.012321791648864745,
|
306 |
+
0.012309503555297852,
|
307 |
+
0.01228492832183838,
|
308 |
+
0.01229312038421631,
|
309 |
+
0.012283904075622559,
|
310 |
+
0.012292096138000488,
|
311 |
+
0.012307456016540527,
|
312 |
+
0.012289024353027344,
|
313 |
+
0.01228492832183838,
|
314 |
+
0.012307456016540527,
|
315 |
+
0.012309503555297852,
|
316 |
+
0.012315648078918457,
|
317 |
+
0.012283904075622559,
|
318 |
+
0.012291071891784668,
|
319 |
+
0.012292096138000488,
|
320 |
+
0.012294143676757812,
|
321 |
+
0.012291071891784668,
|
322 |
+
0.012286975860595703,
|
323 |
+
0.012290047645568849,
|
324 |
+
0.01228492832183838,
|
325 |
+
0.012275712013244629,
|
326 |
+
0.012290047645568849,
|
327 |
+
0.012312576293945313,
|
328 |
+
0.012319744110107422,
|
329 |
+
0.012286975860595703,
|
330 |
+
0.012289024353027344,
|
331 |
+
0.012306431770324706,
|
332 |
+
0.012304384231567383,
|
333 |
+
0.012289024353027344,
|
334 |
+
0.012296192169189453,
|
335 |
+
0.012289024353027344,
|
336 |
+
0.012289024353027344,
|
337 |
+
0.012291071891784668,
|
338 |
+
0.012282879829406738,
|
339 |
+
0.012291071891784668,
|
340 |
+
0.012277759552001954,
|
341 |
+
0.012300288200378418,
|
342 |
+
0.012331007957458496,
|
343 |
+
0.012296192169189453,
|
344 |
+
0.012288000106811523,
|
345 |
+
0.012295167922973632,
|
346 |
+
0.012286975860595703,
|
347 |
+
0.012304384231567383,
|
348 |
+
0.012281855583190919,
|
349 |
+
0.012283904075622559,
|
350 |
+
0.012309503555297852,
|
351 |
+
0.012303359985351562,
|
352 |
+
0.012292096138000488,
|
353 |
+
0.012300288200378418,
|
354 |
+
0.012275712013244629,
|
355 |
+
0.012310527801513671,
|
356 |
+
0.012283904075622559,
|
357 |
+
0.012288000106811523
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.17753093155116
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01422929573059082,
|
7 |
+
"prefill.throughput.value": 491.9428292540906,
|
8 |
+
"decode.latency.mean": 1.564611572265625,
|
9 |
+
"decode.throughput.value": 81.17030594123659,
|
10 |
+
"per_token.latency.mean": 0.01231867967064925,
|
11 |
+
"per_token.throughput.value": 81.17753093155116
|
12 |
+
}
|
13 |
+
}
|
2024-09-10/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpzfnncevl/commit=f745e7d3f902601686b83c7cce2660c2a94509f0
|
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/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0
|
88 |
+
- hydra.run.dir=_benchmark/tmpzfnncevl/commit\=f745e7d3f902601686b83c7cce2660c2a94509f0/${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-212.873.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: f745e7d3f902601686b83c7cce2660c2a94509f0
|
225 |
+
accelerate_version: 0.35.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-09-10/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.021567856788635254,
|
8 |
+
"prefill.throughput.value": 324.5570511989169,
|
9 |
+
"decode.latency.mean": 2.60877099609375,
|
10 |
+
"decode.throughput.value": 48.68192730989565,
|
11 |
+
"per_token.latency.mean": 0.02054022249086635,
|
12 |
+
"per_token.throughput.value": 48.684964364172366
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02229771137237549,
|
21 |
+
"prefill.throughput.value": 313.9335639922338,
|
22 |
+
"decode.latency.mean": 2.6286884765625,
|
23 |
+
"decode.throughput.value": 48.313066052648495,
|
24 |
+
"per_token.latency.mean": 0.020697333951634683,
|
25 |
+
"per_token.throughput.value": 48.31540150711148
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "f745e7d3f902601686b83c7cce2660c2a94509f0",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.01422929573059082,
|
34 |
+
"prefill.throughput.value": 491.9428292540906,
|
35 |
+
"decode.latency.mean": 1.564611572265625,
|
36 |
+
"decode.throughput.value": 81.17030594123659,
|
37 |
+
"per_token.latency.mean": 0.01231867967064925,
|
38 |
+
"per_token.throughput.value": 81.17753093155116
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-09-10/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"f745e7d3f902601686b83c7cce2660c2a94509f0": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021567856788635254,
|
7 |
+
"prefill.throughput.value": 324.5570511989169,
|
8 |
+
"decode.latency.mean": 2.60877099609375,
|
9 |
+
"decode.throughput.value": 48.68192730989565,
|
10 |
+
"per_token.latency.mean": 0.02054022249086635,
|
11 |
+
"per_token.throughput.value": 48.684964364172366
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"f745e7d3f902601686b83c7cce2660c2a94509f0": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02229771137237549,
|
19 |
+
"prefill.throughput.value": 313.9335639922338,
|
20 |
+
"decode.latency.mean": 2.6286884765625,
|
21 |
+
"decode.throughput.value": 48.313066052648495,
|
22 |
+
"per_token.latency.mean": 0.020697333951634683,
|
23 |
+
"per_token.throughput.value": 48.31540150711148
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"f745e7d3f902601686b83c7cce2660c2a94509f0": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.01422929573059082,
|
31 |
+
"prefill.throughput.value": 491.9428292540906,
|
32 |
+
"decode.latency.mean": 1.564611572265625,
|
33 |
+
"decode.throughput.value": 81.17030594123659,
|
34 |
+
"per_token.latency.mean": 0.01231867967064925,
|
35 |
+
"per_token.throughput.value": 81.17753093155116
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|