hf-transformers-bot
commited on
Commit
•
4b893fb
1
Parent(s):
f140a71
Upload folder using huggingface_hub
Browse files- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/multirun.yaml +234 -0
- 2024-08-23/summaries.json +21 -21
- 2024-08-23/summary.json +21 -21
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 970a16ec7f693104085fd826523e5c6ce64f2040
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040
|
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/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040
|
88 |
+
- hydra.run.dir=_benchmark/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040/${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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1318.5024,
|
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.88916796875,
|
120 |
+
"mean": 12.88916796875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.88916796875,
|
123 |
+
"p90": 12.88916796875,
|
124 |
+
"p95": 12.88916796875,
|
125 |
+
"p99": 12.88916796875,
|
126 |
+
"values": [
|
127 |
+
12.88916796875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1719.3984,
|
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.04046329689025879,
|
147 |
+
"mean": 0.020231648445129397,
|
148 |
+
"stdev": 3.616046905517527e-05,
|
149 |
+
"p50": 0.020231648445129397,
|
150 |
+
"p90": 0.020260576820373535,
|
151 |
+
"p95": 0.02026419286727905,
|
152 |
+
"p99": 0.020267085704803466,
|
153 |
+
"values": [
|
154 |
+
0.02019548797607422,
|
155 |
+
0.02026780891418457
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 345.9925679800547
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1773.871104,
|
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.863149169921875,
|
178 |
+
"mean": 2.4315745849609374,
|
179 |
+
"stdev": 0.027472534179687536,
|
180 |
+
"p50": 2.4315745849609374,
|
181 |
+
"p90": 2.4535526123046876,
|
182 |
+
"p95": 2.4562998657226562,
|
183 |
+
"p99": 2.458497668457031,
|
184 |
+
"values": [
|
185 |
+
2.459047119140625,
|
186 |
+
2.40410205078125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 52.2295309325419
|
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.86282649230957,
|
202 |
+
"mean": 0.019144986190195157,
|
203 |
+
"stdev": 0.00042046707452513454,
|
204 |
+
"p50": 0.018925055503845215,
|
205 |
+
"p90": 0.019774566078186034,
|
206 |
+
"p95": 0.01985039367675781,
|
207 |
+
"p99": 0.020265195922851562,
|
208 |
+
"values": [
|
209 |
+
0.018655231475830078,
|
210 |
+
0.018755615234375,
|
211 |
+
0.018770912170410155,
|
212 |
+
0.018918399810791017,
|
213 |
+
0.018753536224365236,
|
214 |
+
0.019010591506958007,
|
215 |
+
0.018751455307006837,
|
216 |
+
0.0188723201751709,
|
217 |
+
0.018755584716796874,
|
218 |
+
0.018745344161987306,
|
219 |
+
0.01882316780090332,
|
220 |
+
0.018750463485717773,
|
221 |
+
0.019489791870117186,
|
222 |
+
0.01962188720703125,
|
223 |
+
0.01962495994567871,
|
224 |
+
0.020299776077270508,
|
225 |
+
0.019672063827514647,
|
226 |
+
0.019644416809082032,
|
227 |
+
0.01960550308227539,
|
228 |
+
0.01960550308227539,
|
229 |
+
0.01964339256286621,
|
230 |
+
0.019685375213623048,
|
231 |
+
0.019596288681030274,
|
232 |
+
0.019590143203735352,
|
233 |
+
0.019563520431518554,
|
234 |
+
0.018844671249389648,
|
235 |
+
0.01883750343322754,
|
236 |
+
0.01880985641479492,
|
237 |
+
0.01884774398803711,
|
238 |
+
0.018914304733276367,
|
239 |
+
0.01883340835571289,
|
240 |
+
0.01881088066101074,
|
241 |
+
0.018784255981445314,
|
242 |
+
0.018893823623657227,
|
243 |
+
0.01879347229003906,
|
244 |
+
0.018762752532958983,
|
245 |
+
0.01881497573852539,
|
246 |
+
0.01882111930847168,
|
247 |
+
0.018865152359008788,
|
248 |
+
0.01881088066101074,
|
249 |
+
0.01884160041809082,
|
250 |
+
0.018763776779174804,
|
251 |
+
0.01886412811279297,
|
252 |
+
0.01886310386657715,
|
253 |
+
0.01899622344970703,
|
254 |
+
0.0202608642578125,
|
255 |
+
0.019775487899780272,
|
256 |
+
0.019738624572753907,
|
257 |
+
0.019681280136108398,
|
258 |
+
0.01962393569946289,
|
259 |
+
0.019583999633789064,
|
260 |
+
0.01962598419189453,
|
261 |
+
0.01963929557800293,
|
262 |
+
0.01964646339416504,
|
263 |
+
0.019604480743408204,
|
264 |
+
0.019811328887939454,
|
265 |
+
0.019721216201782226,
|
266 |
+
0.019894271850585937,
|
267 |
+
0.019786752700805665,
|
268 |
+
0.019861503601074217,
|
269 |
+
0.0196997127532959,
|
270 |
+
0.019208192825317383,
|
271 |
+
0.02004377555847168,
|
272 |
+
0.019940351486206053,
|
273 |
+
0.01978982353210449,
|
274 |
+
0.0196997127532959,
|
275 |
+
0.019744768142700195,
|
276 |
+
0.019969024658203126,
|
277 |
+
0.019772415161132813,
|
278 |
+
0.01982771110534668,
|
279 |
+
0.019768320083618163,
|
280 |
+
0.0198154239654541,
|
281 |
+
0.019495935440063478,
|
282 |
+
0.019950592041015625,
|
283 |
+
0.019763200759887696,
|
284 |
+
0.019688447952270507,
|
285 |
+
0.019708927154541016,
|
286 |
+
0.019737600326538086,
|
287 |
+
0.019708927154541016,
|
288 |
+
0.019795967102050782,
|
289 |
+
0.01982464027404785,
|
290 |
+
0.019743743896484374,
|
291 |
+
0.019718143463134767,
|
292 |
+
0.019813375473022463,
|
293 |
+
0.019762176513671875,
|
294 |
+
0.019764223098754884,
|
295 |
+
0.019701759338378907,
|
296 |
+
0.019741695404052736,
|
297 |
+
0.019738624572753907,
|
298 |
+
0.019792896270751953,
|
299 |
+
0.019783679962158202,
|
300 |
+
0.019673088073730468,
|
301 |
+
0.019700735092163087,
|
302 |
+
0.01943142318725586,
|
303 |
+
0.019744768142700195,
|
304 |
+
0.01965260887145996,
|
305 |
+
0.0200263671875,
|
306 |
+
0.019710975646972655,
|
307 |
+
0.019744768142700195,
|
308 |
+
0.01984716796875,
|
309 |
+
0.02040115165710449,
|
310 |
+
0.01985638427734375,
|
311 |
+
0.01980620765686035,
|
312 |
+
0.019538944244384765,
|
313 |
+
0.018921472549438476,
|
314 |
+
0.018882560729980468,
|
315 |
+
0.01883750343322754,
|
316 |
+
0.018856960296630858,
|
317 |
+
0.018919424057006837,
|
318 |
+
0.018910207748413087,
|
319 |
+
0.018877439498901367,
|
320 |
+
0.018936832427978514,
|
321 |
+
0.01887129592895508,
|
322 |
+
0.01885798454284668,
|
323 |
+
0.018903039932250978,
|
324 |
+
0.018923519134521484,
|
325 |
+
0.018974720001220705,
|
326 |
+
0.018968576431274413,
|
327 |
+
0.018898944854736328,
|
328 |
+
0.018861055374145508,
|
329 |
+
0.018899967193603515,
|
330 |
+
0.019123199462890626,
|
331 |
+
0.018929664611816405,
|
332 |
+
0.018937856674194335,
|
333 |
+
0.018915327072143554,
|
334 |
+
0.018876415252685547,
|
335 |
+
0.018918399810791017,
|
336 |
+
0.018710527420043945,
|
337 |
+
0.018696191787719727,
|
338 |
+
0.018729984283447267,
|
339 |
+
0.01875660705566406,
|
340 |
+
0.01879859161376953,
|
341 |
+
0.018747392654418944,
|
342 |
+
0.018777088165283205,
|
343 |
+
0.018722816467285155,
|
344 |
+
0.018782207489013672,
|
345 |
+
0.018738176345825194,
|
346 |
+
0.018753536224365236,
|
347 |
+
0.018743295669555664,
|
348 |
+
0.018767871856689454,
|
349 |
+
0.01879347229003906,
|
350 |
+
0.01880268859863281,
|
351 |
+
0.018784255981445314,
|
352 |
+
0.018737152099609376,
|
353 |
+
0.01884262466430664,
|
354 |
+
0.0190699520111084,
|
355 |
+
0.019118080139160155,
|
356 |
+
0.01876479911804199,
|
357 |
+
0.018733055114746093,
|
358 |
+
0.018934783935546876,
|
359 |
+
0.018758655548095703,
|
360 |
+
0.018779136657714843,
|
361 |
+
0.01880985641479492,
|
362 |
+
0.018799615859985352,
|
363 |
+
0.018751487731933594,
|
364 |
+
0.018717695236206054,
|
365 |
+
0.01905971145629883,
|
366 |
+
0.019105791091918945,
|
367 |
+
0.01880886459350586,
|
368 |
+
0.018795488357543945,
|
369 |
+
0.018740224838256835,
|
370 |
+
0.018779136657714843,
|
371 |
+
0.01879654312133789,
|
372 |
+
0.018982912063598634,
|
373 |
+
0.019147775650024415,
|
374 |
+
0.018761728286743166,
|
375 |
+
0.018720767974853517,
|
376 |
+
0.018914304733276367,
|
377 |
+
0.018925567626953126,
|
378 |
+
0.01880166435241699,
|
379 |
+
0.019006464004516603,
|
380 |
+
0.019086336135864256,
|
381 |
+
0.018776063919067384,
|
382 |
+
0.018778112411499022,
|
383 |
+
0.018755584716796874,
|
384 |
+
0.018770944595336913,
|
385 |
+
0.018762752532958983,
|
386 |
+
0.018906112670898437,
|
387 |
+
0.018770944595336913,
|
388 |
+
0.018755584716796874,
|
389 |
+
0.018729984283447267,
|
390 |
+
0.018721792221069337,
|
391 |
+
0.018749439239501953,
|
392 |
+
0.018751487731933594,
|
393 |
+
0.018941951751708985,
|
394 |
+
0.018900991439819336,
|
395 |
+
0.018919424057006837,
|
396 |
+
0.018914304733276367,
|
397 |
+
0.018882560729980468,
|
398 |
+
0.018956287384033203,
|
399 |
+
0.018873344421386717,
|
400 |
+
0.018907136917114258,
|
401 |
+
0.018983936309814452,
|
402 |
+
0.018962432861328125,
|
403 |
+
0.018950143814086915,
|
404 |
+
0.018933759689331055,
|
405 |
+
0.018902015686035157,
|
406 |
+
0.018840576171875,
|
407 |
+
0.01919795227050781,
|
408 |
+
0.01927168083190918,
|
409 |
+
0.019160064697265625,
|
410 |
+
0.01925632095336914,
|
411 |
+
0.018975744247436522,
|
412 |
+
0.019078144073486326,
|
413 |
+
0.018973695755004884,
|
414 |
+
0.018938880920410156,
|
415 |
+
0.01889587211608887,
|
416 |
+
0.019098623275756836,
|
417 |
+
0.018908159255981445,
|
418 |
+
0.018885631561279297,
|
419 |
+
0.018917375564575196,
|
420 |
+
0.018958335876464845,
|
421 |
+
0.018942975997924806,
|
422 |
+
0.018840576171875,
|
423 |
+
0.018893823623657227,
|
424 |
+
0.018844671249389648,
|
425 |
+
0.018932735443115235,
|
426 |
+
0.018885631561279297,
|
427 |
+
0.0189040641784668,
|
428 |
+
0.019211263656616212,
|
429 |
+
0.019361791610717775,
|
430 |
+
0.01926553535461426,
|
431 |
+
0.0188590087890625,
|
432 |
+
0.01885081672668457,
|
433 |
+
0.018982912063598634,
|
434 |
+
0.02027008056640625,
|
435 |
+
0.019489791870117186,
|
436 |
+
0.019961856842041017,
|
437 |
+
0.019252223968505858,
|
438 |
+
0.018945024490356444,
|
439 |
+
0.01887846374511719,
|
440 |
+
0.01886720085144043,
|
441 |
+
0.018975744247436522,
|
442 |
+
0.018902015686035157,
|
443 |
+
0.018989055633544923,
|
444 |
+
0.018902015686035157,
|
445 |
+
0.01884979248046875,
|
446 |
+
0.018916351318359375,
|
447 |
+
0.018924543380737305,
|
448 |
+
0.0189040641784668,
|
449 |
+
0.018929664611816405,
|
450 |
+
0.018932735443115235,
|
451 |
+
0.01903923225402832,
|
452 |
+
0.01888768005371094,
|
453 |
+
0.018902015686035157,
|
454 |
+
0.01882521629333496,
|
455 |
+
0.018851839065551757,
|
456 |
+
0.018911231994628908,
|
457 |
+
0.019173376083374022,
|
458 |
+
0.01924403190612793,
|
459 |
+
0.018988031387329102,
|
460 |
+
0.019345407485961915,
|
461 |
+
0.01924608039855957,
|
462 |
+
0.018891775131225585
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 52.232996674196414
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1318.5024,
|
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.88916796875,
|
15 |
+
"mean": 12.88916796875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.88916796875,
|
18 |
+
"p90": 12.88916796875,
|
19 |
+
"p95": 12.88916796875,
|
20 |
+
"p99": 12.88916796875,
|
21 |
+
"values": [
|
22 |
+
12.88916796875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1719.3984,
|
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.04046329689025879,
|
42 |
+
"mean": 0.020231648445129397,
|
43 |
+
"stdev": 3.616046905517527e-05,
|
44 |
+
"p50": 0.020231648445129397,
|
45 |
+
"p90": 0.020260576820373535,
|
46 |
+
"p95": 0.02026419286727905,
|
47 |
+
"p99": 0.020267085704803466,
|
48 |
+
"values": [
|
49 |
+
0.02019548797607422,
|
50 |
+
0.02026780891418457
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 345.9925679800547
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1773.871104,
|
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.863149169921875,
|
73 |
+
"mean": 2.4315745849609374,
|
74 |
+
"stdev": 0.027472534179687536,
|
75 |
+
"p50": 2.4315745849609374,
|
76 |
+
"p90": 2.4535526123046876,
|
77 |
+
"p95": 2.4562998657226562,
|
78 |
+
"p99": 2.458497668457031,
|
79 |
+
"values": [
|
80 |
+
2.459047119140625,
|
81 |
+
2.40410205078125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 52.2295309325419
|
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.86282649230957,
|
97 |
+
"mean": 0.019144986190195157,
|
98 |
+
"stdev": 0.00042046707452513454,
|
99 |
+
"p50": 0.018925055503845215,
|
100 |
+
"p90": 0.019774566078186034,
|
101 |
+
"p95": 0.01985039367675781,
|
102 |
+
"p99": 0.020265195922851562,
|
103 |
+
"values": [
|
104 |
+
0.018655231475830078,
|
105 |
+
0.018755615234375,
|
106 |
+
0.018770912170410155,
|
107 |
+
0.018918399810791017,
|
108 |
+
0.018753536224365236,
|
109 |
+
0.019010591506958007,
|
110 |
+
0.018751455307006837,
|
111 |
+
0.0188723201751709,
|
112 |
+
0.018755584716796874,
|
113 |
+
0.018745344161987306,
|
114 |
+
0.01882316780090332,
|
115 |
+
0.018750463485717773,
|
116 |
+
0.019489791870117186,
|
117 |
+
0.01962188720703125,
|
118 |
+
0.01962495994567871,
|
119 |
+
0.020299776077270508,
|
120 |
+
0.019672063827514647,
|
121 |
+
0.019644416809082032,
|
122 |
+
0.01960550308227539,
|
123 |
+
0.01960550308227539,
|
124 |
+
0.01964339256286621,
|
125 |
+
0.019685375213623048,
|
126 |
+
0.019596288681030274,
|
127 |
+
0.019590143203735352,
|
128 |
+
0.019563520431518554,
|
129 |
+
0.018844671249389648,
|
130 |
+
0.01883750343322754,
|
131 |
+
0.01880985641479492,
|
132 |
+
0.01884774398803711,
|
133 |
+
0.018914304733276367,
|
134 |
+
0.01883340835571289,
|
135 |
+
0.01881088066101074,
|
136 |
+
0.018784255981445314,
|
137 |
+
0.018893823623657227,
|
138 |
+
0.01879347229003906,
|
139 |
+
0.018762752532958983,
|
140 |
+
0.01881497573852539,
|
141 |
+
0.01882111930847168,
|
142 |
+
0.018865152359008788,
|
143 |
+
0.01881088066101074,
|
144 |
+
0.01884160041809082,
|
145 |
+
0.018763776779174804,
|
146 |
+
0.01886412811279297,
|
147 |
+
0.01886310386657715,
|
148 |
+
0.01899622344970703,
|
149 |
+
0.0202608642578125,
|
150 |
+
0.019775487899780272,
|
151 |
+
0.019738624572753907,
|
152 |
+
0.019681280136108398,
|
153 |
+
0.01962393569946289,
|
154 |
+
0.019583999633789064,
|
155 |
+
0.01962598419189453,
|
156 |
+
0.01963929557800293,
|
157 |
+
0.01964646339416504,
|
158 |
+
0.019604480743408204,
|
159 |
+
0.019811328887939454,
|
160 |
+
0.019721216201782226,
|
161 |
+
0.019894271850585937,
|
162 |
+
0.019786752700805665,
|
163 |
+
0.019861503601074217,
|
164 |
+
0.0196997127532959,
|
165 |
+
0.019208192825317383,
|
166 |
+
0.02004377555847168,
|
167 |
+
0.019940351486206053,
|
168 |
+
0.01978982353210449,
|
169 |
+
0.0196997127532959,
|
170 |
+
0.019744768142700195,
|
171 |
+
0.019969024658203126,
|
172 |
+
0.019772415161132813,
|
173 |
+
0.01982771110534668,
|
174 |
+
0.019768320083618163,
|
175 |
+
0.0198154239654541,
|
176 |
+
0.019495935440063478,
|
177 |
+
0.019950592041015625,
|
178 |
+
0.019763200759887696,
|
179 |
+
0.019688447952270507,
|
180 |
+
0.019708927154541016,
|
181 |
+
0.019737600326538086,
|
182 |
+
0.019708927154541016,
|
183 |
+
0.019795967102050782,
|
184 |
+
0.01982464027404785,
|
185 |
+
0.019743743896484374,
|
186 |
+
0.019718143463134767,
|
187 |
+
0.019813375473022463,
|
188 |
+
0.019762176513671875,
|
189 |
+
0.019764223098754884,
|
190 |
+
0.019701759338378907,
|
191 |
+
0.019741695404052736,
|
192 |
+
0.019738624572753907,
|
193 |
+
0.019792896270751953,
|
194 |
+
0.019783679962158202,
|
195 |
+
0.019673088073730468,
|
196 |
+
0.019700735092163087,
|
197 |
+
0.01943142318725586,
|
198 |
+
0.019744768142700195,
|
199 |
+
0.01965260887145996,
|
200 |
+
0.0200263671875,
|
201 |
+
0.019710975646972655,
|
202 |
+
0.019744768142700195,
|
203 |
+
0.01984716796875,
|
204 |
+
0.02040115165710449,
|
205 |
+
0.01985638427734375,
|
206 |
+
0.01980620765686035,
|
207 |
+
0.019538944244384765,
|
208 |
+
0.018921472549438476,
|
209 |
+
0.018882560729980468,
|
210 |
+
0.01883750343322754,
|
211 |
+
0.018856960296630858,
|
212 |
+
0.018919424057006837,
|
213 |
+
0.018910207748413087,
|
214 |
+
0.018877439498901367,
|
215 |
+
0.018936832427978514,
|
216 |
+
0.01887129592895508,
|
217 |
+
0.01885798454284668,
|
218 |
+
0.018903039932250978,
|
219 |
+
0.018923519134521484,
|
220 |
+
0.018974720001220705,
|
221 |
+
0.018968576431274413,
|
222 |
+
0.018898944854736328,
|
223 |
+
0.018861055374145508,
|
224 |
+
0.018899967193603515,
|
225 |
+
0.019123199462890626,
|
226 |
+
0.018929664611816405,
|
227 |
+
0.018937856674194335,
|
228 |
+
0.018915327072143554,
|
229 |
+
0.018876415252685547,
|
230 |
+
0.018918399810791017,
|
231 |
+
0.018710527420043945,
|
232 |
+
0.018696191787719727,
|
233 |
+
0.018729984283447267,
|
234 |
+
0.01875660705566406,
|
235 |
+
0.01879859161376953,
|
236 |
+
0.018747392654418944,
|
237 |
+
0.018777088165283205,
|
238 |
+
0.018722816467285155,
|
239 |
+
0.018782207489013672,
|
240 |
+
0.018738176345825194,
|
241 |
+
0.018753536224365236,
|
242 |
+
0.018743295669555664,
|
243 |
+
0.018767871856689454,
|
244 |
+
0.01879347229003906,
|
245 |
+
0.01880268859863281,
|
246 |
+
0.018784255981445314,
|
247 |
+
0.018737152099609376,
|
248 |
+
0.01884262466430664,
|
249 |
+
0.0190699520111084,
|
250 |
+
0.019118080139160155,
|
251 |
+
0.01876479911804199,
|
252 |
+
0.018733055114746093,
|
253 |
+
0.018934783935546876,
|
254 |
+
0.018758655548095703,
|
255 |
+
0.018779136657714843,
|
256 |
+
0.01880985641479492,
|
257 |
+
0.018799615859985352,
|
258 |
+
0.018751487731933594,
|
259 |
+
0.018717695236206054,
|
260 |
+
0.01905971145629883,
|
261 |
+
0.019105791091918945,
|
262 |
+
0.01880886459350586,
|
263 |
+
0.018795488357543945,
|
264 |
+
0.018740224838256835,
|
265 |
+
0.018779136657714843,
|
266 |
+
0.01879654312133789,
|
267 |
+
0.018982912063598634,
|
268 |
+
0.019147775650024415,
|
269 |
+
0.018761728286743166,
|
270 |
+
0.018720767974853517,
|
271 |
+
0.018914304733276367,
|
272 |
+
0.018925567626953126,
|
273 |
+
0.01880166435241699,
|
274 |
+
0.019006464004516603,
|
275 |
+
0.019086336135864256,
|
276 |
+
0.018776063919067384,
|
277 |
+
0.018778112411499022,
|
278 |
+
0.018755584716796874,
|
279 |
+
0.018770944595336913,
|
280 |
+
0.018762752532958983,
|
281 |
+
0.018906112670898437,
|
282 |
+
0.018770944595336913,
|
283 |
+
0.018755584716796874,
|
284 |
+
0.018729984283447267,
|
285 |
+
0.018721792221069337,
|
286 |
+
0.018749439239501953,
|
287 |
+
0.018751487731933594,
|
288 |
+
0.018941951751708985,
|
289 |
+
0.018900991439819336,
|
290 |
+
0.018919424057006837,
|
291 |
+
0.018914304733276367,
|
292 |
+
0.018882560729980468,
|
293 |
+
0.018956287384033203,
|
294 |
+
0.018873344421386717,
|
295 |
+
0.018907136917114258,
|
296 |
+
0.018983936309814452,
|
297 |
+
0.018962432861328125,
|
298 |
+
0.018950143814086915,
|
299 |
+
0.018933759689331055,
|
300 |
+
0.018902015686035157,
|
301 |
+
0.018840576171875,
|
302 |
+
0.01919795227050781,
|
303 |
+
0.01927168083190918,
|
304 |
+
0.019160064697265625,
|
305 |
+
0.01925632095336914,
|
306 |
+
0.018975744247436522,
|
307 |
+
0.019078144073486326,
|
308 |
+
0.018973695755004884,
|
309 |
+
0.018938880920410156,
|
310 |
+
0.01889587211608887,
|
311 |
+
0.019098623275756836,
|
312 |
+
0.018908159255981445,
|
313 |
+
0.018885631561279297,
|
314 |
+
0.018917375564575196,
|
315 |
+
0.018958335876464845,
|
316 |
+
0.018942975997924806,
|
317 |
+
0.018840576171875,
|
318 |
+
0.018893823623657227,
|
319 |
+
0.018844671249389648,
|
320 |
+
0.018932735443115235,
|
321 |
+
0.018885631561279297,
|
322 |
+
0.0189040641784668,
|
323 |
+
0.019211263656616212,
|
324 |
+
0.019361791610717775,
|
325 |
+
0.01926553535461426,
|
326 |
+
0.0188590087890625,
|
327 |
+
0.01885081672668457,
|
328 |
+
0.018982912063598634,
|
329 |
+
0.02027008056640625,
|
330 |
+
0.019489791870117186,
|
331 |
+
0.019961856842041017,
|
332 |
+
0.019252223968505858,
|
333 |
+
0.018945024490356444,
|
334 |
+
0.01887846374511719,
|
335 |
+
0.01886720085144043,
|
336 |
+
0.018975744247436522,
|
337 |
+
0.018902015686035157,
|
338 |
+
0.018989055633544923,
|
339 |
+
0.018902015686035157,
|
340 |
+
0.01884979248046875,
|
341 |
+
0.018916351318359375,
|
342 |
+
0.018924543380737305,
|
343 |
+
0.0189040641784668,
|
344 |
+
0.018929664611816405,
|
345 |
+
0.018932735443115235,
|
346 |
+
0.01903923225402832,
|
347 |
+
0.01888768005371094,
|
348 |
+
0.018902015686035157,
|
349 |
+
0.01882521629333496,
|
350 |
+
0.018851839065551757,
|
351 |
+
0.018911231994628908,
|
352 |
+
0.019173376083374022,
|
353 |
+
0.01924403190612793,
|
354 |
+
0.018988031387329102,
|
355 |
+
0.019345407485961915,
|
356 |
+
0.01924608039855957,
|
357 |
+
0.018891775131225585
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 52.232996674196414
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020231648445129397,
|
7 |
+
"prefill.throughput.value": 345.9925679800547,
|
8 |
+
"decode.latency.mean": 2.4315745849609374,
|
9 |
+
"decode.throughput.value": 52.2295309325419,
|
10 |
+
"per_token.latency.mean": 0.019144986190195157,
|
11 |
+
"per_token.throughput.value": 52.232996674196414
|
12 |
+
}
|
13 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 970a16ec7f693104085fd826523e5c6ce64f2040
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040
|
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/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040
|
88 |
+
- hydra.run.dir=_benchmark/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040/${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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23 10:22:32,290[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-08-23 10:22:34,661[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 970a16ec7f693104085fd826523e5c6ce64f2040
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040
|
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/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040
|
88 |
+
- hydra.run.dir=_benchmark/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040/${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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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": 1316.94592,
|
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.0154619140625,
|
120 |
+
"mean": 13.0154619140625,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 13.0154619140625,
|
123 |
+
"p90": 13.0154619140625,
|
124 |
+
"p95": 13.0154619140625,
|
125 |
+
"p99": 13.0154619140625,
|
126 |
+
"values": [
|
127 |
+
13.0154619140625
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1758.199808,
|
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.04366105651855469,
|
147 |
+
"mean": 0.021830528259277344,
|
148 |
+
"stdev": 3.606414794921943e-05,
|
149 |
+
"p50": 0.021830528259277344,
|
150 |
+
"p90": 0.021859379577636718,
|
151 |
+
"p95": 0.021862985992431642,
|
152 |
+
"p99": 0.021865871124267577,
|
153 |
+
"values": [
|
154 |
+
0.021794464111328123,
|
155 |
+
0.021866592407226562
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 320.65188331048296
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1783.095296,
|
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.13308203125,
|
178 |
+
"mean": 2.566541015625,
|
179 |
+
"stdev": 0.0023027343749999485,
|
180 |
+
"p50": 2.566541015625,
|
181 |
+
"p90": 2.5683832031250002,
|
182 |
+
"p95": 2.5686134765625,
|
183 |
+
"p99": 2.5687976953125,
|
184 |
+
"values": [
|
185 |
+
2.56884375,
|
186 |
+
2.56423828125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 49.48294191553107
|
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.132828662872317,
|
202 |
+
"mean": 0.020207986861702026,
|
203 |
+
"stdev": 0.00027927822721006374,
|
204 |
+
"p50": 0.020108799934387207,
|
205 |
+
"p90": 0.02051819553375244,
|
206 |
+
"p95": 0.02064742431640625,
|
207 |
+
"p99": 0.021189253520965574,
|
208 |
+
"values": [
|
209 |
+
0.020428800582885744,
|
210 |
+
0.020102144241333008,
|
211 |
+
0.020051967620849608,
|
212 |
+
0.020386816024780274,
|
213 |
+
0.020067327499389647,
|
214 |
+
0.020156415939331054,
|
215 |
+
0.020369407653808593,
|
216 |
+
0.020191232681274415,
|
217 |
+
0.020324352264404297,
|
218 |
+
0.02042367935180664,
|
219 |
+
0.020187135696411132,
|
220 |
+
0.02028544044494629,
|
221 |
+
0.02083430480957031,
|
222 |
+
0.02166169548034668,
|
223 |
+
0.020568159103393553,
|
224 |
+
0.02023414421081543,
|
225 |
+
0.020108287811279296,
|
226 |
+
0.02007244873046875,
|
227 |
+
0.020183040618896485,
|
228 |
+
0.02004582405090332,
|
229 |
+
0.020281343460083007,
|
230 |
+
0.02028441619873047,
|
231 |
+
0.02042982482910156,
|
232 |
+
0.02042985534667969,
|
233 |
+
0.020095968246459962,
|
234 |
+
0.020322303771972656,
|
235 |
+
0.020800512313842775,
|
236 |
+
0.02023321533203125,
|
237 |
+
0.020168703079223634,
|
238 |
+
0.02011955261230469,
|
239 |
+
0.02020966339111328,
|
240 |
+
0.020576255798339844,
|
241 |
+
0.020052000045776366,
|
242 |
+
0.020138975143432616,
|
243 |
+
0.02021785545349121,
|
244 |
+
0.020118528366088868,
|
245 |
+
0.020238336563110353,
|
246 |
+
0.020101119995117187,
|
247 |
+
0.02046976089477539,
|
248 |
+
0.02031820869445801,
|
249 |
+
0.020381696701049806,
|
250 |
+
0.02024140739440918,
|
251 |
+
0.020369407653808593,
|
252 |
+
0.020313087463378905,
|
253 |
+
0.020133888244628906,
|
254 |
+
0.02002022361755371,
|
255 |
+
0.020024320602416993,
|
256 |
+
0.02001817512512207,
|
257 |
+
0.020050943374633787,
|
258 |
+
0.020016128540039063,
|
259 |
+
0.02006118392944336,
|
260 |
+
0.02038374328613281,
|
261 |
+
0.020347904205322266,
|
262 |
+
0.020495359420776366,
|
263 |
+
0.020402175903320312,
|
264 |
+
0.020092927932739257,
|
265 |
+
0.02037555122375488,
|
266 |
+
0.020370431900024414,
|
267 |
+
0.02004582405090332,
|
268 |
+
0.020098047256469728,
|
269 |
+
0.02004991912841797,
|
270 |
+
0.020039680480957032,
|
271 |
+
0.02065407943725586,
|
272 |
+
0.020338687896728515,
|
273 |
+
0.020151296615600587,
|
274 |
+
0.020824064254760744,
|
275 |
+
0.02147635269165039,
|
276 |
+
0.0208353271484375,
|
277 |
+
0.020315135955810547,
|
278 |
+
0.020141056060791016,
|
279 |
+
0.020282367706298828,
|
280 |
+
0.020199424743652345,
|
281 |
+
0.020231168746948244,
|
282 |
+
0.02008678436279297,
|
283 |
+
0.020011007308959963,
|
284 |
+
0.020290592193603515,
|
285 |
+
0.02049635124206543,
|
286 |
+
0.019957759857177734,
|
287 |
+
0.019946495056152345,
|
288 |
+
0.019971071243286134,
|
289 |
+
0.020468736648559572,
|
290 |
+
0.019963903427124022,
|
291 |
+
0.019878911972045898,
|
292 |
+
0.019923967361450197,
|
293 |
+
0.02003660774230957,
|
294 |
+
0.01999564743041992,
|
295 |
+
0.02006630325317383,
|
296 |
+
0.020000768661499024,
|
297 |
+
0.019999744415283204,
|
298 |
+
0.019994623184204103,
|
299 |
+
0.019971071243286134,
|
300 |
+
0.019998720169067383,
|
301 |
+
0.020322303771972656,
|
302 |
+
0.020000768661499024,
|
303 |
+
0.019968000411987305,
|
304 |
+
0.019971071243286134,
|
305 |
+
0.020017152786254884,
|
306 |
+
0.019968000411987305,
|
307 |
+
0.0200949764251709,
|
308 |
+
0.02021887969970703,
|
309 |
+
0.02002124786376953,
|
310 |
+
0.020374528884887694,
|
311 |
+
0.020435968399047853,
|
312 |
+
0.02010419273376465,
|
313 |
+
0.020101119995117187,
|
314 |
+
0.020291584014892578,
|
315 |
+
0.02001203155517578,
|
316 |
+
0.019982336044311523,
|
317 |
+
0.020059135437011717,
|
318 |
+
0.020008960723876954,
|
319 |
+
0.020050943374633787,
|
320 |
+
0.019993600845336915,
|
321 |
+
0.020140031814575195,
|
322 |
+
0.02004275131225586,
|
323 |
+
0.020009983062744142,
|
324 |
+
0.020008960723876954,
|
325 |
+
0.02063667106628418,
|
326 |
+
0.02025062370300293,
|
327 |
+
0.0206376953125,
|
328 |
+
0.020410367965698242,
|
329 |
+
0.020578304290771485,
|
330 |
+
0.020336639404296874,
|
331 |
+
0.02001817512512207,
|
332 |
+
0.020023296356201172,
|
333 |
+
0.02002943992614746,
|
334 |
+
0.020365312576293947,
|
335 |
+
0.020106239318847655,
|
336 |
+
0.02003763198852539,
|
337 |
+
0.019993600845336915,
|
338 |
+
0.019953664779663087,
|
339 |
+
0.02002943992614746,
|
340 |
+
0.020554752349853517,
|
341 |
+
0.02030182456970215,
|
342 |
+
0.020172800064086914,
|
343 |
+
0.02011955261230469,
|
344 |
+
0.020548608779907225,
|
345 |
+
0.020187135696411132,
|
346 |
+
0.02005504035949707,
|
347 |
+
0.019938304901123048,
|
348 |
+
0.019959808349609375,
|
349 |
+
0.02017791938781738,
|
350 |
+
0.02011238479614258,
|
351 |
+
0.020271104812622072,
|
352 |
+
0.020192256927490236,
|
353 |
+
0.02025164794921875,
|
354 |
+
0.02063667106628418,
|
355 |
+
0.019976192474365235,
|
356 |
+
0.02027827262878418,
|
357 |
+
0.020357120513916017,
|
358 |
+
0.020395008087158203,
|
359 |
+
0.020384767532348632,
|
360 |
+
0.020357120513916017,
|
361 |
+
0.020307968139648438,
|
362 |
+
0.020100095748901366,
|
363 |
+
0.020182016372680665,
|
364 |
+
0.02002943992614746,
|
365 |
+
0.020016128540039063,
|
366 |
+
0.020134912490844727,
|
367 |
+
0.020032512664794923,
|
368 |
+
0.0200263671875,
|
369 |
+
0.020785152435302736,
|
370 |
+
0.020436992645263673,
|
371 |
+
0.02042163276672363,
|
372 |
+
0.020291584014892578,
|
373 |
+
0.020205568313598633,
|
374 |
+
0.02022502326965332,
|
375 |
+
0.020344831466674804,
|
376 |
+
0.019944448471069336,
|
377 |
+
0.019984384536743165,
|
378 |
+
0.020006912231445313,
|
379 |
+
0.019997695922851562,
|
380 |
+
0.019979263305664064,
|
381 |
+
0.020015104293823242,
|
382 |
+
0.019964927673339843,
|
383 |
+
0.020556800842285155,
|
384 |
+
0.020185087203979494,
|
385 |
+
0.02004172706604004,
|
386 |
+
0.020023296356201172,
|
387 |
+
0.020577280044555665,
|
388 |
+
0.020140031814575195,
|
389 |
+
0.019955711364746095,
|
390 |
+
0.020113407135009767,
|
391 |
+
0.020335615158081053,
|
392 |
+
0.020377599716186523,
|
393 |
+
0.020733951568603515,
|
394 |
+
0.022289407730102538,
|
395 |
+
0.0208035831451416,
|
396 |
+
0.020485120773315428,
|
397 |
+
0.02052403259277344,
|
398 |
+
0.020428800582885744,
|
399 |
+
0.019975168228149414,
|
400 |
+
0.020051967620849608,
|
401 |
+
0.019958784103393554,
|
402 |
+
0.020093952178955078,
|
403 |
+
0.020032512664794923,
|
404 |
+
0.019961856842041017,
|
405 |
+
0.02007859230041504,
|
406 |
+
0.019994623184204103,
|
407 |
+
0.019982336044311523,
|
408 |
+
0.02004582405090332,
|
409 |
+
0.020487167358398437,
|
410 |
+
0.020032512664794923,
|
411 |
+
0.019998720169067383,
|
412 |
+
0.020001792907714845,
|
413 |
+
0.020185087203979494,
|
414 |
+
0.019977216720581056,
|
415 |
+
0.019994623184204103,
|
416 |
+
0.019981311798095702,
|
417 |
+
0.019978239059448243,
|
418 |
+
0.020065280914306642,
|
419 |
+
0.020076543807983398,
|
420 |
+
0.019998720169067383,
|
421 |
+
0.019994623184204103,
|
422 |
+
0.02001817512512207,
|
423 |
+
0.020153343200683595,
|
424 |
+
0.02002841567993164,
|
425 |
+
0.02023526382446289,
|
426 |
+
0.019997695922851562,
|
427 |
+
0.02001203155517578,
|
428 |
+
0.020335615158081053,
|
429 |
+
0.020040704727172853,
|
430 |
+
0.020527103424072265,
|
431 |
+
0.020504575729370117,
|
432 |
+
0.020264959335327147,
|
433 |
+
0.02003660774230957,
|
434 |
+
0.02001817512512207,
|
435 |
+
0.02001203155517578,
|
436 |
+
0.020060159683227538,
|
437 |
+
0.02006220817565918,
|
438 |
+
0.02006118392944336,
|
439 |
+
0.020006912231445313,
|
440 |
+
0.019990528106689453,
|
441 |
+
0.019974143981933593,
|
442 |
+
0.019987455368041994,
|
443 |
+
0.02007347106933594,
|
444 |
+
0.020074495315551756,
|
445 |
+
0.02040729522705078,
|
446 |
+
0.02018611145019531,
|
447 |
+
0.020144128799438478,
|
448 |
+
0.020299776077270508,
|
449 |
+
0.020093952178955078,
|
450 |
+
0.02003865623474121,
|
451 |
+
0.02002841567993164,
|
452 |
+
0.02000588798522949,
|
453 |
+
0.02005299186706543,
|
454 |
+
0.020109312057495117,
|
455 |
+
0.02002841567993164,
|
456 |
+
0.020934656143188478,
|
457 |
+
0.020387840270996094,
|
458 |
+
0.02024038314819336,
|
459 |
+
0.02064384078979492,
|
460 |
+
0.02067046356201172,
|
461 |
+
0.02009702491760254,
|
462 |
+
0.02006937599182129
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 49.48538450879489
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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": 1316.94592,
|
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.0154619140625,
|
15 |
+
"mean": 13.0154619140625,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 13.0154619140625,
|
18 |
+
"p90": 13.0154619140625,
|
19 |
+
"p95": 13.0154619140625,
|
20 |
+
"p99": 13.0154619140625,
|
21 |
+
"values": [
|
22 |
+
13.0154619140625
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1758.199808,
|
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.04366105651855469,
|
42 |
+
"mean": 0.021830528259277344,
|
43 |
+
"stdev": 3.606414794921943e-05,
|
44 |
+
"p50": 0.021830528259277344,
|
45 |
+
"p90": 0.021859379577636718,
|
46 |
+
"p95": 0.021862985992431642,
|
47 |
+
"p99": 0.021865871124267577,
|
48 |
+
"values": [
|
49 |
+
0.021794464111328123,
|
50 |
+
0.021866592407226562
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 320.65188331048296
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1783.095296,
|
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.13308203125,
|
73 |
+
"mean": 2.566541015625,
|
74 |
+
"stdev": 0.0023027343749999485,
|
75 |
+
"p50": 2.566541015625,
|
76 |
+
"p90": 2.5683832031250002,
|
77 |
+
"p95": 2.5686134765625,
|
78 |
+
"p99": 2.5687976953125,
|
79 |
+
"values": [
|
80 |
+
2.56884375,
|
81 |
+
2.56423828125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 49.48294191553107
|
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.132828662872317,
|
97 |
+
"mean": 0.020207986861702026,
|
98 |
+
"stdev": 0.00027927822721006374,
|
99 |
+
"p50": 0.020108799934387207,
|
100 |
+
"p90": 0.02051819553375244,
|
101 |
+
"p95": 0.02064742431640625,
|
102 |
+
"p99": 0.021189253520965574,
|
103 |
+
"values": [
|
104 |
+
0.020428800582885744,
|
105 |
+
0.020102144241333008,
|
106 |
+
0.020051967620849608,
|
107 |
+
0.020386816024780274,
|
108 |
+
0.020067327499389647,
|
109 |
+
0.020156415939331054,
|
110 |
+
0.020369407653808593,
|
111 |
+
0.020191232681274415,
|
112 |
+
0.020324352264404297,
|
113 |
+
0.02042367935180664,
|
114 |
+
0.020187135696411132,
|
115 |
+
0.02028544044494629,
|
116 |
+
0.02083430480957031,
|
117 |
+
0.02166169548034668,
|
118 |
+
0.020568159103393553,
|
119 |
+
0.02023414421081543,
|
120 |
+
0.020108287811279296,
|
121 |
+
0.02007244873046875,
|
122 |
+
0.020183040618896485,
|
123 |
+
0.02004582405090332,
|
124 |
+
0.020281343460083007,
|
125 |
+
0.02028441619873047,
|
126 |
+
0.02042982482910156,
|
127 |
+
0.02042985534667969,
|
128 |
+
0.020095968246459962,
|
129 |
+
0.020322303771972656,
|
130 |
+
0.020800512313842775,
|
131 |
+
0.02023321533203125,
|
132 |
+
0.020168703079223634,
|
133 |
+
0.02011955261230469,
|
134 |
+
0.02020966339111328,
|
135 |
+
0.020576255798339844,
|
136 |
+
0.020052000045776366,
|
137 |
+
0.020138975143432616,
|
138 |
+
0.02021785545349121,
|
139 |
+
0.020118528366088868,
|
140 |
+
0.020238336563110353,
|
141 |
+
0.020101119995117187,
|
142 |
+
0.02046976089477539,
|
143 |
+
0.02031820869445801,
|
144 |
+
0.020381696701049806,
|
145 |
+
0.02024140739440918,
|
146 |
+
0.020369407653808593,
|
147 |
+
0.020313087463378905,
|
148 |
+
0.020133888244628906,
|
149 |
+
0.02002022361755371,
|
150 |
+
0.020024320602416993,
|
151 |
+
0.02001817512512207,
|
152 |
+
0.020050943374633787,
|
153 |
+
0.020016128540039063,
|
154 |
+
0.02006118392944336,
|
155 |
+
0.02038374328613281,
|
156 |
+
0.020347904205322266,
|
157 |
+
0.020495359420776366,
|
158 |
+
0.020402175903320312,
|
159 |
+
0.020092927932739257,
|
160 |
+
0.02037555122375488,
|
161 |
+
0.020370431900024414,
|
162 |
+
0.02004582405090332,
|
163 |
+
0.020098047256469728,
|
164 |
+
0.02004991912841797,
|
165 |
+
0.020039680480957032,
|
166 |
+
0.02065407943725586,
|
167 |
+
0.020338687896728515,
|
168 |
+
0.020151296615600587,
|
169 |
+
0.020824064254760744,
|
170 |
+
0.02147635269165039,
|
171 |
+
0.0208353271484375,
|
172 |
+
0.020315135955810547,
|
173 |
+
0.020141056060791016,
|
174 |
+
0.020282367706298828,
|
175 |
+
0.020199424743652345,
|
176 |
+
0.020231168746948244,
|
177 |
+
0.02008678436279297,
|
178 |
+
0.020011007308959963,
|
179 |
+
0.020290592193603515,
|
180 |
+
0.02049635124206543,
|
181 |
+
0.019957759857177734,
|
182 |
+
0.019946495056152345,
|
183 |
+
0.019971071243286134,
|
184 |
+
0.020468736648559572,
|
185 |
+
0.019963903427124022,
|
186 |
+
0.019878911972045898,
|
187 |
+
0.019923967361450197,
|
188 |
+
0.02003660774230957,
|
189 |
+
0.01999564743041992,
|
190 |
+
0.02006630325317383,
|
191 |
+
0.020000768661499024,
|
192 |
+
0.019999744415283204,
|
193 |
+
0.019994623184204103,
|
194 |
+
0.019971071243286134,
|
195 |
+
0.019998720169067383,
|
196 |
+
0.020322303771972656,
|
197 |
+
0.020000768661499024,
|
198 |
+
0.019968000411987305,
|
199 |
+
0.019971071243286134,
|
200 |
+
0.020017152786254884,
|
201 |
+
0.019968000411987305,
|
202 |
+
0.0200949764251709,
|
203 |
+
0.02021887969970703,
|
204 |
+
0.02002124786376953,
|
205 |
+
0.020374528884887694,
|
206 |
+
0.020435968399047853,
|
207 |
+
0.02010419273376465,
|
208 |
+
0.020101119995117187,
|
209 |
+
0.020291584014892578,
|
210 |
+
0.02001203155517578,
|
211 |
+
0.019982336044311523,
|
212 |
+
0.020059135437011717,
|
213 |
+
0.020008960723876954,
|
214 |
+
0.020050943374633787,
|
215 |
+
0.019993600845336915,
|
216 |
+
0.020140031814575195,
|
217 |
+
0.02004275131225586,
|
218 |
+
0.020009983062744142,
|
219 |
+
0.020008960723876954,
|
220 |
+
0.02063667106628418,
|
221 |
+
0.02025062370300293,
|
222 |
+
0.0206376953125,
|
223 |
+
0.020410367965698242,
|
224 |
+
0.020578304290771485,
|
225 |
+
0.020336639404296874,
|
226 |
+
0.02001817512512207,
|
227 |
+
0.020023296356201172,
|
228 |
+
0.02002943992614746,
|
229 |
+
0.020365312576293947,
|
230 |
+
0.020106239318847655,
|
231 |
+
0.02003763198852539,
|
232 |
+
0.019993600845336915,
|
233 |
+
0.019953664779663087,
|
234 |
+
0.02002943992614746,
|
235 |
+
0.020554752349853517,
|
236 |
+
0.02030182456970215,
|
237 |
+
0.020172800064086914,
|
238 |
+
0.02011955261230469,
|
239 |
+
0.020548608779907225,
|
240 |
+
0.020187135696411132,
|
241 |
+
0.02005504035949707,
|
242 |
+
0.019938304901123048,
|
243 |
+
0.019959808349609375,
|
244 |
+
0.02017791938781738,
|
245 |
+
0.02011238479614258,
|
246 |
+
0.020271104812622072,
|
247 |
+
0.020192256927490236,
|
248 |
+
0.02025164794921875,
|
249 |
+
0.02063667106628418,
|
250 |
+
0.019976192474365235,
|
251 |
+
0.02027827262878418,
|
252 |
+
0.020357120513916017,
|
253 |
+
0.020395008087158203,
|
254 |
+
0.020384767532348632,
|
255 |
+
0.020357120513916017,
|
256 |
+
0.020307968139648438,
|
257 |
+
0.020100095748901366,
|
258 |
+
0.020182016372680665,
|
259 |
+
0.02002943992614746,
|
260 |
+
0.020016128540039063,
|
261 |
+
0.020134912490844727,
|
262 |
+
0.020032512664794923,
|
263 |
+
0.0200263671875,
|
264 |
+
0.020785152435302736,
|
265 |
+
0.020436992645263673,
|
266 |
+
0.02042163276672363,
|
267 |
+
0.020291584014892578,
|
268 |
+
0.020205568313598633,
|
269 |
+
0.02022502326965332,
|
270 |
+
0.020344831466674804,
|
271 |
+
0.019944448471069336,
|
272 |
+
0.019984384536743165,
|
273 |
+
0.020006912231445313,
|
274 |
+
0.019997695922851562,
|
275 |
+
0.019979263305664064,
|
276 |
+
0.020015104293823242,
|
277 |
+
0.019964927673339843,
|
278 |
+
0.020556800842285155,
|
279 |
+
0.020185087203979494,
|
280 |
+
0.02004172706604004,
|
281 |
+
0.020023296356201172,
|
282 |
+
0.020577280044555665,
|
283 |
+
0.020140031814575195,
|
284 |
+
0.019955711364746095,
|
285 |
+
0.020113407135009767,
|
286 |
+
0.020335615158081053,
|
287 |
+
0.020377599716186523,
|
288 |
+
0.020733951568603515,
|
289 |
+
0.022289407730102538,
|
290 |
+
0.0208035831451416,
|
291 |
+
0.020485120773315428,
|
292 |
+
0.02052403259277344,
|
293 |
+
0.020428800582885744,
|
294 |
+
0.019975168228149414,
|
295 |
+
0.020051967620849608,
|
296 |
+
0.019958784103393554,
|
297 |
+
0.020093952178955078,
|
298 |
+
0.020032512664794923,
|
299 |
+
0.019961856842041017,
|
300 |
+
0.02007859230041504,
|
301 |
+
0.019994623184204103,
|
302 |
+
0.019982336044311523,
|
303 |
+
0.02004582405090332,
|
304 |
+
0.020487167358398437,
|
305 |
+
0.020032512664794923,
|
306 |
+
0.019998720169067383,
|
307 |
+
0.020001792907714845,
|
308 |
+
0.020185087203979494,
|
309 |
+
0.019977216720581056,
|
310 |
+
0.019994623184204103,
|
311 |
+
0.019981311798095702,
|
312 |
+
0.019978239059448243,
|
313 |
+
0.020065280914306642,
|
314 |
+
0.020076543807983398,
|
315 |
+
0.019998720169067383,
|
316 |
+
0.019994623184204103,
|
317 |
+
0.02001817512512207,
|
318 |
+
0.020153343200683595,
|
319 |
+
0.02002841567993164,
|
320 |
+
0.02023526382446289,
|
321 |
+
0.019997695922851562,
|
322 |
+
0.02001203155517578,
|
323 |
+
0.020335615158081053,
|
324 |
+
0.020040704727172853,
|
325 |
+
0.020527103424072265,
|
326 |
+
0.020504575729370117,
|
327 |
+
0.020264959335327147,
|
328 |
+
0.02003660774230957,
|
329 |
+
0.02001817512512207,
|
330 |
+
0.02001203155517578,
|
331 |
+
0.020060159683227538,
|
332 |
+
0.02006220817565918,
|
333 |
+
0.02006118392944336,
|
334 |
+
0.020006912231445313,
|
335 |
+
0.019990528106689453,
|
336 |
+
0.019974143981933593,
|
337 |
+
0.019987455368041994,
|
338 |
+
0.02007347106933594,
|
339 |
+
0.020074495315551756,
|
340 |
+
0.02040729522705078,
|
341 |
+
0.02018611145019531,
|
342 |
+
0.020144128799438478,
|
343 |
+
0.020299776077270508,
|
344 |
+
0.020093952178955078,
|
345 |
+
0.02003865623474121,
|
346 |
+
0.02002841567993164,
|
347 |
+
0.02000588798522949,
|
348 |
+
0.02005299186706543,
|
349 |
+
0.020109312057495117,
|
350 |
+
0.02002841567993164,
|
351 |
+
0.020934656143188478,
|
352 |
+
0.020387840270996094,
|
353 |
+
0.02024038314819336,
|
354 |
+
0.02064384078979492,
|
355 |
+
0.02067046356201172,
|
356 |
+
0.02009702491760254,
|
357 |
+
0.02006937599182129
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 49.48538450879489
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021830528259277344,
|
7 |
+
"prefill.throughput.value": 320.65188331048296,
|
8 |
+
"decode.latency.mean": 2.566541015625,
|
9 |
+
"decode.throughput.value": 49.48294191553107,
|
10 |
+
"per_token.latency.mean": 0.020207986861702026,
|
11 |
+
"per_token.throughput.value": 49.48538450879489
|
12 |
+
}
|
13 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 970a16ec7f693104085fd826523e5c6ce64f2040
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040
|
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/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040
|
88 |
+
- hydra.run.dir=_benchmark/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040/${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/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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.561088,
|
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": 15.4551689453125,
|
120 |
+
"mean": 15.4551689453125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 15.4551689453125,
|
123 |
+
"p90": 15.4551689453125,
|
124 |
+
"p95": 15.4551689453125,
|
125 |
+
"p99": 15.4551689453125,
|
126 |
+
"values": [
|
127 |
+
15.4551689453125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1854.091264,
|
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.02835110378265381,
|
147 |
+
"mean": 0.014175551891326904,
|
148 |
+
"stdev": 0.0001774716377258307,
|
149 |
+
"p50": 0.014175551891326904,
|
150 |
+
"p90": 0.014317529201507568,
|
151 |
+
"p95": 0.014335276365280153,
|
152 |
+
"p99": 0.014349474096298219,
|
153 |
+
"values": [
|
154 |
+
0.013998080253601074,
|
155 |
+
0.014353023529052735
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 493.8079345103201
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2024.116224,
|
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.13087939453125,
|
178 |
+
"mean": 1.565439697265625,
|
179 |
+
"stdev": 0.00030541992187504974,
|
180 |
+
"p50": 1.565439697265625,
|
181 |
+
"p90": 1.565684033203125,
|
182 |
+
"p95": 1.5657145751953125,
|
183 |
+
"p99": 1.5657390087890626,
|
184 |
+
"values": [
|
185 |
+
1.5657451171875,
|
186 |
+
1.56513427734375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.12736646568541
|
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.1305830955505356,
|
202 |
+
"mean": 0.012325130297443058,
|
203 |
+
"stdev": 4.3577208116356356e-05,
|
204 |
+
"p50": 0.012317695617675782,
|
205 |
+
"p90": 0.012344320297241211,
|
206 |
+
"p95": 0.012366592216491699,
|
207 |
+
"p99": 0.012434053287506104,
|
208 |
+
"values": [
|
209 |
+
0.012389375686645507,
|
210 |
+
0.012324864387512208,
|
211 |
+
0.012318719863891601,
|
212 |
+
0.012312576293945313,
|
213 |
+
0.012327936172485352,
|
214 |
+
0.012298239707946777,
|
215 |
+
0.012310527801513671,
|
216 |
+
0.012329983711242675,
|
217 |
+
0.01244979190826416,
|
218 |
+
0.012469247817993164,
|
219 |
+
0.012395520210266114,
|
220 |
+
0.012924927711486817,
|
221 |
+
0.012389375686645507,
|
222 |
+
0.012314623832702636,
|
223 |
+
0.012322815895080566,
|
224 |
+
0.012322815895080566,
|
225 |
+
0.012374015808105468,
|
226 |
+
0.012354559898376465,
|
227 |
+
0.012331007957458496,
|
228 |
+
0.012317695617675782,
|
229 |
+
0.012319744110107422,
|
230 |
+
0.012326911926269531,
|
231 |
+
0.012310527801513671,
|
232 |
+
0.012299263954162597,
|
233 |
+
0.012312576293945313,
|
234 |
+
0.012315648078918457,
|
235 |
+
0.012305407524108887,
|
236 |
+
0.012315648078918457,
|
237 |
+
0.012311552047729492,
|
238 |
+
0.01233407974243164,
|
239 |
+
0.012307456016540527,
|
240 |
+
0.012307456016540527,
|
241 |
+
0.012306431770324706,
|
242 |
+
0.012321791648864745,
|
243 |
+
0.012319744110107422,
|
244 |
+
0.012323840141296387,
|
245 |
+
0.012328960418701173,
|
246 |
+
0.012328960418701173,
|
247 |
+
0.01232588768005371,
|
248 |
+
0.012308480262756348,
|
249 |
+
0.012313599586486817,
|
250 |
+
0.012336128234863282,
|
251 |
+
0.012317695617675782,
|
252 |
+
0.012310527801513671,
|
253 |
+
0.012308480262756348,
|
254 |
+
0.012329983711242675,
|
255 |
+
0.012313599586486817,
|
256 |
+
0.012315648078918457,
|
257 |
+
0.012305407524108887,
|
258 |
+
0.012307456016540527,
|
259 |
+
0.012305407524108887,
|
260 |
+
0.012314623832702636,
|
261 |
+
0.012310527801513671,
|
262 |
+
0.012326911926269531,
|
263 |
+
0.012324864387512208,
|
264 |
+
0.012301312446594239,
|
265 |
+
0.012312576293945313,
|
266 |
+
0.012309503555297852,
|
267 |
+
0.012319775581359863,
|
268 |
+
0.012319711685180664,
|
269 |
+
0.012310527801513671,
|
270 |
+
0.012309503555297852,
|
271 |
+
0.012311552047729492,
|
272 |
+
0.012315648078918457,
|
273 |
+
0.012301312446594239,
|
274 |
+
0.012329024314880371,
|
275 |
+
0.012312512397766113,
|
276 |
+
0.01234227180480957,
|
277 |
+
0.012300288200378418,
|
278 |
+
0.012308480262756348,
|
279 |
+
0.012311552047729492,
|
280 |
+
0.012326911926269531,
|
281 |
+
0.01231158447265625,
|
282 |
+
0.012324831962585448,
|
283 |
+
0.012312576293945313,
|
284 |
+
0.012307456016540527,
|
285 |
+
0.012327936172485352,
|
286 |
+
0.012318719863891601,
|
287 |
+
0.012318719863891601,
|
288 |
+
0.012346367835998535,
|
289 |
+
0.012320768356323243,
|
290 |
+
0.012312576293945313,
|
291 |
+
0.012318719863891601,
|
292 |
+
0.012324864387512208,
|
293 |
+
0.012316672325134278,
|
294 |
+
0.012306431770324706,
|
295 |
+
0.012311552047729492,
|
296 |
+
0.012305407524108887,
|
297 |
+
0.012308480262756348,
|
298 |
+
0.012322815895080566,
|
299 |
+
0.012313599586486817,
|
300 |
+
0.01234227180480957,
|
301 |
+
0.012345343589782716,
|
302 |
+
0.012309503555297852,
|
303 |
+
0.012313599586486817,
|
304 |
+
0.012307456016540527,
|
305 |
+
0.012319744110107422,
|
306 |
+
0.012313599586486817,
|
307 |
+
0.01234124755859375,
|
308 |
+
0.012322815895080566,
|
309 |
+
0.012307456016540527,
|
310 |
+
0.012312576293945313,
|
311 |
+
0.012308480262756348,
|
312 |
+
0.012299263954162597,
|
313 |
+
0.012344320297241211,
|
314 |
+
0.012323840141296387,
|
315 |
+
0.012323840141296387,
|
316 |
+
0.012302335739135742,
|
317 |
+
0.012320768356323243,
|
318 |
+
0.012315648078918457,
|
319 |
+
0.012321791648864745,
|
320 |
+
0.012307456016540527,
|
321 |
+
0.012302335739135742,
|
322 |
+
0.012310527801513671,
|
323 |
+
0.012317695617675782,
|
324 |
+
0.012332032203674317,
|
325 |
+
0.012377087593078612,
|
326 |
+
0.012369919776916503,
|
327 |
+
0.01233407974243164,
|
328 |
+
0.012312576293945313,
|
329 |
+
0.012309503555297852,
|
330 |
+
0.01232588768005371,
|
331 |
+
0.012310527801513671,
|
332 |
+
0.012316672325134278,
|
333 |
+
0.012312576293945313,
|
334 |
+
0.012304384231567383,
|
335 |
+
0.012329983711242675,
|
336 |
+
0.012364800453186036,
|
337 |
+
0.012309503555297852,
|
338 |
+
0.012313599586486817,
|
339 |
+
0.012322815895080566,
|
340 |
+
0.012329983711242675,
|
341 |
+
0.012326911926269531,
|
342 |
+
0.012316672325134278,
|
343 |
+
0.01233510398864746,
|
344 |
+
0.012309503555297852,
|
345 |
+
0.012303359985351562,
|
346 |
+
0.012323840141296387,
|
347 |
+
0.012316736221313476,
|
348 |
+
0.012306367874145508,
|
349 |
+
0.012311552047729492,
|
350 |
+
0.012307456016540527,
|
351 |
+
0.012320768356323243,
|
352 |
+
0.0123023681640625,
|
353 |
+
0.01230742359161377,
|
354 |
+
0.012326911926269531,
|
355 |
+
0.012321791648864745,
|
356 |
+
0.012321791648864745,
|
357 |
+
0.012314623832702636,
|
358 |
+
0.012320768356323243,
|
359 |
+
0.01231772804260254,
|
360 |
+
0.012306400299072266,
|
361 |
+
0.012305407524108887,
|
362 |
+
0.012327936172485352,
|
363 |
+
0.012297216415405274,
|
364 |
+
0.012302335739135742,
|
365 |
+
0.012332032203674317,
|
366 |
+
0.012321791648864745,
|
367 |
+
0.012305407524108887,
|
368 |
+
0.012340224266052247,
|
369 |
+
0.012316672325134278,
|
370 |
+
0.012371968269348145,
|
371 |
+
0.012322815895080566,
|
372 |
+
0.012314623832702636,
|
373 |
+
0.012317695617675782,
|
374 |
+
0.012310527801513671,
|
375 |
+
0.012313599586486817,
|
376 |
+
0.012311552047729492,
|
377 |
+
0.012307456016540527,
|
378 |
+
0.012302335739135742,
|
379 |
+
0.012323840141296387,
|
380 |
+
0.012420096397399903,
|
381 |
+
0.012323840141296387,
|
382 |
+
0.012346400260925292,
|
383 |
+
0.012329952239990234,
|
384 |
+
0.012307456016540527,
|
385 |
+
0.012312576293945313,
|
386 |
+
0.012317695617675782,
|
387 |
+
0.012312576293945313,
|
388 |
+
0.012324864387512208,
|
389 |
+
0.012310527801513671,
|
390 |
+
0.012307456016540527,
|
391 |
+
0.01232588768005371,
|
392 |
+
0.012305439949035645,
|
393 |
+
0.012342240333557129,
|
394 |
+
0.012310527801513671,
|
395 |
+
0.012314623832702636,
|
396 |
+
0.012315648078918457,
|
397 |
+
0.012329983711242675,
|
398 |
+
0.012305407524108887,
|
399 |
+
0.0123504638671875,
|
400 |
+
0.012328960418701173,
|
401 |
+
0.012323840141296387,
|
402 |
+
0.012320768356323243,
|
403 |
+
0.012304384231567383,
|
404 |
+
0.012305407524108887,
|
405 |
+
0.012354559898376465,
|
406 |
+
0.01235148811340332,
|
407 |
+
0.012329983711242675,
|
408 |
+
0.012303359985351562,
|
409 |
+
0.012317695617675782,
|
410 |
+
0.012323840141296387,
|
411 |
+
0.012307456016540527,
|
412 |
+
0.012299263954162597,
|
413 |
+
0.012312576293945313,
|
414 |
+
0.012312576293945313,
|
415 |
+
0.012337151527404786,
|
416 |
+
0.012312576293945313,
|
417 |
+
0.012308480262756348,
|
418 |
+
0.012344320297241211,
|
419 |
+
0.012321791648864745,
|
420 |
+
0.012305407524108887,
|
421 |
+
0.012327936172485352,
|
422 |
+
0.012317695617675782,
|
423 |
+
0.012322815895080566,
|
424 |
+
0.012315648078918457,
|
425 |
+
0.012316672325134278,
|
426 |
+
0.012308480262756348,
|
427 |
+
0.012323840141296387,
|
428 |
+
0.012306431770324706,
|
429 |
+
0.012318719863891601,
|
430 |
+
0.01233510398864746,
|
431 |
+
0.012361727714538574,
|
432 |
+
0.01233407974243164,
|
433 |
+
0.012306464195251466,
|
434 |
+
0.01232585620880127,
|
435 |
+
0.012332032203674317,
|
436 |
+
0.012310527801513671,
|
437 |
+
0.012327936172485352,
|
438 |
+
0.012369919776916503,
|
439 |
+
0.012336128234863282,
|
440 |
+
0.012317695617675782,
|
441 |
+
0.012310527801513671,
|
442 |
+
0.012336128234863282,
|
443 |
+
0.012353535652160644,
|
444 |
+
0.012321791648864745,
|
445 |
+
0.012329983711242675,
|
446 |
+
0.012331007957458496,
|
447 |
+
0.012356608390808106,
|
448 |
+
0.012327936172485352,
|
449 |
+
0.012304384231567383,
|
450 |
+
0.012311552047729492,
|
451 |
+
0.01232588768005371,
|
452 |
+
0.012302335739135742,
|
453 |
+
0.012323840141296387,
|
454 |
+
0.012348416328430176,
|
455 |
+
0.01233510398864746,
|
456 |
+
0.012317695617675782,
|
457 |
+
0.012313599586486817,
|
458 |
+
0.012315648078918457,
|
459 |
+
0.012332032203674317,
|
460 |
+
0.012317695617675782,
|
461 |
+
0.012396544456481933,
|
462 |
+
0.01231980800628662
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.13504489339618
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
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-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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.561088,
|
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": 15.4551689453125,
|
15 |
+
"mean": 15.4551689453125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 15.4551689453125,
|
18 |
+
"p90": 15.4551689453125,
|
19 |
+
"p95": 15.4551689453125,
|
20 |
+
"p99": 15.4551689453125,
|
21 |
+
"values": [
|
22 |
+
15.4551689453125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1854.091264,
|
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.02835110378265381,
|
42 |
+
"mean": 0.014175551891326904,
|
43 |
+
"stdev": 0.0001774716377258307,
|
44 |
+
"p50": 0.014175551891326904,
|
45 |
+
"p90": 0.014317529201507568,
|
46 |
+
"p95": 0.014335276365280153,
|
47 |
+
"p99": 0.014349474096298219,
|
48 |
+
"values": [
|
49 |
+
0.013998080253601074,
|
50 |
+
0.014353023529052735
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 493.8079345103201
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2024.116224,
|
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.13087939453125,
|
73 |
+
"mean": 1.565439697265625,
|
74 |
+
"stdev": 0.00030541992187504974,
|
75 |
+
"p50": 1.565439697265625,
|
76 |
+
"p90": 1.565684033203125,
|
77 |
+
"p95": 1.5657145751953125,
|
78 |
+
"p99": 1.5657390087890626,
|
79 |
+
"values": [
|
80 |
+
1.5657451171875,
|
81 |
+
1.56513427734375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.12736646568541
|
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.1305830955505356,
|
97 |
+
"mean": 0.012325130297443058,
|
98 |
+
"stdev": 4.3577208116356356e-05,
|
99 |
+
"p50": 0.012317695617675782,
|
100 |
+
"p90": 0.012344320297241211,
|
101 |
+
"p95": 0.012366592216491699,
|
102 |
+
"p99": 0.012434053287506104,
|
103 |
+
"values": [
|
104 |
+
0.012389375686645507,
|
105 |
+
0.012324864387512208,
|
106 |
+
0.012318719863891601,
|
107 |
+
0.012312576293945313,
|
108 |
+
0.012327936172485352,
|
109 |
+
0.012298239707946777,
|
110 |
+
0.012310527801513671,
|
111 |
+
0.012329983711242675,
|
112 |
+
0.01244979190826416,
|
113 |
+
0.012469247817993164,
|
114 |
+
0.012395520210266114,
|
115 |
+
0.012924927711486817,
|
116 |
+
0.012389375686645507,
|
117 |
+
0.012314623832702636,
|
118 |
+
0.012322815895080566,
|
119 |
+
0.012322815895080566,
|
120 |
+
0.012374015808105468,
|
121 |
+
0.012354559898376465,
|
122 |
+
0.012331007957458496,
|
123 |
+
0.012317695617675782,
|
124 |
+
0.012319744110107422,
|
125 |
+
0.012326911926269531,
|
126 |
+
0.012310527801513671,
|
127 |
+
0.012299263954162597,
|
128 |
+
0.012312576293945313,
|
129 |
+
0.012315648078918457,
|
130 |
+
0.012305407524108887,
|
131 |
+
0.012315648078918457,
|
132 |
+
0.012311552047729492,
|
133 |
+
0.01233407974243164,
|
134 |
+
0.012307456016540527,
|
135 |
+
0.012307456016540527,
|
136 |
+
0.012306431770324706,
|
137 |
+
0.012321791648864745,
|
138 |
+
0.012319744110107422,
|
139 |
+
0.012323840141296387,
|
140 |
+
0.012328960418701173,
|
141 |
+
0.012328960418701173,
|
142 |
+
0.01232588768005371,
|
143 |
+
0.012308480262756348,
|
144 |
+
0.012313599586486817,
|
145 |
+
0.012336128234863282,
|
146 |
+
0.012317695617675782,
|
147 |
+
0.012310527801513671,
|
148 |
+
0.012308480262756348,
|
149 |
+
0.012329983711242675,
|
150 |
+
0.012313599586486817,
|
151 |
+
0.012315648078918457,
|
152 |
+
0.012305407524108887,
|
153 |
+
0.012307456016540527,
|
154 |
+
0.012305407524108887,
|
155 |
+
0.012314623832702636,
|
156 |
+
0.012310527801513671,
|
157 |
+
0.012326911926269531,
|
158 |
+
0.012324864387512208,
|
159 |
+
0.012301312446594239,
|
160 |
+
0.012312576293945313,
|
161 |
+
0.012309503555297852,
|
162 |
+
0.012319775581359863,
|
163 |
+
0.012319711685180664,
|
164 |
+
0.012310527801513671,
|
165 |
+
0.012309503555297852,
|
166 |
+
0.012311552047729492,
|
167 |
+
0.012315648078918457,
|
168 |
+
0.012301312446594239,
|
169 |
+
0.012329024314880371,
|
170 |
+
0.012312512397766113,
|
171 |
+
0.01234227180480957,
|
172 |
+
0.012300288200378418,
|
173 |
+
0.012308480262756348,
|
174 |
+
0.012311552047729492,
|
175 |
+
0.012326911926269531,
|
176 |
+
0.01231158447265625,
|
177 |
+
0.012324831962585448,
|
178 |
+
0.012312576293945313,
|
179 |
+
0.012307456016540527,
|
180 |
+
0.012327936172485352,
|
181 |
+
0.012318719863891601,
|
182 |
+
0.012318719863891601,
|
183 |
+
0.012346367835998535,
|
184 |
+
0.012320768356323243,
|
185 |
+
0.012312576293945313,
|
186 |
+
0.012318719863891601,
|
187 |
+
0.012324864387512208,
|
188 |
+
0.012316672325134278,
|
189 |
+
0.012306431770324706,
|
190 |
+
0.012311552047729492,
|
191 |
+
0.012305407524108887,
|
192 |
+
0.012308480262756348,
|
193 |
+
0.012322815895080566,
|
194 |
+
0.012313599586486817,
|
195 |
+
0.01234227180480957,
|
196 |
+
0.012345343589782716,
|
197 |
+
0.012309503555297852,
|
198 |
+
0.012313599586486817,
|
199 |
+
0.012307456016540527,
|
200 |
+
0.012319744110107422,
|
201 |
+
0.012313599586486817,
|
202 |
+
0.01234124755859375,
|
203 |
+
0.012322815895080566,
|
204 |
+
0.012307456016540527,
|
205 |
+
0.012312576293945313,
|
206 |
+
0.012308480262756348,
|
207 |
+
0.012299263954162597,
|
208 |
+
0.012344320297241211,
|
209 |
+
0.012323840141296387,
|
210 |
+
0.012323840141296387,
|
211 |
+
0.012302335739135742,
|
212 |
+
0.012320768356323243,
|
213 |
+
0.012315648078918457,
|
214 |
+
0.012321791648864745,
|
215 |
+
0.012307456016540527,
|
216 |
+
0.012302335739135742,
|
217 |
+
0.012310527801513671,
|
218 |
+
0.012317695617675782,
|
219 |
+
0.012332032203674317,
|
220 |
+
0.012377087593078612,
|
221 |
+
0.012369919776916503,
|
222 |
+
0.01233407974243164,
|
223 |
+
0.012312576293945313,
|
224 |
+
0.012309503555297852,
|
225 |
+
0.01232588768005371,
|
226 |
+
0.012310527801513671,
|
227 |
+
0.012316672325134278,
|
228 |
+
0.012312576293945313,
|
229 |
+
0.012304384231567383,
|
230 |
+
0.012329983711242675,
|
231 |
+
0.012364800453186036,
|
232 |
+
0.012309503555297852,
|
233 |
+
0.012313599586486817,
|
234 |
+
0.012322815895080566,
|
235 |
+
0.012329983711242675,
|
236 |
+
0.012326911926269531,
|
237 |
+
0.012316672325134278,
|
238 |
+
0.01233510398864746,
|
239 |
+
0.012309503555297852,
|
240 |
+
0.012303359985351562,
|
241 |
+
0.012323840141296387,
|
242 |
+
0.012316736221313476,
|
243 |
+
0.012306367874145508,
|
244 |
+
0.012311552047729492,
|
245 |
+
0.012307456016540527,
|
246 |
+
0.012320768356323243,
|
247 |
+
0.0123023681640625,
|
248 |
+
0.01230742359161377,
|
249 |
+
0.012326911926269531,
|
250 |
+
0.012321791648864745,
|
251 |
+
0.012321791648864745,
|
252 |
+
0.012314623832702636,
|
253 |
+
0.012320768356323243,
|
254 |
+
0.01231772804260254,
|
255 |
+
0.012306400299072266,
|
256 |
+
0.012305407524108887,
|
257 |
+
0.012327936172485352,
|
258 |
+
0.012297216415405274,
|
259 |
+
0.012302335739135742,
|
260 |
+
0.012332032203674317,
|
261 |
+
0.012321791648864745,
|
262 |
+
0.012305407524108887,
|
263 |
+
0.012340224266052247,
|
264 |
+
0.012316672325134278,
|
265 |
+
0.012371968269348145,
|
266 |
+
0.012322815895080566,
|
267 |
+
0.012314623832702636,
|
268 |
+
0.012317695617675782,
|
269 |
+
0.012310527801513671,
|
270 |
+
0.012313599586486817,
|
271 |
+
0.012311552047729492,
|
272 |
+
0.012307456016540527,
|
273 |
+
0.012302335739135742,
|
274 |
+
0.012323840141296387,
|
275 |
+
0.012420096397399903,
|
276 |
+
0.012323840141296387,
|
277 |
+
0.012346400260925292,
|
278 |
+
0.012329952239990234,
|
279 |
+
0.012307456016540527,
|
280 |
+
0.012312576293945313,
|
281 |
+
0.012317695617675782,
|
282 |
+
0.012312576293945313,
|
283 |
+
0.012324864387512208,
|
284 |
+
0.012310527801513671,
|
285 |
+
0.012307456016540527,
|
286 |
+
0.01232588768005371,
|
287 |
+
0.012305439949035645,
|
288 |
+
0.012342240333557129,
|
289 |
+
0.012310527801513671,
|
290 |
+
0.012314623832702636,
|
291 |
+
0.012315648078918457,
|
292 |
+
0.012329983711242675,
|
293 |
+
0.012305407524108887,
|
294 |
+
0.0123504638671875,
|
295 |
+
0.012328960418701173,
|
296 |
+
0.012323840141296387,
|
297 |
+
0.012320768356323243,
|
298 |
+
0.012304384231567383,
|
299 |
+
0.012305407524108887,
|
300 |
+
0.012354559898376465,
|
301 |
+
0.01235148811340332,
|
302 |
+
0.012329983711242675,
|
303 |
+
0.012303359985351562,
|
304 |
+
0.012317695617675782,
|
305 |
+
0.012323840141296387,
|
306 |
+
0.012307456016540527,
|
307 |
+
0.012299263954162597,
|
308 |
+
0.012312576293945313,
|
309 |
+
0.012312576293945313,
|
310 |
+
0.012337151527404786,
|
311 |
+
0.012312576293945313,
|
312 |
+
0.012308480262756348,
|
313 |
+
0.012344320297241211,
|
314 |
+
0.012321791648864745,
|
315 |
+
0.012305407524108887,
|
316 |
+
0.012327936172485352,
|
317 |
+
0.012317695617675782,
|
318 |
+
0.012322815895080566,
|
319 |
+
0.012315648078918457,
|
320 |
+
0.012316672325134278,
|
321 |
+
0.012308480262756348,
|
322 |
+
0.012323840141296387,
|
323 |
+
0.012306431770324706,
|
324 |
+
0.012318719863891601,
|
325 |
+
0.01233510398864746,
|
326 |
+
0.012361727714538574,
|
327 |
+
0.01233407974243164,
|
328 |
+
0.012306464195251466,
|
329 |
+
0.01232585620880127,
|
330 |
+
0.012332032203674317,
|
331 |
+
0.012310527801513671,
|
332 |
+
0.012327936172485352,
|
333 |
+
0.012369919776916503,
|
334 |
+
0.012336128234863282,
|
335 |
+
0.012317695617675782,
|
336 |
+
0.012310527801513671,
|
337 |
+
0.012336128234863282,
|
338 |
+
0.012353535652160644,
|
339 |
+
0.012321791648864745,
|
340 |
+
0.012329983711242675,
|
341 |
+
0.012331007957458496,
|
342 |
+
0.012356608390808106,
|
343 |
+
0.012327936172485352,
|
344 |
+
0.012304384231567383,
|
345 |
+
0.012311552047729492,
|
346 |
+
0.01232588768005371,
|
347 |
+
0.012302335739135742,
|
348 |
+
0.012323840141296387,
|
349 |
+
0.012348416328430176,
|
350 |
+
0.01233510398864746,
|
351 |
+
0.012317695617675782,
|
352 |
+
0.012313599586486817,
|
353 |
+
0.012315648078918457,
|
354 |
+
0.012332032203674317,
|
355 |
+
0.012317695617675782,
|
356 |
+
0.012396544456481933,
|
357 |
+
0.01231980800628662
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.13504489339618
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/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": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014175551891326904,
|
7 |
+
"prefill.throughput.value": 493.8079345103201,
|
8 |
+
"decode.latency.mean": 1.565439697265625,
|
9 |
+
"decode.throughput.value": 81.12736646568541,
|
10 |
+
"per_token.latency.mean": 0.012325130297443058,
|
11 |
+
"per_token.throughput.value": 81.13504489339618
|
12 |
+
}
|
13 |
+
}
|
2024-08-23/commit=970a16ec7f693104085fd826523e5c6ce64f2040/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp41zb30zi/commit=970a16ec7f693104085fd826523e5c6ce64f2040
|
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/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040
|
88 |
+
- hydra.run.dir=_benchmark/tmp41zb30zi/commit\=970a16ec7f693104085fd826523e5c6ce64f2040/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.4.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model_type: null
|
150 |
+
model: google/gemma-2b
|
151 |
+
processor: null
|
152 |
+
device: cuda
|
153 |
+
device_ids: '0'
|
154 |
+
seed: 42
|
155 |
+
inter_op_num_threads: null
|
156 |
+
intra_op_num_threads: null
|
157 |
+
model_kwargs: {}
|
158 |
+
processor_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
memory: true
|
192 |
+
latency: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
numactl: false
|
206 |
+
numactl_kwargs: {}
|
207 |
+
start_method: spawn
|
208 |
+
environment:
|
209 |
+
cpu: ' AMD EPYC 7R32'
|
210 |
+
cpu_count: 16
|
211 |
+
cpu_ram_mb: 66697.261056
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
215 |
+
processor: x86_64
|
216 |
+
python_version: 3.8.10
|
217 |
+
gpu:
|
218 |
+
- NVIDIA A10G
|
219 |
+
gpu_count: 1
|
220 |
+
gpu_vram_mb: 24146608128
|
221 |
+
optimum_benchmark_version: 0.4.0
|
222 |
+
optimum_benchmark_commit: null
|
223 |
+
transformers_version: 4.45.0.dev0
|
224 |
+
transformers_commit: 970a16ec7f693104085fd826523e5c6ce64f2040
|
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-23/summaries.json
CHANGED
@@ -1,41 +1,41 @@
|
|
1 |
[
|
2 |
{
|
3 |
"model": "google/gemma-2b",
|
4 |
-
"commit": "
|
5 |
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
"metrics": {
|
7 |
-
"prefill.latency.mean": 0.
|
8 |
-
"prefill.throughput.value":
|
9 |
-
"decode.latency.mean": 2.
|
10 |
-
"decode.throughput.value":
|
11 |
-
"per_token.latency.mean": 0.
|
12 |
-
"per_token.throughput.value":
|
13 |
}
|
14 |
},
|
15 |
{
|
16 |
"model": "google/gemma-2b",
|
17 |
-
"commit": "
|
18 |
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
"metrics": {
|
20 |
-
"prefill.latency.mean": 0.
|
21 |
-
"prefill.throughput.value":
|
22 |
-
"decode.latency.mean": 2.
|
23 |
-
"decode.throughput.value":
|
24 |
-
"per_token.latency.mean": 0.
|
25 |
-
"per_token.throughput.value":
|
26 |
}
|
27 |
},
|
28 |
{
|
29 |
"model": "google/gemma-2b",
|
30 |
-
"commit": "
|
31 |
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
"metrics": {
|
33 |
-
"prefill.latency.mean": 0.
|
34 |
-
"prefill.throughput.value": 493.
|
35 |
-
"decode.latency.mean": 1.
|
36 |
-
"decode.throughput.value": 81.
|
37 |
-
"per_token.latency.mean": 0.
|
38 |
-
"per_token.throughput.value": 81.
|
39 |
}
|
40 |
}
|
41 |
]
|
|
|
1 |
[
|
2 |
{
|
3 |
"model": "google/gemma-2b",
|
4 |
+
"commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
5 |
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020231648445129397,
|
8 |
+
"prefill.throughput.value": 345.9925679800547,
|
9 |
+
"decode.latency.mean": 2.4315745849609374,
|
10 |
+
"decode.throughput.value": 52.2295309325419,
|
11 |
+
"per_token.latency.mean": 0.019144986190195157,
|
12 |
+
"per_token.throughput.value": 52.232996674196414
|
13 |
}
|
14 |
},
|
15 |
{
|
16 |
"model": "google/gemma-2b",
|
17 |
+
"commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
18 |
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.021830528259277344,
|
21 |
+
"prefill.throughput.value": 320.65188331048296,
|
22 |
+
"decode.latency.mean": 2.566541015625,
|
23 |
+
"decode.throughput.value": 49.48294191553107,
|
24 |
+
"per_token.latency.mean": 0.020207986861702026,
|
25 |
+
"per_token.throughput.value": 49.48538450879489
|
26 |
}
|
27 |
},
|
28 |
{
|
29 |
"model": "google/gemma-2b",
|
30 |
+
"commit": "970a16ec7f693104085fd826523e5c6ce64f2040",
|
31 |
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014175551891326904,
|
34 |
+
"prefill.throughput.value": 493.8079345103201,
|
35 |
+
"decode.latency.mean": 1.565439697265625,
|
36 |
+
"decode.throughput.value": 81.12736646568541,
|
37 |
+
"per_token.latency.mean": 0.012325130297443058,
|
38 |
+
"per_token.throughput.value": 81.13504489339618
|
39 |
}
|
40 |
}
|
41 |
]
|
2024-08-23/summary.json
CHANGED
@@ -1,38 +1,38 @@
|
|
1 |
{
|
2 |
"google/gemma-2b": {
|
3 |
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
-
"
|
5 |
"metrics": {
|
6 |
-
"prefill.latency.mean": 0.
|
7 |
-
"prefill.throughput.value":
|
8 |
-
"decode.latency.mean": 2.
|
9 |
-
"decode.throughput.value":
|
10 |
-
"per_token.latency.mean": 0.
|
11 |
-
"per_token.throughput.value":
|
12 |
}
|
13 |
}
|
14 |
},
|
15 |
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
-
"
|
17 |
"metrics": {
|
18 |
-
"prefill.latency.mean": 0.
|
19 |
-
"prefill.throughput.value":
|
20 |
-
"decode.latency.mean": 2.
|
21 |
-
"decode.throughput.value":
|
22 |
-
"per_token.latency.mean": 0.
|
23 |
-
"per_token.throughput.value":
|
24 |
}
|
25 |
}
|
26 |
},
|
27 |
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
-
"
|
29 |
"metrics": {
|
30 |
-
"prefill.latency.mean": 0.
|
31 |
-
"prefill.throughput.value": 493.
|
32 |
-
"decode.latency.mean": 1.
|
33 |
-
"decode.throughput.value": 81.
|
34 |
-
"per_token.latency.mean": 0.
|
35 |
-
"per_token.throughput.value": 81.
|
36 |
}
|
37 |
}
|
38 |
}
|
|
|
1 |
{
|
2 |
"google/gemma-2b": {
|
3 |
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"970a16ec7f693104085fd826523e5c6ce64f2040": {
|
5 |
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020231648445129397,
|
7 |
+
"prefill.throughput.value": 345.9925679800547,
|
8 |
+
"decode.latency.mean": 2.4315745849609374,
|
9 |
+
"decode.throughput.value": 52.2295309325419,
|
10 |
+
"per_token.latency.mean": 0.019144986190195157,
|
11 |
+
"per_token.throughput.value": 52.232996674196414
|
12 |
}
|
13 |
}
|
14 |
},
|
15 |
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"970a16ec7f693104085fd826523e5c6ce64f2040": {
|
17 |
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.021830528259277344,
|
19 |
+
"prefill.throughput.value": 320.65188331048296,
|
20 |
+
"decode.latency.mean": 2.566541015625,
|
21 |
+
"decode.throughput.value": 49.48294191553107,
|
22 |
+
"per_token.latency.mean": 0.020207986861702026,
|
23 |
+
"per_token.throughput.value": 49.48538450879489
|
24 |
}
|
25 |
}
|
26 |
},
|
27 |
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"970a16ec7f693104085fd826523e5c6ce64f2040": {
|
29 |
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014175551891326904,
|
31 |
+
"prefill.throughput.value": 493.8079345103201,
|
32 |
+
"decode.latency.mean": 1.565439697265625,
|
33 |
+
"decode.throughput.value": 81.12736646568541,
|
34 |
+
"per_token.latency.mean": 0.012325130297443058,
|
35 |
+
"per_token.throughput.value": 81.13504489339618
|
36 |
}
|
37 |
}
|
38 |
}
|