hf-transformers-bot
commited on
Commit
•
e0b6f2d
1
Parent(s):
62649ec
Upload folder using huggingface_hub
Browse files- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/multirun.yaml +234 -0
- 2024-09-03/summaries.json +41 -0
- 2024-09-03/summary.json +40 -0
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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: 566302686a71de14125717dea9a6a45b24d42b37
|
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=566302686a71de14125717dea9a6a45b24d42b37/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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37
|
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/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37
|
88 |
+
- hydra.run.dir=_benchmark/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37/${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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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.882176,
|
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.5319248046875,
|
120 |
+
"mean": 11.5319248046875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.5319248046875,
|
123 |
+
"p90": 11.5319248046875,
|
124 |
+
"p95": 11.5319248046875,
|
125 |
+
"p99": 11.5319248046875,
|
126 |
+
"values": [
|
127 |
+
11.5319248046875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1714.655232,
|
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.04125673484802246,
|
147 |
+
"mean": 0.02062836742401123,
|
148 |
+
"stdev": 7.998371124267462e-05,
|
149 |
+
"p50": 0.02062836742401123,
|
150 |
+
"p90": 0.02069235439300537,
|
151 |
+
"p95": 0.020700352764129636,
|
152 |
+
"p99": 0.02070675146102905,
|
153 |
+
"values": [
|
154 |
+
0.020548383712768556,
|
155 |
+
0.020708351135253905
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 339.338535915938
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1768.615936,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 4.891636962890624,
|
178 |
+
"mean": 2.445818481445312,
|
179 |
+
"stdev": 0.0012803955078124485,
|
180 |
+
"p50": 2.445818481445312,
|
181 |
+
"p90": 2.4468427978515623,
|
182 |
+
"p95": 2.4469708374023433,
|
183 |
+
"p99": 2.4470732690429684,
|
184 |
+
"values": [
|
185 |
+
2.447098876953125,
|
186 |
+
2.4445380859375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 51.92535789694076
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 4.891315204620362,
|
202 |
+
"mean": 0.019257146474883316,
|
203 |
+
"stdev": 0.00016616298913270166,
|
204 |
+
"p50": 0.0192225284576416,
|
205 |
+
"p90": 0.019356672286987304,
|
206 |
+
"p95": 0.01963637752532959,
|
207 |
+
"p99": 0.01988438066482544,
|
208 |
+
"values": [
|
209 |
+
0.019118080139160155,
|
210 |
+
0.019139583587646485,
|
211 |
+
0.019165184020996092,
|
212 |
+
0.01920102310180664,
|
213 |
+
0.01987379264831543,
|
214 |
+
0.019306495666503908,
|
215 |
+
0.019113983154296875,
|
216 |
+
0.019166208267211913,
|
217 |
+
0.019200000762939453,
|
218 |
+
0.019150848388671874,
|
219 |
+
0.019180543899536134,
|
220 |
+
0.019133440017700197,
|
221 |
+
0.019100671768188478,
|
222 |
+
0.019169279098510742,
|
223 |
+
0.01919692802429199,
|
224 |
+
0.01915190315246582,
|
225 |
+
0.019161056518554688,
|
226 |
+
0.019194879531860352,
|
227 |
+
0.01922047996520996,
|
228 |
+
0.01925017547607422,
|
229 |
+
0.01920614433288574,
|
230 |
+
0.019268608093261717,
|
231 |
+
0.019160064697265625,
|
232 |
+
0.01902387237548828,
|
233 |
+
0.01921433639526367,
|
234 |
+
0.019172351837158205,
|
235 |
+
0.019744768142700195,
|
236 |
+
0.01926553535461426,
|
237 |
+
0.0192225284576416,
|
238 |
+
0.019219455718994142,
|
239 |
+
0.0192225284576416,
|
240 |
+
0.019272703170776367,
|
241 |
+
0.019142656326293944,
|
242 |
+
0.01926553535461426,
|
243 |
+
0.019208192825317383,
|
244 |
+
0.019145727157592773,
|
245 |
+
0.019111936569213867,
|
246 |
+
0.01909760093688965,
|
247 |
+
0.01900339126586914,
|
248 |
+
0.019096576690673828,
|
249 |
+
0.019086336135864256,
|
250 |
+
0.018998271942138673,
|
251 |
+
0.01919795227050781,
|
252 |
+
0.019146751403808594,
|
253 |
+
0.01918976020812988,
|
254 |
+
0.019169279098510742,
|
255 |
+
0.01919795227050781,
|
256 |
+
0.019155967712402345,
|
257 |
+
0.019190784454345702,
|
258 |
+
0.019191808700561523,
|
259 |
+
0.01920512008666992,
|
260 |
+
0.019013696670532227,
|
261 |
+
0.019089344024658204,
|
262 |
+
0.019208192825317383,
|
263 |
+
0.019167232513427734,
|
264 |
+
0.019168256759643554,
|
265 |
+
0.019200000762939453,
|
266 |
+
0.019310592651367187,
|
267 |
+
0.01926655960083008,
|
268 |
+
0.019375104904174805,
|
269 |
+
0.019330047607421876,
|
270 |
+
0.019318784713745117,
|
271 |
+
0.019345407485961915,
|
272 |
+
0.019322879791259767,
|
273 |
+
0.019281919479370118,
|
274 |
+
0.019337215423583985,
|
275 |
+
0.019289087295532227,
|
276 |
+
0.019286016464233398,
|
277 |
+
0.019317760467529296,
|
278 |
+
0.019300352096557616,
|
279 |
+
0.0192174072265625,
|
280 |
+
0.019294208526611328,
|
281 |
+
0.01925632095336914,
|
282 |
+
0.019333120346069335,
|
283 |
+
0.019316736221313476,
|
284 |
+
0.019305471420288087,
|
285 |
+
0.019354623794555666,
|
286 |
+
0.019358720779418945,
|
287 |
+
0.019397632598876953,
|
288 |
+
0.019307519912719725,
|
289 |
+
0.019356672286987304,
|
290 |
+
0.019353599548339845,
|
291 |
+
0.019171327590942384,
|
292 |
+
0.01946316719055176,
|
293 |
+
0.019808256149291992,
|
294 |
+
0.01970278358459473,
|
295 |
+
0.019224576950073242,
|
296 |
+
0.019126272201538085,
|
297 |
+
0.01920614433288574,
|
298 |
+
0.01927987289428711,
|
299 |
+
0.01904844856262207,
|
300 |
+
0.019170303344726563,
|
301 |
+
0.019162111282348633,
|
302 |
+
0.019307519912719725,
|
303 |
+
0.019158016204833983,
|
304 |
+
0.019110912322998046,
|
305 |
+
0.019185728073120117,
|
306 |
+
0.01930847930908203,
|
307 |
+
0.019290111541748048,
|
308 |
+
0.01948057556152344,
|
309 |
+
0.019168256759643554,
|
310 |
+
0.019121152877807617,
|
311 |
+
0.01902796745300293,
|
312 |
+
0.01906380844116211,
|
313 |
+
0.019358720779418945,
|
314 |
+
0.019280895233154297,
|
315 |
+
0.019298303604125978,
|
316 |
+
0.019290111541748048,
|
317 |
+
0.020063232421875,
|
318 |
+
0.02005606460571289,
|
319 |
+
0.019825664520263672,
|
320 |
+
0.019408895492553712,
|
321 |
+
0.019342336654663086,
|
322 |
+
0.0198154239654541,
|
323 |
+
0.019352575302124024,
|
324 |
+
0.019341312408447265,
|
325 |
+
0.019389440536499023,
|
326 |
+
0.019323904037475585,
|
327 |
+
0.019058687210083008,
|
328 |
+
0.01926553535461426,
|
329 |
+
0.019290111541748048,
|
330 |
+
0.019319807052612305,
|
331 |
+
0.019332096099853514,
|
332 |
+
0.019353599548339845,
|
333 |
+
0.01918976020812988,
|
334 |
+
0.01928704071044922,
|
335 |
+
0.019338239669799806,
|
336 |
+
0.019159040451049804,
|
337 |
+
0.019172351837158205,
|
338 |
+
0.019134464263916014,
|
339 |
+
0.019204095840454103,
|
340 |
+
0.01904742431640625,
|
341 |
+
0.01920204734802246,
|
342 |
+
0.018971647262573242,
|
343 |
+
0.019167232513427734,
|
344 |
+
0.01921023941040039,
|
345 |
+
0.019120128631591796,
|
346 |
+
0.01918976020812988,
|
347 |
+
0.019175424575805664,
|
348 |
+
0.019176448822021484,
|
349 |
+
0.01923379135131836,
|
350 |
+
0.019169279098510742,
|
351 |
+
0.01921843147277832,
|
352 |
+
0.019207168579101562,
|
353 |
+
0.019073055267333983,
|
354 |
+
0.019000288009643554,
|
355 |
+
0.019124223709106446,
|
356 |
+
0.019133440017700197,
|
357 |
+
0.019175424575805664,
|
358 |
+
0.019187711715698243,
|
359 |
+
0.01916316795349121,
|
360 |
+
0.019221471786499023,
|
361 |
+
0.01924710464477539,
|
362 |
+
0.01924300765991211,
|
363 |
+
0.019224576950073242,
|
364 |
+
0.019185663223266602,
|
365 |
+
0.01925119972229004,
|
366 |
+
0.019216384887695313,
|
367 |
+
0.018970624923706055,
|
368 |
+
0.019140607833862306,
|
369 |
+
0.019099647521972657,
|
370 |
+
0.019139583587646485,
|
371 |
+
0.0192225284576416,
|
372 |
+
0.019164159774780275,
|
373 |
+
0.019175424575805664,
|
374 |
+
0.019145727157592773,
|
375 |
+
0.019161088943481445,
|
376 |
+
0.019140640258789064,
|
377 |
+
0.01916208076477051,
|
378 |
+
0.019208192825317383,
|
379 |
+
0.01919385528564453,
|
380 |
+
0.019148799896240236,
|
381 |
+
0.019168256759643554,
|
382 |
+
0.01918156814575195,
|
383 |
+
0.01920614433288574,
|
384 |
+
0.019160064697265625,
|
385 |
+
0.019172351837158205,
|
386 |
+
0.019177471160888672,
|
387 |
+
0.01920614433288574,
|
388 |
+
0.019146751403808594,
|
389 |
+
0.019150848388671874,
|
390 |
+
0.01961881637573242,
|
391 |
+
0.019153919219970703,
|
392 |
+
0.019185663223266602,
|
393 |
+
0.019296255111694336,
|
394 |
+
0.01927168083190918,
|
395 |
+
0.01939558410644531,
|
396 |
+
0.019302400588989257,
|
397 |
+
0.019252223968505858,
|
398 |
+
0.019305471420288087,
|
399 |
+
0.019352575302124024,
|
400 |
+
0.019216384887695313,
|
401 |
+
0.01927577590942383,
|
402 |
+
0.019312639236450196,
|
403 |
+
0.019195903778076173,
|
404 |
+
0.019179519653320314,
|
405 |
+
0.019301376342773437,
|
406 |
+
0.019280895233154297,
|
407 |
+
0.019269632339477538,
|
408 |
+
0.01926246452331543,
|
409 |
+
0.019148799896240236,
|
410 |
+
0.01928294372558594,
|
411 |
+
0.019353599548339845,
|
412 |
+
0.01929113578796387,
|
413 |
+
0.019277824401855468,
|
414 |
+
0.019288063049316406,
|
415 |
+
0.019330047607421876,
|
416 |
+
0.019324928283691405,
|
417 |
+
0.019329023361206055,
|
418 |
+
0.019092479705810548,
|
419 |
+
0.019330047607421876,
|
420 |
+
0.019711999893188475,
|
421 |
+
0.019896320343017578,
|
422 |
+
0.019292160034179686,
|
423 |
+
0.019276800155639647,
|
424 |
+
0.019319807052612305,
|
425 |
+
0.019085344314575196,
|
426 |
+
0.019190879821777345,
|
427 |
+
0.018998144149780273,
|
428 |
+
0.01926553535461426,
|
429 |
+
0.019316736221313476,
|
430 |
+
0.01928294372558594,
|
431 |
+
0.019293184280395507,
|
432 |
+
0.01922662353515625,
|
433 |
+
0.019313663482666017,
|
434 |
+
0.019312639236450196,
|
435 |
+
0.019366912841796875,
|
436 |
+
0.019356672286987304,
|
437 |
+
0.019311616897583008,
|
438 |
+
0.01927987289428711,
|
439 |
+
0.019318784713745117,
|
440 |
+
0.019281919479370118,
|
441 |
+
0.01922047996520996,
|
442 |
+
0.019302400588989257,
|
443 |
+
0.019083263397216797,
|
444 |
+
0.019086336135864256,
|
445 |
+
0.019123199462890626,
|
446 |
+
0.019335168838500977,
|
447 |
+
0.019826688766479493,
|
448 |
+
0.019668991088867188,
|
449 |
+
0.019818496704101563,
|
450 |
+
0.019501056671142578,
|
451 |
+
0.019290111541748048,
|
452 |
+
0.01921843147277832,
|
453 |
+
0.019298303604125978,
|
454 |
+
0.01927987289428711,
|
455 |
+
0.019311616897583008,
|
456 |
+
0.01922559928894043,
|
457 |
+
0.019306495666503908,
|
458 |
+
0.019298303604125978,
|
459 |
+
0.019317760467529296,
|
460 |
+
0.01927884864807129,
|
461 |
+
0.01927987289428711,
|
462 |
+
0.019281919479370118
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 51.9287736271975
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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=566302686a71de14125717dea9a6a45b24d42b37/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.882176,
|
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.5319248046875,
|
15 |
+
"mean": 11.5319248046875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.5319248046875,
|
18 |
+
"p90": 11.5319248046875,
|
19 |
+
"p95": 11.5319248046875,
|
20 |
+
"p99": 11.5319248046875,
|
21 |
+
"values": [
|
22 |
+
11.5319248046875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1714.655232,
|
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.04125673484802246,
|
42 |
+
"mean": 0.02062836742401123,
|
43 |
+
"stdev": 7.998371124267462e-05,
|
44 |
+
"p50": 0.02062836742401123,
|
45 |
+
"p90": 0.02069235439300537,
|
46 |
+
"p95": 0.020700352764129636,
|
47 |
+
"p99": 0.02070675146102905,
|
48 |
+
"values": [
|
49 |
+
0.020548383712768556,
|
50 |
+
0.020708351135253905
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 339.338535915938
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1768.615936,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 4.891636962890624,
|
73 |
+
"mean": 2.445818481445312,
|
74 |
+
"stdev": 0.0012803955078124485,
|
75 |
+
"p50": 2.445818481445312,
|
76 |
+
"p90": 2.4468427978515623,
|
77 |
+
"p95": 2.4469708374023433,
|
78 |
+
"p99": 2.4470732690429684,
|
79 |
+
"values": [
|
80 |
+
2.447098876953125,
|
81 |
+
2.4445380859375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 51.92535789694076
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 4.891315204620362,
|
97 |
+
"mean": 0.019257146474883316,
|
98 |
+
"stdev": 0.00016616298913270166,
|
99 |
+
"p50": 0.0192225284576416,
|
100 |
+
"p90": 0.019356672286987304,
|
101 |
+
"p95": 0.01963637752532959,
|
102 |
+
"p99": 0.01988438066482544,
|
103 |
+
"values": [
|
104 |
+
0.019118080139160155,
|
105 |
+
0.019139583587646485,
|
106 |
+
0.019165184020996092,
|
107 |
+
0.01920102310180664,
|
108 |
+
0.01987379264831543,
|
109 |
+
0.019306495666503908,
|
110 |
+
0.019113983154296875,
|
111 |
+
0.019166208267211913,
|
112 |
+
0.019200000762939453,
|
113 |
+
0.019150848388671874,
|
114 |
+
0.019180543899536134,
|
115 |
+
0.019133440017700197,
|
116 |
+
0.019100671768188478,
|
117 |
+
0.019169279098510742,
|
118 |
+
0.01919692802429199,
|
119 |
+
0.01915190315246582,
|
120 |
+
0.019161056518554688,
|
121 |
+
0.019194879531860352,
|
122 |
+
0.01922047996520996,
|
123 |
+
0.01925017547607422,
|
124 |
+
0.01920614433288574,
|
125 |
+
0.019268608093261717,
|
126 |
+
0.019160064697265625,
|
127 |
+
0.01902387237548828,
|
128 |
+
0.01921433639526367,
|
129 |
+
0.019172351837158205,
|
130 |
+
0.019744768142700195,
|
131 |
+
0.01926553535461426,
|
132 |
+
0.0192225284576416,
|
133 |
+
0.019219455718994142,
|
134 |
+
0.0192225284576416,
|
135 |
+
0.019272703170776367,
|
136 |
+
0.019142656326293944,
|
137 |
+
0.01926553535461426,
|
138 |
+
0.019208192825317383,
|
139 |
+
0.019145727157592773,
|
140 |
+
0.019111936569213867,
|
141 |
+
0.01909760093688965,
|
142 |
+
0.01900339126586914,
|
143 |
+
0.019096576690673828,
|
144 |
+
0.019086336135864256,
|
145 |
+
0.018998271942138673,
|
146 |
+
0.01919795227050781,
|
147 |
+
0.019146751403808594,
|
148 |
+
0.01918976020812988,
|
149 |
+
0.019169279098510742,
|
150 |
+
0.01919795227050781,
|
151 |
+
0.019155967712402345,
|
152 |
+
0.019190784454345702,
|
153 |
+
0.019191808700561523,
|
154 |
+
0.01920512008666992,
|
155 |
+
0.019013696670532227,
|
156 |
+
0.019089344024658204,
|
157 |
+
0.019208192825317383,
|
158 |
+
0.019167232513427734,
|
159 |
+
0.019168256759643554,
|
160 |
+
0.019200000762939453,
|
161 |
+
0.019310592651367187,
|
162 |
+
0.01926655960083008,
|
163 |
+
0.019375104904174805,
|
164 |
+
0.019330047607421876,
|
165 |
+
0.019318784713745117,
|
166 |
+
0.019345407485961915,
|
167 |
+
0.019322879791259767,
|
168 |
+
0.019281919479370118,
|
169 |
+
0.019337215423583985,
|
170 |
+
0.019289087295532227,
|
171 |
+
0.019286016464233398,
|
172 |
+
0.019317760467529296,
|
173 |
+
0.019300352096557616,
|
174 |
+
0.0192174072265625,
|
175 |
+
0.019294208526611328,
|
176 |
+
0.01925632095336914,
|
177 |
+
0.019333120346069335,
|
178 |
+
0.019316736221313476,
|
179 |
+
0.019305471420288087,
|
180 |
+
0.019354623794555666,
|
181 |
+
0.019358720779418945,
|
182 |
+
0.019397632598876953,
|
183 |
+
0.019307519912719725,
|
184 |
+
0.019356672286987304,
|
185 |
+
0.019353599548339845,
|
186 |
+
0.019171327590942384,
|
187 |
+
0.01946316719055176,
|
188 |
+
0.019808256149291992,
|
189 |
+
0.01970278358459473,
|
190 |
+
0.019224576950073242,
|
191 |
+
0.019126272201538085,
|
192 |
+
0.01920614433288574,
|
193 |
+
0.01927987289428711,
|
194 |
+
0.01904844856262207,
|
195 |
+
0.019170303344726563,
|
196 |
+
0.019162111282348633,
|
197 |
+
0.019307519912719725,
|
198 |
+
0.019158016204833983,
|
199 |
+
0.019110912322998046,
|
200 |
+
0.019185728073120117,
|
201 |
+
0.01930847930908203,
|
202 |
+
0.019290111541748048,
|
203 |
+
0.01948057556152344,
|
204 |
+
0.019168256759643554,
|
205 |
+
0.019121152877807617,
|
206 |
+
0.01902796745300293,
|
207 |
+
0.01906380844116211,
|
208 |
+
0.019358720779418945,
|
209 |
+
0.019280895233154297,
|
210 |
+
0.019298303604125978,
|
211 |
+
0.019290111541748048,
|
212 |
+
0.020063232421875,
|
213 |
+
0.02005606460571289,
|
214 |
+
0.019825664520263672,
|
215 |
+
0.019408895492553712,
|
216 |
+
0.019342336654663086,
|
217 |
+
0.0198154239654541,
|
218 |
+
0.019352575302124024,
|
219 |
+
0.019341312408447265,
|
220 |
+
0.019389440536499023,
|
221 |
+
0.019323904037475585,
|
222 |
+
0.019058687210083008,
|
223 |
+
0.01926553535461426,
|
224 |
+
0.019290111541748048,
|
225 |
+
0.019319807052612305,
|
226 |
+
0.019332096099853514,
|
227 |
+
0.019353599548339845,
|
228 |
+
0.01918976020812988,
|
229 |
+
0.01928704071044922,
|
230 |
+
0.019338239669799806,
|
231 |
+
0.019159040451049804,
|
232 |
+
0.019172351837158205,
|
233 |
+
0.019134464263916014,
|
234 |
+
0.019204095840454103,
|
235 |
+
0.01904742431640625,
|
236 |
+
0.01920204734802246,
|
237 |
+
0.018971647262573242,
|
238 |
+
0.019167232513427734,
|
239 |
+
0.01921023941040039,
|
240 |
+
0.019120128631591796,
|
241 |
+
0.01918976020812988,
|
242 |
+
0.019175424575805664,
|
243 |
+
0.019176448822021484,
|
244 |
+
0.01923379135131836,
|
245 |
+
0.019169279098510742,
|
246 |
+
0.01921843147277832,
|
247 |
+
0.019207168579101562,
|
248 |
+
0.019073055267333983,
|
249 |
+
0.019000288009643554,
|
250 |
+
0.019124223709106446,
|
251 |
+
0.019133440017700197,
|
252 |
+
0.019175424575805664,
|
253 |
+
0.019187711715698243,
|
254 |
+
0.01916316795349121,
|
255 |
+
0.019221471786499023,
|
256 |
+
0.01924710464477539,
|
257 |
+
0.01924300765991211,
|
258 |
+
0.019224576950073242,
|
259 |
+
0.019185663223266602,
|
260 |
+
0.01925119972229004,
|
261 |
+
0.019216384887695313,
|
262 |
+
0.018970624923706055,
|
263 |
+
0.019140607833862306,
|
264 |
+
0.019099647521972657,
|
265 |
+
0.019139583587646485,
|
266 |
+
0.0192225284576416,
|
267 |
+
0.019164159774780275,
|
268 |
+
0.019175424575805664,
|
269 |
+
0.019145727157592773,
|
270 |
+
0.019161088943481445,
|
271 |
+
0.019140640258789064,
|
272 |
+
0.01916208076477051,
|
273 |
+
0.019208192825317383,
|
274 |
+
0.01919385528564453,
|
275 |
+
0.019148799896240236,
|
276 |
+
0.019168256759643554,
|
277 |
+
0.01918156814575195,
|
278 |
+
0.01920614433288574,
|
279 |
+
0.019160064697265625,
|
280 |
+
0.019172351837158205,
|
281 |
+
0.019177471160888672,
|
282 |
+
0.01920614433288574,
|
283 |
+
0.019146751403808594,
|
284 |
+
0.019150848388671874,
|
285 |
+
0.01961881637573242,
|
286 |
+
0.019153919219970703,
|
287 |
+
0.019185663223266602,
|
288 |
+
0.019296255111694336,
|
289 |
+
0.01927168083190918,
|
290 |
+
0.01939558410644531,
|
291 |
+
0.019302400588989257,
|
292 |
+
0.019252223968505858,
|
293 |
+
0.019305471420288087,
|
294 |
+
0.019352575302124024,
|
295 |
+
0.019216384887695313,
|
296 |
+
0.01927577590942383,
|
297 |
+
0.019312639236450196,
|
298 |
+
0.019195903778076173,
|
299 |
+
0.019179519653320314,
|
300 |
+
0.019301376342773437,
|
301 |
+
0.019280895233154297,
|
302 |
+
0.019269632339477538,
|
303 |
+
0.01926246452331543,
|
304 |
+
0.019148799896240236,
|
305 |
+
0.01928294372558594,
|
306 |
+
0.019353599548339845,
|
307 |
+
0.01929113578796387,
|
308 |
+
0.019277824401855468,
|
309 |
+
0.019288063049316406,
|
310 |
+
0.019330047607421876,
|
311 |
+
0.019324928283691405,
|
312 |
+
0.019329023361206055,
|
313 |
+
0.019092479705810548,
|
314 |
+
0.019330047607421876,
|
315 |
+
0.019711999893188475,
|
316 |
+
0.019896320343017578,
|
317 |
+
0.019292160034179686,
|
318 |
+
0.019276800155639647,
|
319 |
+
0.019319807052612305,
|
320 |
+
0.019085344314575196,
|
321 |
+
0.019190879821777345,
|
322 |
+
0.018998144149780273,
|
323 |
+
0.01926553535461426,
|
324 |
+
0.019316736221313476,
|
325 |
+
0.01928294372558594,
|
326 |
+
0.019293184280395507,
|
327 |
+
0.01922662353515625,
|
328 |
+
0.019313663482666017,
|
329 |
+
0.019312639236450196,
|
330 |
+
0.019366912841796875,
|
331 |
+
0.019356672286987304,
|
332 |
+
0.019311616897583008,
|
333 |
+
0.01927987289428711,
|
334 |
+
0.019318784713745117,
|
335 |
+
0.019281919479370118,
|
336 |
+
0.01922047996520996,
|
337 |
+
0.019302400588989257,
|
338 |
+
0.019083263397216797,
|
339 |
+
0.019086336135864256,
|
340 |
+
0.019123199462890626,
|
341 |
+
0.019335168838500977,
|
342 |
+
0.019826688766479493,
|
343 |
+
0.019668991088867188,
|
344 |
+
0.019818496704101563,
|
345 |
+
0.019501056671142578,
|
346 |
+
0.019290111541748048,
|
347 |
+
0.01921843147277832,
|
348 |
+
0.019298303604125978,
|
349 |
+
0.01927987289428711,
|
350 |
+
0.019311616897583008,
|
351 |
+
0.01922559928894043,
|
352 |
+
0.019306495666503908,
|
353 |
+
0.019298303604125978,
|
354 |
+
0.019317760467529296,
|
355 |
+
0.01927884864807129,
|
356 |
+
0.01927987289428711,
|
357 |
+
0.019281919479370118
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 51.9287736271975
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02062836742401123,
|
7 |
+
"prefill.throughput.value": 339.338535915938,
|
8 |
+
"decode.latency.mean": 2.445818481445312,
|
9 |
+
"decode.throughput.value": 51.92535789694076,
|
10 |
+
"per_token.latency.mean": 0.019257146474883316,
|
11 |
+
"per_token.throughput.value": 51.9287736271975
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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: 566302686a71de14125717dea9a6a45b24d42b37
|
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=566302686a71de14125717dea9a6a45b24d42b37/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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37
|
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/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37
|
88 |
+
- hydra.run.dir=_benchmark/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37/${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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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 05:50:42,010[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-09-03 05:50:44,392[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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=566302686a71de14125717dea9a6a45b24d42b37/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: 566302686a71de14125717dea9a6a45b24d42b37
|
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=566302686a71de14125717dea9a6a45b24d42b37/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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37
|
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/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37
|
88 |
+
- hydra.run.dir=_benchmark/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37/${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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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.961152,
|
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.4447060546875,
|
120 |
+
"mean": 11.4447060546875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.4447060546875,
|
123 |
+
"p90": 11.4447060546875,
|
124 |
+
"p95": 11.4447060546875,
|
125 |
+
"p99": 11.4447060546875,
|
126 |
+
"values": [
|
127 |
+
11.4447060546875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1789.99296,
|
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.04551097679138184,
|
147 |
+
"mean": 0.02275548839569092,
|
148 |
+
"stdev": 0.0003612165451049795,
|
149 |
+
"p50": 0.02275548839569092,
|
150 |
+
"p90": 0.023044461631774902,
|
151 |
+
"p95": 0.0230805832862854,
|
152 |
+
"p99": 0.023109480609893797,
|
153 |
+
"values": [
|
154 |
+
0.02239427185058594,
|
155 |
+
0.023116704940795898
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 307.6180953921231
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1814.380544,
|
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.269569824218751,
|
178 |
+
"mean": 2.6347849121093754,
|
179 |
+
"stdev": 0.005167236328124991,
|
180 |
+
"p50": 2.6347849121093754,
|
181 |
+
"p90": 2.638918701171875,
|
182 |
+
"p95": 2.6394354248046876,
|
183 |
+
"p99": 2.6398488037109376,
|
184 |
+
"values": [
|
185 |
+
2.62961767578125,
|
186 |
+
2.6399521484375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.201277992868654
|
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.269307390213013,
|
202 |
+
"mean": 0.020745304685878003,
|
203 |
+
"stdev": 0.0004798077690456961,
|
204 |
+
"p50": 0.02047641658782959,
|
205 |
+
"p90": 0.021364940071105957,
|
206 |
+
"p95": 0.021455002212524412,
|
207 |
+
"p99": 0.021835417366027832,
|
208 |
+
"values": [
|
209 |
+
0.022071296691894532,
|
210 |
+
0.0214517765045166,
|
211 |
+
0.021369855880737306,
|
212 |
+
0.021180416107177736,
|
213 |
+
0.021127168655395507,
|
214 |
+
0.02128895950317383,
|
215 |
+
0.021342208862304687,
|
216 |
+
0.021341184616088867,
|
217 |
+
0.021360639572143555,
|
218 |
+
0.021296127319335938,
|
219 |
+
0.021346303939819337,
|
220 |
+
0.021386240005493166,
|
221 |
+
0.020220928192138672,
|
222 |
+
0.020330495834350586,
|
223 |
+
0.020343807220458983,
|
224 |
+
0.020369407653808593,
|
225 |
+
0.020343807220458983,
|
226 |
+
0.02026393508911133,
|
227 |
+
0.02169046401977539,
|
228 |
+
0.020962207794189454,
|
229 |
+
0.020418560028076172,
|
230 |
+
0.020215808868408205,
|
231 |
+
0.020405248641967775,
|
232 |
+
0.02046566390991211,
|
233 |
+
0.020488191604614257,
|
234 |
+
0.020385919570922853,
|
235 |
+
0.02029759979248047,
|
236 |
+
0.020164608001708984,
|
237 |
+
0.020382720947265624,
|
238 |
+
0.020372480392456056,
|
239 |
+
0.020377599716186523,
|
240 |
+
0.020563968658447264,
|
241 |
+
0.020562944412231447,
|
242 |
+
0.020392959594726562,
|
243 |
+
0.020140031814575195,
|
244 |
+
0.020470783233642577,
|
245 |
+
0.020380672454833985,
|
246 |
+
0.020356096267700196,
|
247 |
+
0.020445184707641603,
|
248 |
+
0.020336704254150392,
|
249 |
+
0.020410303115844727,
|
250 |
+
0.020314111709594726,
|
251 |
+
0.020328447341918944,
|
252 |
+
0.02020147132873535,
|
253 |
+
0.020562944412231447,
|
254 |
+
0.021204992294311522,
|
255 |
+
0.02128998374938965,
|
256 |
+
0.020360191345214843,
|
257 |
+
0.02042265510559082,
|
258 |
+
0.0204083194732666,
|
259 |
+
0.020436992645263673,
|
260 |
+
0.020363264083862305,
|
261 |
+
0.02040115165710449,
|
262 |
+
0.020393983840942383,
|
263 |
+
0.020808704376220705,
|
264 |
+
0.020388864517211915,
|
265 |
+
0.020355072021484375,
|
266 |
+
0.020519935607910156,
|
267 |
+
0.020486143112182616,
|
268 |
+
0.020336639404296874,
|
269 |
+
0.020366336822509764,
|
270 |
+
0.021200895309448242,
|
271 |
+
0.021941247940063476,
|
272 |
+
0.021557247161865235,
|
273 |
+
0.02126233673095703,
|
274 |
+
0.020076543807983398,
|
275 |
+
0.020139007568359374,
|
276 |
+
0.020384767532348632,
|
277 |
+
0.020311040878295897,
|
278 |
+
0.02084147262573242,
|
279 |
+
0.020493312835693358,
|
280 |
+
0.020544511795043945,
|
281 |
+
0.020582399368286132,
|
282 |
+
0.02042982482910156,
|
283 |
+
0.02045644760131836,
|
284 |
+
0.02040012741088867,
|
285 |
+
0.02039193534851074,
|
286 |
+
0.02023526382446289,
|
287 |
+
0.020377599716186523,
|
288 |
+
0.020364288330078126,
|
289 |
+
0.020229120254516602,
|
290 |
+
0.020371456146240235,
|
291 |
+
0.020362239837646484,
|
292 |
+
0.020312063217163084,
|
293 |
+
0.020734975814819336,
|
294 |
+
0.021387264251708983,
|
295 |
+
0.021347328186035155,
|
296 |
+
0.021372928619384765,
|
297 |
+
0.021336063385009766,
|
298 |
+
0.021300224304199217,
|
299 |
+
0.020384767532348632,
|
300 |
+
0.02039193534851074,
|
301 |
+
0.020486143112182616,
|
302 |
+
0.02026700782775879,
|
303 |
+
0.02028544044494629,
|
304 |
+
0.02026393508911133,
|
305 |
+
0.020519935607910156,
|
306 |
+
0.020376575469970702,
|
307 |
+
0.021117952346801756,
|
308 |
+
0.020221952438354493,
|
309 |
+
0.020371456146240235,
|
310 |
+
0.0202926082611084,
|
311 |
+
0.02041548728942871,
|
312 |
+
0.020446207046508787,
|
313 |
+
0.021001216888427734,
|
314 |
+
0.02063564872741699,
|
315 |
+
0.020525056838989256,
|
316 |
+
0.020384767532348632,
|
317 |
+
0.02053023910522461,
|
318 |
+
0.02041747283935547,
|
319 |
+
0.02041651153564453,
|
320 |
+
0.02024448013305664,
|
321 |
+
0.020098047256469728,
|
322 |
+
0.02110873603820801,
|
323 |
+
0.02132275199890137,
|
324 |
+
0.02146611213684082,
|
325 |
+
0.021436416625976562,
|
326 |
+
0.021357568740844726,
|
327 |
+
0.021353471755981446,
|
328 |
+
0.021408767700195314,
|
329 |
+
0.021412864685058593,
|
330 |
+
0.02132275199890137,
|
331 |
+
0.021204992294311522,
|
332 |
+
0.02127462387084961,
|
333 |
+
0.021113855361938477,
|
334 |
+
0.02204569625854492,
|
335 |
+
0.021741567611694337,
|
336 |
+
0.021440511703491212,
|
337 |
+
0.021639167785644533,
|
338 |
+
0.02038374328613281,
|
339 |
+
0.020452352523803712,
|
340 |
+
0.021283840179443358,
|
341 |
+
0.021732351303100587,
|
342 |
+
0.02126950454711914,
|
343 |
+
0.020174848556518556,
|
344 |
+
0.020262912750244142,
|
345 |
+
0.021191680908203125,
|
346 |
+
0.021353471755981446,
|
347 |
+
0.020389888763427736,
|
348 |
+
0.020463615417480468,
|
349 |
+
0.020981760025024415,
|
350 |
+
0.02125721549987793,
|
351 |
+
0.02129715156555176,
|
352 |
+
0.021307392120361326,
|
353 |
+
0.021190656661987304,
|
354 |
+
0.021303295135498047,
|
355 |
+
0.021360639572143555,
|
356 |
+
0.021124095916748048,
|
357 |
+
0.02127462387084961,
|
358 |
+
0.020313087463378905,
|
359 |
+
0.020471807479858398,
|
360 |
+
0.02005401611328125,
|
361 |
+
0.020187135696411132,
|
362 |
+
0.021570560455322265,
|
363 |
+
0.021167104721069335,
|
364 |
+
0.021214208602905273,
|
365 |
+
0.020373504638671876,
|
366 |
+
0.02040934371948242,
|
367 |
+
0.020387840270996094,
|
368 |
+
0.020434944152832032,
|
369 |
+
0.020289535522460937,
|
370 |
+
0.020368383407592772,
|
371 |
+
0.020361215591430663,
|
372 |
+
0.02045030403137207,
|
373 |
+
0.020590591430664062,
|
374 |
+
0.021715967178344727,
|
375 |
+
0.02126643180847168,
|
376 |
+
0.020603904724121092,
|
377 |
+
0.021148672103881837,
|
378 |
+
0.02130246353149414,
|
379 |
+
0.02141472053527832,
|
380 |
+
0.020358144760131838,
|
381 |
+
0.020952064514160155,
|
382 |
+
0.02128895950317383,
|
383 |
+
0.021337087631225587,
|
384 |
+
0.020418560028076172,
|
385 |
+
0.020479999542236327,
|
386 |
+
0.020404224395751954,
|
387 |
+
0.020396032333374024,
|
388 |
+
0.020289535522460937,
|
389 |
+
0.020249599456787108,
|
390 |
+
0.020363264083862305,
|
391 |
+
0.02023219108581543,
|
392 |
+
0.020351999282836913,
|
393 |
+
0.02048307228088379,
|
394 |
+
0.020436992645263673,
|
395 |
+
0.020385791778564453,
|
396 |
+
0.020591615676879883,
|
397 |
+
0.02044313621520996,
|
398 |
+
0.020372480392456056,
|
399 |
+
0.020388864517211915,
|
400 |
+
0.021120000839233398,
|
401 |
+
0.02135660743713379,
|
402 |
+
0.020484031677246092,
|
403 |
+
0.020084735870361328,
|
404 |
+
0.020436992645263673,
|
405 |
+
0.02027622413635254,
|
406 |
+
0.02047590446472168,
|
407 |
+
0.020766719818115235,
|
408 |
+
0.021207040786743164,
|
409 |
+
0.021548032760620117,
|
410 |
+
0.021353471755981446,
|
411 |
+
0.0212992000579834,
|
412 |
+
0.02042163276672363,
|
413 |
+
0.020393983840942383,
|
414 |
+
0.02032537651062012,
|
415 |
+
0.0213309440612793,
|
416 |
+
0.021292032241821288,
|
417 |
+
0.02128281593322754,
|
418 |
+
0.02127257537841797,
|
419 |
+
0.021373952865600586,
|
420 |
+
0.021350400924682617,
|
421 |
+
0.021356544494628905,
|
422 |
+
0.021021696090698243,
|
423 |
+
0.020953088760375976,
|
424 |
+
0.02040934371948242,
|
425 |
+
0.02146099281311035,
|
426 |
+
0.021342208862304687,
|
427 |
+
0.02126950454711914,
|
428 |
+
0.02106777572631836,
|
429 |
+
0.0214517765045166,
|
430 |
+
0.020494335174560546,
|
431 |
+
0.020339712142944336,
|
432 |
+
0.02021785545349121,
|
433 |
+
0.020518911361694335,
|
434 |
+
0.02039091110229492,
|
435 |
+
0.020435968399047853,
|
436 |
+
0.02045030403137207,
|
437 |
+
0.02039091110229492,
|
438 |
+
0.02045747184753418,
|
439 |
+
0.02043187141418457,
|
440 |
+
0.02040729522705078,
|
441 |
+
0.020414464950561522,
|
442 |
+
0.02039091110229492,
|
443 |
+
0.020761600494384767,
|
444 |
+
0.021325824737548828,
|
445 |
+
0.02112512016296387,
|
446 |
+
0.021117952346801756,
|
447 |
+
0.0212490234375,
|
448 |
+
0.02134432029724121,
|
449 |
+
0.021284799575805664,
|
450 |
+
0.02127052879333496,
|
451 |
+
0.021366783142089844,
|
452 |
+
0.0204400634765625,
|
453 |
+
0.02026188850402832,
|
454 |
+
0.020528127670288086,
|
455 |
+
0.02050662422180176,
|
456 |
+
0.0204769287109375,
|
457 |
+
0.020504575729370117,
|
458 |
+
0.02045132827758789,
|
459 |
+
0.020254720687866212,
|
460 |
+
0.020195327758789062,
|
461 |
+
0.020388864517211915,
|
462 |
+
0.02039193534851074
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.20367862231169
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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=566302686a71de14125717dea9a6a45b24d42b37/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.961152,
|
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.4447060546875,
|
15 |
+
"mean": 11.4447060546875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.4447060546875,
|
18 |
+
"p90": 11.4447060546875,
|
19 |
+
"p95": 11.4447060546875,
|
20 |
+
"p99": 11.4447060546875,
|
21 |
+
"values": [
|
22 |
+
11.4447060546875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1789.99296,
|
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.04551097679138184,
|
42 |
+
"mean": 0.02275548839569092,
|
43 |
+
"stdev": 0.0003612165451049795,
|
44 |
+
"p50": 0.02275548839569092,
|
45 |
+
"p90": 0.023044461631774902,
|
46 |
+
"p95": 0.0230805832862854,
|
47 |
+
"p99": 0.023109480609893797,
|
48 |
+
"values": [
|
49 |
+
0.02239427185058594,
|
50 |
+
0.023116704940795898
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 307.6180953921231
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1814.380544,
|
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.269569824218751,
|
73 |
+
"mean": 2.6347849121093754,
|
74 |
+
"stdev": 0.005167236328124991,
|
75 |
+
"p50": 2.6347849121093754,
|
76 |
+
"p90": 2.638918701171875,
|
77 |
+
"p95": 2.6394354248046876,
|
78 |
+
"p99": 2.6398488037109376,
|
79 |
+
"values": [
|
80 |
+
2.62961767578125,
|
81 |
+
2.6399521484375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.201277992868654
|
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.269307390213013,
|
97 |
+
"mean": 0.020745304685878003,
|
98 |
+
"stdev": 0.0004798077690456961,
|
99 |
+
"p50": 0.02047641658782959,
|
100 |
+
"p90": 0.021364940071105957,
|
101 |
+
"p95": 0.021455002212524412,
|
102 |
+
"p99": 0.021835417366027832,
|
103 |
+
"values": [
|
104 |
+
0.022071296691894532,
|
105 |
+
0.0214517765045166,
|
106 |
+
0.021369855880737306,
|
107 |
+
0.021180416107177736,
|
108 |
+
0.021127168655395507,
|
109 |
+
0.02128895950317383,
|
110 |
+
0.021342208862304687,
|
111 |
+
0.021341184616088867,
|
112 |
+
0.021360639572143555,
|
113 |
+
0.021296127319335938,
|
114 |
+
0.021346303939819337,
|
115 |
+
0.021386240005493166,
|
116 |
+
0.020220928192138672,
|
117 |
+
0.020330495834350586,
|
118 |
+
0.020343807220458983,
|
119 |
+
0.020369407653808593,
|
120 |
+
0.020343807220458983,
|
121 |
+
0.02026393508911133,
|
122 |
+
0.02169046401977539,
|
123 |
+
0.020962207794189454,
|
124 |
+
0.020418560028076172,
|
125 |
+
0.020215808868408205,
|
126 |
+
0.020405248641967775,
|
127 |
+
0.02046566390991211,
|
128 |
+
0.020488191604614257,
|
129 |
+
0.020385919570922853,
|
130 |
+
0.02029759979248047,
|
131 |
+
0.020164608001708984,
|
132 |
+
0.020382720947265624,
|
133 |
+
0.020372480392456056,
|
134 |
+
0.020377599716186523,
|
135 |
+
0.020563968658447264,
|
136 |
+
0.020562944412231447,
|
137 |
+
0.020392959594726562,
|
138 |
+
0.020140031814575195,
|
139 |
+
0.020470783233642577,
|
140 |
+
0.020380672454833985,
|
141 |
+
0.020356096267700196,
|
142 |
+
0.020445184707641603,
|
143 |
+
0.020336704254150392,
|
144 |
+
0.020410303115844727,
|
145 |
+
0.020314111709594726,
|
146 |
+
0.020328447341918944,
|
147 |
+
0.02020147132873535,
|
148 |
+
0.020562944412231447,
|
149 |
+
0.021204992294311522,
|
150 |
+
0.02128998374938965,
|
151 |
+
0.020360191345214843,
|
152 |
+
0.02042265510559082,
|
153 |
+
0.0204083194732666,
|
154 |
+
0.020436992645263673,
|
155 |
+
0.020363264083862305,
|
156 |
+
0.02040115165710449,
|
157 |
+
0.020393983840942383,
|
158 |
+
0.020808704376220705,
|
159 |
+
0.020388864517211915,
|
160 |
+
0.020355072021484375,
|
161 |
+
0.020519935607910156,
|
162 |
+
0.020486143112182616,
|
163 |
+
0.020336639404296874,
|
164 |
+
0.020366336822509764,
|
165 |
+
0.021200895309448242,
|
166 |
+
0.021941247940063476,
|
167 |
+
0.021557247161865235,
|
168 |
+
0.02126233673095703,
|
169 |
+
0.020076543807983398,
|
170 |
+
0.020139007568359374,
|
171 |
+
0.020384767532348632,
|
172 |
+
0.020311040878295897,
|
173 |
+
0.02084147262573242,
|
174 |
+
0.020493312835693358,
|
175 |
+
0.020544511795043945,
|
176 |
+
0.020582399368286132,
|
177 |
+
0.02042982482910156,
|
178 |
+
0.02045644760131836,
|
179 |
+
0.02040012741088867,
|
180 |
+
0.02039193534851074,
|
181 |
+
0.02023526382446289,
|
182 |
+
0.020377599716186523,
|
183 |
+
0.020364288330078126,
|
184 |
+
0.020229120254516602,
|
185 |
+
0.020371456146240235,
|
186 |
+
0.020362239837646484,
|
187 |
+
0.020312063217163084,
|
188 |
+
0.020734975814819336,
|
189 |
+
0.021387264251708983,
|
190 |
+
0.021347328186035155,
|
191 |
+
0.021372928619384765,
|
192 |
+
0.021336063385009766,
|
193 |
+
0.021300224304199217,
|
194 |
+
0.020384767532348632,
|
195 |
+
0.02039193534851074,
|
196 |
+
0.020486143112182616,
|
197 |
+
0.02026700782775879,
|
198 |
+
0.02028544044494629,
|
199 |
+
0.02026393508911133,
|
200 |
+
0.020519935607910156,
|
201 |
+
0.020376575469970702,
|
202 |
+
0.021117952346801756,
|
203 |
+
0.020221952438354493,
|
204 |
+
0.020371456146240235,
|
205 |
+
0.0202926082611084,
|
206 |
+
0.02041548728942871,
|
207 |
+
0.020446207046508787,
|
208 |
+
0.021001216888427734,
|
209 |
+
0.02063564872741699,
|
210 |
+
0.020525056838989256,
|
211 |
+
0.020384767532348632,
|
212 |
+
0.02053023910522461,
|
213 |
+
0.02041747283935547,
|
214 |
+
0.02041651153564453,
|
215 |
+
0.02024448013305664,
|
216 |
+
0.020098047256469728,
|
217 |
+
0.02110873603820801,
|
218 |
+
0.02132275199890137,
|
219 |
+
0.02146611213684082,
|
220 |
+
0.021436416625976562,
|
221 |
+
0.021357568740844726,
|
222 |
+
0.021353471755981446,
|
223 |
+
0.021408767700195314,
|
224 |
+
0.021412864685058593,
|
225 |
+
0.02132275199890137,
|
226 |
+
0.021204992294311522,
|
227 |
+
0.02127462387084961,
|
228 |
+
0.021113855361938477,
|
229 |
+
0.02204569625854492,
|
230 |
+
0.021741567611694337,
|
231 |
+
0.021440511703491212,
|
232 |
+
0.021639167785644533,
|
233 |
+
0.02038374328613281,
|
234 |
+
0.020452352523803712,
|
235 |
+
0.021283840179443358,
|
236 |
+
0.021732351303100587,
|
237 |
+
0.02126950454711914,
|
238 |
+
0.020174848556518556,
|
239 |
+
0.020262912750244142,
|
240 |
+
0.021191680908203125,
|
241 |
+
0.021353471755981446,
|
242 |
+
0.020389888763427736,
|
243 |
+
0.020463615417480468,
|
244 |
+
0.020981760025024415,
|
245 |
+
0.02125721549987793,
|
246 |
+
0.02129715156555176,
|
247 |
+
0.021307392120361326,
|
248 |
+
0.021190656661987304,
|
249 |
+
0.021303295135498047,
|
250 |
+
0.021360639572143555,
|
251 |
+
0.021124095916748048,
|
252 |
+
0.02127462387084961,
|
253 |
+
0.020313087463378905,
|
254 |
+
0.020471807479858398,
|
255 |
+
0.02005401611328125,
|
256 |
+
0.020187135696411132,
|
257 |
+
0.021570560455322265,
|
258 |
+
0.021167104721069335,
|
259 |
+
0.021214208602905273,
|
260 |
+
0.020373504638671876,
|
261 |
+
0.02040934371948242,
|
262 |
+
0.020387840270996094,
|
263 |
+
0.020434944152832032,
|
264 |
+
0.020289535522460937,
|
265 |
+
0.020368383407592772,
|
266 |
+
0.020361215591430663,
|
267 |
+
0.02045030403137207,
|
268 |
+
0.020590591430664062,
|
269 |
+
0.021715967178344727,
|
270 |
+
0.02126643180847168,
|
271 |
+
0.020603904724121092,
|
272 |
+
0.021148672103881837,
|
273 |
+
0.02130246353149414,
|
274 |
+
0.02141472053527832,
|
275 |
+
0.020358144760131838,
|
276 |
+
0.020952064514160155,
|
277 |
+
0.02128895950317383,
|
278 |
+
0.021337087631225587,
|
279 |
+
0.020418560028076172,
|
280 |
+
0.020479999542236327,
|
281 |
+
0.020404224395751954,
|
282 |
+
0.020396032333374024,
|
283 |
+
0.020289535522460937,
|
284 |
+
0.020249599456787108,
|
285 |
+
0.020363264083862305,
|
286 |
+
0.02023219108581543,
|
287 |
+
0.020351999282836913,
|
288 |
+
0.02048307228088379,
|
289 |
+
0.020436992645263673,
|
290 |
+
0.020385791778564453,
|
291 |
+
0.020591615676879883,
|
292 |
+
0.02044313621520996,
|
293 |
+
0.020372480392456056,
|
294 |
+
0.020388864517211915,
|
295 |
+
0.021120000839233398,
|
296 |
+
0.02135660743713379,
|
297 |
+
0.020484031677246092,
|
298 |
+
0.020084735870361328,
|
299 |
+
0.020436992645263673,
|
300 |
+
0.02027622413635254,
|
301 |
+
0.02047590446472168,
|
302 |
+
0.020766719818115235,
|
303 |
+
0.021207040786743164,
|
304 |
+
0.021548032760620117,
|
305 |
+
0.021353471755981446,
|
306 |
+
0.0212992000579834,
|
307 |
+
0.02042163276672363,
|
308 |
+
0.020393983840942383,
|
309 |
+
0.02032537651062012,
|
310 |
+
0.0213309440612793,
|
311 |
+
0.021292032241821288,
|
312 |
+
0.02128281593322754,
|
313 |
+
0.02127257537841797,
|
314 |
+
0.021373952865600586,
|
315 |
+
0.021350400924682617,
|
316 |
+
0.021356544494628905,
|
317 |
+
0.021021696090698243,
|
318 |
+
0.020953088760375976,
|
319 |
+
0.02040934371948242,
|
320 |
+
0.02146099281311035,
|
321 |
+
0.021342208862304687,
|
322 |
+
0.02126950454711914,
|
323 |
+
0.02106777572631836,
|
324 |
+
0.0214517765045166,
|
325 |
+
0.020494335174560546,
|
326 |
+
0.020339712142944336,
|
327 |
+
0.02021785545349121,
|
328 |
+
0.020518911361694335,
|
329 |
+
0.02039091110229492,
|
330 |
+
0.020435968399047853,
|
331 |
+
0.02045030403137207,
|
332 |
+
0.02039091110229492,
|
333 |
+
0.02045747184753418,
|
334 |
+
0.02043187141418457,
|
335 |
+
0.02040729522705078,
|
336 |
+
0.020414464950561522,
|
337 |
+
0.02039091110229492,
|
338 |
+
0.020761600494384767,
|
339 |
+
0.021325824737548828,
|
340 |
+
0.02112512016296387,
|
341 |
+
0.021117952346801756,
|
342 |
+
0.0212490234375,
|
343 |
+
0.02134432029724121,
|
344 |
+
0.021284799575805664,
|
345 |
+
0.02127052879333496,
|
346 |
+
0.021366783142089844,
|
347 |
+
0.0204400634765625,
|
348 |
+
0.02026188850402832,
|
349 |
+
0.020528127670288086,
|
350 |
+
0.02050662422180176,
|
351 |
+
0.0204769287109375,
|
352 |
+
0.020504575729370117,
|
353 |
+
0.02045132827758789,
|
354 |
+
0.020254720687866212,
|
355 |
+
0.020195327758789062,
|
356 |
+
0.020388864517211915,
|
357 |
+
0.02039193534851074
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.20367862231169
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02275548839569092,
|
7 |
+
"prefill.throughput.value": 307.6180953921231,
|
8 |
+
"decode.latency.mean": 2.6347849121093754,
|
9 |
+
"decode.throughput.value": 48.201277992868654,
|
10 |
+
"per_token.latency.mean": 0.020745304685878003,
|
11 |
+
"per_token.throughput.value": 48.20367862231169
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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: 566302686a71de14125717dea9a6a45b24d42b37
|
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=566302686a71de14125717dea9a6a45b24d42b37/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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37
|
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/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37
|
88 |
+
- hydra.run.dir=_benchmark/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37/${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/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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": 1337.769984,
|
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.448345703125,
|
120 |
+
"mean": 12.448345703125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.448345703125,
|
123 |
+
"p90": 12.448345703125,
|
124 |
+
"p95": 12.448345703125,
|
125 |
+
"p99": 12.448345703125,
|
126 |
+
"values": [
|
127 |
+
12.448345703125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1855.537152,
|
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.02848086452484131,
|
147 |
+
"mean": 0.014240432262420655,
|
148 |
+
"stdev": 0.00012478399276733432,
|
149 |
+
"p50": 0.014240432262420655,
|
150 |
+
"p90": 0.014340259456634523,
|
151 |
+
"p95": 0.014352737855911256,
|
152 |
+
"p99": 0.014362720575332642,
|
153 |
+
"values": [
|
154 |
+
0.01411564826965332,
|
155 |
+
0.014365216255187989
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 491.55811221211536
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2025.529344,
|
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.1349299316406247,
|
178 |
+
"mean": 1.5674649658203124,
|
179 |
+
"stdev": 0.00021948242187497247,
|
180 |
+
"p50": 1.5674649658203124,
|
181 |
+
"p90": 1.5676405517578125,
|
182 |
+
"p95": 1.5676625,
|
183 |
+
"p99": 1.56768005859375,
|
184 |
+
"values": [
|
185 |
+
1.5672454833984375,
|
186 |
+
1.5676844482421874
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.02254453485422
|
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.1346431980133094,
|
202 |
+
"mean": 0.01234111495280829,
|
203 |
+
"stdev": 8.574769497549049e-05,
|
204 |
+
"p50": 0.012321791648864745,
|
205 |
+
"p90": 0.01234606056213379,
|
206 |
+
"p95": 0.012412620973587037,
|
207 |
+
"p99": 0.01283534870147705,
|
208 |
+
"values": [
|
209 |
+
0.012401663780212402,
|
210 |
+
0.012320768356323243,
|
211 |
+
0.01232588768005371,
|
212 |
+
0.012312576293945313,
|
213 |
+
0.012307456016540527,
|
214 |
+
0.012326975822448731,
|
215 |
+
0.012316608428955078,
|
216 |
+
0.012317695617675782,
|
217 |
+
0.012315648078918457,
|
218 |
+
0.012309503555297852,
|
219 |
+
0.01233407974243164,
|
220 |
+
0.012326911926269531,
|
221 |
+
0.012301312446594239,
|
222 |
+
0.012318719863891601,
|
223 |
+
0.012317695617675782,
|
224 |
+
0.012309503555297852,
|
225 |
+
0.012311552047729492,
|
226 |
+
0.012304384231567383,
|
227 |
+
0.01232588768005371,
|
228 |
+
0.012322815895080566,
|
229 |
+
0.012297216415405274,
|
230 |
+
0.012294143676757812,
|
231 |
+
0.012339200019836426,
|
232 |
+
0.012353535652160644,
|
233 |
+
0.012313599586486817,
|
234 |
+
0.012307456016540527,
|
235 |
+
0.012309503555297852,
|
236 |
+
0.012295167922973632,
|
237 |
+
0.012316672325134278,
|
238 |
+
0.012301312446594239,
|
239 |
+
0.012305407524108887,
|
240 |
+
0.012324864387512208,
|
241 |
+
0.012303359985351562,
|
242 |
+
0.012306431770324706,
|
243 |
+
0.012305407524108887,
|
244 |
+
0.012331007957458496,
|
245 |
+
0.012331007957458496,
|
246 |
+
0.012316672325134278,
|
247 |
+
0.012329983711242675,
|
248 |
+
0.012464127540588378,
|
249 |
+
0.012324864387512208,
|
250 |
+
0.012407808303833008,
|
251 |
+
0.012347392082214356,
|
252 |
+
0.012322815895080566,
|
253 |
+
0.012313599586486817,
|
254 |
+
0.012319744110107422,
|
255 |
+
0.01234227180480957,
|
256 |
+
0.01235968017578125,
|
257 |
+
0.012317695617675782,
|
258 |
+
0.012323840141296387,
|
259 |
+
0.012304384231567383,
|
260 |
+
0.012321791648864745,
|
261 |
+
0.012310527801513671,
|
262 |
+
0.012319744110107422,
|
263 |
+
0.012322815895080566,
|
264 |
+
0.012312576293945313,
|
265 |
+
0.012340224266052247,
|
266 |
+
0.012332032203674317,
|
267 |
+
0.012849151611328125,
|
268 |
+
0.01286348819732666,
|
269 |
+
0.012337151527404786,
|
270 |
+
0.012327936172485352,
|
271 |
+
0.012314623832702636,
|
272 |
+
0.012324864387512208,
|
273 |
+
0.012324864387512208,
|
274 |
+
0.012322815895080566,
|
275 |
+
0.012315648078918457,
|
276 |
+
0.012314623832702636,
|
277 |
+
0.012339200019836426,
|
278 |
+
0.012315648078918457,
|
279 |
+
0.01232588768005371,
|
280 |
+
0.012349439620971679,
|
281 |
+
0.012327936172485352,
|
282 |
+
0.012315648078918457,
|
283 |
+
0.012309503555297852,
|
284 |
+
0.012313599586486817,
|
285 |
+
0.01233510398864746,
|
286 |
+
0.012311552047729492,
|
287 |
+
0.012308480262756348,
|
288 |
+
0.012315648078918457,
|
289 |
+
0.012312576293945313,
|
290 |
+
0.012333056449890138,
|
291 |
+
0.012313599586486817,
|
292 |
+
0.012313599586486817,
|
293 |
+
0.01233407974243164,
|
294 |
+
0.012317695617675782,
|
295 |
+
0.012317695617675782,
|
296 |
+
0.012311552047729492,
|
297 |
+
0.012312576293945313,
|
298 |
+
0.01232588768005371,
|
299 |
+
0.012314623832702636,
|
300 |
+
0.012319744110107422,
|
301 |
+
0.012310527801513671,
|
302 |
+
0.012336128234863282,
|
303 |
+
0.01233407974243164,
|
304 |
+
0.012333056449890138,
|
305 |
+
0.012327936172485352,
|
306 |
+
0.012316672325134278,
|
307 |
+
0.012411904335021973,
|
308 |
+
0.012321791648864745,
|
309 |
+
0.012311552047729492,
|
310 |
+
0.012322815895080566,
|
311 |
+
0.012318719863891601,
|
312 |
+
0.012322815895080566,
|
313 |
+
0.012328960418701173,
|
314 |
+
0.012374015808105468,
|
315 |
+
0.012323840141296387,
|
316 |
+
0.012309503555297852,
|
317 |
+
0.012327936172485352,
|
318 |
+
0.012308480262756348,
|
319 |
+
0.012314623832702636,
|
320 |
+
0.012316672325134278,
|
321 |
+
0.012307456016540527,
|
322 |
+
0.012329983711242675,
|
323 |
+
0.012340224266052247,
|
324 |
+
0.012344320297241211,
|
325 |
+
0.012321791648864745,
|
326 |
+
0.012333056449890138,
|
327 |
+
0.012720128059387208,
|
328 |
+
0.012338175773620605,
|
329 |
+
0.01233407974243164,
|
330 |
+
0.012317695617675782,
|
331 |
+
0.012578816413879394,
|
332 |
+
0.012476415634155273,
|
333 |
+
0.01234329605102539,
|
334 |
+
0.012322815895080566,
|
335 |
+
0.012313599586486817,
|
336 |
+
0.01235865592956543,
|
337 |
+
0.012326911926269531,
|
338 |
+
0.012304384231567383,
|
339 |
+
0.012321791648864745,
|
340 |
+
0.012323840141296387,
|
341 |
+
0.012389375686645507,
|
342 |
+
0.012333120346069336,
|
343 |
+
0.012315584182739257,
|
344 |
+
0.012309503555297852,
|
345 |
+
0.012312576293945313,
|
346 |
+
0.012307456016540527,
|
347 |
+
0.012322815895080566,
|
348 |
+
0.012328960418701173,
|
349 |
+
0.012317695617675782,
|
350 |
+
0.012790783882141114,
|
351 |
+
0.012827648162841796,
|
352 |
+
0.01234124755859375,
|
353 |
+
0.012307456016540527,
|
354 |
+
0.012308480262756348,
|
355 |
+
0.012316672325134278,
|
356 |
+
0.012315648078918457,
|
357 |
+
0.012321791648864745,
|
358 |
+
0.012316672325134278,
|
359 |
+
0.012320768356323243,
|
360 |
+
0.012326911926269531,
|
361 |
+
0.012316672325134278,
|
362 |
+
0.012329983711242675,
|
363 |
+
0.012346367835998535,
|
364 |
+
0.01232588768005371,
|
365 |
+
0.012316672325134278,
|
366 |
+
0.012315648078918457,
|
367 |
+
0.012317695617675782,
|
368 |
+
0.012323840141296387,
|
369 |
+
0.012313599586486817,
|
370 |
+
0.012333056449890138,
|
371 |
+
0.012338175773620605,
|
372 |
+
0.012313599586486817,
|
373 |
+
0.012306431770324706,
|
374 |
+
0.012300288200378418,
|
375 |
+
0.012332032203674317,
|
376 |
+
0.012328960418701173,
|
377 |
+
0.012317695617675782,
|
378 |
+
0.012320768356323243,
|
379 |
+
0.012317695617675782,
|
380 |
+
0.012316672325134278,
|
381 |
+
0.012316672325134278,
|
382 |
+
0.012322815895080566,
|
383 |
+
0.01232588768005371,
|
384 |
+
0.012316672325134278,
|
385 |
+
0.012307456016540527,
|
386 |
+
0.012317695617675782,
|
387 |
+
0.01234227180480957,
|
388 |
+
0.012340224266052247,
|
389 |
+
0.012311552047729492,
|
390 |
+
0.012310527801513671,
|
391 |
+
0.01232588768005371,
|
392 |
+
0.01232588768005371,
|
393 |
+
0.012319744110107422,
|
394 |
+
0.012317695617675782,
|
395 |
+
0.012322815895080566,
|
396 |
+
0.012324864387512208,
|
397 |
+
0.012298239707946777,
|
398 |
+
0.012333056449890138,
|
399 |
+
0.012369919776916503,
|
400 |
+
0.01234227180480957,
|
401 |
+
0.012320768356323243,
|
402 |
+
0.012308480262756348,
|
403 |
+
0.012527615547180175,
|
404 |
+
0.012338175773620605,
|
405 |
+
0.012323840141296387,
|
406 |
+
0.012307456016540527,
|
407 |
+
0.012326911926269531,
|
408 |
+
0.012322815895080566,
|
409 |
+
0.012511232376098632,
|
410 |
+
0.01233510398864746,
|
411 |
+
0.012413951873779297,
|
412 |
+
0.012345343589782716,
|
413 |
+
0.012310527801513671,
|
414 |
+
0.012316672325134278,
|
415 |
+
0.012314623832702636,
|
416 |
+
0.012310527801513671,
|
417 |
+
0.012320768356323243,
|
418 |
+
0.012324864387512208,
|
419 |
+
0.01234227180480957,
|
420 |
+
0.012323840141296387,
|
421 |
+
0.01233510398864746,
|
422 |
+
0.012320768356323243,
|
423 |
+
0.012328960418701173,
|
424 |
+
0.012317695617675782,
|
425 |
+
0.012318719863891601,
|
426 |
+
0.012314623832702636,
|
427 |
+
0.012316672325134278,
|
428 |
+
0.012308480262756348,
|
429 |
+
0.012308480262756348,
|
430 |
+
0.012310527801513671,
|
431 |
+
0.01233510398864746,
|
432 |
+
0.01234227180480957,
|
433 |
+
0.012314623832702636,
|
434 |
+
0.012844032287597656,
|
435 |
+
0.012792832374572754,
|
436 |
+
0.01235148811340332,
|
437 |
+
0.012331007957458496,
|
438 |
+
0.01234124755859375,
|
439 |
+
0.012308480262756348,
|
440 |
+
0.012318719863891601,
|
441 |
+
0.012327936172485352,
|
442 |
+
0.012320768356323243,
|
443 |
+
0.012326911926269531,
|
444 |
+
0.012340224266052247,
|
445 |
+
0.012344320297241211,
|
446 |
+
0.012321791648864745,
|
447 |
+
0.012316672325134278,
|
448 |
+
0.012326911926269531,
|
449 |
+
0.012338175773620605,
|
450 |
+
0.012333056449890138,
|
451 |
+
0.012315648078918457,
|
452 |
+
0.012333056449890138,
|
453 |
+
0.012320768356323243,
|
454 |
+
0.012318719863891601,
|
455 |
+
0.012320768356323243,
|
456 |
+
0.012302335739135742,
|
457 |
+
0.012333056449890138,
|
458 |
+
0.012311552047729492,
|
459 |
+
0.012323840141296387,
|
460 |
+
0.012309503555297852,
|
461 |
+
0.012336128234863282,
|
462 |
+
0.012323840141296387
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.02995586897474
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
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=566302686a71de14125717dea9a6a45b24d42b37/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": 1337.769984,
|
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.448345703125,
|
15 |
+
"mean": 12.448345703125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.448345703125,
|
18 |
+
"p90": 12.448345703125,
|
19 |
+
"p95": 12.448345703125,
|
20 |
+
"p99": 12.448345703125,
|
21 |
+
"values": [
|
22 |
+
12.448345703125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1855.537152,
|
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.02848086452484131,
|
42 |
+
"mean": 0.014240432262420655,
|
43 |
+
"stdev": 0.00012478399276733432,
|
44 |
+
"p50": 0.014240432262420655,
|
45 |
+
"p90": 0.014340259456634523,
|
46 |
+
"p95": 0.014352737855911256,
|
47 |
+
"p99": 0.014362720575332642,
|
48 |
+
"values": [
|
49 |
+
0.01411564826965332,
|
50 |
+
0.014365216255187989
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 491.55811221211536
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2025.529344,
|
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.1349299316406247,
|
73 |
+
"mean": 1.5674649658203124,
|
74 |
+
"stdev": 0.00021948242187497247,
|
75 |
+
"p50": 1.5674649658203124,
|
76 |
+
"p90": 1.5676405517578125,
|
77 |
+
"p95": 1.5676625,
|
78 |
+
"p99": 1.56768005859375,
|
79 |
+
"values": [
|
80 |
+
1.5672454833984375,
|
81 |
+
1.5676844482421874
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.02254453485422
|
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.1346431980133094,
|
97 |
+
"mean": 0.01234111495280829,
|
98 |
+
"stdev": 8.574769497549049e-05,
|
99 |
+
"p50": 0.012321791648864745,
|
100 |
+
"p90": 0.01234606056213379,
|
101 |
+
"p95": 0.012412620973587037,
|
102 |
+
"p99": 0.01283534870147705,
|
103 |
+
"values": [
|
104 |
+
0.012401663780212402,
|
105 |
+
0.012320768356323243,
|
106 |
+
0.01232588768005371,
|
107 |
+
0.012312576293945313,
|
108 |
+
0.012307456016540527,
|
109 |
+
0.012326975822448731,
|
110 |
+
0.012316608428955078,
|
111 |
+
0.012317695617675782,
|
112 |
+
0.012315648078918457,
|
113 |
+
0.012309503555297852,
|
114 |
+
0.01233407974243164,
|
115 |
+
0.012326911926269531,
|
116 |
+
0.012301312446594239,
|
117 |
+
0.012318719863891601,
|
118 |
+
0.012317695617675782,
|
119 |
+
0.012309503555297852,
|
120 |
+
0.012311552047729492,
|
121 |
+
0.012304384231567383,
|
122 |
+
0.01232588768005371,
|
123 |
+
0.012322815895080566,
|
124 |
+
0.012297216415405274,
|
125 |
+
0.012294143676757812,
|
126 |
+
0.012339200019836426,
|
127 |
+
0.012353535652160644,
|
128 |
+
0.012313599586486817,
|
129 |
+
0.012307456016540527,
|
130 |
+
0.012309503555297852,
|
131 |
+
0.012295167922973632,
|
132 |
+
0.012316672325134278,
|
133 |
+
0.012301312446594239,
|
134 |
+
0.012305407524108887,
|
135 |
+
0.012324864387512208,
|
136 |
+
0.012303359985351562,
|
137 |
+
0.012306431770324706,
|
138 |
+
0.012305407524108887,
|
139 |
+
0.012331007957458496,
|
140 |
+
0.012331007957458496,
|
141 |
+
0.012316672325134278,
|
142 |
+
0.012329983711242675,
|
143 |
+
0.012464127540588378,
|
144 |
+
0.012324864387512208,
|
145 |
+
0.012407808303833008,
|
146 |
+
0.012347392082214356,
|
147 |
+
0.012322815895080566,
|
148 |
+
0.012313599586486817,
|
149 |
+
0.012319744110107422,
|
150 |
+
0.01234227180480957,
|
151 |
+
0.01235968017578125,
|
152 |
+
0.012317695617675782,
|
153 |
+
0.012323840141296387,
|
154 |
+
0.012304384231567383,
|
155 |
+
0.012321791648864745,
|
156 |
+
0.012310527801513671,
|
157 |
+
0.012319744110107422,
|
158 |
+
0.012322815895080566,
|
159 |
+
0.012312576293945313,
|
160 |
+
0.012340224266052247,
|
161 |
+
0.012332032203674317,
|
162 |
+
0.012849151611328125,
|
163 |
+
0.01286348819732666,
|
164 |
+
0.012337151527404786,
|
165 |
+
0.012327936172485352,
|
166 |
+
0.012314623832702636,
|
167 |
+
0.012324864387512208,
|
168 |
+
0.012324864387512208,
|
169 |
+
0.012322815895080566,
|
170 |
+
0.012315648078918457,
|
171 |
+
0.012314623832702636,
|
172 |
+
0.012339200019836426,
|
173 |
+
0.012315648078918457,
|
174 |
+
0.01232588768005371,
|
175 |
+
0.012349439620971679,
|
176 |
+
0.012327936172485352,
|
177 |
+
0.012315648078918457,
|
178 |
+
0.012309503555297852,
|
179 |
+
0.012313599586486817,
|
180 |
+
0.01233510398864746,
|
181 |
+
0.012311552047729492,
|
182 |
+
0.012308480262756348,
|
183 |
+
0.012315648078918457,
|
184 |
+
0.012312576293945313,
|
185 |
+
0.012333056449890138,
|
186 |
+
0.012313599586486817,
|
187 |
+
0.012313599586486817,
|
188 |
+
0.01233407974243164,
|
189 |
+
0.012317695617675782,
|
190 |
+
0.012317695617675782,
|
191 |
+
0.012311552047729492,
|
192 |
+
0.012312576293945313,
|
193 |
+
0.01232588768005371,
|
194 |
+
0.012314623832702636,
|
195 |
+
0.012319744110107422,
|
196 |
+
0.012310527801513671,
|
197 |
+
0.012336128234863282,
|
198 |
+
0.01233407974243164,
|
199 |
+
0.012333056449890138,
|
200 |
+
0.012327936172485352,
|
201 |
+
0.012316672325134278,
|
202 |
+
0.012411904335021973,
|
203 |
+
0.012321791648864745,
|
204 |
+
0.012311552047729492,
|
205 |
+
0.012322815895080566,
|
206 |
+
0.012318719863891601,
|
207 |
+
0.012322815895080566,
|
208 |
+
0.012328960418701173,
|
209 |
+
0.012374015808105468,
|
210 |
+
0.012323840141296387,
|
211 |
+
0.012309503555297852,
|
212 |
+
0.012327936172485352,
|
213 |
+
0.012308480262756348,
|
214 |
+
0.012314623832702636,
|
215 |
+
0.012316672325134278,
|
216 |
+
0.012307456016540527,
|
217 |
+
0.012329983711242675,
|
218 |
+
0.012340224266052247,
|
219 |
+
0.012344320297241211,
|
220 |
+
0.012321791648864745,
|
221 |
+
0.012333056449890138,
|
222 |
+
0.012720128059387208,
|
223 |
+
0.012338175773620605,
|
224 |
+
0.01233407974243164,
|
225 |
+
0.012317695617675782,
|
226 |
+
0.012578816413879394,
|
227 |
+
0.012476415634155273,
|
228 |
+
0.01234329605102539,
|
229 |
+
0.012322815895080566,
|
230 |
+
0.012313599586486817,
|
231 |
+
0.01235865592956543,
|
232 |
+
0.012326911926269531,
|
233 |
+
0.012304384231567383,
|
234 |
+
0.012321791648864745,
|
235 |
+
0.012323840141296387,
|
236 |
+
0.012389375686645507,
|
237 |
+
0.012333120346069336,
|
238 |
+
0.012315584182739257,
|
239 |
+
0.012309503555297852,
|
240 |
+
0.012312576293945313,
|
241 |
+
0.012307456016540527,
|
242 |
+
0.012322815895080566,
|
243 |
+
0.012328960418701173,
|
244 |
+
0.012317695617675782,
|
245 |
+
0.012790783882141114,
|
246 |
+
0.012827648162841796,
|
247 |
+
0.01234124755859375,
|
248 |
+
0.012307456016540527,
|
249 |
+
0.012308480262756348,
|
250 |
+
0.012316672325134278,
|
251 |
+
0.012315648078918457,
|
252 |
+
0.012321791648864745,
|
253 |
+
0.012316672325134278,
|
254 |
+
0.012320768356323243,
|
255 |
+
0.012326911926269531,
|
256 |
+
0.012316672325134278,
|
257 |
+
0.012329983711242675,
|
258 |
+
0.012346367835998535,
|
259 |
+
0.01232588768005371,
|
260 |
+
0.012316672325134278,
|
261 |
+
0.012315648078918457,
|
262 |
+
0.012317695617675782,
|
263 |
+
0.012323840141296387,
|
264 |
+
0.012313599586486817,
|
265 |
+
0.012333056449890138,
|
266 |
+
0.012338175773620605,
|
267 |
+
0.012313599586486817,
|
268 |
+
0.012306431770324706,
|
269 |
+
0.012300288200378418,
|
270 |
+
0.012332032203674317,
|
271 |
+
0.012328960418701173,
|
272 |
+
0.012317695617675782,
|
273 |
+
0.012320768356323243,
|
274 |
+
0.012317695617675782,
|
275 |
+
0.012316672325134278,
|
276 |
+
0.012316672325134278,
|
277 |
+
0.012322815895080566,
|
278 |
+
0.01232588768005371,
|
279 |
+
0.012316672325134278,
|
280 |
+
0.012307456016540527,
|
281 |
+
0.012317695617675782,
|
282 |
+
0.01234227180480957,
|
283 |
+
0.012340224266052247,
|
284 |
+
0.012311552047729492,
|
285 |
+
0.012310527801513671,
|
286 |
+
0.01232588768005371,
|
287 |
+
0.01232588768005371,
|
288 |
+
0.012319744110107422,
|
289 |
+
0.012317695617675782,
|
290 |
+
0.012322815895080566,
|
291 |
+
0.012324864387512208,
|
292 |
+
0.012298239707946777,
|
293 |
+
0.012333056449890138,
|
294 |
+
0.012369919776916503,
|
295 |
+
0.01234227180480957,
|
296 |
+
0.012320768356323243,
|
297 |
+
0.012308480262756348,
|
298 |
+
0.012527615547180175,
|
299 |
+
0.012338175773620605,
|
300 |
+
0.012323840141296387,
|
301 |
+
0.012307456016540527,
|
302 |
+
0.012326911926269531,
|
303 |
+
0.012322815895080566,
|
304 |
+
0.012511232376098632,
|
305 |
+
0.01233510398864746,
|
306 |
+
0.012413951873779297,
|
307 |
+
0.012345343589782716,
|
308 |
+
0.012310527801513671,
|
309 |
+
0.012316672325134278,
|
310 |
+
0.012314623832702636,
|
311 |
+
0.012310527801513671,
|
312 |
+
0.012320768356323243,
|
313 |
+
0.012324864387512208,
|
314 |
+
0.01234227180480957,
|
315 |
+
0.012323840141296387,
|
316 |
+
0.01233510398864746,
|
317 |
+
0.012320768356323243,
|
318 |
+
0.012328960418701173,
|
319 |
+
0.012317695617675782,
|
320 |
+
0.012318719863891601,
|
321 |
+
0.012314623832702636,
|
322 |
+
0.012316672325134278,
|
323 |
+
0.012308480262756348,
|
324 |
+
0.012308480262756348,
|
325 |
+
0.012310527801513671,
|
326 |
+
0.01233510398864746,
|
327 |
+
0.01234227180480957,
|
328 |
+
0.012314623832702636,
|
329 |
+
0.012844032287597656,
|
330 |
+
0.012792832374572754,
|
331 |
+
0.01235148811340332,
|
332 |
+
0.012331007957458496,
|
333 |
+
0.01234124755859375,
|
334 |
+
0.012308480262756348,
|
335 |
+
0.012318719863891601,
|
336 |
+
0.012327936172485352,
|
337 |
+
0.012320768356323243,
|
338 |
+
0.012326911926269531,
|
339 |
+
0.012340224266052247,
|
340 |
+
0.012344320297241211,
|
341 |
+
0.012321791648864745,
|
342 |
+
0.012316672325134278,
|
343 |
+
0.012326911926269531,
|
344 |
+
0.012338175773620605,
|
345 |
+
0.012333056449890138,
|
346 |
+
0.012315648078918457,
|
347 |
+
0.012333056449890138,
|
348 |
+
0.012320768356323243,
|
349 |
+
0.012318719863891601,
|
350 |
+
0.012320768356323243,
|
351 |
+
0.012302335739135742,
|
352 |
+
0.012333056449890138,
|
353 |
+
0.012311552047729492,
|
354 |
+
0.012323840141296387,
|
355 |
+
0.012309503555297852,
|
356 |
+
0.012336128234863282,
|
357 |
+
0.012323840141296387
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.02995586897474
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/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": "566302686a71de14125717dea9a6a45b24d42b37",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014240432262420655,
|
7 |
+
"prefill.throughput.value": 491.55811221211536,
|
8 |
+
"decode.latency.mean": 1.5674649658203124,
|
9 |
+
"decode.throughput.value": 81.02254453485422,
|
10 |
+
"per_token.latency.mean": 0.01234111495280829,
|
11 |
+
"per_token.throughput.value": 81.02995586897474
|
12 |
+
}
|
13 |
+
}
|
2024-09-03/commit=566302686a71de14125717dea9a6a45b24d42b37/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpw2364vng/commit=566302686a71de14125717dea9a6a45b24d42b37
|
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/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37
|
88 |
+
- hydra.run.dir=_benchmark/tmpw2364vng/commit\=566302686a71de14125717dea9a6a45b24d42b37/${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: 566302686a71de14125717dea9a6a45b24d42b37
|
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": "566302686a71de14125717dea9a6a45b24d42b37",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02062836742401123,
|
8 |
+
"prefill.throughput.value": 339.338535915938,
|
9 |
+
"decode.latency.mean": 2.445818481445312,
|
10 |
+
"decode.throughput.value": 51.92535789694076,
|
11 |
+
"per_token.latency.mean": 0.019257146474883316,
|
12 |
+
"per_token.throughput.value": 51.9287736271975
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "566302686a71de14125717dea9a6a45b24d42b37",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02275548839569092,
|
21 |
+
"prefill.throughput.value": 307.6180953921231,
|
22 |
+
"decode.latency.mean": 2.6347849121093754,
|
23 |
+
"decode.throughput.value": 48.201277992868654,
|
24 |
+
"per_token.latency.mean": 0.020745304685878003,
|
25 |
+
"per_token.throughput.value": 48.20367862231169
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "566302686a71de14125717dea9a6a45b24d42b37",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014240432262420655,
|
34 |
+
"prefill.throughput.value": 491.55811221211536,
|
35 |
+
"decode.latency.mean": 1.5674649658203124,
|
36 |
+
"decode.throughput.value": 81.02254453485422,
|
37 |
+
"per_token.latency.mean": 0.01234111495280829,
|
38 |
+
"per_token.throughput.value": 81.02995586897474
|
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 |
+
"566302686a71de14125717dea9a6a45b24d42b37": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02062836742401123,
|
7 |
+
"prefill.throughput.value": 339.338535915938,
|
8 |
+
"decode.latency.mean": 2.445818481445312,
|
9 |
+
"decode.throughput.value": 51.92535789694076,
|
10 |
+
"per_token.latency.mean": 0.019257146474883316,
|
11 |
+
"per_token.throughput.value": 51.9287736271975
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"566302686a71de14125717dea9a6a45b24d42b37": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02275548839569092,
|
19 |
+
"prefill.throughput.value": 307.6180953921231,
|
20 |
+
"decode.latency.mean": 2.6347849121093754,
|
21 |
+
"decode.throughput.value": 48.201277992868654,
|
22 |
+
"per_token.latency.mean": 0.020745304685878003,
|
23 |
+
"per_token.throughput.value": 48.20367862231169
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"566302686a71de14125717dea9a6a45b24d42b37": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014240432262420655,
|
31 |
+
"prefill.throughput.value": 491.55811221211536,
|
32 |
+
"decode.latency.mean": 1.5674649658203124,
|
33 |
+
"decode.throughput.value": 81.02254453485422,
|
34 |
+
"per_token.latency.mean": 0.01234111495280829,
|
35 |
+
"per_token.throughput.value": 81.02995586897474
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|