hf-transformers-bot
commited on
Commit
•
7395013
1
Parent(s):
2f986ef
Upload folder using huggingface_hub
Browse files- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/multirun.yaml +234 -0
- 2024-08-26/summaries.json +41 -0
- 2024-08-26/summary.json +40 -0
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
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/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
88 |
+
- hydra.run.dir=_benchmark/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1319.50592,
|
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.54330859375,
|
120 |
+
"mean": 12.54330859375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.54330859375,
|
123 |
+
"p90": 12.54330859375,
|
124 |
+
"p95": 12.54330859375,
|
125 |
+
"p99": 12.54330859375,
|
126 |
+
"values": [
|
127 |
+
12.54330859375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1729.482752,
|
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.04121468734741211,
|
147 |
+
"mean": 0.020607343673706056,
|
148 |
+
"stdev": 4.417610168456869e-05,
|
149 |
+
"p50": 0.020607343673706056,
|
150 |
+
"p90": 0.02064268455505371,
|
151 |
+
"p95": 0.020647102165222166,
|
152 |
+
"p99": 0.020650636253356933,
|
153 |
+
"values": [
|
154 |
+
0.020563167572021486,
|
155 |
+
0.020651519775390623
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 339.6847313674713
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1784.348672,
|
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.931944580078125,
|
178 |
+
"mean": 2.4659722900390624,
|
179 |
+
"stdev": 0.02052331542968755,
|
180 |
+
"p50": 2.4659722900390624,
|
181 |
+
"p90": 2.4823909423828123,
|
182 |
+
"p95": 2.4844432739257813,
|
183 |
+
"p99": 2.4860851391601564,
|
184 |
+
"values": [
|
185 |
+
2.445448974609375,
|
186 |
+
2.48649560546875
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 51.500984221517044
|
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.931618816375732,
|
202 |
+
"mean": 0.01941582211171548,
|
203 |
+
"stdev": 0.00045509920800469137,
|
204 |
+
"p50": 0.01921334362030029,
|
205 |
+
"p90": 0.019986636543273924,
|
206 |
+
"p95": 0.020101887512207033,
|
207 |
+
"p99": 0.020570326652526855,
|
208 |
+
"values": [
|
209 |
+
0.019794944763183595,
|
210 |
+
0.01969254493713379,
|
211 |
+
0.019108863830566408,
|
212 |
+
0.01889587211608887,
|
213 |
+
0.01888768005371094,
|
214 |
+
0.018917375564575196,
|
215 |
+
0.018909183502197266,
|
216 |
+
0.019367935180664063,
|
217 |
+
0.019124223709106446,
|
218 |
+
0.019143680572509765,
|
219 |
+
0.01906483268737793,
|
220 |
+
0.019074047088623047,
|
221 |
+
0.019065887451171874,
|
222 |
+
0.01906787109375,
|
223 |
+
0.019080192565917968,
|
224 |
+
0.019052576065063477,
|
225 |
+
0.01911190414428711,
|
226 |
+
0.019123199462890626,
|
227 |
+
0.019095552444458007,
|
228 |
+
0.019151872634887695,
|
229 |
+
0.019123199462890626,
|
230 |
+
0.019175424575805664,
|
231 |
+
0.01925017547607422,
|
232 |
+
0.019096576690673828,
|
233 |
+
0.01905254364013672,
|
234 |
+
0.019096576690673828,
|
235 |
+
0.019180543899536134,
|
236 |
+
0.019084287643432618,
|
237 |
+
0.018949119567871094,
|
238 |
+
0.018908159255981445,
|
239 |
+
0.018889728546142577,
|
240 |
+
0.018951168060302736,
|
241 |
+
0.018906112670898437,
|
242 |
+
0.018925567626953126,
|
243 |
+
0.018929664611816405,
|
244 |
+
0.018903039932250978,
|
245 |
+
0.018975744247436522,
|
246 |
+
0.018916351318359375,
|
247 |
+
0.018956287384033203,
|
248 |
+
0.019126272201538085,
|
249 |
+
0.01904332733154297,
|
250 |
+
0.018890752792358398,
|
251 |
+
0.018890752792358398,
|
252 |
+
0.01887846374511719,
|
253 |
+
0.01920614433288574,
|
254 |
+
0.019194879531860352,
|
255 |
+
0.019138559341430664,
|
256 |
+
0.018928640365600585,
|
257 |
+
0.0190382080078125,
|
258 |
+
0.019862527847290038,
|
259 |
+
0.019677183151245118,
|
260 |
+
0.01989836883544922,
|
261 |
+
0.019962879180908204,
|
262 |
+
0.01984102439880371,
|
263 |
+
0.01982054328918457,
|
264 |
+
0.019687423706054686,
|
265 |
+
0.019813375473022463,
|
266 |
+
0.01968230438232422,
|
267 |
+
0.019620864868164063,
|
268 |
+
0.019735551834106444,
|
269 |
+
0.019886079788208007,
|
270 |
+
0.01998028755187988,
|
271 |
+
0.019942399978637695,
|
272 |
+
0.019961856842041017,
|
273 |
+
0.0196495361328125,
|
274 |
+
0.01966182327270508,
|
275 |
+
0.019687423706054686,
|
276 |
+
0.019982336044311523,
|
277 |
+
0.019744768142700195,
|
278 |
+
0.019720191955566405,
|
279 |
+
0.019780607223510743,
|
280 |
+
0.02004684829711914,
|
281 |
+
0.01984511947631836,
|
282 |
+
0.019970048904418947,
|
283 |
+
0.019766271591186522,
|
284 |
+
0.019219455718994142,
|
285 |
+
0.019074047088623047,
|
286 |
+
0.01906483268737793,
|
287 |
+
0.01903923225402832,
|
288 |
+
0.018997247695922852,
|
289 |
+
0.01903718376159668,
|
290 |
+
0.019326976776123047,
|
291 |
+
0.019348480224609374,
|
292 |
+
0.019180543899536134,
|
293 |
+
0.01927577590942383,
|
294 |
+
0.01925632095336914,
|
295 |
+
0.01925529670715332,
|
296 |
+
0.01922355270385742,
|
297 |
+
0.019096607208251952,
|
298 |
+
0.019034080505371094,
|
299 |
+
0.01904947280883789,
|
300 |
+
0.018994239807128905,
|
301 |
+
0.01896441650390625,
|
302 |
+
0.01903615951538086,
|
303 |
+
0.019014656066894533,
|
304 |
+
0.01920614433288574,
|
305 |
+
0.01905971145629883,
|
306 |
+
0.019184640884399414,
|
307 |
+
0.019155967712402345,
|
308 |
+
0.019144704818725586,
|
309 |
+
0.019124223709106446,
|
310 |
+
0.019183616638183593,
|
311 |
+
0.019117055892944337,
|
312 |
+
0.01924710464477539,
|
313 |
+
0.01923788833618164,
|
314 |
+
0.019215360641479492,
|
315 |
+
0.019213375091552735,
|
316 |
+
0.01917024040222168,
|
317 |
+
0.0192491512298584,
|
318 |
+
0.01930342483520508,
|
319 |
+
0.019290111541748048,
|
320 |
+
0.01925529670715332,
|
321 |
+
0.01908121681213379,
|
322 |
+
0.01902387237548828,
|
323 |
+
0.01903615951538086,
|
324 |
+
0.01901260757446289,
|
325 |
+
0.019040319442749025,
|
326 |
+
0.01901152038574219,
|
327 |
+
0.019074047088623047,
|
328 |
+
0.019013631820678712,
|
329 |
+
0.019195903778076173,
|
330 |
+
0.019203071594238282,
|
331 |
+
0.01921331214904785,
|
332 |
+
0.01921331214904785,
|
333 |
+
0.01927475166320801,
|
334 |
+
0.01922559928894043,
|
335 |
+
0.019260416030883788,
|
336 |
+
0.018840576171875,
|
337 |
+
0.01882931137084961,
|
338 |
+
0.018930688858032226,
|
339 |
+
0.019102720260620116,
|
340 |
+
0.01904640007019043,
|
341 |
+
0.01904844856262207,
|
342 |
+
0.018941951751708985,
|
343 |
+
0.018918399810791017,
|
344 |
+
0.019002368927001953,
|
345 |
+
0.01904742431640625,
|
346 |
+
0.01906790351867676,
|
347 |
+
0.019080255508422853,
|
348 |
+
0.019085248947143554,
|
349 |
+
0.019188735961914064,
|
350 |
+
0.01908940887451172,
|
351 |
+
0.019105791091918945,
|
352 |
+
0.01905971145629883,
|
353 |
+
0.019082239151000976,
|
354 |
+
0.019090431213378906,
|
355 |
+
0.019079200744628905,
|
356 |
+
0.0198133430480957,
|
357 |
+
0.02008166313171387,
|
358 |
+
0.019979263305664064,
|
359 |
+
0.019999744415283204,
|
360 |
+
0.020173824310302735,
|
361 |
+
0.020000768661499024,
|
362 |
+
0.02001203155517578,
|
363 |
+
0.019956735610961913,
|
364 |
+
0.019953664779663087,
|
365 |
+
0.01998847961425781,
|
366 |
+
0.019851264953613282,
|
367 |
+
0.019748863220214845,
|
368 |
+
0.019916799545288084,
|
369 |
+
0.019951616287231445,
|
370 |
+
0.020105215072631837,
|
371 |
+
0.020105215072631837,
|
372 |
+
0.019920896530151368,
|
373 |
+
0.019927040100097656,
|
374 |
+
0.01987481689453125,
|
375 |
+
0.019943424224853516,
|
376 |
+
0.01966182327270508,
|
377 |
+
0.01963417625427246,
|
378 |
+
0.01969049644470215,
|
379 |
+
0.01969152069091797,
|
380 |
+
0.019937280654907227,
|
381 |
+
0.020593664169311524,
|
382 |
+
0.02004377555847168,
|
383 |
+
0.01964646339416504,
|
384 |
+
0.019786752700805665,
|
385 |
+
0.019959808349609375,
|
386 |
+
0.02002124786376953,
|
387 |
+
0.020336639404296874,
|
388 |
+
0.019981311798095702,
|
389 |
+
0.019937280654907227,
|
390 |
+
0.020549631118774413,
|
391 |
+
0.02004582405090332,
|
392 |
+
0.01968332862854004,
|
393 |
+
0.0198154239654541,
|
394 |
+
0.019817472457885742,
|
395 |
+
0.01982975959777832,
|
396 |
+
0.019895296096801757,
|
397 |
+
0.0198287353515625,
|
398 |
+
0.01987276840209961,
|
399 |
+
0.01983795166015625,
|
400 |
+
0.01982876777648926,
|
401 |
+
0.02011952018737793,
|
402 |
+
0.01991072082519531,
|
403 |
+
0.019884992599487304,
|
404 |
+
0.019981311798095702,
|
405 |
+
0.020154367446899413,
|
406 |
+
0.01988403129577637,
|
407 |
+
0.0198287353515625,
|
408 |
+
0.019760128021240234,
|
409 |
+
0.019794944763183595,
|
410 |
+
0.01906073570251465,
|
411 |
+
0.01941094398498535,
|
412 |
+
0.01924403190612793,
|
413 |
+
0.01925734329223633,
|
414 |
+
0.0192491512298584,
|
415 |
+
0.01923276710510254,
|
416 |
+
0.019310592651367187,
|
417 |
+
0.01923686408996582,
|
418 |
+
0.01924403190612793,
|
419 |
+
0.01905561637878418,
|
420 |
+
0.019021823883056642,
|
421 |
+
0.019001344680786132,
|
422 |
+
0.018938880920410156,
|
423 |
+
0.01899212837219238,
|
424 |
+
0.01897881507873535,
|
425 |
+
0.01900441551208496,
|
426 |
+
0.01900851249694824,
|
427 |
+
0.01902079963684082,
|
428 |
+
0.01902387237548828,
|
429 |
+
0.01902284812927246,
|
430 |
+
0.01900441551208496,
|
431 |
+
0.018998271942138673,
|
432 |
+
0.018980863571166993,
|
433 |
+
0.01902796745300293,
|
434 |
+
0.01903923225402832,
|
435 |
+
0.019074047088623047,
|
436 |
+
0.01904537582397461,
|
437 |
+
0.01902592086791992,
|
438 |
+
0.021561344146728514,
|
439 |
+
0.020596736907958983,
|
440 |
+
0.019965951919555663,
|
441 |
+
0.01986457633972168,
|
442 |
+
0.01986662483215332,
|
443 |
+
0.019834880828857423,
|
444 |
+
0.019842048645019532,
|
445 |
+
0.020100095748901366,
|
446 |
+
0.019976192474365235,
|
447 |
+
0.019886079788208007,
|
448 |
+
0.0200898551940918,
|
449 |
+
0.01989017677307129,
|
450 |
+
0.01902592086791992,
|
451 |
+
0.019013631820678712,
|
452 |
+
0.019074047088623047,
|
453 |
+
0.018974720001220705,
|
454 |
+
0.019005439758300782,
|
455 |
+
0.018989055633544923,
|
456 |
+
0.01903615951538086,
|
457 |
+
0.019024927139282225,
|
458 |
+
0.020387807846069337,
|
459 |
+
0.020207616806030275,
|
460 |
+
0.020051967620849608,
|
461 |
+
0.020016128540039063,
|
462 |
+
0.020346879959106445
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 51.50438617773498
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": 1319.50592,
|
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.54330859375,
|
15 |
+
"mean": 12.54330859375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.54330859375,
|
18 |
+
"p90": 12.54330859375,
|
19 |
+
"p95": 12.54330859375,
|
20 |
+
"p99": 12.54330859375,
|
21 |
+
"values": [
|
22 |
+
12.54330859375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1729.482752,
|
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.04121468734741211,
|
42 |
+
"mean": 0.020607343673706056,
|
43 |
+
"stdev": 4.417610168456869e-05,
|
44 |
+
"p50": 0.020607343673706056,
|
45 |
+
"p90": 0.02064268455505371,
|
46 |
+
"p95": 0.020647102165222166,
|
47 |
+
"p99": 0.020650636253356933,
|
48 |
+
"values": [
|
49 |
+
0.020563167572021486,
|
50 |
+
0.020651519775390623
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 339.6847313674713
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1784.348672,
|
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.931944580078125,
|
73 |
+
"mean": 2.4659722900390624,
|
74 |
+
"stdev": 0.02052331542968755,
|
75 |
+
"p50": 2.4659722900390624,
|
76 |
+
"p90": 2.4823909423828123,
|
77 |
+
"p95": 2.4844432739257813,
|
78 |
+
"p99": 2.4860851391601564,
|
79 |
+
"values": [
|
80 |
+
2.445448974609375,
|
81 |
+
2.48649560546875
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 51.500984221517044
|
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.931618816375732,
|
97 |
+
"mean": 0.01941582211171548,
|
98 |
+
"stdev": 0.00045509920800469137,
|
99 |
+
"p50": 0.01921334362030029,
|
100 |
+
"p90": 0.019986636543273924,
|
101 |
+
"p95": 0.020101887512207033,
|
102 |
+
"p99": 0.020570326652526855,
|
103 |
+
"values": [
|
104 |
+
0.019794944763183595,
|
105 |
+
0.01969254493713379,
|
106 |
+
0.019108863830566408,
|
107 |
+
0.01889587211608887,
|
108 |
+
0.01888768005371094,
|
109 |
+
0.018917375564575196,
|
110 |
+
0.018909183502197266,
|
111 |
+
0.019367935180664063,
|
112 |
+
0.019124223709106446,
|
113 |
+
0.019143680572509765,
|
114 |
+
0.01906483268737793,
|
115 |
+
0.019074047088623047,
|
116 |
+
0.019065887451171874,
|
117 |
+
0.01906787109375,
|
118 |
+
0.019080192565917968,
|
119 |
+
0.019052576065063477,
|
120 |
+
0.01911190414428711,
|
121 |
+
0.019123199462890626,
|
122 |
+
0.019095552444458007,
|
123 |
+
0.019151872634887695,
|
124 |
+
0.019123199462890626,
|
125 |
+
0.019175424575805664,
|
126 |
+
0.01925017547607422,
|
127 |
+
0.019096576690673828,
|
128 |
+
0.01905254364013672,
|
129 |
+
0.019096576690673828,
|
130 |
+
0.019180543899536134,
|
131 |
+
0.019084287643432618,
|
132 |
+
0.018949119567871094,
|
133 |
+
0.018908159255981445,
|
134 |
+
0.018889728546142577,
|
135 |
+
0.018951168060302736,
|
136 |
+
0.018906112670898437,
|
137 |
+
0.018925567626953126,
|
138 |
+
0.018929664611816405,
|
139 |
+
0.018903039932250978,
|
140 |
+
0.018975744247436522,
|
141 |
+
0.018916351318359375,
|
142 |
+
0.018956287384033203,
|
143 |
+
0.019126272201538085,
|
144 |
+
0.01904332733154297,
|
145 |
+
0.018890752792358398,
|
146 |
+
0.018890752792358398,
|
147 |
+
0.01887846374511719,
|
148 |
+
0.01920614433288574,
|
149 |
+
0.019194879531860352,
|
150 |
+
0.019138559341430664,
|
151 |
+
0.018928640365600585,
|
152 |
+
0.0190382080078125,
|
153 |
+
0.019862527847290038,
|
154 |
+
0.019677183151245118,
|
155 |
+
0.01989836883544922,
|
156 |
+
0.019962879180908204,
|
157 |
+
0.01984102439880371,
|
158 |
+
0.01982054328918457,
|
159 |
+
0.019687423706054686,
|
160 |
+
0.019813375473022463,
|
161 |
+
0.01968230438232422,
|
162 |
+
0.019620864868164063,
|
163 |
+
0.019735551834106444,
|
164 |
+
0.019886079788208007,
|
165 |
+
0.01998028755187988,
|
166 |
+
0.019942399978637695,
|
167 |
+
0.019961856842041017,
|
168 |
+
0.0196495361328125,
|
169 |
+
0.01966182327270508,
|
170 |
+
0.019687423706054686,
|
171 |
+
0.019982336044311523,
|
172 |
+
0.019744768142700195,
|
173 |
+
0.019720191955566405,
|
174 |
+
0.019780607223510743,
|
175 |
+
0.02004684829711914,
|
176 |
+
0.01984511947631836,
|
177 |
+
0.019970048904418947,
|
178 |
+
0.019766271591186522,
|
179 |
+
0.019219455718994142,
|
180 |
+
0.019074047088623047,
|
181 |
+
0.01906483268737793,
|
182 |
+
0.01903923225402832,
|
183 |
+
0.018997247695922852,
|
184 |
+
0.01903718376159668,
|
185 |
+
0.019326976776123047,
|
186 |
+
0.019348480224609374,
|
187 |
+
0.019180543899536134,
|
188 |
+
0.01927577590942383,
|
189 |
+
0.01925632095336914,
|
190 |
+
0.01925529670715332,
|
191 |
+
0.01922355270385742,
|
192 |
+
0.019096607208251952,
|
193 |
+
0.019034080505371094,
|
194 |
+
0.01904947280883789,
|
195 |
+
0.018994239807128905,
|
196 |
+
0.01896441650390625,
|
197 |
+
0.01903615951538086,
|
198 |
+
0.019014656066894533,
|
199 |
+
0.01920614433288574,
|
200 |
+
0.01905971145629883,
|
201 |
+
0.019184640884399414,
|
202 |
+
0.019155967712402345,
|
203 |
+
0.019144704818725586,
|
204 |
+
0.019124223709106446,
|
205 |
+
0.019183616638183593,
|
206 |
+
0.019117055892944337,
|
207 |
+
0.01924710464477539,
|
208 |
+
0.01923788833618164,
|
209 |
+
0.019215360641479492,
|
210 |
+
0.019213375091552735,
|
211 |
+
0.01917024040222168,
|
212 |
+
0.0192491512298584,
|
213 |
+
0.01930342483520508,
|
214 |
+
0.019290111541748048,
|
215 |
+
0.01925529670715332,
|
216 |
+
0.01908121681213379,
|
217 |
+
0.01902387237548828,
|
218 |
+
0.01903615951538086,
|
219 |
+
0.01901260757446289,
|
220 |
+
0.019040319442749025,
|
221 |
+
0.01901152038574219,
|
222 |
+
0.019074047088623047,
|
223 |
+
0.019013631820678712,
|
224 |
+
0.019195903778076173,
|
225 |
+
0.019203071594238282,
|
226 |
+
0.01921331214904785,
|
227 |
+
0.01921331214904785,
|
228 |
+
0.01927475166320801,
|
229 |
+
0.01922559928894043,
|
230 |
+
0.019260416030883788,
|
231 |
+
0.018840576171875,
|
232 |
+
0.01882931137084961,
|
233 |
+
0.018930688858032226,
|
234 |
+
0.019102720260620116,
|
235 |
+
0.01904640007019043,
|
236 |
+
0.01904844856262207,
|
237 |
+
0.018941951751708985,
|
238 |
+
0.018918399810791017,
|
239 |
+
0.019002368927001953,
|
240 |
+
0.01904742431640625,
|
241 |
+
0.01906790351867676,
|
242 |
+
0.019080255508422853,
|
243 |
+
0.019085248947143554,
|
244 |
+
0.019188735961914064,
|
245 |
+
0.01908940887451172,
|
246 |
+
0.019105791091918945,
|
247 |
+
0.01905971145629883,
|
248 |
+
0.019082239151000976,
|
249 |
+
0.019090431213378906,
|
250 |
+
0.019079200744628905,
|
251 |
+
0.0198133430480957,
|
252 |
+
0.02008166313171387,
|
253 |
+
0.019979263305664064,
|
254 |
+
0.019999744415283204,
|
255 |
+
0.020173824310302735,
|
256 |
+
0.020000768661499024,
|
257 |
+
0.02001203155517578,
|
258 |
+
0.019956735610961913,
|
259 |
+
0.019953664779663087,
|
260 |
+
0.01998847961425781,
|
261 |
+
0.019851264953613282,
|
262 |
+
0.019748863220214845,
|
263 |
+
0.019916799545288084,
|
264 |
+
0.019951616287231445,
|
265 |
+
0.020105215072631837,
|
266 |
+
0.020105215072631837,
|
267 |
+
0.019920896530151368,
|
268 |
+
0.019927040100097656,
|
269 |
+
0.01987481689453125,
|
270 |
+
0.019943424224853516,
|
271 |
+
0.01966182327270508,
|
272 |
+
0.01963417625427246,
|
273 |
+
0.01969049644470215,
|
274 |
+
0.01969152069091797,
|
275 |
+
0.019937280654907227,
|
276 |
+
0.020593664169311524,
|
277 |
+
0.02004377555847168,
|
278 |
+
0.01964646339416504,
|
279 |
+
0.019786752700805665,
|
280 |
+
0.019959808349609375,
|
281 |
+
0.02002124786376953,
|
282 |
+
0.020336639404296874,
|
283 |
+
0.019981311798095702,
|
284 |
+
0.019937280654907227,
|
285 |
+
0.020549631118774413,
|
286 |
+
0.02004582405090332,
|
287 |
+
0.01968332862854004,
|
288 |
+
0.0198154239654541,
|
289 |
+
0.019817472457885742,
|
290 |
+
0.01982975959777832,
|
291 |
+
0.019895296096801757,
|
292 |
+
0.0198287353515625,
|
293 |
+
0.01987276840209961,
|
294 |
+
0.01983795166015625,
|
295 |
+
0.01982876777648926,
|
296 |
+
0.02011952018737793,
|
297 |
+
0.01991072082519531,
|
298 |
+
0.019884992599487304,
|
299 |
+
0.019981311798095702,
|
300 |
+
0.020154367446899413,
|
301 |
+
0.01988403129577637,
|
302 |
+
0.0198287353515625,
|
303 |
+
0.019760128021240234,
|
304 |
+
0.019794944763183595,
|
305 |
+
0.01906073570251465,
|
306 |
+
0.01941094398498535,
|
307 |
+
0.01924403190612793,
|
308 |
+
0.01925734329223633,
|
309 |
+
0.0192491512298584,
|
310 |
+
0.01923276710510254,
|
311 |
+
0.019310592651367187,
|
312 |
+
0.01923686408996582,
|
313 |
+
0.01924403190612793,
|
314 |
+
0.01905561637878418,
|
315 |
+
0.019021823883056642,
|
316 |
+
0.019001344680786132,
|
317 |
+
0.018938880920410156,
|
318 |
+
0.01899212837219238,
|
319 |
+
0.01897881507873535,
|
320 |
+
0.01900441551208496,
|
321 |
+
0.01900851249694824,
|
322 |
+
0.01902079963684082,
|
323 |
+
0.01902387237548828,
|
324 |
+
0.01902284812927246,
|
325 |
+
0.01900441551208496,
|
326 |
+
0.018998271942138673,
|
327 |
+
0.018980863571166993,
|
328 |
+
0.01902796745300293,
|
329 |
+
0.01903923225402832,
|
330 |
+
0.019074047088623047,
|
331 |
+
0.01904537582397461,
|
332 |
+
0.01902592086791992,
|
333 |
+
0.021561344146728514,
|
334 |
+
0.020596736907958983,
|
335 |
+
0.019965951919555663,
|
336 |
+
0.01986457633972168,
|
337 |
+
0.01986662483215332,
|
338 |
+
0.019834880828857423,
|
339 |
+
0.019842048645019532,
|
340 |
+
0.020100095748901366,
|
341 |
+
0.019976192474365235,
|
342 |
+
0.019886079788208007,
|
343 |
+
0.0200898551940918,
|
344 |
+
0.01989017677307129,
|
345 |
+
0.01902592086791992,
|
346 |
+
0.019013631820678712,
|
347 |
+
0.019074047088623047,
|
348 |
+
0.018974720001220705,
|
349 |
+
0.019005439758300782,
|
350 |
+
0.018989055633544923,
|
351 |
+
0.01903615951538086,
|
352 |
+
0.019024927139282225,
|
353 |
+
0.020387807846069337,
|
354 |
+
0.020207616806030275,
|
355 |
+
0.020051967620849608,
|
356 |
+
0.020016128540039063,
|
357 |
+
0.020346879959106445
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 51.50438617773498
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020607343673706056,
|
7 |
+
"prefill.throughput.value": 339.6847313674713,
|
8 |
+
"decode.latency.mean": 2.4659722900390624,
|
9 |
+
"decode.throughput.value": 51.500984221517044,
|
10 |
+
"per_token.latency.mean": 0.01941582211171548,
|
11 |
+
"per_token.throughput.value": 51.50438617773498
|
12 |
+
}
|
13 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
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/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
88 |
+
- hydra.run.dir=_benchmark/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-08-26 02:39:20,690[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-08-26 02:39:23,097[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
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/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
88 |
+
- hydra.run.dir=_benchmark/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1319.452672,
|
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.7888544921875,
|
120 |
+
"mean": 12.7888544921875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.7888544921875,
|
123 |
+
"p90": 12.7888544921875,
|
124 |
+
"p95": 12.7888544921875,
|
125 |
+
"p99": 12.7888544921875,
|
126 |
+
"values": [
|
127 |
+
12.7888544921875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1747.80416,
|
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.04456255912780761,
|
147 |
+
"mean": 0.022281279563903807,
|
148 |
+
"stdev": 0.00045068836212158216,
|
149 |
+
"p50": 0.022281279563903807,
|
150 |
+
"p90": 0.022641830253601076,
|
151 |
+
"p95": 0.022686899089813233,
|
152 |
+
"p99": 0.02272295415878296,
|
153 |
+
"values": [
|
154 |
+
0.021830591201782226,
|
155 |
+
0.02273196792602539
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 314.16508104589127
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1772.556288,
|
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.178685302734375,
|
178 |
+
"mean": 2.5893426513671876,
|
179 |
+
"stdev": 0.009314086914062436,
|
180 |
+
"p50": 2.5893426513671876,
|
181 |
+
"p90": 2.5967939208984374,
|
182 |
+
"p95": 2.597725329589844,
|
183 |
+
"p99": 2.5984704565429686,
|
184 |
+
"values": [
|
185 |
+
2.580028564453125,
|
186 |
+
2.59865673828125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 49.047197339040196
|
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.178421249389649,
|
202 |
+
"mean": 0.020387485233817514,
|
203 |
+
"stdev": 0.0003491871655363828,
|
204 |
+
"p50": 0.02017638397216797,
|
205 |
+
"p90": 0.020863693046569827,
|
206 |
+
"p95": 0.020892671585083008,
|
207 |
+
"p99": 0.02104976406097412,
|
208 |
+
"values": [
|
209 |
+
0.02024345588684082,
|
210 |
+
0.02021683120727539,
|
211 |
+
0.02039193534851074,
|
212 |
+
0.020117504119873047,
|
213 |
+
0.019938304901123048,
|
214 |
+
0.020144128799438478,
|
215 |
+
0.020151296615600587,
|
216 |
+
0.020208639144897463,
|
217 |
+
0.020163583755493163,
|
218 |
+
0.02020966339111328,
|
219 |
+
0.020552703857421875,
|
220 |
+
0.02150092887878418,
|
221 |
+
0.021191680908203125,
|
222 |
+
0.021037055969238282,
|
223 |
+
0.02102783966064453,
|
224 |
+
0.020616191864013672,
|
225 |
+
0.02081996726989746,
|
226 |
+
0.02085068893432617,
|
227 |
+
0.020777984619140624,
|
228 |
+
0.020523008346557618,
|
229 |
+
0.02084864044189453,
|
230 |
+
0.02086911964416504,
|
231 |
+
0.02085068893432617,
|
232 |
+
0.02082713508605957,
|
233 |
+
0.02085785675048828,
|
234 |
+
0.019923967361450197,
|
235 |
+
0.020149248123168945,
|
236 |
+
0.020102144241333008,
|
237 |
+
0.020125696182250977,
|
238 |
+
0.019957759857177734,
|
239 |
+
0.020107263565063475,
|
240 |
+
0.020168703079223634,
|
241 |
+
0.020167680740356447,
|
242 |
+
0.020134912490844727,
|
243 |
+
0.020131839752197265,
|
244 |
+
0.02011136054992676,
|
245 |
+
0.020161535263061522,
|
246 |
+
0.02007040023803711,
|
247 |
+
0.020141056060791016,
|
248 |
+
0.020113407135009767,
|
249 |
+
0.01997724723815918,
|
250 |
+
0.020070367813110352,
|
251 |
+
0.020105215072631837,
|
252 |
+
0.020009983062744142,
|
253 |
+
0.01997209548950195,
|
254 |
+
0.019926015853881835,
|
255 |
+
0.020132863998413086,
|
256 |
+
0.020170751571655272,
|
257 |
+
0.020183040618896485,
|
258 |
+
0.020160512924194338,
|
259 |
+
0.020179967880249023,
|
260 |
+
0.020092927932739257,
|
261 |
+
0.020137983322143553,
|
262 |
+
0.02012057685852051,
|
263 |
+
0.020150272369384766,
|
264 |
+
0.02011136054992676,
|
265 |
+
0.020178943634033202,
|
266 |
+
0.020157440185546875,
|
267 |
+
0.020148223876953125,
|
268 |
+
0.020129791259765627,
|
269 |
+
0.02021683120727539,
|
270 |
+
0.01992192077636719,
|
271 |
+
0.019926015853881835,
|
272 |
+
0.020031488418579102,
|
273 |
+
0.020108287811279296,
|
274 |
+
0.020180992126464844,
|
275 |
+
0.020145151138305666,
|
276 |
+
0.020176895141601564,
|
277 |
+
0.020126720428466797,
|
278 |
+
0.020130815505981444,
|
279 |
+
0.02012774467468262,
|
280 |
+
0.020145151138305666,
|
281 |
+
0.020180992126464844,
|
282 |
+
0.02019327926635742,
|
283 |
+
0.02020966339111328,
|
284 |
+
0.020132863998413086,
|
285 |
+
0.020116479873657226,
|
286 |
+
0.02012876892089844,
|
287 |
+
0.020145151138305666,
|
288 |
+
0.020137983322143553,
|
289 |
+
0.02017791938781738,
|
290 |
+
0.020131839752197265,
|
291 |
+
0.020183040618896485,
|
292 |
+
0.020174848556518556,
|
293 |
+
0.020133888244628906,
|
294 |
+
0.020113407135009767,
|
295 |
+
0.02021171188354492,
|
296 |
+
0.020156415939331054,
|
297 |
+
0.020114431381225584,
|
298 |
+
0.020147199630737304,
|
299 |
+
0.020147199630737304,
|
300 |
+
0.020176895141601564,
|
301 |
+
0.02012057685852051,
|
302 |
+
0.020125696182250977,
|
303 |
+
0.020106239318847655,
|
304 |
+
0.02012057685852051,
|
305 |
+
0.02008678436279297,
|
306 |
+
0.020122623443603514,
|
307 |
+
0.020172800064086914,
|
308 |
+
0.020141056060791016,
|
309 |
+
0.020132863998413086,
|
310 |
+
0.020200447082519533,
|
311 |
+
0.020167680740356447,
|
312 |
+
0.020126720428466797,
|
313 |
+
0.020108287811279296,
|
314 |
+
0.020107263565063475,
|
315 |
+
0.020195327758789062,
|
316 |
+
0.02012057685852051,
|
317 |
+
0.020148223876953125,
|
318 |
+
0.020124671936035156,
|
319 |
+
0.020755456924438476,
|
320 |
+
0.0210513916015625,
|
321 |
+
0.02084556770324707,
|
322 |
+
0.02087936019897461,
|
323 |
+
0.02082815933227539,
|
324 |
+
0.020855808258056642,
|
325 |
+
0.02087833595275879,
|
326 |
+
0.020824064254760744,
|
327 |
+
0.02085273551940918,
|
328 |
+
0.020867071151733398,
|
329 |
+
0.020892671585083008,
|
330 |
+
0.020783103942871094,
|
331 |
+
0.02079539108276367,
|
332 |
+
0.020768768310546876,
|
333 |
+
0.020892671585083008,
|
334 |
+
0.020817920684814452,
|
335 |
+
0.020909055709838868,
|
336 |
+
0.020939775466918945,
|
337 |
+
0.020780031204223632,
|
338 |
+
0.02082713508605957,
|
339 |
+
0.020816896438598635,
|
340 |
+
0.020802560806274413,
|
341 |
+
0.020779008865356444,
|
342 |
+
0.020749311447143554,
|
343 |
+
0.020839424133300782,
|
344 |
+
0.020809791564941407,
|
345 |
+
0.020801471710205077,
|
346 |
+
0.02084351921081543,
|
347 |
+
0.020794368743896483,
|
348 |
+
0.0208353271484375,
|
349 |
+
0.020785152435302736,
|
350 |
+
0.02046976089477539,
|
351 |
+
0.020398080825805662,
|
352 |
+
0.02043187141418457,
|
353 |
+
0.020709375381469726,
|
354 |
+
0.02082611274719238,
|
355 |
+
0.02083430480957031,
|
356 |
+
0.0208353271484375,
|
357 |
+
0.020839424133300782,
|
358 |
+
0.020822015762329102,
|
359 |
+
0.020907007217407226,
|
360 |
+
0.020779008865356444,
|
361 |
+
0.020801536560058592,
|
362 |
+
0.02084556770324707,
|
363 |
+
0.020864000320434572,
|
364 |
+
0.020831232070922853,
|
365 |
+
0.02083737564086914,
|
366 |
+
0.020823040008544923,
|
367 |
+
0.02012057685852051,
|
368 |
+
0.02012876892089844,
|
369 |
+
0.02019430351257324,
|
370 |
+
0.020122623443603514,
|
371 |
+
0.020175872802734376,
|
372 |
+
0.020157440185546875,
|
373 |
+
0.020122623443603514,
|
374 |
+
0.020153343200683595,
|
375 |
+
0.020143104553222657,
|
376 |
+
0.020172800064086914,
|
377 |
+
0.019934207916259765,
|
378 |
+
0.019961856842041017,
|
379 |
+
0.02024140739440918,
|
380 |
+
0.02011238479614258,
|
381 |
+
0.019984384536743165,
|
382 |
+
0.020092927932739257,
|
383 |
+
0.020144128799438478,
|
384 |
+
0.020153343200683595,
|
385 |
+
0.020109312057495117,
|
386 |
+
0.020136959075927736,
|
387 |
+
0.020143104553222657,
|
388 |
+
0.020150272369384766,
|
389 |
+
0.020140031814575195,
|
390 |
+
0.020144128799438478,
|
391 |
+
0.020133888244628906,
|
392 |
+
0.020134912490844727,
|
393 |
+
0.020188159942626953,
|
394 |
+
0.020180992126464844,
|
395 |
+
0.020174848556518556,
|
396 |
+
0.020179967880249023,
|
397 |
+
0.020142080307006836,
|
398 |
+
0.020134912490844727,
|
399 |
+
0.02011136054992676,
|
400 |
+
0.020160512924194338,
|
401 |
+
0.020145151138305666,
|
402 |
+
0.020247552871704103,
|
403 |
+
0.020158464431762696,
|
404 |
+
0.02019327926635742,
|
405 |
+
0.020167680740356447,
|
406 |
+
0.020182016372680665,
|
407 |
+
0.020167680740356447,
|
408 |
+
0.020195327758789062,
|
409 |
+
0.020143104553222657,
|
410 |
+
0.020129791259765627,
|
411 |
+
0.020153343200683595,
|
412 |
+
0.020164608001708984,
|
413 |
+
0.020160512924194338,
|
414 |
+
0.020184064865112306,
|
415 |
+
0.020165632247924805,
|
416 |
+
0.02104832077026367,
|
417 |
+
0.020969472885131835,
|
418 |
+
0.02082099151611328,
|
419 |
+
0.020876287460327148,
|
420 |
+
0.02084556770324707,
|
421 |
+
0.02085171127319336,
|
422 |
+
0.02085171127319336,
|
423 |
+
0.020766719818115235,
|
424 |
+
0.020814847946166993,
|
425 |
+
0.020797439575195312,
|
426 |
+
0.02084249687194824,
|
427 |
+
0.020822015762329102,
|
428 |
+
0.02084864044189453,
|
429 |
+
0.02086502456665039,
|
430 |
+
0.0200581111907959,
|
431 |
+
0.020023296356201172,
|
432 |
+
0.020162559509277343,
|
433 |
+
0.020133888244628906,
|
434 |
+
0.020168703079223634,
|
435 |
+
0.020206592559814454,
|
436 |
+
0.020168703079223634,
|
437 |
+
0.02012876892089844,
|
438 |
+
0.020185087203979494,
|
439 |
+
0.020143104553222657,
|
440 |
+
0.020161535263061522,
|
441 |
+
0.020167680740356447,
|
442 |
+
0.020188159942626953,
|
443 |
+
0.020137983322143553,
|
444 |
+
0.020157440185546875,
|
445 |
+
0.020222976684570314,
|
446 |
+
0.020198400497436524,
|
447 |
+
0.020102144241333008,
|
448 |
+
0.02026803207397461,
|
449 |
+
0.02088960075378418,
|
450 |
+
0.020864000320434572,
|
451 |
+
0.020840448379516603,
|
452 |
+
0.02086297607421875,
|
453 |
+
0.02089369583129883,
|
454 |
+
0.020983808517456053,
|
455 |
+
0.02088960075378418,
|
456 |
+
0.020844575881958007,
|
457 |
+
0.020847583770751955,
|
458 |
+
0.02088755226135254,
|
459 |
+
0.020839424133300782,
|
460 |
+
0.020876287460327148,
|
461 |
+
0.02085171127319336,
|
462 |
+
0.02084966468811035
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 49.049698309100975
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": 1319.452672,
|
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.7888544921875,
|
15 |
+
"mean": 12.7888544921875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.7888544921875,
|
18 |
+
"p90": 12.7888544921875,
|
19 |
+
"p95": 12.7888544921875,
|
20 |
+
"p99": 12.7888544921875,
|
21 |
+
"values": [
|
22 |
+
12.7888544921875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1747.80416,
|
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.04456255912780761,
|
42 |
+
"mean": 0.022281279563903807,
|
43 |
+
"stdev": 0.00045068836212158216,
|
44 |
+
"p50": 0.022281279563903807,
|
45 |
+
"p90": 0.022641830253601076,
|
46 |
+
"p95": 0.022686899089813233,
|
47 |
+
"p99": 0.02272295415878296,
|
48 |
+
"values": [
|
49 |
+
0.021830591201782226,
|
50 |
+
0.02273196792602539
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 314.16508104589127
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1772.556288,
|
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.178685302734375,
|
73 |
+
"mean": 2.5893426513671876,
|
74 |
+
"stdev": 0.009314086914062436,
|
75 |
+
"p50": 2.5893426513671876,
|
76 |
+
"p90": 2.5967939208984374,
|
77 |
+
"p95": 2.597725329589844,
|
78 |
+
"p99": 2.5984704565429686,
|
79 |
+
"values": [
|
80 |
+
2.580028564453125,
|
81 |
+
2.59865673828125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 49.047197339040196
|
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.178421249389649,
|
97 |
+
"mean": 0.020387485233817514,
|
98 |
+
"stdev": 0.0003491871655363828,
|
99 |
+
"p50": 0.02017638397216797,
|
100 |
+
"p90": 0.020863693046569827,
|
101 |
+
"p95": 0.020892671585083008,
|
102 |
+
"p99": 0.02104976406097412,
|
103 |
+
"values": [
|
104 |
+
0.02024345588684082,
|
105 |
+
0.02021683120727539,
|
106 |
+
0.02039193534851074,
|
107 |
+
0.020117504119873047,
|
108 |
+
0.019938304901123048,
|
109 |
+
0.020144128799438478,
|
110 |
+
0.020151296615600587,
|
111 |
+
0.020208639144897463,
|
112 |
+
0.020163583755493163,
|
113 |
+
0.02020966339111328,
|
114 |
+
0.020552703857421875,
|
115 |
+
0.02150092887878418,
|
116 |
+
0.021191680908203125,
|
117 |
+
0.021037055969238282,
|
118 |
+
0.02102783966064453,
|
119 |
+
0.020616191864013672,
|
120 |
+
0.02081996726989746,
|
121 |
+
0.02085068893432617,
|
122 |
+
0.020777984619140624,
|
123 |
+
0.020523008346557618,
|
124 |
+
0.02084864044189453,
|
125 |
+
0.02086911964416504,
|
126 |
+
0.02085068893432617,
|
127 |
+
0.02082713508605957,
|
128 |
+
0.02085785675048828,
|
129 |
+
0.019923967361450197,
|
130 |
+
0.020149248123168945,
|
131 |
+
0.020102144241333008,
|
132 |
+
0.020125696182250977,
|
133 |
+
0.019957759857177734,
|
134 |
+
0.020107263565063475,
|
135 |
+
0.020168703079223634,
|
136 |
+
0.020167680740356447,
|
137 |
+
0.020134912490844727,
|
138 |
+
0.020131839752197265,
|
139 |
+
0.02011136054992676,
|
140 |
+
0.020161535263061522,
|
141 |
+
0.02007040023803711,
|
142 |
+
0.020141056060791016,
|
143 |
+
0.020113407135009767,
|
144 |
+
0.01997724723815918,
|
145 |
+
0.020070367813110352,
|
146 |
+
0.020105215072631837,
|
147 |
+
0.020009983062744142,
|
148 |
+
0.01997209548950195,
|
149 |
+
0.019926015853881835,
|
150 |
+
0.020132863998413086,
|
151 |
+
0.020170751571655272,
|
152 |
+
0.020183040618896485,
|
153 |
+
0.020160512924194338,
|
154 |
+
0.020179967880249023,
|
155 |
+
0.020092927932739257,
|
156 |
+
0.020137983322143553,
|
157 |
+
0.02012057685852051,
|
158 |
+
0.020150272369384766,
|
159 |
+
0.02011136054992676,
|
160 |
+
0.020178943634033202,
|
161 |
+
0.020157440185546875,
|
162 |
+
0.020148223876953125,
|
163 |
+
0.020129791259765627,
|
164 |
+
0.02021683120727539,
|
165 |
+
0.01992192077636719,
|
166 |
+
0.019926015853881835,
|
167 |
+
0.020031488418579102,
|
168 |
+
0.020108287811279296,
|
169 |
+
0.020180992126464844,
|
170 |
+
0.020145151138305666,
|
171 |
+
0.020176895141601564,
|
172 |
+
0.020126720428466797,
|
173 |
+
0.020130815505981444,
|
174 |
+
0.02012774467468262,
|
175 |
+
0.020145151138305666,
|
176 |
+
0.020180992126464844,
|
177 |
+
0.02019327926635742,
|
178 |
+
0.02020966339111328,
|
179 |
+
0.020132863998413086,
|
180 |
+
0.020116479873657226,
|
181 |
+
0.02012876892089844,
|
182 |
+
0.020145151138305666,
|
183 |
+
0.020137983322143553,
|
184 |
+
0.02017791938781738,
|
185 |
+
0.020131839752197265,
|
186 |
+
0.020183040618896485,
|
187 |
+
0.020174848556518556,
|
188 |
+
0.020133888244628906,
|
189 |
+
0.020113407135009767,
|
190 |
+
0.02021171188354492,
|
191 |
+
0.020156415939331054,
|
192 |
+
0.020114431381225584,
|
193 |
+
0.020147199630737304,
|
194 |
+
0.020147199630737304,
|
195 |
+
0.020176895141601564,
|
196 |
+
0.02012057685852051,
|
197 |
+
0.020125696182250977,
|
198 |
+
0.020106239318847655,
|
199 |
+
0.02012057685852051,
|
200 |
+
0.02008678436279297,
|
201 |
+
0.020122623443603514,
|
202 |
+
0.020172800064086914,
|
203 |
+
0.020141056060791016,
|
204 |
+
0.020132863998413086,
|
205 |
+
0.020200447082519533,
|
206 |
+
0.020167680740356447,
|
207 |
+
0.020126720428466797,
|
208 |
+
0.020108287811279296,
|
209 |
+
0.020107263565063475,
|
210 |
+
0.020195327758789062,
|
211 |
+
0.02012057685852051,
|
212 |
+
0.020148223876953125,
|
213 |
+
0.020124671936035156,
|
214 |
+
0.020755456924438476,
|
215 |
+
0.0210513916015625,
|
216 |
+
0.02084556770324707,
|
217 |
+
0.02087936019897461,
|
218 |
+
0.02082815933227539,
|
219 |
+
0.020855808258056642,
|
220 |
+
0.02087833595275879,
|
221 |
+
0.020824064254760744,
|
222 |
+
0.02085273551940918,
|
223 |
+
0.020867071151733398,
|
224 |
+
0.020892671585083008,
|
225 |
+
0.020783103942871094,
|
226 |
+
0.02079539108276367,
|
227 |
+
0.020768768310546876,
|
228 |
+
0.020892671585083008,
|
229 |
+
0.020817920684814452,
|
230 |
+
0.020909055709838868,
|
231 |
+
0.020939775466918945,
|
232 |
+
0.020780031204223632,
|
233 |
+
0.02082713508605957,
|
234 |
+
0.020816896438598635,
|
235 |
+
0.020802560806274413,
|
236 |
+
0.020779008865356444,
|
237 |
+
0.020749311447143554,
|
238 |
+
0.020839424133300782,
|
239 |
+
0.020809791564941407,
|
240 |
+
0.020801471710205077,
|
241 |
+
0.02084351921081543,
|
242 |
+
0.020794368743896483,
|
243 |
+
0.0208353271484375,
|
244 |
+
0.020785152435302736,
|
245 |
+
0.02046976089477539,
|
246 |
+
0.020398080825805662,
|
247 |
+
0.02043187141418457,
|
248 |
+
0.020709375381469726,
|
249 |
+
0.02082611274719238,
|
250 |
+
0.02083430480957031,
|
251 |
+
0.0208353271484375,
|
252 |
+
0.020839424133300782,
|
253 |
+
0.020822015762329102,
|
254 |
+
0.020907007217407226,
|
255 |
+
0.020779008865356444,
|
256 |
+
0.020801536560058592,
|
257 |
+
0.02084556770324707,
|
258 |
+
0.020864000320434572,
|
259 |
+
0.020831232070922853,
|
260 |
+
0.02083737564086914,
|
261 |
+
0.020823040008544923,
|
262 |
+
0.02012057685852051,
|
263 |
+
0.02012876892089844,
|
264 |
+
0.02019430351257324,
|
265 |
+
0.020122623443603514,
|
266 |
+
0.020175872802734376,
|
267 |
+
0.020157440185546875,
|
268 |
+
0.020122623443603514,
|
269 |
+
0.020153343200683595,
|
270 |
+
0.020143104553222657,
|
271 |
+
0.020172800064086914,
|
272 |
+
0.019934207916259765,
|
273 |
+
0.019961856842041017,
|
274 |
+
0.02024140739440918,
|
275 |
+
0.02011238479614258,
|
276 |
+
0.019984384536743165,
|
277 |
+
0.020092927932739257,
|
278 |
+
0.020144128799438478,
|
279 |
+
0.020153343200683595,
|
280 |
+
0.020109312057495117,
|
281 |
+
0.020136959075927736,
|
282 |
+
0.020143104553222657,
|
283 |
+
0.020150272369384766,
|
284 |
+
0.020140031814575195,
|
285 |
+
0.020144128799438478,
|
286 |
+
0.020133888244628906,
|
287 |
+
0.020134912490844727,
|
288 |
+
0.020188159942626953,
|
289 |
+
0.020180992126464844,
|
290 |
+
0.020174848556518556,
|
291 |
+
0.020179967880249023,
|
292 |
+
0.020142080307006836,
|
293 |
+
0.020134912490844727,
|
294 |
+
0.02011136054992676,
|
295 |
+
0.020160512924194338,
|
296 |
+
0.020145151138305666,
|
297 |
+
0.020247552871704103,
|
298 |
+
0.020158464431762696,
|
299 |
+
0.02019327926635742,
|
300 |
+
0.020167680740356447,
|
301 |
+
0.020182016372680665,
|
302 |
+
0.020167680740356447,
|
303 |
+
0.020195327758789062,
|
304 |
+
0.020143104553222657,
|
305 |
+
0.020129791259765627,
|
306 |
+
0.020153343200683595,
|
307 |
+
0.020164608001708984,
|
308 |
+
0.020160512924194338,
|
309 |
+
0.020184064865112306,
|
310 |
+
0.020165632247924805,
|
311 |
+
0.02104832077026367,
|
312 |
+
0.020969472885131835,
|
313 |
+
0.02082099151611328,
|
314 |
+
0.020876287460327148,
|
315 |
+
0.02084556770324707,
|
316 |
+
0.02085171127319336,
|
317 |
+
0.02085171127319336,
|
318 |
+
0.020766719818115235,
|
319 |
+
0.020814847946166993,
|
320 |
+
0.020797439575195312,
|
321 |
+
0.02084249687194824,
|
322 |
+
0.020822015762329102,
|
323 |
+
0.02084864044189453,
|
324 |
+
0.02086502456665039,
|
325 |
+
0.0200581111907959,
|
326 |
+
0.020023296356201172,
|
327 |
+
0.020162559509277343,
|
328 |
+
0.020133888244628906,
|
329 |
+
0.020168703079223634,
|
330 |
+
0.020206592559814454,
|
331 |
+
0.020168703079223634,
|
332 |
+
0.02012876892089844,
|
333 |
+
0.020185087203979494,
|
334 |
+
0.020143104553222657,
|
335 |
+
0.020161535263061522,
|
336 |
+
0.020167680740356447,
|
337 |
+
0.020188159942626953,
|
338 |
+
0.020137983322143553,
|
339 |
+
0.020157440185546875,
|
340 |
+
0.020222976684570314,
|
341 |
+
0.020198400497436524,
|
342 |
+
0.020102144241333008,
|
343 |
+
0.02026803207397461,
|
344 |
+
0.02088960075378418,
|
345 |
+
0.020864000320434572,
|
346 |
+
0.020840448379516603,
|
347 |
+
0.02086297607421875,
|
348 |
+
0.02089369583129883,
|
349 |
+
0.020983808517456053,
|
350 |
+
0.02088960075378418,
|
351 |
+
0.020844575881958007,
|
352 |
+
0.020847583770751955,
|
353 |
+
0.02088755226135254,
|
354 |
+
0.020839424133300782,
|
355 |
+
0.020876287460327148,
|
356 |
+
0.02085171127319336,
|
357 |
+
0.02084966468811035
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 49.049698309100975
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022281279563903807,
|
7 |
+
"prefill.throughput.value": 314.16508104589127,
|
8 |
+
"decode.latency.mean": 2.5893426513671876,
|
9 |
+
"decode.throughput.value": 49.047197339040196,
|
10 |
+
"per_token.latency.mean": 0.020387485233817514,
|
11 |
+
"per_token.throughput.value": 49.049698309100975
|
12 |
+
}
|
13 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
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/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
88 |
+
- hydra.run.dir=_benchmark/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1337.229312,
|
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": 13.281357421875,
|
120 |
+
"mean": 13.281357421875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 13.281357421875,
|
123 |
+
"p90": 13.281357421875,
|
124 |
+
"p95": 13.281357421875,
|
125 |
+
"p99": 13.281357421875,
|
126 |
+
"values": [
|
127 |
+
13.281357421875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1853.210624,
|
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.028320640563964845,
|
147 |
+
"mean": 0.014160320281982422,
|
148 |
+
"stdev": 0.00016864013671875032,
|
149 |
+
"p50": 0.014160320281982422,
|
150 |
+
"p90": 0.014295232391357422,
|
151 |
+
"p95": 0.014312096405029298,
|
152 |
+
"p99": 0.014325587615966797,
|
153 |
+
"values": [
|
154 |
+
0.013991680145263672,
|
155 |
+
0.014328960418701173
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 494.33910113649006
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2023.051264,
|
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.1323057861328127,
|
178 |
+
"mean": 1.5661528930664064,
|
179 |
+
"stdev": 0.0003551635742188308,
|
180 |
+
"p50": 1.5661528930664064,
|
181 |
+
"p90": 1.5664370239257814,
|
182 |
+
"p95": 1.5664725402832032,
|
183 |
+
"p99": 1.5665009533691407,
|
184 |
+
"values": [
|
185 |
+
1.5657977294921874,
|
186 |
+
1.566508056640625
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.09042262875357
|
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.1320115108490008,
|
202 |
+
"mean": 0.012330753979720468,
|
203 |
+
"stdev": 6.630050926295287e-05,
|
204 |
+
"p50": 0.012318719863891601,
|
205 |
+
"p90": 0.012348416328430176,
|
206 |
+
"p95": 0.01239490532875061,
|
207 |
+
"p99": 0.012515430107116698,
|
208 |
+
"values": [
|
209 |
+
0.01236684799194336,
|
210 |
+
0.012317695617675782,
|
211 |
+
0.012310527801513671,
|
212 |
+
0.012339200019836426,
|
213 |
+
0.012344320297241211,
|
214 |
+
0.01232588768005371,
|
215 |
+
0.012314623832702636,
|
216 |
+
0.012313599586486817,
|
217 |
+
0.012317695617675782,
|
218 |
+
0.012302335739135742,
|
219 |
+
0.012300288200378418,
|
220 |
+
0.012326911926269531,
|
221 |
+
0.012328960418701173,
|
222 |
+
0.012324864387512208,
|
223 |
+
0.012307456016540527,
|
224 |
+
0.012326911926269531,
|
225 |
+
0.012304384231567383,
|
226 |
+
0.012318719863891601,
|
227 |
+
0.012312576293945313,
|
228 |
+
0.012306431770324706,
|
229 |
+
0.012306431770324706,
|
230 |
+
0.012310527801513671,
|
231 |
+
0.012309599876403808,
|
232 |
+
0.01230735969543457,
|
233 |
+
0.012303359985351562,
|
234 |
+
0.012311552047729492,
|
235 |
+
0.012303359985351562,
|
236 |
+
0.012430335998535156,
|
237 |
+
0.012397567749023437,
|
238 |
+
0.012339200019836426,
|
239 |
+
0.01232588768005371,
|
240 |
+
0.012319744110107422,
|
241 |
+
0.012308480262756348,
|
242 |
+
0.012298239707946777,
|
243 |
+
0.012316672325134278,
|
244 |
+
0.012304384231567383,
|
245 |
+
0.012314623832702636,
|
246 |
+
0.012307456016540527,
|
247 |
+
0.012319744110107422,
|
248 |
+
0.012311552047729492,
|
249 |
+
0.012300288200378418,
|
250 |
+
0.012305407524108887,
|
251 |
+
0.012318752288818359,
|
252 |
+
0.012306400299072266,
|
253 |
+
0.012301312446594239,
|
254 |
+
0.012310527801513671,
|
255 |
+
0.012339200019836426,
|
256 |
+
0.01232588768005371,
|
257 |
+
0.012310527801513671,
|
258 |
+
0.012313599586486817,
|
259 |
+
0.012315648078918457,
|
260 |
+
0.012320768356323243,
|
261 |
+
0.012317695617675782,
|
262 |
+
0.012309503555297852,
|
263 |
+
0.012333056449890138,
|
264 |
+
0.012337151527404786,
|
265 |
+
0.012311552047729492,
|
266 |
+
0.012304384231567383,
|
267 |
+
0.012307456016540527,
|
268 |
+
0.012296192169189453,
|
269 |
+
0.012315648078918457,
|
270 |
+
0.012319744110107422,
|
271 |
+
0.012324864387512208,
|
272 |
+
0.012317695617675782,
|
273 |
+
0.012322815895080566,
|
274 |
+
0.012306431770324706,
|
275 |
+
0.012312576293945313,
|
276 |
+
0.012326911926269531,
|
277 |
+
0.012468223571777343,
|
278 |
+
0.01234124755859375,
|
279 |
+
0.012428288459777831,
|
280 |
+
0.012349439620971679,
|
281 |
+
0.012320768356323243,
|
282 |
+
0.012299263954162597,
|
283 |
+
0.012337151527404786,
|
284 |
+
0.0123504638671875,
|
285 |
+
0.012339200019836426,
|
286 |
+
0.012370944023132324,
|
287 |
+
0.01234227180480957,
|
288 |
+
0.01233407974243164,
|
289 |
+
0.012300288200378418,
|
290 |
+
0.012303359985351562,
|
291 |
+
0.012323840141296387,
|
292 |
+
0.012307456016540527,
|
293 |
+
0.012322815895080566,
|
294 |
+
0.012332032203674317,
|
295 |
+
0.012322815895080566,
|
296 |
+
0.012313599586486817,
|
297 |
+
0.012309503555297852,
|
298 |
+
0.012318719863891601,
|
299 |
+
0.012315648078918457,
|
300 |
+
0.012348416328430176,
|
301 |
+
0.012318719863891601,
|
302 |
+
0.01232588768005371,
|
303 |
+
0.012314623832702636,
|
304 |
+
0.012307456016540527,
|
305 |
+
0.012302335739135742,
|
306 |
+
0.012311552047729492,
|
307 |
+
0.012315648078918457,
|
308 |
+
0.012321791648864745,
|
309 |
+
0.012302335739135742,
|
310 |
+
0.012379136085510254,
|
311 |
+
0.012301312446594239,
|
312 |
+
0.012328960418701173,
|
313 |
+
0.012329983711242675,
|
314 |
+
0.012304384231567383,
|
315 |
+
0.012306431770324706,
|
316 |
+
0.01233510398864746,
|
317 |
+
0.012312576293945313,
|
318 |
+
0.012317695617675782,
|
319 |
+
0.012323840141296387,
|
320 |
+
0.012320768356323243,
|
321 |
+
0.012310527801513671,
|
322 |
+
0.012305407524108887,
|
323 |
+
0.012314623832702636,
|
324 |
+
0.012336128234863282,
|
325 |
+
0.012444671630859374,
|
326 |
+
0.012833791732788086,
|
327 |
+
0.012370944023132324,
|
328 |
+
0.012333056449890138,
|
329 |
+
0.012316672325134278,
|
330 |
+
0.012320768356323243,
|
331 |
+
0.012327936172485352,
|
332 |
+
0.012320768356323243,
|
333 |
+
0.012305407524108887,
|
334 |
+
0.012307456016540527,
|
335 |
+
0.012331007957458496,
|
336 |
+
0.0123504638671875,
|
337 |
+
0.012302335739135742,
|
338 |
+
0.012314623832702636,
|
339 |
+
0.012308480262756348,
|
340 |
+
0.012320768356323243,
|
341 |
+
0.012299263954162597,
|
342 |
+
0.012320768356323243,
|
343 |
+
0.012323840141296387,
|
344 |
+
0.012308480262756348,
|
345 |
+
0.012300288200378418,
|
346 |
+
0.012314623832702636,
|
347 |
+
0.012311552047729492,
|
348 |
+
0.012316672325134278,
|
349 |
+
0.012301312446594239,
|
350 |
+
0.012318719863891601,
|
351 |
+
0.012312576293945313,
|
352 |
+
0.012302335739135742,
|
353 |
+
0.012331007957458496,
|
354 |
+
0.012313599586486817,
|
355 |
+
0.012296192169189453,
|
356 |
+
0.012313599586486817,
|
357 |
+
0.012311552047729492,
|
358 |
+
0.012308480262756348,
|
359 |
+
0.012323840141296387,
|
360 |
+
0.012302335739135742,
|
361 |
+
0.012346367835998535,
|
362 |
+
0.012309503555297852,
|
363 |
+
0.012317695617675782,
|
364 |
+
0.012320768356323243,
|
365 |
+
0.012401663780212402,
|
366 |
+
0.012324864387512208,
|
367 |
+
0.012337151527404786,
|
368 |
+
0.012324864387512208,
|
369 |
+
0.012314623832702636,
|
370 |
+
0.012314623832702636,
|
371 |
+
0.012318719863891601,
|
372 |
+
0.012304479598999024,
|
373 |
+
0.012311455726623535,
|
374 |
+
0.012323840141296387,
|
375 |
+
0.01232588768005371,
|
376 |
+
0.012318719863891601,
|
377 |
+
0.012305407524108887,
|
378 |
+
0.012316672325134278,
|
379 |
+
0.012294143676757812,
|
380 |
+
0.012315648078918457,
|
381 |
+
0.012313599586486817,
|
382 |
+
0.012323840141296387,
|
383 |
+
0.012315648078918457,
|
384 |
+
0.012311552047729492,
|
385 |
+
0.012311552047729492,
|
386 |
+
0.012316672325134278,
|
387 |
+
0.012313599586486817,
|
388 |
+
0.012303359985351562,
|
389 |
+
0.012299263954162597,
|
390 |
+
0.012312576293945313,
|
391 |
+
0.012345343589782716,
|
392 |
+
0.012302335739135742,
|
393 |
+
0.012331007957458496,
|
394 |
+
0.012315648078918457,
|
395 |
+
0.012500991821289062,
|
396 |
+
0.01253171157836914,
|
397 |
+
0.013120512008666992,
|
398 |
+
0.012393471717834472,
|
399 |
+
0.012391424179077149,
|
400 |
+
0.012328960418701173,
|
401 |
+
0.012331007957458496,
|
402 |
+
0.012326911926269531,
|
403 |
+
0.012326911926269531,
|
404 |
+
0.01232588768005371,
|
405 |
+
0.01232588768005371,
|
406 |
+
0.012344320297241211,
|
407 |
+
0.012348416328430176,
|
408 |
+
0.012321791648864745,
|
409 |
+
0.012311552047729492,
|
410 |
+
0.012347392082214356,
|
411 |
+
0.012354559898376465,
|
412 |
+
0.012300288200378418,
|
413 |
+
0.012305407524108887,
|
414 |
+
0.012321791648864745,
|
415 |
+
0.01233407974243164,
|
416 |
+
0.01232588768005371,
|
417 |
+
0.012316672325134278,
|
418 |
+
0.012322815895080566,
|
419 |
+
0.012319744110107422,
|
420 |
+
0.012322815895080566,
|
421 |
+
0.012314623832702636,
|
422 |
+
0.012320768356323243,
|
423 |
+
0.012336128234863282,
|
424 |
+
0.012339200019836426,
|
425 |
+
0.012314623832702636,
|
426 |
+
0.012312576293945313,
|
427 |
+
0.012308480262756348,
|
428 |
+
0.012313599586486817,
|
429 |
+
0.012314623832702636,
|
430 |
+
0.012319744110107422,
|
431 |
+
0.012326911926269531,
|
432 |
+
0.012328960418701173,
|
433 |
+
0.012329983711242675,
|
434 |
+
0.012338175773620605,
|
435 |
+
0.012313599586486817,
|
436 |
+
0.012347392082214356,
|
437 |
+
0.012318719863891601,
|
438 |
+
0.012436479568481444,
|
439 |
+
0.012332032203674317,
|
440 |
+
0.012340224266052247,
|
441 |
+
0.012321791648864745,
|
442 |
+
0.012348416328430176,
|
443 |
+
0.012317695617675782,
|
444 |
+
0.012301312446594239,
|
445 |
+
0.012318719863891601,
|
446 |
+
0.012403712272644044,
|
447 |
+
0.012348416328430176,
|
448 |
+
0.012349439620971679,
|
449 |
+
0.012315648078918457,
|
450 |
+
0.01234124755859375,
|
451 |
+
0.012331007957458496,
|
452 |
+
0.012312576293945313,
|
453 |
+
0.012310527801513671,
|
454 |
+
0.012307456016540527,
|
455 |
+
0.012326911926269531,
|
456 |
+
0.012314623832702636,
|
457 |
+
0.012324864387512208,
|
458 |
+
0.012319744110107422,
|
459 |
+
0.012305407524108887,
|
460 |
+
0.012313599586486817,
|
461 |
+
0.012409855842590332,
|
462 |
+
0.012321791648864745
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.09804166433216
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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.229312,
|
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": 13.281357421875,
|
15 |
+
"mean": 13.281357421875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 13.281357421875,
|
18 |
+
"p90": 13.281357421875,
|
19 |
+
"p95": 13.281357421875,
|
20 |
+
"p99": 13.281357421875,
|
21 |
+
"values": [
|
22 |
+
13.281357421875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1853.210624,
|
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.028320640563964845,
|
42 |
+
"mean": 0.014160320281982422,
|
43 |
+
"stdev": 0.00016864013671875032,
|
44 |
+
"p50": 0.014160320281982422,
|
45 |
+
"p90": 0.014295232391357422,
|
46 |
+
"p95": 0.014312096405029298,
|
47 |
+
"p99": 0.014325587615966797,
|
48 |
+
"values": [
|
49 |
+
0.013991680145263672,
|
50 |
+
0.014328960418701173
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 494.33910113649006
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2023.051264,
|
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.1323057861328127,
|
73 |
+
"mean": 1.5661528930664064,
|
74 |
+
"stdev": 0.0003551635742188308,
|
75 |
+
"p50": 1.5661528930664064,
|
76 |
+
"p90": 1.5664370239257814,
|
77 |
+
"p95": 1.5664725402832032,
|
78 |
+
"p99": 1.5665009533691407,
|
79 |
+
"values": [
|
80 |
+
1.5657977294921874,
|
81 |
+
1.566508056640625
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.09042262875357
|
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.1320115108490008,
|
97 |
+
"mean": 0.012330753979720468,
|
98 |
+
"stdev": 6.630050926295287e-05,
|
99 |
+
"p50": 0.012318719863891601,
|
100 |
+
"p90": 0.012348416328430176,
|
101 |
+
"p95": 0.01239490532875061,
|
102 |
+
"p99": 0.012515430107116698,
|
103 |
+
"values": [
|
104 |
+
0.01236684799194336,
|
105 |
+
0.012317695617675782,
|
106 |
+
0.012310527801513671,
|
107 |
+
0.012339200019836426,
|
108 |
+
0.012344320297241211,
|
109 |
+
0.01232588768005371,
|
110 |
+
0.012314623832702636,
|
111 |
+
0.012313599586486817,
|
112 |
+
0.012317695617675782,
|
113 |
+
0.012302335739135742,
|
114 |
+
0.012300288200378418,
|
115 |
+
0.012326911926269531,
|
116 |
+
0.012328960418701173,
|
117 |
+
0.012324864387512208,
|
118 |
+
0.012307456016540527,
|
119 |
+
0.012326911926269531,
|
120 |
+
0.012304384231567383,
|
121 |
+
0.012318719863891601,
|
122 |
+
0.012312576293945313,
|
123 |
+
0.012306431770324706,
|
124 |
+
0.012306431770324706,
|
125 |
+
0.012310527801513671,
|
126 |
+
0.012309599876403808,
|
127 |
+
0.01230735969543457,
|
128 |
+
0.012303359985351562,
|
129 |
+
0.012311552047729492,
|
130 |
+
0.012303359985351562,
|
131 |
+
0.012430335998535156,
|
132 |
+
0.012397567749023437,
|
133 |
+
0.012339200019836426,
|
134 |
+
0.01232588768005371,
|
135 |
+
0.012319744110107422,
|
136 |
+
0.012308480262756348,
|
137 |
+
0.012298239707946777,
|
138 |
+
0.012316672325134278,
|
139 |
+
0.012304384231567383,
|
140 |
+
0.012314623832702636,
|
141 |
+
0.012307456016540527,
|
142 |
+
0.012319744110107422,
|
143 |
+
0.012311552047729492,
|
144 |
+
0.012300288200378418,
|
145 |
+
0.012305407524108887,
|
146 |
+
0.012318752288818359,
|
147 |
+
0.012306400299072266,
|
148 |
+
0.012301312446594239,
|
149 |
+
0.012310527801513671,
|
150 |
+
0.012339200019836426,
|
151 |
+
0.01232588768005371,
|
152 |
+
0.012310527801513671,
|
153 |
+
0.012313599586486817,
|
154 |
+
0.012315648078918457,
|
155 |
+
0.012320768356323243,
|
156 |
+
0.012317695617675782,
|
157 |
+
0.012309503555297852,
|
158 |
+
0.012333056449890138,
|
159 |
+
0.012337151527404786,
|
160 |
+
0.012311552047729492,
|
161 |
+
0.012304384231567383,
|
162 |
+
0.012307456016540527,
|
163 |
+
0.012296192169189453,
|
164 |
+
0.012315648078918457,
|
165 |
+
0.012319744110107422,
|
166 |
+
0.012324864387512208,
|
167 |
+
0.012317695617675782,
|
168 |
+
0.012322815895080566,
|
169 |
+
0.012306431770324706,
|
170 |
+
0.012312576293945313,
|
171 |
+
0.012326911926269531,
|
172 |
+
0.012468223571777343,
|
173 |
+
0.01234124755859375,
|
174 |
+
0.012428288459777831,
|
175 |
+
0.012349439620971679,
|
176 |
+
0.012320768356323243,
|
177 |
+
0.012299263954162597,
|
178 |
+
0.012337151527404786,
|
179 |
+
0.0123504638671875,
|
180 |
+
0.012339200019836426,
|
181 |
+
0.012370944023132324,
|
182 |
+
0.01234227180480957,
|
183 |
+
0.01233407974243164,
|
184 |
+
0.012300288200378418,
|
185 |
+
0.012303359985351562,
|
186 |
+
0.012323840141296387,
|
187 |
+
0.012307456016540527,
|
188 |
+
0.012322815895080566,
|
189 |
+
0.012332032203674317,
|
190 |
+
0.012322815895080566,
|
191 |
+
0.012313599586486817,
|
192 |
+
0.012309503555297852,
|
193 |
+
0.012318719863891601,
|
194 |
+
0.012315648078918457,
|
195 |
+
0.012348416328430176,
|
196 |
+
0.012318719863891601,
|
197 |
+
0.01232588768005371,
|
198 |
+
0.012314623832702636,
|
199 |
+
0.012307456016540527,
|
200 |
+
0.012302335739135742,
|
201 |
+
0.012311552047729492,
|
202 |
+
0.012315648078918457,
|
203 |
+
0.012321791648864745,
|
204 |
+
0.012302335739135742,
|
205 |
+
0.012379136085510254,
|
206 |
+
0.012301312446594239,
|
207 |
+
0.012328960418701173,
|
208 |
+
0.012329983711242675,
|
209 |
+
0.012304384231567383,
|
210 |
+
0.012306431770324706,
|
211 |
+
0.01233510398864746,
|
212 |
+
0.012312576293945313,
|
213 |
+
0.012317695617675782,
|
214 |
+
0.012323840141296387,
|
215 |
+
0.012320768356323243,
|
216 |
+
0.012310527801513671,
|
217 |
+
0.012305407524108887,
|
218 |
+
0.012314623832702636,
|
219 |
+
0.012336128234863282,
|
220 |
+
0.012444671630859374,
|
221 |
+
0.012833791732788086,
|
222 |
+
0.012370944023132324,
|
223 |
+
0.012333056449890138,
|
224 |
+
0.012316672325134278,
|
225 |
+
0.012320768356323243,
|
226 |
+
0.012327936172485352,
|
227 |
+
0.012320768356323243,
|
228 |
+
0.012305407524108887,
|
229 |
+
0.012307456016540527,
|
230 |
+
0.012331007957458496,
|
231 |
+
0.0123504638671875,
|
232 |
+
0.012302335739135742,
|
233 |
+
0.012314623832702636,
|
234 |
+
0.012308480262756348,
|
235 |
+
0.012320768356323243,
|
236 |
+
0.012299263954162597,
|
237 |
+
0.012320768356323243,
|
238 |
+
0.012323840141296387,
|
239 |
+
0.012308480262756348,
|
240 |
+
0.012300288200378418,
|
241 |
+
0.012314623832702636,
|
242 |
+
0.012311552047729492,
|
243 |
+
0.012316672325134278,
|
244 |
+
0.012301312446594239,
|
245 |
+
0.012318719863891601,
|
246 |
+
0.012312576293945313,
|
247 |
+
0.012302335739135742,
|
248 |
+
0.012331007957458496,
|
249 |
+
0.012313599586486817,
|
250 |
+
0.012296192169189453,
|
251 |
+
0.012313599586486817,
|
252 |
+
0.012311552047729492,
|
253 |
+
0.012308480262756348,
|
254 |
+
0.012323840141296387,
|
255 |
+
0.012302335739135742,
|
256 |
+
0.012346367835998535,
|
257 |
+
0.012309503555297852,
|
258 |
+
0.012317695617675782,
|
259 |
+
0.012320768356323243,
|
260 |
+
0.012401663780212402,
|
261 |
+
0.012324864387512208,
|
262 |
+
0.012337151527404786,
|
263 |
+
0.012324864387512208,
|
264 |
+
0.012314623832702636,
|
265 |
+
0.012314623832702636,
|
266 |
+
0.012318719863891601,
|
267 |
+
0.012304479598999024,
|
268 |
+
0.012311455726623535,
|
269 |
+
0.012323840141296387,
|
270 |
+
0.01232588768005371,
|
271 |
+
0.012318719863891601,
|
272 |
+
0.012305407524108887,
|
273 |
+
0.012316672325134278,
|
274 |
+
0.012294143676757812,
|
275 |
+
0.012315648078918457,
|
276 |
+
0.012313599586486817,
|
277 |
+
0.012323840141296387,
|
278 |
+
0.012315648078918457,
|
279 |
+
0.012311552047729492,
|
280 |
+
0.012311552047729492,
|
281 |
+
0.012316672325134278,
|
282 |
+
0.012313599586486817,
|
283 |
+
0.012303359985351562,
|
284 |
+
0.012299263954162597,
|
285 |
+
0.012312576293945313,
|
286 |
+
0.012345343589782716,
|
287 |
+
0.012302335739135742,
|
288 |
+
0.012331007957458496,
|
289 |
+
0.012315648078918457,
|
290 |
+
0.012500991821289062,
|
291 |
+
0.01253171157836914,
|
292 |
+
0.013120512008666992,
|
293 |
+
0.012393471717834472,
|
294 |
+
0.012391424179077149,
|
295 |
+
0.012328960418701173,
|
296 |
+
0.012331007957458496,
|
297 |
+
0.012326911926269531,
|
298 |
+
0.012326911926269531,
|
299 |
+
0.01232588768005371,
|
300 |
+
0.01232588768005371,
|
301 |
+
0.012344320297241211,
|
302 |
+
0.012348416328430176,
|
303 |
+
0.012321791648864745,
|
304 |
+
0.012311552047729492,
|
305 |
+
0.012347392082214356,
|
306 |
+
0.012354559898376465,
|
307 |
+
0.012300288200378418,
|
308 |
+
0.012305407524108887,
|
309 |
+
0.012321791648864745,
|
310 |
+
0.01233407974243164,
|
311 |
+
0.01232588768005371,
|
312 |
+
0.012316672325134278,
|
313 |
+
0.012322815895080566,
|
314 |
+
0.012319744110107422,
|
315 |
+
0.012322815895080566,
|
316 |
+
0.012314623832702636,
|
317 |
+
0.012320768356323243,
|
318 |
+
0.012336128234863282,
|
319 |
+
0.012339200019836426,
|
320 |
+
0.012314623832702636,
|
321 |
+
0.012312576293945313,
|
322 |
+
0.012308480262756348,
|
323 |
+
0.012313599586486817,
|
324 |
+
0.012314623832702636,
|
325 |
+
0.012319744110107422,
|
326 |
+
0.012326911926269531,
|
327 |
+
0.012328960418701173,
|
328 |
+
0.012329983711242675,
|
329 |
+
0.012338175773620605,
|
330 |
+
0.012313599586486817,
|
331 |
+
0.012347392082214356,
|
332 |
+
0.012318719863891601,
|
333 |
+
0.012436479568481444,
|
334 |
+
0.012332032203674317,
|
335 |
+
0.012340224266052247,
|
336 |
+
0.012321791648864745,
|
337 |
+
0.012348416328430176,
|
338 |
+
0.012317695617675782,
|
339 |
+
0.012301312446594239,
|
340 |
+
0.012318719863891601,
|
341 |
+
0.012403712272644044,
|
342 |
+
0.012348416328430176,
|
343 |
+
0.012349439620971679,
|
344 |
+
0.012315648078918457,
|
345 |
+
0.01234124755859375,
|
346 |
+
0.012331007957458496,
|
347 |
+
0.012312576293945313,
|
348 |
+
0.012310527801513671,
|
349 |
+
0.012307456016540527,
|
350 |
+
0.012326911926269531,
|
351 |
+
0.012314623832702636,
|
352 |
+
0.012324864387512208,
|
353 |
+
0.012319744110107422,
|
354 |
+
0.012305407524108887,
|
355 |
+
0.012313599586486817,
|
356 |
+
0.012409855842590332,
|
357 |
+
0.012321791648864745
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.09804166433216
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014160320281982422,
|
7 |
+
"prefill.throughput.value": 494.33910113649006,
|
8 |
+
"decode.latency.mean": 1.5661528930664064,
|
9 |
+
"decode.throughput.value": 81.09042262875357,
|
10 |
+
"per_token.latency.mean": 0.012330753979720468,
|
11 |
+
"per_token.throughput.value": 81.09804166433216
|
12 |
+
}
|
13 |
+
}
|
2024-08-26/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmphysnor94/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
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/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
88 |
+
- hydra.run.dir=_benchmark/tmphysnor94/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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.252864
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
215 |
+
processor: x86_64
|
216 |
+
python_version: 3.8.10
|
217 |
+
gpu:
|
218 |
+
- NVIDIA A10G
|
219 |
+
gpu_count: 1
|
220 |
+
gpu_vram_mb: 24146608128
|
221 |
+
optimum_benchmark_version: 0.4.0
|
222 |
+
optimum_benchmark_commit: null
|
223 |
+
transformers_version: 4.45.0.dev0
|
224 |
+
transformers_commit: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
225 |
+
accelerate_version: 0.34.0.dev0
|
226 |
+
accelerate_commit: null
|
227 |
+
diffusers_version: null
|
228 |
+
diffusers_commit: null
|
229 |
+
optimum_version: 1.22.0.dev0
|
230 |
+
optimum_commit: null
|
231 |
+
timm_version: 0.9.16
|
232 |
+
timm_commit: null
|
233 |
+
peft_version: 0.12.1.dev0
|
234 |
+
peft_commit: null
|
2024-08-26/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020607343673706056,
|
8 |
+
"prefill.throughput.value": 339.6847313674713,
|
9 |
+
"decode.latency.mean": 2.4659722900390624,
|
10 |
+
"decode.throughput.value": 51.500984221517044,
|
11 |
+
"per_token.latency.mean": 0.01941582211171548,
|
12 |
+
"per_token.throughput.value": 51.50438617773498
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022281279563903807,
|
21 |
+
"prefill.throughput.value": 314.16508104589127,
|
22 |
+
"decode.latency.mean": 2.5893426513671876,
|
23 |
+
"decode.throughput.value": 49.047197339040196,
|
24 |
+
"per_token.latency.mean": 0.020387485233817514,
|
25 |
+
"per_token.throughput.value": 49.049698309100975
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014160320281982422,
|
34 |
+
"prefill.throughput.value": 494.33910113649006,
|
35 |
+
"decode.latency.mean": 1.5661528930664064,
|
36 |
+
"decode.throughput.value": 81.09042262875357,
|
37 |
+
"per_token.latency.mean": 0.012330753979720468,
|
38 |
+
"per_token.throughput.value": 81.09804166433216
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-08-26/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020607343673706056,
|
7 |
+
"prefill.throughput.value": 339.6847313674713,
|
8 |
+
"decode.latency.mean": 2.4659722900390624,
|
9 |
+
"decode.throughput.value": 51.500984221517044,
|
10 |
+
"per_token.latency.mean": 0.01941582211171548,
|
11 |
+
"per_token.throughput.value": 51.50438617773498
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022281279563903807,
|
19 |
+
"prefill.throughput.value": 314.16508104589127,
|
20 |
+
"decode.latency.mean": 2.5893426513671876,
|
21 |
+
"decode.throughput.value": 49.047197339040196,
|
22 |
+
"per_token.latency.mean": 0.020387485233817514,
|
23 |
+
"per_token.throughput.value": 49.049698309100975
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014160320281982422,
|
31 |
+
"prefill.throughput.value": 494.33910113649006,
|
32 |
+
"decode.latency.mean": 1.5661528930664064,
|
33 |
+
"decode.throughput.value": 81.09042262875357,
|
34 |
+
"per_token.latency.mean": 0.012330753979720468,
|
35 |
+
"per_token.throughput.value": 81.09804166433216
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|