hf-transformers-bot
commited on
Commit
•
993304e
1
Parent(s):
c89d585
Upload folder using huggingface_hub
Browse files- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/multirun.yaml +234 -0
- 2024-09-03/summaries.json +41 -0
- 2024-09-03/summary.json +40 -0
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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: cff06aac6fad28019930be03f5d467055bf62177
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177
|
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/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177
|
88 |
+
- hydra.run.dir=_benchmark/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177/${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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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": 1320.656896,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.44500390625,
|
120 |
+
"mean": 11.44500390625,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.44500390625,
|
123 |
+
"p90": 11.44500390625,
|
124 |
+
"p95": 11.44500390625,
|
125 |
+
"p99": 11.44500390625,
|
126 |
+
"values": [
|
127 |
+
11.44500390625
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1730.31424,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.431872
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04243907165527344,
|
147 |
+
"mean": 0.02121953582763672,
|
148 |
+
"stdev": 0.0006533279418945315,
|
149 |
+
"p50": 0.02121953582763672,
|
150 |
+
"p90": 0.021742198181152344,
|
151 |
+
"p95": 0.0218075309753418,
|
152 |
+
"p99": 0.02185979721069336,
|
153 |
+
"values": [
|
154 |
+
0.020566207885742187,
|
155 |
+
0.02187286376953125
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 329.8846900733365
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1784.971264,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.071135498046875,
|
178 |
+
"mean": 2.5355677490234374,
|
179 |
+
"stdev": 0.020613647460937523,
|
180 |
+
"p50": 2.5355677490234374,
|
181 |
+
"p90": 2.552058666992188,
|
182 |
+
"p95": 2.5541200317382815,
|
183 |
+
"p99": 2.5557691235351565,
|
184 |
+
"values": [
|
185 |
+
2.5149541015625,
|
186 |
+
2.556181396484375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 50.08740154898779
|
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.070814201354979,
|
202 |
+
"mean": 0.019963835438405433,
|
203 |
+
"stdev": 0.00041818853884787593,
|
204 |
+
"p50": 0.02012873649597168,
|
205 |
+
"p90": 0.020329471588134765,
|
206 |
+
"p95": 0.020420587444305423,
|
207 |
+
"p99": 0.020825299434661864,
|
208 |
+
"values": [
|
209 |
+
0.01921023941040039,
|
210 |
+
0.01924403190612793,
|
211 |
+
0.02027212715148926,
|
212 |
+
0.020168703079223634,
|
213 |
+
0.020082687377929686,
|
214 |
+
0.019894271850585937,
|
215 |
+
0.019785728454589844,
|
216 |
+
0.020105215072631837,
|
217 |
+
0.02008576011657715,
|
218 |
+
0.020141056060791016,
|
219 |
+
0.020093952178955078,
|
220 |
+
0.019260416030883788,
|
221 |
+
0.019809280395507813,
|
222 |
+
0.020102176666259765,
|
223 |
+
0.020064224243164064,
|
224 |
+
0.02011136054992676,
|
225 |
+
0.020101119995117187,
|
226 |
+
0.020102144241333008,
|
227 |
+
0.01988096046447754,
|
228 |
+
0.01988812828063965,
|
229 |
+
0.019744768142700195,
|
230 |
+
0.02000486373901367,
|
231 |
+
0.020158464431762696,
|
232 |
+
0.02021785545349121,
|
233 |
+
0.02006937599182129,
|
234 |
+
0.02007756805419922,
|
235 |
+
0.020195327758789062,
|
236 |
+
0.02019327926635742,
|
237 |
+
0.020147199630737304,
|
238 |
+
0.020142080307006836,
|
239 |
+
0.020140031814575195,
|
240 |
+
0.020145151138305666,
|
241 |
+
0.02012774467468262,
|
242 |
+
0.019326976776123047,
|
243 |
+
0.019294208526611328,
|
244 |
+
0.01926348876953125,
|
245 |
+
0.019296255111694336,
|
246 |
+
0.019290111541748048,
|
247 |
+
0.019578880310058593,
|
248 |
+
0.019804159164428712,
|
249 |
+
0.019167232513427734,
|
250 |
+
0.01925836753845215,
|
251 |
+
0.019293184280395507,
|
252 |
+
0.019264511108398438,
|
253 |
+
0.01922764778137207,
|
254 |
+
0.01927577590942383,
|
255 |
+
0.019126272201538085,
|
256 |
+
0.019131391525268555,
|
257 |
+
0.019321855545043946,
|
258 |
+
0.019561471939086913,
|
259 |
+
0.02006118392944336,
|
260 |
+
0.020178943634033202,
|
261 |
+
0.020051967620849608,
|
262 |
+
0.02007961654663086,
|
263 |
+
0.020040704727172853,
|
264 |
+
0.020098047256469728,
|
265 |
+
0.020131839752197265,
|
266 |
+
0.020131839752197265,
|
267 |
+
0.020196352005004883,
|
268 |
+
0.021311487197875977,
|
269 |
+
0.02040012741088867,
|
270 |
+
0.01963212776184082,
|
271 |
+
0.0206561279296875,
|
272 |
+
0.020329471588134765,
|
273 |
+
0.02022604751586914,
|
274 |
+
0.0202926082611084,
|
275 |
+
0.019559423446655275,
|
276 |
+
0.019486719131469727,
|
277 |
+
0.01944166374206543,
|
278 |
+
0.0196997127532959,
|
279 |
+
0.020179967880249023,
|
280 |
+
0.020114431381225584,
|
281 |
+
0.020249599456787108,
|
282 |
+
0.020626432418823244,
|
283 |
+
0.01947648048400879,
|
284 |
+
0.01942527961730957,
|
285 |
+
0.0194201602935791,
|
286 |
+
0.01946931266784668,
|
287 |
+
0.019451904296875,
|
288 |
+
0.019396608352661132,
|
289 |
+
0.01942527961730957,
|
290 |
+
0.01963929557800293,
|
291 |
+
0.01940377616882324,
|
292 |
+
0.019283967971801756,
|
293 |
+
0.01920204734802246,
|
294 |
+
0.01924300765991211,
|
295 |
+
0.01943142318725586,
|
296 |
+
0.01941913604736328,
|
297 |
+
0.01982156753540039,
|
298 |
+
0.02026188850402832,
|
299 |
+
0.01924403190612793,
|
300 |
+
0.019293184280395507,
|
301 |
+
0.01938739204406738,
|
302 |
+
0.019364864349365234,
|
303 |
+
0.019368959426879884,
|
304 |
+
0.019334144592285156,
|
305 |
+
0.01945599937438965,
|
306 |
+
0.019389440536499023,
|
307 |
+
0.019400703430175782,
|
308 |
+
0.01968435287475586,
|
309 |
+
0.01939148712158203,
|
310 |
+
0.019409919738769533,
|
311 |
+
0.01940377616882324,
|
312 |
+
0.01942732810974121,
|
313 |
+
0.019329023361206055,
|
314 |
+
0.01922764778137207,
|
315 |
+
0.019392511367797852,
|
316 |
+
0.019381248474121093,
|
317 |
+
0.01941606330871582,
|
318 |
+
0.019388416290283202,
|
319 |
+
0.019382272720336914,
|
320 |
+
0.019495935440063478,
|
321 |
+
0.02110873603820801,
|
322 |
+
0.0204902400970459,
|
323 |
+
0.020354047775268554,
|
324 |
+
0.01944780731201172,
|
325 |
+
0.020197376251220703,
|
326 |
+
0.020342784881591795,
|
327 |
+
0.02019430351257324,
|
328 |
+
0.02028544044494629,
|
329 |
+
0.020246528625488282,
|
330 |
+
0.020329471588134765,
|
331 |
+
0.02030182456970215,
|
332 |
+
0.02023526382446289,
|
333 |
+
0.020975616455078124,
|
334 |
+
0.020156415939331054,
|
335 |
+
0.020361215591430663,
|
336 |
+
0.02027827262878418,
|
337 |
+
0.020144128799438478,
|
338 |
+
0.020535295486450195,
|
339 |
+
0.02025062370300293,
|
340 |
+
0.02006937599182129,
|
341 |
+
0.020113407135009767,
|
342 |
+
0.019344383239746094,
|
343 |
+
0.0192675838470459,
|
344 |
+
0.01924812889099121,
|
345 |
+
0.019367935180664063,
|
346 |
+
0.020116479873657226,
|
347 |
+
0.020371456146240235,
|
348 |
+
0.01987379264831543,
|
349 |
+
0.020067327499389647,
|
350 |
+
0.020057088851928712,
|
351 |
+
0.020067327499389647,
|
352 |
+
0.019539968490600586,
|
353 |
+
0.020135936737060548,
|
354 |
+
0.020092927932739257,
|
355 |
+
0.020082687377929686,
|
356 |
+
0.02003455924987793,
|
357 |
+
0.019317760467529296,
|
358 |
+
0.019272703170776367,
|
359 |
+
0.01943756866455078,
|
360 |
+
0.02007040023803711,
|
361 |
+
0.020212736129760742,
|
362 |
+
0.020134912490844727,
|
363 |
+
0.019981311798095702,
|
364 |
+
0.020189184188842774,
|
365 |
+
0.02012057685852051,
|
366 |
+
0.02029363250732422,
|
367 |
+
0.020174848556518556,
|
368 |
+
0.02016972732543945,
|
369 |
+
0.020074495315551756,
|
370 |
+
0.0200581111907959,
|
371 |
+
0.020151296615600587,
|
372 |
+
0.02008064079284668,
|
373 |
+
0.020152320861816408,
|
374 |
+
0.02008780860900879,
|
375 |
+
0.02006220817565918,
|
376 |
+
0.019306495666503908,
|
377 |
+
0.019294208526611328,
|
378 |
+
0.01930342483520508,
|
379 |
+
0.019294208526611328,
|
380 |
+
0.019525632858276368,
|
381 |
+
0.020051967620849608,
|
382 |
+
0.020100095748901366,
|
383 |
+
0.02046771240234375,
|
384 |
+
0.02005299186706543,
|
385 |
+
0.020091903686523437,
|
386 |
+
0.020148223876953125,
|
387 |
+
0.02031718444824219,
|
388 |
+
0.019948543548583983,
|
389 |
+
0.020184064865112306,
|
390 |
+
0.020136959075927736,
|
391 |
+
0.020117504119873047,
|
392 |
+
0.020151296615600587,
|
393 |
+
0.020248575210571287,
|
394 |
+
0.020420608520507814,
|
395 |
+
0.020257791519165038,
|
396 |
+
0.020337663650512695,
|
397 |
+
0.020691999435424803,
|
398 |
+
0.020420576095581056,
|
399 |
+
0.020281343460083007,
|
400 |
+
0.020494335174560546,
|
401 |
+
0.02030080032348633,
|
402 |
+
0.020248575210571287,
|
403 |
+
0.02026188850402832,
|
404 |
+
0.02030284881591797,
|
405 |
+
0.020291584014892578,
|
406 |
+
0.020256767272949217,
|
407 |
+
0.020281343460083007,
|
408 |
+
0.02042367935180664,
|
409 |
+
0.020247552871704103,
|
410 |
+
0.020247552871704103,
|
411 |
+
0.02023526382446289,
|
412 |
+
0.020188159942626953,
|
413 |
+
0.02019430351257324,
|
414 |
+
0.020396032333374024,
|
415 |
+
0.02031820869445801,
|
416 |
+
0.02024550437927246,
|
417 |
+
0.02025164794921875,
|
418 |
+
0.02027008056640625,
|
419 |
+
0.02028646469116211,
|
420 |
+
0.020365312576293947,
|
421 |
+
0.020287488937377928,
|
422 |
+
0.019971071243286134,
|
423 |
+
0.019999744415283204,
|
424 |
+
0.020212736129760742,
|
425 |
+
0.020220928192138672,
|
426 |
+
0.020189184188842774,
|
427 |
+
0.020229120254516602,
|
428 |
+
0.02024345588684082,
|
429 |
+
0.020208639144897463,
|
430 |
+
0.020208639144897463,
|
431 |
+
0.020220928192138672,
|
432 |
+
0.020544511795043945,
|
433 |
+
0.02021785545349121,
|
434 |
+
0.02024038314819336,
|
435 |
+
0.02028441619873047,
|
436 |
+
0.020305919647216796,
|
437 |
+
0.02022809600830078,
|
438 |
+
0.02025881576538086,
|
439 |
+
0.020256767272949217,
|
440 |
+
0.02024448013305664,
|
441 |
+
0.02021887969970703,
|
442 |
+
0.02023526382446289,
|
443 |
+
0.02024448013305664,
|
444 |
+
0.020242431640625,
|
445 |
+
0.02017791938781738,
|
446 |
+
0.020215808868408205,
|
447 |
+
0.02041548728942871,
|
448 |
+
0.020207616806030275,
|
449 |
+
0.020387840270996094,
|
450 |
+
0.020210752487182616,
|
451 |
+
0.02012972831726074,
|
452 |
+
0.020178943634033202,
|
453 |
+
0.020162559509277343,
|
454 |
+
0.020204544067382812,
|
455 |
+
0.02021990394592285,
|
456 |
+
0.020402175903320312,
|
457 |
+
0.0202106876373291,
|
458 |
+
0.02027008056640625,
|
459 |
+
0.020172800064086914,
|
460 |
+
0.02025984001159668,
|
461 |
+
0.020175872802734376,
|
462 |
+
0.020145151138305666
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 50.0905751845785
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": 1320.656896,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.44500390625,
|
15 |
+
"mean": 11.44500390625,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.44500390625,
|
18 |
+
"p90": 11.44500390625,
|
19 |
+
"p95": 11.44500390625,
|
20 |
+
"p99": 11.44500390625,
|
21 |
+
"values": [
|
22 |
+
11.44500390625
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1730.31424,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.431872
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04243907165527344,
|
42 |
+
"mean": 0.02121953582763672,
|
43 |
+
"stdev": 0.0006533279418945315,
|
44 |
+
"p50": 0.02121953582763672,
|
45 |
+
"p90": 0.021742198181152344,
|
46 |
+
"p95": 0.0218075309753418,
|
47 |
+
"p99": 0.02185979721069336,
|
48 |
+
"values": [
|
49 |
+
0.020566207885742187,
|
50 |
+
0.02187286376953125
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 329.8846900733365
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1784.971264,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.071135498046875,
|
73 |
+
"mean": 2.5355677490234374,
|
74 |
+
"stdev": 0.020613647460937523,
|
75 |
+
"p50": 2.5355677490234374,
|
76 |
+
"p90": 2.552058666992188,
|
77 |
+
"p95": 2.5541200317382815,
|
78 |
+
"p99": 2.5557691235351565,
|
79 |
+
"values": [
|
80 |
+
2.5149541015625,
|
81 |
+
2.556181396484375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 50.08740154898779
|
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.070814201354979,
|
97 |
+
"mean": 0.019963835438405433,
|
98 |
+
"stdev": 0.00041818853884787593,
|
99 |
+
"p50": 0.02012873649597168,
|
100 |
+
"p90": 0.020329471588134765,
|
101 |
+
"p95": 0.020420587444305423,
|
102 |
+
"p99": 0.020825299434661864,
|
103 |
+
"values": [
|
104 |
+
0.01921023941040039,
|
105 |
+
0.01924403190612793,
|
106 |
+
0.02027212715148926,
|
107 |
+
0.020168703079223634,
|
108 |
+
0.020082687377929686,
|
109 |
+
0.019894271850585937,
|
110 |
+
0.019785728454589844,
|
111 |
+
0.020105215072631837,
|
112 |
+
0.02008576011657715,
|
113 |
+
0.020141056060791016,
|
114 |
+
0.020093952178955078,
|
115 |
+
0.019260416030883788,
|
116 |
+
0.019809280395507813,
|
117 |
+
0.020102176666259765,
|
118 |
+
0.020064224243164064,
|
119 |
+
0.02011136054992676,
|
120 |
+
0.020101119995117187,
|
121 |
+
0.020102144241333008,
|
122 |
+
0.01988096046447754,
|
123 |
+
0.01988812828063965,
|
124 |
+
0.019744768142700195,
|
125 |
+
0.02000486373901367,
|
126 |
+
0.020158464431762696,
|
127 |
+
0.02021785545349121,
|
128 |
+
0.02006937599182129,
|
129 |
+
0.02007756805419922,
|
130 |
+
0.020195327758789062,
|
131 |
+
0.02019327926635742,
|
132 |
+
0.020147199630737304,
|
133 |
+
0.020142080307006836,
|
134 |
+
0.020140031814575195,
|
135 |
+
0.020145151138305666,
|
136 |
+
0.02012774467468262,
|
137 |
+
0.019326976776123047,
|
138 |
+
0.019294208526611328,
|
139 |
+
0.01926348876953125,
|
140 |
+
0.019296255111694336,
|
141 |
+
0.019290111541748048,
|
142 |
+
0.019578880310058593,
|
143 |
+
0.019804159164428712,
|
144 |
+
0.019167232513427734,
|
145 |
+
0.01925836753845215,
|
146 |
+
0.019293184280395507,
|
147 |
+
0.019264511108398438,
|
148 |
+
0.01922764778137207,
|
149 |
+
0.01927577590942383,
|
150 |
+
0.019126272201538085,
|
151 |
+
0.019131391525268555,
|
152 |
+
0.019321855545043946,
|
153 |
+
0.019561471939086913,
|
154 |
+
0.02006118392944336,
|
155 |
+
0.020178943634033202,
|
156 |
+
0.020051967620849608,
|
157 |
+
0.02007961654663086,
|
158 |
+
0.020040704727172853,
|
159 |
+
0.020098047256469728,
|
160 |
+
0.020131839752197265,
|
161 |
+
0.020131839752197265,
|
162 |
+
0.020196352005004883,
|
163 |
+
0.021311487197875977,
|
164 |
+
0.02040012741088867,
|
165 |
+
0.01963212776184082,
|
166 |
+
0.0206561279296875,
|
167 |
+
0.020329471588134765,
|
168 |
+
0.02022604751586914,
|
169 |
+
0.0202926082611084,
|
170 |
+
0.019559423446655275,
|
171 |
+
0.019486719131469727,
|
172 |
+
0.01944166374206543,
|
173 |
+
0.0196997127532959,
|
174 |
+
0.020179967880249023,
|
175 |
+
0.020114431381225584,
|
176 |
+
0.020249599456787108,
|
177 |
+
0.020626432418823244,
|
178 |
+
0.01947648048400879,
|
179 |
+
0.01942527961730957,
|
180 |
+
0.0194201602935791,
|
181 |
+
0.01946931266784668,
|
182 |
+
0.019451904296875,
|
183 |
+
0.019396608352661132,
|
184 |
+
0.01942527961730957,
|
185 |
+
0.01963929557800293,
|
186 |
+
0.01940377616882324,
|
187 |
+
0.019283967971801756,
|
188 |
+
0.01920204734802246,
|
189 |
+
0.01924300765991211,
|
190 |
+
0.01943142318725586,
|
191 |
+
0.01941913604736328,
|
192 |
+
0.01982156753540039,
|
193 |
+
0.02026188850402832,
|
194 |
+
0.01924403190612793,
|
195 |
+
0.019293184280395507,
|
196 |
+
0.01938739204406738,
|
197 |
+
0.019364864349365234,
|
198 |
+
0.019368959426879884,
|
199 |
+
0.019334144592285156,
|
200 |
+
0.01945599937438965,
|
201 |
+
0.019389440536499023,
|
202 |
+
0.019400703430175782,
|
203 |
+
0.01968435287475586,
|
204 |
+
0.01939148712158203,
|
205 |
+
0.019409919738769533,
|
206 |
+
0.01940377616882324,
|
207 |
+
0.01942732810974121,
|
208 |
+
0.019329023361206055,
|
209 |
+
0.01922764778137207,
|
210 |
+
0.019392511367797852,
|
211 |
+
0.019381248474121093,
|
212 |
+
0.01941606330871582,
|
213 |
+
0.019388416290283202,
|
214 |
+
0.019382272720336914,
|
215 |
+
0.019495935440063478,
|
216 |
+
0.02110873603820801,
|
217 |
+
0.0204902400970459,
|
218 |
+
0.020354047775268554,
|
219 |
+
0.01944780731201172,
|
220 |
+
0.020197376251220703,
|
221 |
+
0.020342784881591795,
|
222 |
+
0.02019430351257324,
|
223 |
+
0.02028544044494629,
|
224 |
+
0.020246528625488282,
|
225 |
+
0.020329471588134765,
|
226 |
+
0.02030182456970215,
|
227 |
+
0.02023526382446289,
|
228 |
+
0.020975616455078124,
|
229 |
+
0.020156415939331054,
|
230 |
+
0.020361215591430663,
|
231 |
+
0.02027827262878418,
|
232 |
+
0.020144128799438478,
|
233 |
+
0.020535295486450195,
|
234 |
+
0.02025062370300293,
|
235 |
+
0.02006937599182129,
|
236 |
+
0.020113407135009767,
|
237 |
+
0.019344383239746094,
|
238 |
+
0.0192675838470459,
|
239 |
+
0.01924812889099121,
|
240 |
+
0.019367935180664063,
|
241 |
+
0.020116479873657226,
|
242 |
+
0.020371456146240235,
|
243 |
+
0.01987379264831543,
|
244 |
+
0.020067327499389647,
|
245 |
+
0.020057088851928712,
|
246 |
+
0.020067327499389647,
|
247 |
+
0.019539968490600586,
|
248 |
+
0.020135936737060548,
|
249 |
+
0.020092927932739257,
|
250 |
+
0.020082687377929686,
|
251 |
+
0.02003455924987793,
|
252 |
+
0.019317760467529296,
|
253 |
+
0.019272703170776367,
|
254 |
+
0.01943756866455078,
|
255 |
+
0.02007040023803711,
|
256 |
+
0.020212736129760742,
|
257 |
+
0.020134912490844727,
|
258 |
+
0.019981311798095702,
|
259 |
+
0.020189184188842774,
|
260 |
+
0.02012057685852051,
|
261 |
+
0.02029363250732422,
|
262 |
+
0.020174848556518556,
|
263 |
+
0.02016972732543945,
|
264 |
+
0.020074495315551756,
|
265 |
+
0.0200581111907959,
|
266 |
+
0.020151296615600587,
|
267 |
+
0.02008064079284668,
|
268 |
+
0.020152320861816408,
|
269 |
+
0.02008780860900879,
|
270 |
+
0.02006220817565918,
|
271 |
+
0.019306495666503908,
|
272 |
+
0.019294208526611328,
|
273 |
+
0.01930342483520508,
|
274 |
+
0.019294208526611328,
|
275 |
+
0.019525632858276368,
|
276 |
+
0.020051967620849608,
|
277 |
+
0.020100095748901366,
|
278 |
+
0.02046771240234375,
|
279 |
+
0.02005299186706543,
|
280 |
+
0.020091903686523437,
|
281 |
+
0.020148223876953125,
|
282 |
+
0.02031718444824219,
|
283 |
+
0.019948543548583983,
|
284 |
+
0.020184064865112306,
|
285 |
+
0.020136959075927736,
|
286 |
+
0.020117504119873047,
|
287 |
+
0.020151296615600587,
|
288 |
+
0.020248575210571287,
|
289 |
+
0.020420608520507814,
|
290 |
+
0.020257791519165038,
|
291 |
+
0.020337663650512695,
|
292 |
+
0.020691999435424803,
|
293 |
+
0.020420576095581056,
|
294 |
+
0.020281343460083007,
|
295 |
+
0.020494335174560546,
|
296 |
+
0.02030080032348633,
|
297 |
+
0.020248575210571287,
|
298 |
+
0.02026188850402832,
|
299 |
+
0.02030284881591797,
|
300 |
+
0.020291584014892578,
|
301 |
+
0.020256767272949217,
|
302 |
+
0.020281343460083007,
|
303 |
+
0.02042367935180664,
|
304 |
+
0.020247552871704103,
|
305 |
+
0.020247552871704103,
|
306 |
+
0.02023526382446289,
|
307 |
+
0.020188159942626953,
|
308 |
+
0.02019430351257324,
|
309 |
+
0.020396032333374024,
|
310 |
+
0.02031820869445801,
|
311 |
+
0.02024550437927246,
|
312 |
+
0.02025164794921875,
|
313 |
+
0.02027008056640625,
|
314 |
+
0.02028646469116211,
|
315 |
+
0.020365312576293947,
|
316 |
+
0.020287488937377928,
|
317 |
+
0.019971071243286134,
|
318 |
+
0.019999744415283204,
|
319 |
+
0.020212736129760742,
|
320 |
+
0.020220928192138672,
|
321 |
+
0.020189184188842774,
|
322 |
+
0.020229120254516602,
|
323 |
+
0.02024345588684082,
|
324 |
+
0.020208639144897463,
|
325 |
+
0.020208639144897463,
|
326 |
+
0.020220928192138672,
|
327 |
+
0.020544511795043945,
|
328 |
+
0.02021785545349121,
|
329 |
+
0.02024038314819336,
|
330 |
+
0.02028441619873047,
|
331 |
+
0.020305919647216796,
|
332 |
+
0.02022809600830078,
|
333 |
+
0.02025881576538086,
|
334 |
+
0.020256767272949217,
|
335 |
+
0.02024448013305664,
|
336 |
+
0.02021887969970703,
|
337 |
+
0.02023526382446289,
|
338 |
+
0.02024448013305664,
|
339 |
+
0.020242431640625,
|
340 |
+
0.02017791938781738,
|
341 |
+
0.020215808868408205,
|
342 |
+
0.02041548728942871,
|
343 |
+
0.020207616806030275,
|
344 |
+
0.020387840270996094,
|
345 |
+
0.020210752487182616,
|
346 |
+
0.02012972831726074,
|
347 |
+
0.020178943634033202,
|
348 |
+
0.020162559509277343,
|
349 |
+
0.020204544067382812,
|
350 |
+
0.02021990394592285,
|
351 |
+
0.020402175903320312,
|
352 |
+
0.0202106876373291,
|
353 |
+
0.02027008056640625,
|
354 |
+
0.020172800064086914,
|
355 |
+
0.02025984001159668,
|
356 |
+
0.020175872802734376,
|
357 |
+
0.020145151138305666
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 50.0905751845785
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02121953582763672,
|
7 |
+
"prefill.throughput.value": 329.8846900733365,
|
8 |
+
"decode.latency.mean": 2.5355677490234374,
|
9 |
+
"decode.throughput.value": 50.08740154898779,
|
10 |
+
"per_token.latency.mean": 0.019963835438405433,
|
11 |
+
"per_token.throughput.value": 50.0905751845785
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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: cff06aac6fad28019930be03f5d467055bf62177
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177
|
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/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177
|
88 |
+
- hydra.run.dir=_benchmark/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177/${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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03 02:40:30,709[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-09-03 02:40:33,095[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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: cff06aac6fad28019930be03f5d467055bf62177
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177
|
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/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177
|
88 |
+
- hydra.run.dir=_benchmark/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177/${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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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": 1318.99392,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.480798828125,
|
120 |
+
"mean": 11.480798828125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.480798828125,
|
123 |
+
"p90": 11.480798828125,
|
124 |
+
"p95": 11.480798828125,
|
125 |
+
"p99": 11.480798828125,
|
126 |
+
"values": [
|
127 |
+
11.480798828125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1765.45792,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.450816
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04396102333068848,
|
147 |
+
"mean": 0.02198051166534424,
|
148 |
+
"stdev": 5.536079406738559e-06,
|
149 |
+
"p50": 0.02198051166534424,
|
150 |
+
"p90": 0.02198494052886963,
|
151 |
+
"p95": 0.021985494136810304,
|
152 |
+
"p99": 0.021985937023162844,
|
153 |
+
"values": [
|
154 |
+
0.021986047744750978,
|
155 |
+
0.0219749755859375
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 318.4639241604466
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1789.8496,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.820288
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.190394775390625,
|
178 |
+
"mean": 2.5951973876953125,
|
179 |
+
"stdev": 0.003233032226562571,
|
180 |
+
"p50": 2.5951973876953125,
|
181 |
+
"p90": 2.5977838134765627,
|
182 |
+
"p95": 2.598107116699219,
|
183 |
+
"p99": 2.598365759277344,
|
184 |
+
"values": [
|
185 |
+
2.598430419921875,
|
186 |
+
2.59196435546875
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.93654740951456
|
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.190141948699951,
|
202 |
+
"mean": 0.020433629719291146,
|
203 |
+
"stdev": 0.0003794214058796272,
|
204 |
+
"p50": 0.02025572872161865,
|
205 |
+
"p90": 0.020910592079162595,
|
206 |
+
"p95": 0.021178931427001953,
|
207 |
+
"p99": 0.021480530166625975,
|
208 |
+
"values": [
|
209 |
+
0.020222976684570314,
|
210 |
+
0.02024140739440918,
|
211 |
+
0.02023423957824707,
|
212 |
+
0.02022707176208496,
|
213 |
+
0.020238336563110353,
|
214 |
+
0.02025164794921875,
|
215 |
+
0.02030182456970215,
|
216 |
+
0.02025164794921875,
|
217 |
+
0.020570112228393556,
|
218 |
+
0.02084351921081543,
|
219 |
+
0.02085273551940918,
|
220 |
+
0.020818944931030273,
|
221 |
+
0.02088140869140625,
|
222 |
+
0.020281343460083007,
|
223 |
+
0.020238336563110353,
|
224 |
+
0.020256767272949217,
|
225 |
+
0.020122623443603514,
|
226 |
+
0.02129817581176758,
|
227 |
+
0.020880384445190428,
|
228 |
+
0.02082815933227539,
|
229 |
+
0.020931583404541015,
|
230 |
+
0.020572160720825194,
|
231 |
+
0.020603904724121092,
|
232 |
+
0.02085990333557129,
|
233 |
+
0.02086092758178711,
|
234 |
+
0.020791296005249024,
|
235 |
+
0.020215808868408205,
|
236 |
+
0.020002815246582033,
|
237 |
+
0.02001408004760742,
|
238 |
+
0.019993600845336915,
|
239 |
+
0.02021887969970703,
|
240 |
+
0.020185087203979494,
|
241 |
+
0.020229120254516602,
|
242 |
+
0.0200447998046875,
|
243 |
+
0.02021785545349121,
|
244 |
+
0.020185087203979494,
|
245 |
+
0.02026700782775879,
|
246 |
+
0.020182016372680665,
|
247 |
+
0.02051584053039551,
|
248 |
+
0.02025984001159668,
|
249 |
+
0.020214784622192384,
|
250 |
+
0.02020147132873535,
|
251 |
+
0.02027827262878418,
|
252 |
+
0.020332544326782227,
|
253 |
+
0.02025369644165039,
|
254 |
+
0.020195327758789062,
|
255 |
+
0.02026393508911133,
|
256 |
+
0.02022809600830078,
|
257 |
+
0.02022502326965332,
|
258 |
+
0.020183040618896485,
|
259 |
+
0.02021171188354492,
|
260 |
+
0.020214784622192384,
|
261 |
+
0.020222976684570314,
|
262 |
+
0.020220928192138672,
|
263 |
+
0.0202106876373291,
|
264 |
+
0.02022502326965332,
|
265 |
+
0.020090879440307616,
|
266 |
+
0.02008576011657715,
|
267 |
+
0.020222976684570314,
|
268 |
+
0.020238336563110353,
|
269 |
+
0.020221952438354493,
|
270 |
+
0.02021990394592285,
|
271 |
+
0.020230144500732423,
|
272 |
+
0.020185087203979494,
|
273 |
+
0.021234687805175782,
|
274 |
+
0.020956159591674805,
|
275 |
+
0.02144972801208496,
|
276 |
+
0.020960256576538085,
|
277 |
+
0.020810752868652343,
|
278 |
+
0.020807680130004884,
|
279 |
+
0.02027827262878418,
|
280 |
+
0.02030899238586426,
|
281 |
+
0.02025984001159668,
|
282 |
+
0.02025984001159668,
|
283 |
+
0.020248575210571287,
|
284 |
+
0.02025574493408203,
|
285 |
+
0.020248575210571287,
|
286 |
+
0.020212736129760742,
|
287 |
+
0.020214784622192384,
|
288 |
+
0.02021990394592285,
|
289 |
+
0.020249599456787108,
|
290 |
+
0.020248575210571287,
|
291 |
+
0.020579328536987306,
|
292 |
+
0.02024140739440918,
|
293 |
+
0.020200447082519533,
|
294 |
+
0.020231168746948244,
|
295 |
+
0.02025881576538086,
|
296 |
+
0.02082611274719238,
|
297 |
+
0.020686847686767578,
|
298 |
+
0.02027724838256836,
|
299 |
+
0.02025369644165039,
|
300 |
+
0.02082815933227539,
|
301 |
+
0.020763647079467772,
|
302 |
+
0.02079539108276367,
|
303 |
+
0.02106265640258789,
|
304 |
+
0.02125004768371582,
|
305 |
+
0.021200895309448242,
|
306 |
+
0.02041651153564453,
|
307 |
+
0.020295679092407228,
|
308 |
+
0.020282367706298828,
|
309 |
+
0.02106675148010254,
|
310 |
+
0.020912128448486327,
|
311 |
+
0.02107187271118164,
|
312 |
+
0.02085068893432617,
|
313 |
+
0.02027827262878418,
|
314 |
+
0.020238336563110353,
|
315 |
+
0.020700159072875975,
|
316 |
+
0.020818944931030273,
|
317 |
+
0.02211942481994629,
|
318 |
+
0.02108723258972168,
|
319 |
+
0.020818944931030273,
|
320 |
+
0.020777984619140624,
|
321 |
+
0.02081177520751953,
|
322 |
+
0.020763647079467772,
|
323 |
+
0.020791296005249024,
|
324 |
+
0.021307392120361326,
|
325 |
+
0.02085785675048828,
|
326 |
+
0.020404224395751954,
|
327 |
+
0.02024550437927246,
|
328 |
+
0.02025574493408203,
|
329 |
+
0.02025267219543457,
|
330 |
+
0.02001817512512207,
|
331 |
+
0.02003865623474121,
|
332 |
+
0.019979263305664064,
|
333 |
+
0.02002124786376953,
|
334 |
+
0.019971071243286134,
|
335 |
+
0.019998720169067383,
|
336 |
+
0.02021887969970703,
|
337 |
+
0.020200447082519533,
|
338 |
+
0.020239360809326173,
|
339 |
+
0.02025267219543457,
|
340 |
+
0.02021887969970703,
|
341 |
+
0.020297727584838866,
|
342 |
+
0.020184064865112306,
|
343 |
+
0.02025881576538086,
|
344 |
+
0.020291584014892578,
|
345 |
+
0.020189184188842774,
|
346 |
+
0.020185087203979494,
|
347 |
+
0.020168703079223634,
|
348 |
+
0.020178943634033202,
|
349 |
+
0.020200447082519533,
|
350 |
+
0.020185087203979494,
|
351 |
+
0.019986431121826173,
|
352 |
+
0.020016128540039063,
|
353 |
+
0.020000768661499024,
|
354 |
+
0.020017152786254884,
|
355 |
+
0.020016128540039063,
|
356 |
+
0.02001203155517578,
|
357 |
+
0.020002815246582033,
|
358 |
+
0.020783103942871094,
|
359 |
+
0.021389312744140625,
|
360 |
+
0.02129817581176758,
|
361 |
+
0.020932607650756836,
|
362 |
+
0.0208855037689209,
|
363 |
+
0.020824064254760744,
|
364 |
+
0.020907007217407226,
|
365 |
+
0.021118976593017577,
|
366 |
+
0.020937728881835937,
|
367 |
+
0.020212736129760742,
|
368 |
+
0.02021990394592285,
|
369 |
+
0.020808704376220705,
|
370 |
+
0.020395008087158203,
|
371 |
+
0.020230144500732423,
|
372 |
+
0.02129100799560547,
|
373 |
+
0.020813823699951172,
|
374 |
+
0.020238336563110353,
|
375 |
+
0.02019327926635742,
|
376 |
+
0.02027008056640625,
|
377 |
+
0.02026700782775879,
|
378 |
+
0.02023526382446289,
|
379 |
+
0.02026188850402832,
|
380 |
+
0.020525056838989256,
|
381 |
+
0.0204902400970459,
|
382 |
+
0.021230592727661132,
|
383 |
+
0.021909503936767577,
|
384 |
+
0.021021696090698243,
|
385 |
+
0.020526079177856444,
|
386 |
+
0.020197376251220703,
|
387 |
+
0.02086092758178711,
|
388 |
+
0.020765695571899414,
|
389 |
+
0.02025267219543457,
|
390 |
+
0.02027622413635254,
|
391 |
+
0.020256767272949217,
|
392 |
+
0.02023321533203125,
|
393 |
+
0.021167104721069335,
|
394 |
+
0.02083328056335449,
|
395 |
+
0.020816896438598635,
|
396 |
+
0.02084659194946289,
|
397 |
+
0.020898815155029296,
|
398 |
+
0.020288511276245116,
|
399 |
+
0.020220928192138672,
|
400 |
+
0.0208035831451416,
|
401 |
+
0.020904960632324218,
|
402 |
+
0.02027622413635254,
|
403 |
+
0.020254720687866212,
|
404 |
+
0.02023219108581543,
|
405 |
+
0.020256767272949217,
|
406 |
+
0.020222976684570314,
|
407 |
+
0.02005606460571289,
|
408 |
+
0.020557823181152343,
|
409 |
+
0.020505599975585938,
|
410 |
+
0.02047488021850586,
|
411 |
+
0.020580352783203124,
|
412 |
+
0.02047488021850586,
|
413 |
+
0.02004991912841797,
|
414 |
+
0.02002841567993164,
|
415 |
+
0.02002227210998535,
|
416 |
+
0.020067327499389647,
|
417 |
+
0.020074495315551756,
|
418 |
+
0.020008960723876954,
|
419 |
+
0.020068351745605468,
|
420 |
+
0.02006220817565918,
|
421 |
+
0.021515264511108398,
|
422 |
+
0.02084454345703125,
|
423 |
+
0.020769792556762694,
|
424 |
+
0.020876287460327148,
|
425 |
+
0.02084966468811035,
|
426 |
+
0.020558847427368163,
|
427 |
+
0.020220928192138672,
|
428 |
+
0.02006425666809082,
|
429 |
+
0.020039680480957032,
|
430 |
+
0.020067327499389647,
|
431 |
+
0.02003558349609375,
|
432 |
+
0.02002124786376953,
|
433 |
+
0.02044927978515625,
|
434 |
+
0.02083328056335449,
|
435 |
+
0.02027519989013672,
|
436 |
+
0.020685823440551757,
|
437 |
+
0.02023423957824707,
|
438 |
+
0.02023628807067871,
|
439 |
+
0.02020966339111328,
|
440 |
+
0.02024140739440918,
|
441 |
+
0.02024550437927246,
|
442 |
+
0.020511743545532226,
|
443 |
+
0.02026393508911133,
|
444 |
+
0.020206592559814454,
|
445 |
+
0.0202106876373291,
|
446 |
+
0.020230144500732423,
|
447 |
+
0.020172800064086914,
|
448 |
+
0.02024448013305664,
|
449 |
+
0.020256767272949217,
|
450 |
+
0.02026188850402832,
|
451 |
+
0.02024041557312012,
|
452 |
+
0.020255712509155272,
|
453 |
+
0.02026700782775879,
|
454 |
+
0.020083711624145507,
|
455 |
+
0.020031488418579102,
|
456 |
+
0.020040704727172853,
|
457 |
+
0.020017152786254884,
|
458 |
+
0.02001203155517578,
|
459 |
+
0.02022502326965332,
|
460 |
+
0.02022707176208496,
|
461 |
+
0.020787200927734374,
|
462 |
+
0.02058137512207031
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.93893124900428
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": 1318.99392,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.480798828125,
|
15 |
+
"mean": 11.480798828125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.480798828125,
|
18 |
+
"p90": 11.480798828125,
|
19 |
+
"p95": 11.480798828125,
|
20 |
+
"p99": 11.480798828125,
|
21 |
+
"values": [
|
22 |
+
11.480798828125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1765.45792,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.450816
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04396102333068848,
|
42 |
+
"mean": 0.02198051166534424,
|
43 |
+
"stdev": 5.536079406738559e-06,
|
44 |
+
"p50": 0.02198051166534424,
|
45 |
+
"p90": 0.02198494052886963,
|
46 |
+
"p95": 0.021985494136810304,
|
47 |
+
"p99": 0.021985937023162844,
|
48 |
+
"values": [
|
49 |
+
0.021986047744750978,
|
50 |
+
0.0219749755859375
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 318.4639241604466
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1789.8496,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.820288
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.190394775390625,
|
73 |
+
"mean": 2.5951973876953125,
|
74 |
+
"stdev": 0.003233032226562571,
|
75 |
+
"p50": 2.5951973876953125,
|
76 |
+
"p90": 2.5977838134765627,
|
77 |
+
"p95": 2.598107116699219,
|
78 |
+
"p99": 2.598365759277344,
|
79 |
+
"values": [
|
80 |
+
2.598430419921875,
|
81 |
+
2.59196435546875
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.93654740951456
|
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.190141948699951,
|
97 |
+
"mean": 0.020433629719291146,
|
98 |
+
"stdev": 0.0003794214058796272,
|
99 |
+
"p50": 0.02025572872161865,
|
100 |
+
"p90": 0.020910592079162595,
|
101 |
+
"p95": 0.021178931427001953,
|
102 |
+
"p99": 0.021480530166625975,
|
103 |
+
"values": [
|
104 |
+
0.020222976684570314,
|
105 |
+
0.02024140739440918,
|
106 |
+
0.02023423957824707,
|
107 |
+
0.02022707176208496,
|
108 |
+
0.020238336563110353,
|
109 |
+
0.02025164794921875,
|
110 |
+
0.02030182456970215,
|
111 |
+
0.02025164794921875,
|
112 |
+
0.020570112228393556,
|
113 |
+
0.02084351921081543,
|
114 |
+
0.02085273551940918,
|
115 |
+
0.020818944931030273,
|
116 |
+
0.02088140869140625,
|
117 |
+
0.020281343460083007,
|
118 |
+
0.020238336563110353,
|
119 |
+
0.020256767272949217,
|
120 |
+
0.020122623443603514,
|
121 |
+
0.02129817581176758,
|
122 |
+
0.020880384445190428,
|
123 |
+
0.02082815933227539,
|
124 |
+
0.020931583404541015,
|
125 |
+
0.020572160720825194,
|
126 |
+
0.020603904724121092,
|
127 |
+
0.02085990333557129,
|
128 |
+
0.02086092758178711,
|
129 |
+
0.020791296005249024,
|
130 |
+
0.020215808868408205,
|
131 |
+
0.020002815246582033,
|
132 |
+
0.02001408004760742,
|
133 |
+
0.019993600845336915,
|
134 |
+
0.02021887969970703,
|
135 |
+
0.020185087203979494,
|
136 |
+
0.020229120254516602,
|
137 |
+
0.0200447998046875,
|
138 |
+
0.02021785545349121,
|
139 |
+
0.020185087203979494,
|
140 |
+
0.02026700782775879,
|
141 |
+
0.020182016372680665,
|
142 |
+
0.02051584053039551,
|
143 |
+
0.02025984001159668,
|
144 |
+
0.020214784622192384,
|
145 |
+
0.02020147132873535,
|
146 |
+
0.02027827262878418,
|
147 |
+
0.020332544326782227,
|
148 |
+
0.02025369644165039,
|
149 |
+
0.020195327758789062,
|
150 |
+
0.02026393508911133,
|
151 |
+
0.02022809600830078,
|
152 |
+
0.02022502326965332,
|
153 |
+
0.020183040618896485,
|
154 |
+
0.02021171188354492,
|
155 |
+
0.020214784622192384,
|
156 |
+
0.020222976684570314,
|
157 |
+
0.020220928192138672,
|
158 |
+
0.0202106876373291,
|
159 |
+
0.02022502326965332,
|
160 |
+
0.020090879440307616,
|
161 |
+
0.02008576011657715,
|
162 |
+
0.020222976684570314,
|
163 |
+
0.020238336563110353,
|
164 |
+
0.020221952438354493,
|
165 |
+
0.02021990394592285,
|
166 |
+
0.020230144500732423,
|
167 |
+
0.020185087203979494,
|
168 |
+
0.021234687805175782,
|
169 |
+
0.020956159591674805,
|
170 |
+
0.02144972801208496,
|
171 |
+
0.020960256576538085,
|
172 |
+
0.020810752868652343,
|
173 |
+
0.020807680130004884,
|
174 |
+
0.02027827262878418,
|
175 |
+
0.02030899238586426,
|
176 |
+
0.02025984001159668,
|
177 |
+
0.02025984001159668,
|
178 |
+
0.020248575210571287,
|
179 |
+
0.02025574493408203,
|
180 |
+
0.020248575210571287,
|
181 |
+
0.020212736129760742,
|
182 |
+
0.020214784622192384,
|
183 |
+
0.02021990394592285,
|
184 |
+
0.020249599456787108,
|
185 |
+
0.020248575210571287,
|
186 |
+
0.020579328536987306,
|
187 |
+
0.02024140739440918,
|
188 |
+
0.020200447082519533,
|
189 |
+
0.020231168746948244,
|
190 |
+
0.02025881576538086,
|
191 |
+
0.02082611274719238,
|
192 |
+
0.020686847686767578,
|
193 |
+
0.02027724838256836,
|
194 |
+
0.02025369644165039,
|
195 |
+
0.02082815933227539,
|
196 |
+
0.020763647079467772,
|
197 |
+
0.02079539108276367,
|
198 |
+
0.02106265640258789,
|
199 |
+
0.02125004768371582,
|
200 |
+
0.021200895309448242,
|
201 |
+
0.02041651153564453,
|
202 |
+
0.020295679092407228,
|
203 |
+
0.020282367706298828,
|
204 |
+
0.02106675148010254,
|
205 |
+
0.020912128448486327,
|
206 |
+
0.02107187271118164,
|
207 |
+
0.02085068893432617,
|
208 |
+
0.02027827262878418,
|
209 |
+
0.020238336563110353,
|
210 |
+
0.020700159072875975,
|
211 |
+
0.020818944931030273,
|
212 |
+
0.02211942481994629,
|
213 |
+
0.02108723258972168,
|
214 |
+
0.020818944931030273,
|
215 |
+
0.020777984619140624,
|
216 |
+
0.02081177520751953,
|
217 |
+
0.020763647079467772,
|
218 |
+
0.020791296005249024,
|
219 |
+
0.021307392120361326,
|
220 |
+
0.02085785675048828,
|
221 |
+
0.020404224395751954,
|
222 |
+
0.02024550437927246,
|
223 |
+
0.02025574493408203,
|
224 |
+
0.02025267219543457,
|
225 |
+
0.02001817512512207,
|
226 |
+
0.02003865623474121,
|
227 |
+
0.019979263305664064,
|
228 |
+
0.02002124786376953,
|
229 |
+
0.019971071243286134,
|
230 |
+
0.019998720169067383,
|
231 |
+
0.02021887969970703,
|
232 |
+
0.020200447082519533,
|
233 |
+
0.020239360809326173,
|
234 |
+
0.02025267219543457,
|
235 |
+
0.02021887969970703,
|
236 |
+
0.020297727584838866,
|
237 |
+
0.020184064865112306,
|
238 |
+
0.02025881576538086,
|
239 |
+
0.020291584014892578,
|
240 |
+
0.020189184188842774,
|
241 |
+
0.020185087203979494,
|
242 |
+
0.020168703079223634,
|
243 |
+
0.020178943634033202,
|
244 |
+
0.020200447082519533,
|
245 |
+
0.020185087203979494,
|
246 |
+
0.019986431121826173,
|
247 |
+
0.020016128540039063,
|
248 |
+
0.020000768661499024,
|
249 |
+
0.020017152786254884,
|
250 |
+
0.020016128540039063,
|
251 |
+
0.02001203155517578,
|
252 |
+
0.020002815246582033,
|
253 |
+
0.020783103942871094,
|
254 |
+
0.021389312744140625,
|
255 |
+
0.02129817581176758,
|
256 |
+
0.020932607650756836,
|
257 |
+
0.0208855037689209,
|
258 |
+
0.020824064254760744,
|
259 |
+
0.020907007217407226,
|
260 |
+
0.021118976593017577,
|
261 |
+
0.020937728881835937,
|
262 |
+
0.020212736129760742,
|
263 |
+
0.02021990394592285,
|
264 |
+
0.020808704376220705,
|
265 |
+
0.020395008087158203,
|
266 |
+
0.020230144500732423,
|
267 |
+
0.02129100799560547,
|
268 |
+
0.020813823699951172,
|
269 |
+
0.020238336563110353,
|
270 |
+
0.02019327926635742,
|
271 |
+
0.02027008056640625,
|
272 |
+
0.02026700782775879,
|
273 |
+
0.02023526382446289,
|
274 |
+
0.02026188850402832,
|
275 |
+
0.020525056838989256,
|
276 |
+
0.0204902400970459,
|
277 |
+
0.021230592727661132,
|
278 |
+
0.021909503936767577,
|
279 |
+
0.021021696090698243,
|
280 |
+
0.020526079177856444,
|
281 |
+
0.020197376251220703,
|
282 |
+
0.02086092758178711,
|
283 |
+
0.020765695571899414,
|
284 |
+
0.02025267219543457,
|
285 |
+
0.02027622413635254,
|
286 |
+
0.020256767272949217,
|
287 |
+
0.02023321533203125,
|
288 |
+
0.021167104721069335,
|
289 |
+
0.02083328056335449,
|
290 |
+
0.020816896438598635,
|
291 |
+
0.02084659194946289,
|
292 |
+
0.020898815155029296,
|
293 |
+
0.020288511276245116,
|
294 |
+
0.020220928192138672,
|
295 |
+
0.0208035831451416,
|
296 |
+
0.020904960632324218,
|
297 |
+
0.02027622413635254,
|
298 |
+
0.020254720687866212,
|
299 |
+
0.02023219108581543,
|
300 |
+
0.020256767272949217,
|
301 |
+
0.020222976684570314,
|
302 |
+
0.02005606460571289,
|
303 |
+
0.020557823181152343,
|
304 |
+
0.020505599975585938,
|
305 |
+
0.02047488021850586,
|
306 |
+
0.020580352783203124,
|
307 |
+
0.02047488021850586,
|
308 |
+
0.02004991912841797,
|
309 |
+
0.02002841567993164,
|
310 |
+
0.02002227210998535,
|
311 |
+
0.020067327499389647,
|
312 |
+
0.020074495315551756,
|
313 |
+
0.020008960723876954,
|
314 |
+
0.020068351745605468,
|
315 |
+
0.02006220817565918,
|
316 |
+
0.021515264511108398,
|
317 |
+
0.02084454345703125,
|
318 |
+
0.020769792556762694,
|
319 |
+
0.020876287460327148,
|
320 |
+
0.02084966468811035,
|
321 |
+
0.020558847427368163,
|
322 |
+
0.020220928192138672,
|
323 |
+
0.02006425666809082,
|
324 |
+
0.020039680480957032,
|
325 |
+
0.020067327499389647,
|
326 |
+
0.02003558349609375,
|
327 |
+
0.02002124786376953,
|
328 |
+
0.02044927978515625,
|
329 |
+
0.02083328056335449,
|
330 |
+
0.02027519989013672,
|
331 |
+
0.020685823440551757,
|
332 |
+
0.02023423957824707,
|
333 |
+
0.02023628807067871,
|
334 |
+
0.02020966339111328,
|
335 |
+
0.02024140739440918,
|
336 |
+
0.02024550437927246,
|
337 |
+
0.020511743545532226,
|
338 |
+
0.02026393508911133,
|
339 |
+
0.020206592559814454,
|
340 |
+
0.0202106876373291,
|
341 |
+
0.020230144500732423,
|
342 |
+
0.020172800064086914,
|
343 |
+
0.02024448013305664,
|
344 |
+
0.020256767272949217,
|
345 |
+
0.02026188850402832,
|
346 |
+
0.02024041557312012,
|
347 |
+
0.020255712509155272,
|
348 |
+
0.02026700782775879,
|
349 |
+
0.020083711624145507,
|
350 |
+
0.020031488418579102,
|
351 |
+
0.020040704727172853,
|
352 |
+
0.020017152786254884,
|
353 |
+
0.02001203155517578,
|
354 |
+
0.02022502326965332,
|
355 |
+
0.02022707176208496,
|
356 |
+
0.020787200927734374,
|
357 |
+
0.02058137512207031
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.93893124900428
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02198051166534424,
|
7 |
+
"prefill.throughput.value": 318.4639241604466,
|
8 |
+
"decode.latency.mean": 2.5951973876953125,
|
9 |
+
"decode.throughput.value": 48.93654740951456,
|
10 |
+
"per_token.latency.mean": 0.020433629719291146,
|
11 |
+
"per_token.throughput.value": 48.93893124900428
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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: cff06aac6fad28019930be03f5d467055bf62177
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177
|
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/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177
|
88 |
+
- hydra.run.dir=_benchmark/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177/${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/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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": 1338.368,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 12.57340234375,
|
120 |
+
"mean": 12.57340234375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.57340234375,
|
123 |
+
"p90": 12.57340234375,
|
124 |
+
"p95": 12.57340234375,
|
125 |
+
"p99": 12.57340234375,
|
126 |
+
"values": [
|
127 |
+
12.57340234375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1881.23136,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6138.363904,
|
141 |
+
"max_allocated": 5278.596608
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.028383904457092286,
|
147 |
+
"mean": 0.014191952228546143,
|
148 |
+
"stdev": 0.00013851213455200184,
|
149 |
+
"p50": 0.014191952228546143,
|
150 |
+
"p90": 0.014302761936187744,
|
151 |
+
"p95": 0.014316613149642944,
|
152 |
+
"p99": 0.014327694120407105,
|
153 |
+
"values": [
|
154 |
+
0.014053440093994141,
|
155 |
+
0.014330464363098145
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 493.2372859824019
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2050.961408,
|
169 |
+
"max_global_vram": 6071.779328,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 5381.292032,
|
172 |
+
"max_allocated": 5282.647552
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 3.1313808593749997,
|
178 |
+
"mean": 1.5656904296874998,
|
179 |
+
"stdev": 0.00018457031249996536,
|
180 |
+
"p50": 1.5656904296874998,
|
181 |
+
"p90": 1.5658380859374998,
|
182 |
+
"p95": 1.5658565429687499,
|
183 |
+
"p99": 1.56587130859375,
|
184 |
+
"values": [
|
185 |
+
1.565875,
|
186 |
+
1.565505859375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.11437458639142
|
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.131095027923584,
|
202 |
+
"mean": 0.012327145779226709,
|
203 |
+
"stdev": 5.437388132089297e-05,
|
204 |
+
"p50": 0.012314623832702636,
|
205 |
+
"p90": 0.012347084808349609,
|
206 |
+
"p95": 0.012377548789978028,
|
207 |
+
"p99": 0.012596234197616577,
|
208 |
+
"values": [
|
209 |
+
0.012382207870483398,
|
210 |
+
0.012361727714538574,
|
211 |
+
0.012320768356323243,
|
212 |
+
0.012319744110107422,
|
213 |
+
0.012306431770324706,
|
214 |
+
0.012316672325134278,
|
215 |
+
0.012305407524108887,
|
216 |
+
0.012361727714538574,
|
217 |
+
0.0123504638671875,
|
218 |
+
0.012300288200378418,
|
219 |
+
0.012318719863891601,
|
220 |
+
0.012326911926269531,
|
221 |
+
0.012322815895080566,
|
222 |
+
0.01234329605102539,
|
223 |
+
0.012305407524108887,
|
224 |
+
0.012306431770324706,
|
225 |
+
0.012333056449890138,
|
226 |
+
0.012327936172485352,
|
227 |
+
0.012346367835998535,
|
228 |
+
0.01234227180480957,
|
229 |
+
0.012328960418701173,
|
230 |
+
0.01232588768005371,
|
231 |
+
0.012315648078918457,
|
232 |
+
0.012361727714538574,
|
233 |
+
0.012313599586486817,
|
234 |
+
0.012322815895080566,
|
235 |
+
0.012310527801513671,
|
236 |
+
0.012306431770324706,
|
237 |
+
0.012313599586486817,
|
238 |
+
0.012308480262756348,
|
239 |
+
0.012312576293945313,
|
240 |
+
0.012356608390808106,
|
241 |
+
0.012331007957458496,
|
242 |
+
0.012311552047729492,
|
243 |
+
0.012311552047729492,
|
244 |
+
0.012308480262756348,
|
245 |
+
0.012308575630187989,
|
246 |
+
0.012327839851379394,
|
247 |
+
0.012329983711242675,
|
248 |
+
0.012309503555297852,
|
249 |
+
0.012311552047729492,
|
250 |
+
0.012314623832702636,
|
251 |
+
0.012302335739135742,
|
252 |
+
0.012309503555297852,
|
253 |
+
0.012305407524108887,
|
254 |
+
0.012318719863891601,
|
255 |
+
0.012314623832702636,
|
256 |
+
0.012306431770324706,
|
257 |
+
0.012314623832702636,
|
258 |
+
0.012316672325134278,
|
259 |
+
0.012443648338317872,
|
260 |
+
0.0123504638671875,
|
261 |
+
0.012312576293945313,
|
262 |
+
0.012320768356323243,
|
263 |
+
0.012327936172485352,
|
264 |
+
0.012312576293945313,
|
265 |
+
0.012304384231567383,
|
266 |
+
0.012320768356323243,
|
267 |
+
0.012315648078918457,
|
268 |
+
0.012307456016540527,
|
269 |
+
0.012298239707946777,
|
270 |
+
0.012324864387512208,
|
271 |
+
0.01234124755859375,
|
272 |
+
0.012321791648864745,
|
273 |
+
0.012305407524108887,
|
274 |
+
0.012317695617675782,
|
275 |
+
0.012322815895080566,
|
276 |
+
0.012306431770324706,
|
277 |
+
0.012309503555297852,
|
278 |
+
0.012312576293945313,
|
279 |
+
0.012317695617675782,
|
280 |
+
0.012317695617675782,
|
281 |
+
0.012329983711242675,
|
282 |
+
0.012304384231567383,
|
283 |
+
0.012324864387512208,
|
284 |
+
0.012331007957458496,
|
285 |
+
0.012300288200378418,
|
286 |
+
0.012326911926269531,
|
287 |
+
0.012308480262756348,
|
288 |
+
0.012318719863891601,
|
289 |
+
0.012303359985351562,
|
290 |
+
0.012310527801513671,
|
291 |
+
0.012328960418701173,
|
292 |
+
0.012338175773620605,
|
293 |
+
0.012304384231567383,
|
294 |
+
0.012309503555297852,
|
295 |
+
0.012329983711242675,
|
296 |
+
0.012321791648864745,
|
297 |
+
0.012339200019836426,
|
298 |
+
0.012312576293945313,
|
299 |
+
0.012316672325134278,
|
300 |
+
0.012302335739135742,
|
301 |
+
0.0123504638671875,
|
302 |
+
0.012304384231567383,
|
303 |
+
0.012310527801513671,
|
304 |
+
0.012322815895080566,
|
305 |
+
0.012322815895080566,
|
306 |
+
0.012314623832702636,
|
307 |
+
0.012306431770324706,
|
308 |
+
0.012328960418701173,
|
309 |
+
0.012320768356323243,
|
310 |
+
0.012310527801513671,
|
311 |
+
0.012438528060913086,
|
312 |
+
0.01232588768005371,
|
313 |
+
0.012316672325134278,
|
314 |
+
0.012478464126586914,
|
315 |
+
0.01255628776550293,
|
316 |
+
0.012641280174255372,
|
317 |
+
0.01236684799194336,
|
318 |
+
0.012375040054321289,
|
319 |
+
0.012368895530700684,
|
320 |
+
0.01233510398864746,
|
321 |
+
0.012305407524108887,
|
322 |
+
0.012328960418701173,
|
323 |
+
0.012315648078918457,
|
324 |
+
0.012320768356323243,
|
325 |
+
0.012306431770324706,
|
326 |
+
0.01234124755859375,
|
327 |
+
0.012308480262756348,
|
328 |
+
0.012314623832702636,
|
329 |
+
0.012309503555297852,
|
330 |
+
0.012301312446594239,
|
331 |
+
0.01232588768005371,
|
332 |
+
0.012313599586486817,
|
333 |
+
0.012309503555297852,
|
334 |
+
0.012314623832702636,
|
335 |
+
0.012320768356323243,
|
336 |
+
0.012355584144592285,
|
337 |
+
0.012302335739135742,
|
338 |
+
0.012305407524108887,
|
339 |
+
0.012307456016540527,
|
340 |
+
0.012301312446594239,
|
341 |
+
0.012319744110107422,
|
342 |
+
0.012305407524108887,
|
343 |
+
0.012322815895080566,
|
344 |
+
0.012316672325134278,
|
345 |
+
0.012294143676757812,
|
346 |
+
0.012305407524108887,
|
347 |
+
0.012307456016540527,
|
348 |
+
0.012321791648864745,
|
349 |
+
0.01233510398864746,
|
350 |
+
0.012305407524108887,
|
351 |
+
0.012312576293945313,
|
352 |
+
0.012304384231567383,
|
353 |
+
0.012311552047729492,
|
354 |
+
0.012313599586486817,
|
355 |
+
0.012306431770324706,
|
356 |
+
0.012320768356323243,
|
357 |
+
0.012311552047729492,
|
358 |
+
0.012312576293945313,
|
359 |
+
0.012305407524108887,
|
360 |
+
0.012310527801513671,
|
361 |
+
0.01233510398864746,
|
362 |
+
0.012321791648864745,
|
363 |
+
0.012340224266052247,
|
364 |
+
0.012316672325134278,
|
365 |
+
0.012307456016540527,
|
366 |
+
0.012309503555297852,
|
367 |
+
0.012305407524108887,
|
368 |
+
0.012307456016540527,
|
369 |
+
0.012314623832702636,
|
370 |
+
0.012300288200378418,
|
371 |
+
0.012308480262756348,
|
372 |
+
0.012307456016540527,
|
373 |
+
0.012304384231567383,
|
374 |
+
0.012329983711242675,
|
375 |
+
0.012337151527404786,
|
376 |
+
0.012297216415405274,
|
377 |
+
0.012304384231567383,
|
378 |
+
0.012299263954162597,
|
379 |
+
0.012302335739135742,
|
380 |
+
0.012303359985351562,
|
381 |
+
0.012299263954162597,
|
382 |
+
0.01232588768005371,
|
383 |
+
0.012310527801513671,
|
384 |
+
0.012306431770324706,
|
385 |
+
0.012315648078918457,
|
386 |
+
0.012306431770324706,
|
387 |
+
0.012329983711242675,
|
388 |
+
0.012304384231567383,
|
389 |
+
0.012316672325134278,
|
390 |
+
0.012307456016540527,
|
391 |
+
0.012298239707946777,
|
392 |
+
0.012297216415405274,
|
393 |
+
0.012423168182373047,
|
394 |
+
0.012766207695007324,
|
395 |
+
0.012803071975708008,
|
396 |
+
0.012413951873779297,
|
397 |
+
0.01235865592956543,
|
398 |
+
0.012328960418701173,
|
399 |
+
0.012338175773620605,
|
400 |
+
0.012311552047729492,
|
401 |
+
0.012312576293945313,
|
402 |
+
0.012299263954162597,
|
403 |
+
0.012383232116699219,
|
404 |
+
0.012307456016540527,
|
405 |
+
0.012304384231567383,
|
406 |
+
0.012313599586486817,
|
407 |
+
0.012307552337646485,
|
408 |
+
0.012318623542785645,
|
409 |
+
0.012340224266052247,
|
410 |
+
0.012303359985351562,
|
411 |
+
0.012323840141296387,
|
412 |
+
0.012329983711242675,
|
413 |
+
0.012307456016540527,
|
414 |
+
0.012347392082214356,
|
415 |
+
0.012306431770324706,
|
416 |
+
0.012308480262756348,
|
417 |
+
0.012305407524108887,
|
418 |
+
0.012316672325134278,
|
419 |
+
0.012322815895080566,
|
420 |
+
0.012505087852478027,
|
421 |
+
0.01238425636291504,
|
422 |
+
0.012321791648864745,
|
423 |
+
0.012316672325134278,
|
424 |
+
0.012318719863891601,
|
425 |
+
0.012314623832702636,
|
426 |
+
0.012308480262756348,
|
427 |
+
0.012313599586486817,
|
428 |
+
0.012324864387512208,
|
429 |
+
0.012305407524108887,
|
430 |
+
0.012309503555297852,
|
431 |
+
0.012311552047729492,
|
432 |
+
0.012319744110107422,
|
433 |
+
0.012316672325134278,
|
434 |
+
0.012310527801513671,
|
435 |
+
0.012312576293945313,
|
436 |
+
0.012310527801513671,
|
437 |
+
0.012313599586486817,
|
438 |
+
0.012306431770324706,
|
439 |
+
0.012309503555297852,
|
440 |
+
0.012323840141296387,
|
441 |
+
0.012324864387512208,
|
442 |
+
0.012309503555297852,
|
443 |
+
0.012315648078918457,
|
444 |
+
0.012307456016540527,
|
445 |
+
0.012346367835998535,
|
446 |
+
0.012318719863891601,
|
447 |
+
0.012303359985351562,
|
448 |
+
0.012307456016540527,
|
449 |
+
0.012304384231567383,
|
450 |
+
0.012311552047729492,
|
451 |
+
0.012317695617675782,
|
452 |
+
0.012313599586486817,
|
453 |
+
0.012303359985351562,
|
454 |
+
0.012315648078918457,
|
455 |
+
0.012300288200378418,
|
456 |
+
0.012314623832702636,
|
457 |
+
0.012307456016540527,
|
458 |
+
0.012327936172485352,
|
459 |
+
0.012332032203674317,
|
460 |
+
0.012313599586486817,
|
461 |
+
0.012307456016540527,
|
462 |
+
0.012310527801513671
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.12177935667528
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
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-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": 1338.368,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 12.57340234375,
|
15 |
+
"mean": 12.57340234375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.57340234375,
|
18 |
+
"p90": 12.57340234375,
|
19 |
+
"p95": 12.57340234375,
|
20 |
+
"p99": 12.57340234375,
|
21 |
+
"values": [
|
22 |
+
12.57340234375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1881.23136,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6138.363904,
|
36 |
+
"max_allocated": 5278.596608
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.028383904457092286,
|
42 |
+
"mean": 0.014191952228546143,
|
43 |
+
"stdev": 0.00013851213455200184,
|
44 |
+
"p50": 0.014191952228546143,
|
45 |
+
"p90": 0.014302761936187744,
|
46 |
+
"p95": 0.014316613149642944,
|
47 |
+
"p99": 0.014327694120407105,
|
48 |
+
"values": [
|
49 |
+
0.014053440093994141,
|
50 |
+
0.014330464363098145
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 493.2372859824019
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2050.961408,
|
64 |
+
"max_global_vram": 6071.779328,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 5381.292032,
|
67 |
+
"max_allocated": 5282.647552
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 3.1313808593749997,
|
73 |
+
"mean": 1.5656904296874998,
|
74 |
+
"stdev": 0.00018457031249996536,
|
75 |
+
"p50": 1.5656904296874998,
|
76 |
+
"p90": 1.5658380859374998,
|
77 |
+
"p95": 1.5658565429687499,
|
78 |
+
"p99": 1.56587130859375,
|
79 |
+
"values": [
|
80 |
+
1.565875,
|
81 |
+
1.565505859375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.11437458639142
|
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.131095027923584,
|
97 |
+
"mean": 0.012327145779226709,
|
98 |
+
"stdev": 5.437388132089297e-05,
|
99 |
+
"p50": 0.012314623832702636,
|
100 |
+
"p90": 0.012347084808349609,
|
101 |
+
"p95": 0.012377548789978028,
|
102 |
+
"p99": 0.012596234197616577,
|
103 |
+
"values": [
|
104 |
+
0.012382207870483398,
|
105 |
+
0.012361727714538574,
|
106 |
+
0.012320768356323243,
|
107 |
+
0.012319744110107422,
|
108 |
+
0.012306431770324706,
|
109 |
+
0.012316672325134278,
|
110 |
+
0.012305407524108887,
|
111 |
+
0.012361727714538574,
|
112 |
+
0.0123504638671875,
|
113 |
+
0.012300288200378418,
|
114 |
+
0.012318719863891601,
|
115 |
+
0.012326911926269531,
|
116 |
+
0.012322815895080566,
|
117 |
+
0.01234329605102539,
|
118 |
+
0.012305407524108887,
|
119 |
+
0.012306431770324706,
|
120 |
+
0.012333056449890138,
|
121 |
+
0.012327936172485352,
|
122 |
+
0.012346367835998535,
|
123 |
+
0.01234227180480957,
|
124 |
+
0.012328960418701173,
|
125 |
+
0.01232588768005371,
|
126 |
+
0.012315648078918457,
|
127 |
+
0.012361727714538574,
|
128 |
+
0.012313599586486817,
|
129 |
+
0.012322815895080566,
|
130 |
+
0.012310527801513671,
|
131 |
+
0.012306431770324706,
|
132 |
+
0.012313599586486817,
|
133 |
+
0.012308480262756348,
|
134 |
+
0.012312576293945313,
|
135 |
+
0.012356608390808106,
|
136 |
+
0.012331007957458496,
|
137 |
+
0.012311552047729492,
|
138 |
+
0.012311552047729492,
|
139 |
+
0.012308480262756348,
|
140 |
+
0.012308575630187989,
|
141 |
+
0.012327839851379394,
|
142 |
+
0.012329983711242675,
|
143 |
+
0.012309503555297852,
|
144 |
+
0.012311552047729492,
|
145 |
+
0.012314623832702636,
|
146 |
+
0.012302335739135742,
|
147 |
+
0.012309503555297852,
|
148 |
+
0.012305407524108887,
|
149 |
+
0.012318719863891601,
|
150 |
+
0.012314623832702636,
|
151 |
+
0.012306431770324706,
|
152 |
+
0.012314623832702636,
|
153 |
+
0.012316672325134278,
|
154 |
+
0.012443648338317872,
|
155 |
+
0.0123504638671875,
|
156 |
+
0.012312576293945313,
|
157 |
+
0.012320768356323243,
|
158 |
+
0.012327936172485352,
|
159 |
+
0.012312576293945313,
|
160 |
+
0.012304384231567383,
|
161 |
+
0.012320768356323243,
|
162 |
+
0.012315648078918457,
|
163 |
+
0.012307456016540527,
|
164 |
+
0.012298239707946777,
|
165 |
+
0.012324864387512208,
|
166 |
+
0.01234124755859375,
|
167 |
+
0.012321791648864745,
|
168 |
+
0.012305407524108887,
|
169 |
+
0.012317695617675782,
|
170 |
+
0.012322815895080566,
|
171 |
+
0.012306431770324706,
|
172 |
+
0.012309503555297852,
|
173 |
+
0.012312576293945313,
|
174 |
+
0.012317695617675782,
|
175 |
+
0.012317695617675782,
|
176 |
+
0.012329983711242675,
|
177 |
+
0.012304384231567383,
|
178 |
+
0.012324864387512208,
|
179 |
+
0.012331007957458496,
|
180 |
+
0.012300288200378418,
|
181 |
+
0.012326911926269531,
|
182 |
+
0.012308480262756348,
|
183 |
+
0.012318719863891601,
|
184 |
+
0.012303359985351562,
|
185 |
+
0.012310527801513671,
|
186 |
+
0.012328960418701173,
|
187 |
+
0.012338175773620605,
|
188 |
+
0.012304384231567383,
|
189 |
+
0.012309503555297852,
|
190 |
+
0.012329983711242675,
|
191 |
+
0.012321791648864745,
|
192 |
+
0.012339200019836426,
|
193 |
+
0.012312576293945313,
|
194 |
+
0.012316672325134278,
|
195 |
+
0.012302335739135742,
|
196 |
+
0.0123504638671875,
|
197 |
+
0.012304384231567383,
|
198 |
+
0.012310527801513671,
|
199 |
+
0.012322815895080566,
|
200 |
+
0.012322815895080566,
|
201 |
+
0.012314623832702636,
|
202 |
+
0.012306431770324706,
|
203 |
+
0.012328960418701173,
|
204 |
+
0.012320768356323243,
|
205 |
+
0.012310527801513671,
|
206 |
+
0.012438528060913086,
|
207 |
+
0.01232588768005371,
|
208 |
+
0.012316672325134278,
|
209 |
+
0.012478464126586914,
|
210 |
+
0.01255628776550293,
|
211 |
+
0.012641280174255372,
|
212 |
+
0.01236684799194336,
|
213 |
+
0.012375040054321289,
|
214 |
+
0.012368895530700684,
|
215 |
+
0.01233510398864746,
|
216 |
+
0.012305407524108887,
|
217 |
+
0.012328960418701173,
|
218 |
+
0.012315648078918457,
|
219 |
+
0.012320768356323243,
|
220 |
+
0.012306431770324706,
|
221 |
+
0.01234124755859375,
|
222 |
+
0.012308480262756348,
|
223 |
+
0.012314623832702636,
|
224 |
+
0.012309503555297852,
|
225 |
+
0.012301312446594239,
|
226 |
+
0.01232588768005371,
|
227 |
+
0.012313599586486817,
|
228 |
+
0.012309503555297852,
|
229 |
+
0.012314623832702636,
|
230 |
+
0.012320768356323243,
|
231 |
+
0.012355584144592285,
|
232 |
+
0.012302335739135742,
|
233 |
+
0.012305407524108887,
|
234 |
+
0.012307456016540527,
|
235 |
+
0.012301312446594239,
|
236 |
+
0.012319744110107422,
|
237 |
+
0.012305407524108887,
|
238 |
+
0.012322815895080566,
|
239 |
+
0.012316672325134278,
|
240 |
+
0.012294143676757812,
|
241 |
+
0.012305407524108887,
|
242 |
+
0.012307456016540527,
|
243 |
+
0.012321791648864745,
|
244 |
+
0.01233510398864746,
|
245 |
+
0.012305407524108887,
|
246 |
+
0.012312576293945313,
|
247 |
+
0.012304384231567383,
|
248 |
+
0.012311552047729492,
|
249 |
+
0.012313599586486817,
|
250 |
+
0.012306431770324706,
|
251 |
+
0.012320768356323243,
|
252 |
+
0.012311552047729492,
|
253 |
+
0.012312576293945313,
|
254 |
+
0.012305407524108887,
|
255 |
+
0.012310527801513671,
|
256 |
+
0.01233510398864746,
|
257 |
+
0.012321791648864745,
|
258 |
+
0.012340224266052247,
|
259 |
+
0.012316672325134278,
|
260 |
+
0.012307456016540527,
|
261 |
+
0.012309503555297852,
|
262 |
+
0.012305407524108887,
|
263 |
+
0.012307456016540527,
|
264 |
+
0.012314623832702636,
|
265 |
+
0.012300288200378418,
|
266 |
+
0.012308480262756348,
|
267 |
+
0.012307456016540527,
|
268 |
+
0.012304384231567383,
|
269 |
+
0.012329983711242675,
|
270 |
+
0.012337151527404786,
|
271 |
+
0.012297216415405274,
|
272 |
+
0.012304384231567383,
|
273 |
+
0.012299263954162597,
|
274 |
+
0.012302335739135742,
|
275 |
+
0.012303359985351562,
|
276 |
+
0.012299263954162597,
|
277 |
+
0.01232588768005371,
|
278 |
+
0.012310527801513671,
|
279 |
+
0.012306431770324706,
|
280 |
+
0.012315648078918457,
|
281 |
+
0.012306431770324706,
|
282 |
+
0.012329983711242675,
|
283 |
+
0.012304384231567383,
|
284 |
+
0.012316672325134278,
|
285 |
+
0.012307456016540527,
|
286 |
+
0.012298239707946777,
|
287 |
+
0.012297216415405274,
|
288 |
+
0.012423168182373047,
|
289 |
+
0.012766207695007324,
|
290 |
+
0.012803071975708008,
|
291 |
+
0.012413951873779297,
|
292 |
+
0.01235865592956543,
|
293 |
+
0.012328960418701173,
|
294 |
+
0.012338175773620605,
|
295 |
+
0.012311552047729492,
|
296 |
+
0.012312576293945313,
|
297 |
+
0.012299263954162597,
|
298 |
+
0.012383232116699219,
|
299 |
+
0.012307456016540527,
|
300 |
+
0.012304384231567383,
|
301 |
+
0.012313599586486817,
|
302 |
+
0.012307552337646485,
|
303 |
+
0.012318623542785645,
|
304 |
+
0.012340224266052247,
|
305 |
+
0.012303359985351562,
|
306 |
+
0.012323840141296387,
|
307 |
+
0.012329983711242675,
|
308 |
+
0.012307456016540527,
|
309 |
+
0.012347392082214356,
|
310 |
+
0.012306431770324706,
|
311 |
+
0.012308480262756348,
|
312 |
+
0.012305407524108887,
|
313 |
+
0.012316672325134278,
|
314 |
+
0.012322815895080566,
|
315 |
+
0.012505087852478027,
|
316 |
+
0.01238425636291504,
|
317 |
+
0.012321791648864745,
|
318 |
+
0.012316672325134278,
|
319 |
+
0.012318719863891601,
|
320 |
+
0.012314623832702636,
|
321 |
+
0.012308480262756348,
|
322 |
+
0.012313599586486817,
|
323 |
+
0.012324864387512208,
|
324 |
+
0.012305407524108887,
|
325 |
+
0.012309503555297852,
|
326 |
+
0.012311552047729492,
|
327 |
+
0.012319744110107422,
|
328 |
+
0.012316672325134278,
|
329 |
+
0.012310527801513671,
|
330 |
+
0.012312576293945313,
|
331 |
+
0.012310527801513671,
|
332 |
+
0.012313599586486817,
|
333 |
+
0.012306431770324706,
|
334 |
+
0.012309503555297852,
|
335 |
+
0.012323840141296387,
|
336 |
+
0.012324864387512208,
|
337 |
+
0.012309503555297852,
|
338 |
+
0.012315648078918457,
|
339 |
+
0.012307456016540527,
|
340 |
+
0.012346367835998535,
|
341 |
+
0.012318719863891601,
|
342 |
+
0.012303359985351562,
|
343 |
+
0.012307456016540527,
|
344 |
+
0.012304384231567383,
|
345 |
+
0.012311552047729492,
|
346 |
+
0.012317695617675782,
|
347 |
+
0.012313599586486817,
|
348 |
+
0.012303359985351562,
|
349 |
+
0.012315648078918457,
|
350 |
+
0.012300288200378418,
|
351 |
+
0.012314623832702636,
|
352 |
+
0.012307456016540527,
|
353 |
+
0.012327936172485352,
|
354 |
+
0.012332032203674317,
|
355 |
+
0.012313599586486817,
|
356 |
+
0.012307456016540527,
|
357 |
+
0.012310527801513671
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.12177935667528
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/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": "cff06aac6fad28019930be03f5d467055bf62177",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014191952228546143,
|
7 |
+
"prefill.throughput.value": 493.2372859824019,
|
8 |
+
"decode.latency.mean": 1.5656904296874998,
|
9 |
+
"decode.throughput.value": 81.11437458639142,
|
10 |
+
"per_token.latency.mean": 0.012327145779226709,
|
11 |
+
"per_token.throughput.value": 81.12177935667528
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=cff06aac6fad28019930be03f5d467055bf62177/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpjfkis0cl/commit=cff06aac6fad28019930be03f5d467055bf62177
|
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/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177
|
88 |
+
- hydra.run.dir=_benchmark/tmpjfkis0cl/commit\=cff06aac6fad28019930be03f5d467055bf62177/${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: cff06aac6fad28019930be03f5d467055bf62177
|
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-03/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "cff06aac6fad28019930be03f5d467055bf62177",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02121953582763672,
|
8 |
+
"prefill.throughput.value": 329.8846900733365,
|
9 |
+
"decode.latency.mean": 2.5355677490234374,
|
10 |
+
"decode.throughput.value": 50.08740154898779,
|
11 |
+
"per_token.latency.mean": 0.019963835438405433,
|
12 |
+
"per_token.throughput.value": 50.0905751845785
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "cff06aac6fad28019930be03f5d467055bf62177",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02198051166534424,
|
21 |
+
"prefill.throughput.value": 318.4639241604466,
|
22 |
+
"decode.latency.mean": 2.5951973876953125,
|
23 |
+
"decode.throughput.value": 48.93654740951456,
|
24 |
+
"per_token.latency.mean": 0.020433629719291146,
|
25 |
+
"per_token.throughput.value": 48.93893124900428
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "cff06aac6fad28019930be03f5d467055bf62177",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014191952228546143,
|
34 |
+
"prefill.throughput.value": 493.2372859824019,
|
35 |
+
"decode.latency.mean": 1.5656904296874998,
|
36 |
+
"decode.throughput.value": 81.11437458639142,
|
37 |
+
"per_token.latency.mean": 0.012327145779226709,
|
38 |
+
"per_token.throughput.value": 81.12177935667528
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-09-03/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"cff06aac6fad28019930be03f5d467055bf62177": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02121953582763672,
|
7 |
+
"prefill.throughput.value": 329.8846900733365,
|
8 |
+
"decode.latency.mean": 2.5355677490234374,
|
9 |
+
"decode.throughput.value": 50.08740154898779,
|
10 |
+
"per_token.latency.mean": 0.019963835438405433,
|
11 |
+
"per_token.throughput.value": 50.0905751845785
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"cff06aac6fad28019930be03f5d467055bf62177": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02198051166534424,
|
19 |
+
"prefill.throughput.value": 318.4639241604466,
|
20 |
+
"decode.latency.mean": 2.5951973876953125,
|
21 |
+
"decode.throughput.value": 48.93654740951456,
|
22 |
+
"per_token.latency.mean": 0.020433629719291146,
|
23 |
+
"per_token.throughput.value": 48.93893124900428
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"cff06aac6fad28019930be03f5d467055bf62177": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014191952228546143,
|
31 |
+
"prefill.throughput.value": 493.2372859824019,
|
32 |
+
"decode.latency.mean": 1.5656904296874998,
|
33 |
+
"decode.throughput.value": 81.11437458639142,
|
34 |
+
"per_token.latency.mean": 0.012327145779226709,
|
35 |
+
"per_token.throughput.value": 81.12177935667528
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|