hf-transformers-bot
commited on
Commit
•
850f4f8
1
Parent(s):
bebc9e5
Upload folder using huggingface_hub
Browse files- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/multirun.yaml +234 -0
- 2024-08-31/summaries.json +41 -0
- 2024-08-31/summary.json +40 -0
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
88 |
+
- hydra.run.dir=_benchmark/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863/${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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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": 1320.050688,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.4374990234375,
|
120 |
+
"mean": 11.4374990234375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.4374990234375,
|
123 |
+
"p90": 11.4374990234375,
|
124 |
+
"p95": 11.4374990234375,
|
125 |
+
"p99": 11.4374990234375,
|
126 |
+
"values": [
|
127 |
+
11.4374990234375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1717.98528,
|
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.04114339065551758,
|
147 |
+
"mean": 0.02057169532775879,
|
148 |
+
"stdev": 8.436775207519565e-05,
|
149 |
+
"p50": 0.02057169532775879,
|
150 |
+
"p90": 0.020639189529418945,
|
151 |
+
"p95": 0.020647626304626465,
|
152 |
+
"p99": 0.020654375724792482,
|
153 |
+
"values": [
|
154 |
+
0.020487327575683594,
|
155 |
+
0.020656063079833985
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 340.2733653436148
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1772.064768,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.1325537109375,
|
178 |
+
"mean": 2.56627685546875,
|
179 |
+
"stdev": 0.006726806640624972,
|
180 |
+
"p50": 2.56627685546875,
|
181 |
+
"p90": 2.57165830078125,
|
182 |
+
"p95": 2.572330981445312,
|
183 |
+
"p99": 2.5728691259765624,
|
184 |
+
"values": [
|
185 |
+
2.573003662109375,
|
186 |
+
2.559550048828125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 49.48803545079804
|
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.132227581024169,
|
202 |
+
"mean": 0.02020562039773295,
|
203 |
+
"stdev": 0.00030278131340913644,
|
204 |
+
"p50": 0.02027315139770508,
|
205 |
+
"p90": 0.020379136085510254,
|
206 |
+
"p95": 0.020468632888793945,
|
207 |
+
"p99": 0.02064285774230957,
|
208 |
+
"values": [
|
209 |
+
0.019103744506835937,
|
210 |
+
0.020172800064086914,
|
211 |
+
0.020130815505981444,
|
212 |
+
0.020192256927490236,
|
213 |
+
0.020175872802734376,
|
214 |
+
0.02035916709899902,
|
215 |
+
0.020160512924194338,
|
216 |
+
0.020176895141601564,
|
217 |
+
0.020137983322143553,
|
218 |
+
0.020133888244628906,
|
219 |
+
0.020179967880249023,
|
220 |
+
0.020114431381225584,
|
221 |
+
0.020084735870361328,
|
222 |
+
0.020164608001708984,
|
223 |
+
0.020163583755493163,
|
224 |
+
0.020152320861816408,
|
225 |
+
0.020136959075927736,
|
226 |
+
0.020206592559814454,
|
227 |
+
0.020176895141601564,
|
228 |
+
0.02017791938781738,
|
229 |
+
0.02019430351257324,
|
230 |
+
0.020196352005004883,
|
231 |
+
0.020160512924194338,
|
232 |
+
0.020206592559814454,
|
233 |
+
0.020139007568359374,
|
234 |
+
0.020173824310302735,
|
235 |
+
0.02019327926635742,
|
236 |
+
0.020330495834350586,
|
237 |
+
0.02021171188354492,
|
238 |
+
0.020105215072631837,
|
239 |
+
0.020132863998413086,
|
240 |
+
0.020102144241333008,
|
241 |
+
0.020108287811279296,
|
242 |
+
0.020166656494140626,
|
243 |
+
0.020136959075927736,
|
244 |
+
0.020144128799438478,
|
245 |
+
0.020509695053100584,
|
246 |
+
0.02030080032348633,
|
247 |
+
0.02021683120727539,
|
248 |
+
0.020129791259765627,
|
249 |
+
0.020151296615600587,
|
250 |
+
0.020149248123168945,
|
251 |
+
0.020143104553222657,
|
252 |
+
0.02012057685852051,
|
253 |
+
0.020161535263061522,
|
254 |
+
0.020154367446899413,
|
255 |
+
0.020139007568359374,
|
256 |
+
0.02011136054992676,
|
257 |
+
0.020122623443603514,
|
258 |
+
0.020134912490844727,
|
259 |
+
0.02019430351257324,
|
260 |
+
0.020159488677978517,
|
261 |
+
0.020195327758789062,
|
262 |
+
0.020116479873657226,
|
263 |
+
0.020068351745605468,
|
264 |
+
0.020354047775268554,
|
265 |
+
0.02016972732543945,
|
266 |
+
0.02030182456970215,
|
267 |
+
0.02032640075683594,
|
268 |
+
0.020287488937377928,
|
269 |
+
0.020274175643920898,
|
270 |
+
0.02027724838256836,
|
271 |
+
0.02030080032348633,
|
272 |
+
0.02025574493408203,
|
273 |
+
0.02023526382446289,
|
274 |
+
0.020279296875,
|
275 |
+
0.020315135955810547,
|
276 |
+
0.020347904205322266,
|
277 |
+
0.020349952697753908,
|
278 |
+
0.020313087463378905,
|
279 |
+
0.020305919647216796,
|
280 |
+
0.020338687896728515,
|
281 |
+
0.020583423614501953,
|
282 |
+
0.020463615417480468,
|
283 |
+
0.020330495834350586,
|
284 |
+
0.020338687896728515,
|
285 |
+
0.020313087463378905,
|
286 |
+
0.020363264083862305,
|
287 |
+
0.020265983581542968,
|
288 |
+
0.020345855712890625,
|
289 |
+
0.020338687896728515,
|
290 |
+
0.020299776077270508,
|
291 |
+
0.02025062370300293,
|
292 |
+
0.020330495834350586,
|
293 |
+
0.020332576751708985,
|
294 |
+
0.02033967971801758,
|
295 |
+
0.02037555122375488,
|
296 |
+
0.02027519989013672,
|
297 |
+
0.020288511276245116,
|
298 |
+
0.02027827262878418,
|
299 |
+
0.02033459281921387,
|
300 |
+
0.020254720687866212,
|
301 |
+
0.020264959335327147,
|
302 |
+
0.020279296875,
|
303 |
+
0.020297727584838866,
|
304 |
+
0.020563968658447264,
|
305 |
+
0.02061516761779785,
|
306 |
+
0.021386240005493166,
|
307 |
+
0.020564992904663085,
|
308 |
+
0.02062745666503906,
|
309 |
+
0.020460544586181642,
|
310 |
+
0.020351999282836913,
|
311 |
+
0.020402175903320312,
|
312 |
+
0.020319232940673827,
|
313 |
+
0.02049843215942383,
|
314 |
+
0.020319232940673827,
|
315 |
+
0.0202926082611084,
|
316 |
+
0.02024038314819336,
|
317 |
+
0.020281343460083007,
|
318 |
+
0.020281343460083007,
|
319 |
+
0.02024140739440918,
|
320 |
+
0.02026700782775879,
|
321 |
+
0.02022809600830078,
|
322 |
+
0.020229120254516602,
|
323 |
+
0.020319232940673827,
|
324 |
+
0.02027724838256836,
|
325 |
+
0.020314111709594726,
|
326 |
+
0.020338687896728515,
|
327 |
+
0.020274240493774413,
|
328 |
+
0.020231103897094725,
|
329 |
+
0.020265983581542968,
|
330 |
+
0.02025164794921875,
|
331 |
+
0.020249599456787108,
|
332 |
+
0.020315135955810547,
|
333 |
+
0.02029363250732422,
|
334 |
+
0.020358144760131838,
|
335 |
+
0.02031718444824219,
|
336 |
+
0.01904435157775879,
|
337 |
+
0.018985984802246093,
|
338 |
+
0.01909350395202637,
|
339 |
+
0.019088384628295898,
|
340 |
+
0.019539968490600586,
|
341 |
+
0.01907711982727051,
|
342 |
+
0.01906483268737793,
|
343 |
+
0.0204400634765625,
|
344 |
+
0.020185087203979494,
|
345 |
+
0.02006630325317383,
|
346 |
+
0.020098047256469728,
|
347 |
+
0.020137983322143553,
|
348 |
+
0.019119104385375976,
|
349 |
+
0.019142656326293944,
|
350 |
+
0.019128320693969726,
|
351 |
+
0.019119104385375976,
|
352 |
+
0.019091455459594727,
|
353 |
+
0.019131391525268555,
|
354 |
+
0.019080192565917968,
|
355 |
+
0.0200581111907959,
|
356 |
+
0.020198400497436524,
|
357 |
+
0.020215808868408205,
|
358 |
+
0.020158464431762696,
|
359 |
+
0.020189184188842774,
|
360 |
+
0.020131839752197265,
|
361 |
+
0.020155391693115234,
|
362 |
+
0.02039910316467285,
|
363 |
+
0.020180992126464844,
|
364 |
+
0.02011136054992676,
|
365 |
+
0.020256767272949217,
|
366 |
+
0.02011136054992676,
|
367 |
+
0.020125696182250977,
|
368 |
+
0.020149248123168945,
|
369 |
+
0.02008576011657715,
|
370 |
+
0.020221952438354493,
|
371 |
+
0.02011136054992676,
|
372 |
+
0.020114431381225584,
|
373 |
+
0.020369407653808593,
|
374 |
+
0.020248575210571287,
|
375 |
+
0.020207616806030275,
|
376 |
+
0.020200447082519533,
|
377 |
+
0.020183040618896485,
|
378 |
+
0.02027008056640625,
|
379 |
+
0.02019430351257324,
|
380 |
+
0.020306943893432617,
|
381 |
+
0.020141056060791016,
|
382 |
+
0.020147199630737304,
|
383 |
+
0.020137983322143553,
|
384 |
+
0.020187135696411132,
|
385 |
+
0.02017791938781738,
|
386 |
+
0.020313087463378905,
|
387 |
+
0.020725759506225586,
|
388 |
+
0.020291584014892578,
|
389 |
+
0.020142080307006836,
|
390 |
+
0.02020147132873535,
|
391 |
+
0.020179967880249023,
|
392 |
+
0.020147199630737304,
|
393 |
+
0.020344831466674804,
|
394 |
+
0.02027008056640625,
|
395 |
+
0.020366336822509764,
|
396 |
+
0.020311040878295897,
|
397 |
+
0.02020966339111328,
|
398 |
+
0.020331520080566406,
|
399 |
+
0.02026905632019043,
|
400 |
+
0.02041548728942871,
|
401 |
+
0.02028339195251465,
|
402 |
+
0.020297727584838866,
|
403 |
+
0.020328447341918944,
|
404 |
+
0.020366336822509764,
|
405 |
+
0.020477951049804686,
|
406 |
+
0.020540416717529295,
|
407 |
+
0.020397056579589845,
|
408 |
+
0.020324352264404297,
|
409 |
+
0.020343807220458983,
|
410 |
+
0.02031718444824219,
|
411 |
+
0.020380672454833985,
|
412 |
+
0.020592639923095703,
|
413 |
+
0.020304895401000975,
|
414 |
+
0.02027724838256836,
|
415 |
+
0.020362239837646484,
|
416 |
+
0.020344831466674804,
|
417 |
+
0.02028544044494629,
|
418 |
+
0.02033459281921387,
|
419 |
+
0.020364288330078126,
|
420 |
+
0.020395008087158203,
|
421 |
+
0.020332544326782227,
|
422 |
+
0.020299776077270508,
|
423 |
+
0.020271104812622072,
|
424 |
+
0.020296703338623046,
|
425 |
+
0.020384767532348632,
|
426 |
+
0.020291584014892578,
|
427 |
+
0.020324352264404297,
|
428 |
+
0.02030080032348633,
|
429 |
+
0.020290559768676757,
|
430 |
+
0.020321279525756835,
|
431 |
+
0.020265983581542968,
|
432 |
+
0.02020966339111328,
|
433 |
+
0.020299776077270508,
|
434 |
+
0.02028339195251465,
|
435 |
+
0.020314111709594726,
|
436 |
+
0.020314111709594726,
|
437 |
+
0.020274175643920898,
|
438 |
+
0.020361215591430663,
|
439 |
+
0.020280319213867186,
|
440 |
+
0.020342784881591795,
|
441 |
+
0.02028339195251465,
|
442 |
+
0.02066022491455078,
|
443 |
+
0.02043084716796875,
|
444 |
+
0.020323328018188477,
|
445 |
+
0.02027008056640625,
|
446 |
+
0.020304895401000975,
|
447 |
+
0.020322303771972656,
|
448 |
+
0.020307968139648438,
|
449 |
+
0.02040012741088867,
|
450 |
+
0.02025881576538086,
|
451 |
+
0.020287488937377928,
|
452 |
+
0.020299776077270508,
|
453 |
+
0.02028339195251465,
|
454 |
+
0.02027212715148926,
|
455 |
+
0.02033459281921387,
|
456 |
+
0.020303871154785155,
|
457 |
+
0.020341760635375978,
|
458 |
+
0.020305919647216796,
|
459 |
+
0.020316160202026368,
|
460 |
+
0.0200949764251709,
|
461 |
+
0.02032640075683594,
|
462 |
+
0.02038374328613281
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 49.491180192230026
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1320.050688,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.4374990234375,
|
15 |
+
"mean": 11.4374990234375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.4374990234375,
|
18 |
+
"p90": 11.4374990234375,
|
19 |
+
"p95": 11.4374990234375,
|
20 |
+
"p99": 11.4374990234375,
|
21 |
+
"values": [
|
22 |
+
11.4374990234375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1717.98528,
|
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.04114339065551758,
|
42 |
+
"mean": 0.02057169532775879,
|
43 |
+
"stdev": 8.436775207519565e-05,
|
44 |
+
"p50": 0.02057169532775879,
|
45 |
+
"p90": 0.020639189529418945,
|
46 |
+
"p95": 0.020647626304626465,
|
47 |
+
"p99": 0.020654375724792482,
|
48 |
+
"values": [
|
49 |
+
0.020487327575683594,
|
50 |
+
0.020656063079833985
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 340.2733653436148
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1772.064768,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.1325537109375,
|
73 |
+
"mean": 2.56627685546875,
|
74 |
+
"stdev": 0.006726806640624972,
|
75 |
+
"p50": 2.56627685546875,
|
76 |
+
"p90": 2.57165830078125,
|
77 |
+
"p95": 2.572330981445312,
|
78 |
+
"p99": 2.5728691259765624,
|
79 |
+
"values": [
|
80 |
+
2.573003662109375,
|
81 |
+
2.559550048828125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 49.48803545079804
|
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.132227581024169,
|
97 |
+
"mean": 0.02020562039773295,
|
98 |
+
"stdev": 0.00030278131340913644,
|
99 |
+
"p50": 0.02027315139770508,
|
100 |
+
"p90": 0.020379136085510254,
|
101 |
+
"p95": 0.020468632888793945,
|
102 |
+
"p99": 0.02064285774230957,
|
103 |
+
"values": [
|
104 |
+
0.019103744506835937,
|
105 |
+
0.020172800064086914,
|
106 |
+
0.020130815505981444,
|
107 |
+
0.020192256927490236,
|
108 |
+
0.020175872802734376,
|
109 |
+
0.02035916709899902,
|
110 |
+
0.020160512924194338,
|
111 |
+
0.020176895141601564,
|
112 |
+
0.020137983322143553,
|
113 |
+
0.020133888244628906,
|
114 |
+
0.020179967880249023,
|
115 |
+
0.020114431381225584,
|
116 |
+
0.020084735870361328,
|
117 |
+
0.020164608001708984,
|
118 |
+
0.020163583755493163,
|
119 |
+
0.020152320861816408,
|
120 |
+
0.020136959075927736,
|
121 |
+
0.020206592559814454,
|
122 |
+
0.020176895141601564,
|
123 |
+
0.02017791938781738,
|
124 |
+
0.02019430351257324,
|
125 |
+
0.020196352005004883,
|
126 |
+
0.020160512924194338,
|
127 |
+
0.020206592559814454,
|
128 |
+
0.020139007568359374,
|
129 |
+
0.020173824310302735,
|
130 |
+
0.02019327926635742,
|
131 |
+
0.020330495834350586,
|
132 |
+
0.02021171188354492,
|
133 |
+
0.020105215072631837,
|
134 |
+
0.020132863998413086,
|
135 |
+
0.020102144241333008,
|
136 |
+
0.020108287811279296,
|
137 |
+
0.020166656494140626,
|
138 |
+
0.020136959075927736,
|
139 |
+
0.020144128799438478,
|
140 |
+
0.020509695053100584,
|
141 |
+
0.02030080032348633,
|
142 |
+
0.02021683120727539,
|
143 |
+
0.020129791259765627,
|
144 |
+
0.020151296615600587,
|
145 |
+
0.020149248123168945,
|
146 |
+
0.020143104553222657,
|
147 |
+
0.02012057685852051,
|
148 |
+
0.020161535263061522,
|
149 |
+
0.020154367446899413,
|
150 |
+
0.020139007568359374,
|
151 |
+
0.02011136054992676,
|
152 |
+
0.020122623443603514,
|
153 |
+
0.020134912490844727,
|
154 |
+
0.02019430351257324,
|
155 |
+
0.020159488677978517,
|
156 |
+
0.020195327758789062,
|
157 |
+
0.020116479873657226,
|
158 |
+
0.020068351745605468,
|
159 |
+
0.020354047775268554,
|
160 |
+
0.02016972732543945,
|
161 |
+
0.02030182456970215,
|
162 |
+
0.02032640075683594,
|
163 |
+
0.020287488937377928,
|
164 |
+
0.020274175643920898,
|
165 |
+
0.02027724838256836,
|
166 |
+
0.02030080032348633,
|
167 |
+
0.02025574493408203,
|
168 |
+
0.02023526382446289,
|
169 |
+
0.020279296875,
|
170 |
+
0.020315135955810547,
|
171 |
+
0.020347904205322266,
|
172 |
+
0.020349952697753908,
|
173 |
+
0.020313087463378905,
|
174 |
+
0.020305919647216796,
|
175 |
+
0.020338687896728515,
|
176 |
+
0.020583423614501953,
|
177 |
+
0.020463615417480468,
|
178 |
+
0.020330495834350586,
|
179 |
+
0.020338687896728515,
|
180 |
+
0.020313087463378905,
|
181 |
+
0.020363264083862305,
|
182 |
+
0.020265983581542968,
|
183 |
+
0.020345855712890625,
|
184 |
+
0.020338687896728515,
|
185 |
+
0.020299776077270508,
|
186 |
+
0.02025062370300293,
|
187 |
+
0.020330495834350586,
|
188 |
+
0.020332576751708985,
|
189 |
+
0.02033967971801758,
|
190 |
+
0.02037555122375488,
|
191 |
+
0.02027519989013672,
|
192 |
+
0.020288511276245116,
|
193 |
+
0.02027827262878418,
|
194 |
+
0.02033459281921387,
|
195 |
+
0.020254720687866212,
|
196 |
+
0.020264959335327147,
|
197 |
+
0.020279296875,
|
198 |
+
0.020297727584838866,
|
199 |
+
0.020563968658447264,
|
200 |
+
0.02061516761779785,
|
201 |
+
0.021386240005493166,
|
202 |
+
0.020564992904663085,
|
203 |
+
0.02062745666503906,
|
204 |
+
0.020460544586181642,
|
205 |
+
0.020351999282836913,
|
206 |
+
0.020402175903320312,
|
207 |
+
0.020319232940673827,
|
208 |
+
0.02049843215942383,
|
209 |
+
0.020319232940673827,
|
210 |
+
0.0202926082611084,
|
211 |
+
0.02024038314819336,
|
212 |
+
0.020281343460083007,
|
213 |
+
0.020281343460083007,
|
214 |
+
0.02024140739440918,
|
215 |
+
0.02026700782775879,
|
216 |
+
0.02022809600830078,
|
217 |
+
0.020229120254516602,
|
218 |
+
0.020319232940673827,
|
219 |
+
0.02027724838256836,
|
220 |
+
0.020314111709594726,
|
221 |
+
0.020338687896728515,
|
222 |
+
0.020274240493774413,
|
223 |
+
0.020231103897094725,
|
224 |
+
0.020265983581542968,
|
225 |
+
0.02025164794921875,
|
226 |
+
0.020249599456787108,
|
227 |
+
0.020315135955810547,
|
228 |
+
0.02029363250732422,
|
229 |
+
0.020358144760131838,
|
230 |
+
0.02031718444824219,
|
231 |
+
0.01904435157775879,
|
232 |
+
0.018985984802246093,
|
233 |
+
0.01909350395202637,
|
234 |
+
0.019088384628295898,
|
235 |
+
0.019539968490600586,
|
236 |
+
0.01907711982727051,
|
237 |
+
0.01906483268737793,
|
238 |
+
0.0204400634765625,
|
239 |
+
0.020185087203979494,
|
240 |
+
0.02006630325317383,
|
241 |
+
0.020098047256469728,
|
242 |
+
0.020137983322143553,
|
243 |
+
0.019119104385375976,
|
244 |
+
0.019142656326293944,
|
245 |
+
0.019128320693969726,
|
246 |
+
0.019119104385375976,
|
247 |
+
0.019091455459594727,
|
248 |
+
0.019131391525268555,
|
249 |
+
0.019080192565917968,
|
250 |
+
0.0200581111907959,
|
251 |
+
0.020198400497436524,
|
252 |
+
0.020215808868408205,
|
253 |
+
0.020158464431762696,
|
254 |
+
0.020189184188842774,
|
255 |
+
0.020131839752197265,
|
256 |
+
0.020155391693115234,
|
257 |
+
0.02039910316467285,
|
258 |
+
0.020180992126464844,
|
259 |
+
0.02011136054992676,
|
260 |
+
0.020256767272949217,
|
261 |
+
0.02011136054992676,
|
262 |
+
0.020125696182250977,
|
263 |
+
0.020149248123168945,
|
264 |
+
0.02008576011657715,
|
265 |
+
0.020221952438354493,
|
266 |
+
0.02011136054992676,
|
267 |
+
0.020114431381225584,
|
268 |
+
0.020369407653808593,
|
269 |
+
0.020248575210571287,
|
270 |
+
0.020207616806030275,
|
271 |
+
0.020200447082519533,
|
272 |
+
0.020183040618896485,
|
273 |
+
0.02027008056640625,
|
274 |
+
0.02019430351257324,
|
275 |
+
0.020306943893432617,
|
276 |
+
0.020141056060791016,
|
277 |
+
0.020147199630737304,
|
278 |
+
0.020137983322143553,
|
279 |
+
0.020187135696411132,
|
280 |
+
0.02017791938781738,
|
281 |
+
0.020313087463378905,
|
282 |
+
0.020725759506225586,
|
283 |
+
0.020291584014892578,
|
284 |
+
0.020142080307006836,
|
285 |
+
0.02020147132873535,
|
286 |
+
0.020179967880249023,
|
287 |
+
0.020147199630737304,
|
288 |
+
0.020344831466674804,
|
289 |
+
0.02027008056640625,
|
290 |
+
0.020366336822509764,
|
291 |
+
0.020311040878295897,
|
292 |
+
0.02020966339111328,
|
293 |
+
0.020331520080566406,
|
294 |
+
0.02026905632019043,
|
295 |
+
0.02041548728942871,
|
296 |
+
0.02028339195251465,
|
297 |
+
0.020297727584838866,
|
298 |
+
0.020328447341918944,
|
299 |
+
0.020366336822509764,
|
300 |
+
0.020477951049804686,
|
301 |
+
0.020540416717529295,
|
302 |
+
0.020397056579589845,
|
303 |
+
0.020324352264404297,
|
304 |
+
0.020343807220458983,
|
305 |
+
0.02031718444824219,
|
306 |
+
0.020380672454833985,
|
307 |
+
0.020592639923095703,
|
308 |
+
0.020304895401000975,
|
309 |
+
0.02027724838256836,
|
310 |
+
0.020362239837646484,
|
311 |
+
0.020344831466674804,
|
312 |
+
0.02028544044494629,
|
313 |
+
0.02033459281921387,
|
314 |
+
0.020364288330078126,
|
315 |
+
0.020395008087158203,
|
316 |
+
0.020332544326782227,
|
317 |
+
0.020299776077270508,
|
318 |
+
0.020271104812622072,
|
319 |
+
0.020296703338623046,
|
320 |
+
0.020384767532348632,
|
321 |
+
0.020291584014892578,
|
322 |
+
0.020324352264404297,
|
323 |
+
0.02030080032348633,
|
324 |
+
0.020290559768676757,
|
325 |
+
0.020321279525756835,
|
326 |
+
0.020265983581542968,
|
327 |
+
0.02020966339111328,
|
328 |
+
0.020299776077270508,
|
329 |
+
0.02028339195251465,
|
330 |
+
0.020314111709594726,
|
331 |
+
0.020314111709594726,
|
332 |
+
0.020274175643920898,
|
333 |
+
0.020361215591430663,
|
334 |
+
0.020280319213867186,
|
335 |
+
0.020342784881591795,
|
336 |
+
0.02028339195251465,
|
337 |
+
0.02066022491455078,
|
338 |
+
0.02043084716796875,
|
339 |
+
0.020323328018188477,
|
340 |
+
0.02027008056640625,
|
341 |
+
0.020304895401000975,
|
342 |
+
0.020322303771972656,
|
343 |
+
0.020307968139648438,
|
344 |
+
0.02040012741088867,
|
345 |
+
0.02025881576538086,
|
346 |
+
0.020287488937377928,
|
347 |
+
0.020299776077270508,
|
348 |
+
0.02028339195251465,
|
349 |
+
0.02027212715148926,
|
350 |
+
0.02033459281921387,
|
351 |
+
0.020303871154785155,
|
352 |
+
0.020341760635375978,
|
353 |
+
0.020305919647216796,
|
354 |
+
0.020316160202026368,
|
355 |
+
0.0200949764251709,
|
356 |
+
0.02032640075683594,
|
357 |
+
0.02038374328613281
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 49.491180192230026
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02057169532775879,
|
7 |
+
"prefill.throughput.value": 340.2733653436148,
|
8 |
+
"decode.latency.mean": 2.56627685546875,
|
9 |
+
"decode.throughput.value": 49.48803545079804,
|
10 |
+
"per_token.latency.mean": 0.02020562039773295,
|
11 |
+
"per_token.throughput.value": 49.491180192230026
|
12 |
+
}
|
13 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
88 |
+
- hydra.run.dir=_benchmark/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863/${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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31 02:41:16,075[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-08-31 02:41:18,455[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
88 |
+
- hydra.run.dir=_benchmark/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863/${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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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": 1320.124416,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 11.3795380859375,
|
120 |
+
"mean": 11.3795380859375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 11.3795380859375,
|
123 |
+
"p90": 11.3795380859375,
|
124 |
+
"p95": 11.3795380859375,
|
125 |
+
"p99": 11.3795380859375,
|
126 |
+
"values": [
|
127 |
+
11.3795380859375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1773.408256,
|
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.0448590087890625,
|
147 |
+
"mean": 0.02242950439453125,
|
148 |
+
"stdev": 0.00048006439208984376,
|
149 |
+
"p50": 0.02242950439453125,
|
150 |
+
"p90": 0.022813555908203123,
|
151 |
+
"p95": 0.022861562347412108,
|
152 |
+
"p99": 0.022899967498779296,
|
153 |
+
"values": [
|
154 |
+
0.022909568786621093,
|
155 |
+
0.021949440002441405
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 312.08892879981494
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1798.320128,
|
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.2794340820312495,
|
178 |
+
"mean": 2.6397170410156248,
|
179 |
+
"stdev": 0.010779785156249888,
|
180 |
+
"p50": 2.6397170410156248,
|
181 |
+
"p90": 2.648340869140625,
|
182 |
+
"p95": 2.64941884765625,
|
183 |
+
"p99": 2.65028123046875,
|
184 |
+
"values": [
|
185 |
+
2.650496826171875,
|
186 |
+
2.628937255859375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.111217235290134
|
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.279174669265746,
|
202 |
+
"mean": 0.020784152241203724,
|
203 |
+
"stdev": 0.00039941183417901467,
|
204 |
+
"p50": 0.020975104331970217,
|
205 |
+
"p90": 0.021112748718261718,
|
206 |
+
"p95": 0.021216461086273192,
|
207 |
+
"p99": 0.021442109870910643,
|
208 |
+
"values": [
|
209 |
+
0.021361663818359376,
|
210 |
+
0.021190656661987304,
|
211 |
+
0.02109644889831543,
|
212 |
+
0.02103500747680664,
|
213 |
+
0.02104012870788574,
|
214 |
+
0.020985855102539062,
|
215 |
+
0.021086208343505858,
|
216 |
+
0.021117952346801756,
|
217 |
+
0.02104934310913086,
|
218 |
+
0.020964351654052735,
|
219 |
+
0.02108518409729004,
|
220 |
+
0.020198400497436524,
|
221 |
+
0.02022809600830078,
|
222 |
+
0.020172800064086914,
|
223 |
+
0.02021171188354492,
|
224 |
+
0.020167680740356447,
|
225 |
+
0.020197376251220703,
|
226 |
+
0.020165632247924805,
|
227 |
+
0.020213760375976563,
|
228 |
+
0.02021990394592285,
|
229 |
+
0.020213760375976563,
|
230 |
+
0.02022707176208496,
|
231 |
+
0.020176895141601564,
|
232 |
+
0.020166656494140626,
|
233 |
+
0.020153343200683595,
|
234 |
+
0.020110336303710938,
|
235 |
+
0.020123647689819335,
|
236 |
+
0.020141056060791016,
|
237 |
+
0.020132863998413086,
|
238 |
+
0.020138015747070314,
|
239 |
+
0.020175840377807615,
|
240 |
+
0.020174848556518556,
|
241 |
+
0.02020351982116699,
|
242 |
+
0.020179967880249023,
|
243 |
+
0.020291584014892578,
|
244 |
+
0.021131263732910157,
|
245 |
+
0.02146816062927246,
|
246 |
+
0.021251071929931642,
|
247 |
+
0.02102374458312988,
|
248 |
+
0.021016576766967773,
|
249 |
+
0.021061632156372072,
|
250 |
+
0.021021696090698243,
|
251 |
+
0.021114879608154297,
|
252 |
+
0.020940799713134766,
|
253 |
+
0.021097471237182617,
|
254 |
+
0.021045248031616212,
|
255 |
+
0.021078016281127928,
|
256 |
+
0.02105548858642578,
|
257 |
+
0.021149696350097655,
|
258 |
+
0.02104319953918457,
|
259 |
+
0.02109132766723633,
|
260 |
+
0.020973567962646485,
|
261 |
+
0.02108415985107422,
|
262 |
+
0.021046272277832033,
|
263 |
+
0.021374975204467773,
|
264 |
+
0.021107776641845703,
|
265 |
+
0.021065664291381837,
|
266 |
+
0.02104729652404785,
|
267 |
+
0.021011455535888672,
|
268 |
+
0.02103398323059082,
|
269 |
+
0.020986879348754883,
|
270 |
+
0.021020671844482423,
|
271 |
+
0.020963327407836914,
|
272 |
+
0.020987903594970703,
|
273 |
+
0.020970495223999023,
|
274 |
+
0.020988927841186524,
|
275 |
+
0.020938751220703124,
|
276 |
+
0.020980735778808594,
|
277 |
+
0.020985855102539062,
|
278 |
+
0.020976640701293944,
|
279 |
+
0.020937728881835937,
|
280 |
+
0.02088960075378418,
|
281 |
+
0.020944896697998046,
|
282 |
+
0.020908031463623047,
|
283 |
+
0.020918272018432618,
|
284 |
+
0.020932607650756836,
|
285 |
+
0.020970495223999023,
|
286 |
+
0.021008384704589843,
|
287 |
+
0.020934656143188478,
|
288 |
+
0.020955135345458984,
|
289 |
+
0.020958208084106447,
|
290 |
+
0.021006336212158205,
|
291 |
+
0.020984832763671874,
|
292 |
+
0.020979711532592774,
|
293 |
+
0.021175296783447265,
|
294 |
+
0.02141900825500488,
|
295 |
+
0.021315584182739256,
|
296 |
+
0.020986879348754883,
|
297 |
+
0.02106879997253418,
|
298 |
+
0.021081087112426757,
|
299 |
+
0.02102272033691406,
|
300 |
+
0.020987903594970703,
|
301 |
+
0.020971519470214844,
|
302 |
+
0.020996095657348633,
|
303 |
+
0.021000192642211913,
|
304 |
+
0.020977664947509765,
|
305 |
+
0.020975616455078124,
|
306 |
+
0.020960256576538085,
|
307 |
+
0.020971519470214844,
|
308 |
+
0.021008384704589843,
|
309 |
+
0.021009408950805664,
|
310 |
+
0.020969472885131835,
|
311 |
+
0.020947967529296875,
|
312 |
+
0.020989952087402345,
|
313 |
+
0.020967424392700194,
|
314 |
+
0.020996095657348633,
|
315 |
+
0.020996095657348633,
|
316 |
+
0.020975616455078124,
|
317 |
+
0.021000192642211913,
|
318 |
+
0.020997119903564454,
|
319 |
+
0.02104217529296875,
|
320 |
+
0.020888576507568358,
|
321 |
+
0.020970495223999023,
|
322 |
+
0.020987903594970703,
|
323 |
+
0.021009408950805664,
|
324 |
+
0.02092748832702637,
|
325 |
+
0.021038080215454103,
|
326 |
+
0.021011455535888672,
|
327 |
+
0.02102579116821289,
|
328 |
+
0.021072895050048827,
|
329 |
+
0.020990976333618162,
|
330 |
+
0.020993024826049804,
|
331 |
+
0.020934656143188478,
|
332 |
+
0.020956159591674805,
|
333 |
+
0.02103910446166992,
|
334 |
+
0.020936704635620116,
|
335 |
+
0.020914176940917968,
|
336 |
+
0.02020351982116699,
|
337 |
+
0.020197376251220703,
|
338 |
+
0.020174848556518556,
|
339 |
+
0.020338687896728515,
|
340 |
+
0.021316608428955077,
|
341 |
+
0.021197824478149413,
|
342 |
+
0.02112512016296387,
|
343 |
+
0.021569536209106444,
|
344 |
+
0.021187583923339845,
|
345 |
+
0.020990976333618162,
|
346 |
+
0.02105855941772461,
|
347 |
+
0.020976640701293944,
|
348 |
+
0.020943872451782225,
|
349 |
+
0.020979711532592774,
|
350 |
+
0.020996095657348633,
|
351 |
+
0.020960256576538085,
|
352 |
+
0.02101862335205078,
|
353 |
+
0.021029888153076173,
|
354 |
+
0.020974592208862306,
|
355 |
+
0.020969472885131835,
|
356 |
+
0.020972543716430665,
|
357 |
+
0.020998144149780275,
|
358 |
+
0.021324800491333007,
|
359 |
+
0.020993024826049804,
|
360 |
+
0.020969472885131835,
|
361 |
+
0.021019647598266602,
|
362 |
+
0.020968448638916014,
|
363 |
+
0.020946943283081054,
|
364 |
+
0.020945920944213867,
|
365 |
+
0.020607999801635742,
|
366 |
+
0.02106368064880371,
|
367 |
+
0.02108006477355957,
|
368 |
+
0.020978687286376953,
|
369 |
+
0.02108006477355957,
|
370 |
+
0.021098495483398438,
|
371 |
+
0.021009408950805664,
|
372 |
+
0.02106060791015625,
|
373 |
+
0.020947967529296875,
|
374 |
+
0.020981760025024415,
|
375 |
+
0.020978687286376953,
|
376 |
+
0.020969472885131835,
|
377 |
+
0.020928512573242186,
|
378 |
+
0.020931583404541015,
|
379 |
+
0.020939775466918945,
|
380 |
+
0.020602880477905275,
|
381 |
+
0.020964351654052735,
|
382 |
+
0.020992000579833983,
|
383 |
+
0.020921344757080077,
|
384 |
+
0.020970495223999023,
|
385 |
+
0.020932607650756836,
|
386 |
+
0.020975616455078124,
|
387 |
+
0.021187679290771484,
|
388 |
+
0.021673887252807618,
|
389 |
+
0.02126438331604004,
|
390 |
+
0.021188608169555666,
|
391 |
+
0.02022502326965332,
|
392 |
+
0.020547584533691408,
|
393 |
+
0.020428800582885744,
|
394 |
+
0.020153343200683595,
|
395 |
+
0.020197376251220703,
|
396 |
+
0.020197376251220703,
|
397 |
+
0.020199424743652345,
|
398 |
+
0.02024140739440918,
|
399 |
+
0.02021887969970703,
|
400 |
+
0.020257791519165038,
|
401 |
+
0.020208639144897463,
|
402 |
+
0.020182016372680665,
|
403 |
+
0.020156415939331054,
|
404 |
+
0.020179967880249023,
|
405 |
+
0.020200447082519533,
|
406 |
+
0.020237312316894532,
|
407 |
+
0.020257791519165038,
|
408 |
+
0.02027827262878418,
|
409 |
+
0.02019430351257324,
|
410 |
+
0.020153343200683595,
|
411 |
+
0.020162559509277343,
|
412 |
+
0.020189184188842774,
|
413 |
+
0.020154367446899413,
|
414 |
+
0.020204544067382812,
|
415 |
+
0.020192256927490236,
|
416 |
+
0.020192256927490236,
|
417 |
+
0.02027519989013672,
|
418 |
+
0.020230144500732423,
|
419 |
+
0.02020249557495117,
|
420 |
+
0.02026700782775879,
|
421 |
+
0.020115455627441405,
|
422 |
+
0.020165632247924805,
|
423 |
+
0.020175872802734376,
|
424 |
+
0.020191232681274415,
|
425 |
+
0.02013903999328613,
|
426 |
+
0.020191200256347658,
|
427 |
+
0.020148223876953125,
|
428 |
+
0.020187135696411132,
|
429 |
+
0.0202106876373291,
|
430 |
+
0.020198400497436524,
|
431 |
+
0.020165664672851562,
|
432 |
+
0.020155359268188476,
|
433 |
+
0.02012774467468262,
|
434 |
+
0.020165632247924805,
|
435 |
+
0.020165632247924805,
|
436 |
+
0.020152320861816408,
|
437 |
+
0.02021887969970703,
|
438 |
+
0.020231168746948244,
|
439 |
+
0.020479072570800783,
|
440 |
+
0.02106153678894043,
|
441 |
+
0.02109040069580078,
|
442 |
+
0.021129119873046876,
|
443 |
+
0.021396480560302734,
|
444 |
+
0.021275648117065428,
|
445 |
+
0.02103910446166992,
|
446 |
+
0.021114879608154297,
|
447 |
+
0.02108723258972168,
|
448 |
+
0.02102579116821289,
|
449 |
+
0.02106368064880371,
|
450 |
+
0.02107084846496582,
|
451 |
+
0.02106879997253418,
|
452 |
+
0.02106777572631836,
|
453 |
+
0.020974592208862306,
|
454 |
+
0.02102783966064453,
|
455 |
+
0.021105663299560547,
|
456 |
+
0.02104217529296875,
|
457 |
+
0.020997119903564454,
|
458 |
+
0.021004287719726563,
|
459 |
+
0.02105446434020996,
|
460 |
+
0.021024768829345702,
|
461 |
+
0.020993024826049804,
|
462 |
+
0.02104115104675293
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.11358136693886
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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": 1320.124416,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 11.3795380859375,
|
15 |
+
"mean": 11.3795380859375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 11.3795380859375,
|
18 |
+
"p90": 11.3795380859375,
|
19 |
+
"p95": 11.3795380859375,
|
20 |
+
"p99": 11.3795380859375,
|
21 |
+
"values": [
|
22 |
+
11.3795380859375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1773.408256,
|
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.0448590087890625,
|
42 |
+
"mean": 0.02242950439453125,
|
43 |
+
"stdev": 0.00048006439208984376,
|
44 |
+
"p50": 0.02242950439453125,
|
45 |
+
"p90": 0.022813555908203123,
|
46 |
+
"p95": 0.022861562347412108,
|
47 |
+
"p99": 0.022899967498779296,
|
48 |
+
"values": [
|
49 |
+
0.022909568786621093,
|
50 |
+
0.021949440002441405
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 312.08892879981494
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1798.320128,
|
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.2794340820312495,
|
73 |
+
"mean": 2.6397170410156248,
|
74 |
+
"stdev": 0.010779785156249888,
|
75 |
+
"p50": 2.6397170410156248,
|
76 |
+
"p90": 2.648340869140625,
|
77 |
+
"p95": 2.64941884765625,
|
78 |
+
"p99": 2.65028123046875,
|
79 |
+
"values": [
|
80 |
+
2.650496826171875,
|
81 |
+
2.628937255859375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.111217235290134
|
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.279174669265746,
|
97 |
+
"mean": 0.020784152241203724,
|
98 |
+
"stdev": 0.00039941183417901467,
|
99 |
+
"p50": 0.020975104331970217,
|
100 |
+
"p90": 0.021112748718261718,
|
101 |
+
"p95": 0.021216461086273192,
|
102 |
+
"p99": 0.021442109870910643,
|
103 |
+
"values": [
|
104 |
+
0.021361663818359376,
|
105 |
+
0.021190656661987304,
|
106 |
+
0.02109644889831543,
|
107 |
+
0.02103500747680664,
|
108 |
+
0.02104012870788574,
|
109 |
+
0.020985855102539062,
|
110 |
+
0.021086208343505858,
|
111 |
+
0.021117952346801756,
|
112 |
+
0.02104934310913086,
|
113 |
+
0.020964351654052735,
|
114 |
+
0.02108518409729004,
|
115 |
+
0.020198400497436524,
|
116 |
+
0.02022809600830078,
|
117 |
+
0.020172800064086914,
|
118 |
+
0.02021171188354492,
|
119 |
+
0.020167680740356447,
|
120 |
+
0.020197376251220703,
|
121 |
+
0.020165632247924805,
|
122 |
+
0.020213760375976563,
|
123 |
+
0.02021990394592285,
|
124 |
+
0.020213760375976563,
|
125 |
+
0.02022707176208496,
|
126 |
+
0.020176895141601564,
|
127 |
+
0.020166656494140626,
|
128 |
+
0.020153343200683595,
|
129 |
+
0.020110336303710938,
|
130 |
+
0.020123647689819335,
|
131 |
+
0.020141056060791016,
|
132 |
+
0.020132863998413086,
|
133 |
+
0.020138015747070314,
|
134 |
+
0.020175840377807615,
|
135 |
+
0.020174848556518556,
|
136 |
+
0.02020351982116699,
|
137 |
+
0.020179967880249023,
|
138 |
+
0.020291584014892578,
|
139 |
+
0.021131263732910157,
|
140 |
+
0.02146816062927246,
|
141 |
+
0.021251071929931642,
|
142 |
+
0.02102374458312988,
|
143 |
+
0.021016576766967773,
|
144 |
+
0.021061632156372072,
|
145 |
+
0.021021696090698243,
|
146 |
+
0.021114879608154297,
|
147 |
+
0.020940799713134766,
|
148 |
+
0.021097471237182617,
|
149 |
+
0.021045248031616212,
|
150 |
+
0.021078016281127928,
|
151 |
+
0.02105548858642578,
|
152 |
+
0.021149696350097655,
|
153 |
+
0.02104319953918457,
|
154 |
+
0.02109132766723633,
|
155 |
+
0.020973567962646485,
|
156 |
+
0.02108415985107422,
|
157 |
+
0.021046272277832033,
|
158 |
+
0.021374975204467773,
|
159 |
+
0.021107776641845703,
|
160 |
+
0.021065664291381837,
|
161 |
+
0.02104729652404785,
|
162 |
+
0.021011455535888672,
|
163 |
+
0.02103398323059082,
|
164 |
+
0.020986879348754883,
|
165 |
+
0.021020671844482423,
|
166 |
+
0.020963327407836914,
|
167 |
+
0.020987903594970703,
|
168 |
+
0.020970495223999023,
|
169 |
+
0.020988927841186524,
|
170 |
+
0.020938751220703124,
|
171 |
+
0.020980735778808594,
|
172 |
+
0.020985855102539062,
|
173 |
+
0.020976640701293944,
|
174 |
+
0.020937728881835937,
|
175 |
+
0.02088960075378418,
|
176 |
+
0.020944896697998046,
|
177 |
+
0.020908031463623047,
|
178 |
+
0.020918272018432618,
|
179 |
+
0.020932607650756836,
|
180 |
+
0.020970495223999023,
|
181 |
+
0.021008384704589843,
|
182 |
+
0.020934656143188478,
|
183 |
+
0.020955135345458984,
|
184 |
+
0.020958208084106447,
|
185 |
+
0.021006336212158205,
|
186 |
+
0.020984832763671874,
|
187 |
+
0.020979711532592774,
|
188 |
+
0.021175296783447265,
|
189 |
+
0.02141900825500488,
|
190 |
+
0.021315584182739256,
|
191 |
+
0.020986879348754883,
|
192 |
+
0.02106879997253418,
|
193 |
+
0.021081087112426757,
|
194 |
+
0.02102272033691406,
|
195 |
+
0.020987903594970703,
|
196 |
+
0.020971519470214844,
|
197 |
+
0.020996095657348633,
|
198 |
+
0.021000192642211913,
|
199 |
+
0.020977664947509765,
|
200 |
+
0.020975616455078124,
|
201 |
+
0.020960256576538085,
|
202 |
+
0.020971519470214844,
|
203 |
+
0.021008384704589843,
|
204 |
+
0.021009408950805664,
|
205 |
+
0.020969472885131835,
|
206 |
+
0.020947967529296875,
|
207 |
+
0.020989952087402345,
|
208 |
+
0.020967424392700194,
|
209 |
+
0.020996095657348633,
|
210 |
+
0.020996095657348633,
|
211 |
+
0.020975616455078124,
|
212 |
+
0.021000192642211913,
|
213 |
+
0.020997119903564454,
|
214 |
+
0.02104217529296875,
|
215 |
+
0.020888576507568358,
|
216 |
+
0.020970495223999023,
|
217 |
+
0.020987903594970703,
|
218 |
+
0.021009408950805664,
|
219 |
+
0.02092748832702637,
|
220 |
+
0.021038080215454103,
|
221 |
+
0.021011455535888672,
|
222 |
+
0.02102579116821289,
|
223 |
+
0.021072895050048827,
|
224 |
+
0.020990976333618162,
|
225 |
+
0.020993024826049804,
|
226 |
+
0.020934656143188478,
|
227 |
+
0.020956159591674805,
|
228 |
+
0.02103910446166992,
|
229 |
+
0.020936704635620116,
|
230 |
+
0.020914176940917968,
|
231 |
+
0.02020351982116699,
|
232 |
+
0.020197376251220703,
|
233 |
+
0.020174848556518556,
|
234 |
+
0.020338687896728515,
|
235 |
+
0.021316608428955077,
|
236 |
+
0.021197824478149413,
|
237 |
+
0.02112512016296387,
|
238 |
+
0.021569536209106444,
|
239 |
+
0.021187583923339845,
|
240 |
+
0.020990976333618162,
|
241 |
+
0.02105855941772461,
|
242 |
+
0.020976640701293944,
|
243 |
+
0.020943872451782225,
|
244 |
+
0.020979711532592774,
|
245 |
+
0.020996095657348633,
|
246 |
+
0.020960256576538085,
|
247 |
+
0.02101862335205078,
|
248 |
+
0.021029888153076173,
|
249 |
+
0.020974592208862306,
|
250 |
+
0.020969472885131835,
|
251 |
+
0.020972543716430665,
|
252 |
+
0.020998144149780275,
|
253 |
+
0.021324800491333007,
|
254 |
+
0.020993024826049804,
|
255 |
+
0.020969472885131835,
|
256 |
+
0.021019647598266602,
|
257 |
+
0.020968448638916014,
|
258 |
+
0.020946943283081054,
|
259 |
+
0.020945920944213867,
|
260 |
+
0.020607999801635742,
|
261 |
+
0.02106368064880371,
|
262 |
+
0.02108006477355957,
|
263 |
+
0.020978687286376953,
|
264 |
+
0.02108006477355957,
|
265 |
+
0.021098495483398438,
|
266 |
+
0.021009408950805664,
|
267 |
+
0.02106060791015625,
|
268 |
+
0.020947967529296875,
|
269 |
+
0.020981760025024415,
|
270 |
+
0.020978687286376953,
|
271 |
+
0.020969472885131835,
|
272 |
+
0.020928512573242186,
|
273 |
+
0.020931583404541015,
|
274 |
+
0.020939775466918945,
|
275 |
+
0.020602880477905275,
|
276 |
+
0.020964351654052735,
|
277 |
+
0.020992000579833983,
|
278 |
+
0.020921344757080077,
|
279 |
+
0.020970495223999023,
|
280 |
+
0.020932607650756836,
|
281 |
+
0.020975616455078124,
|
282 |
+
0.021187679290771484,
|
283 |
+
0.021673887252807618,
|
284 |
+
0.02126438331604004,
|
285 |
+
0.021188608169555666,
|
286 |
+
0.02022502326965332,
|
287 |
+
0.020547584533691408,
|
288 |
+
0.020428800582885744,
|
289 |
+
0.020153343200683595,
|
290 |
+
0.020197376251220703,
|
291 |
+
0.020197376251220703,
|
292 |
+
0.020199424743652345,
|
293 |
+
0.02024140739440918,
|
294 |
+
0.02021887969970703,
|
295 |
+
0.020257791519165038,
|
296 |
+
0.020208639144897463,
|
297 |
+
0.020182016372680665,
|
298 |
+
0.020156415939331054,
|
299 |
+
0.020179967880249023,
|
300 |
+
0.020200447082519533,
|
301 |
+
0.020237312316894532,
|
302 |
+
0.020257791519165038,
|
303 |
+
0.02027827262878418,
|
304 |
+
0.02019430351257324,
|
305 |
+
0.020153343200683595,
|
306 |
+
0.020162559509277343,
|
307 |
+
0.020189184188842774,
|
308 |
+
0.020154367446899413,
|
309 |
+
0.020204544067382812,
|
310 |
+
0.020192256927490236,
|
311 |
+
0.020192256927490236,
|
312 |
+
0.02027519989013672,
|
313 |
+
0.020230144500732423,
|
314 |
+
0.02020249557495117,
|
315 |
+
0.02026700782775879,
|
316 |
+
0.020115455627441405,
|
317 |
+
0.020165632247924805,
|
318 |
+
0.020175872802734376,
|
319 |
+
0.020191232681274415,
|
320 |
+
0.02013903999328613,
|
321 |
+
0.020191200256347658,
|
322 |
+
0.020148223876953125,
|
323 |
+
0.020187135696411132,
|
324 |
+
0.0202106876373291,
|
325 |
+
0.020198400497436524,
|
326 |
+
0.020165664672851562,
|
327 |
+
0.020155359268188476,
|
328 |
+
0.02012774467468262,
|
329 |
+
0.020165632247924805,
|
330 |
+
0.020165632247924805,
|
331 |
+
0.020152320861816408,
|
332 |
+
0.02021887969970703,
|
333 |
+
0.020231168746948244,
|
334 |
+
0.020479072570800783,
|
335 |
+
0.02106153678894043,
|
336 |
+
0.02109040069580078,
|
337 |
+
0.021129119873046876,
|
338 |
+
0.021396480560302734,
|
339 |
+
0.021275648117065428,
|
340 |
+
0.02103910446166992,
|
341 |
+
0.021114879608154297,
|
342 |
+
0.02108723258972168,
|
343 |
+
0.02102579116821289,
|
344 |
+
0.02106368064880371,
|
345 |
+
0.02107084846496582,
|
346 |
+
0.02106879997253418,
|
347 |
+
0.02106777572631836,
|
348 |
+
0.020974592208862306,
|
349 |
+
0.02102783966064453,
|
350 |
+
0.021105663299560547,
|
351 |
+
0.02104217529296875,
|
352 |
+
0.020997119903564454,
|
353 |
+
0.021004287719726563,
|
354 |
+
0.02105446434020996,
|
355 |
+
0.021024768829345702,
|
356 |
+
0.020993024826049804,
|
357 |
+
0.02104115104675293
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.11358136693886
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02242950439453125,
|
7 |
+
"prefill.throughput.value": 312.08892879981494,
|
8 |
+
"decode.latency.mean": 2.6397170410156248,
|
9 |
+
"decode.throughput.value": 48.111217235290134,
|
10 |
+
"per_token.latency.mean": 0.020784152241203724,
|
11 |
+
"per_token.throughput.value": 48.11358136693886
|
12 |
+
}
|
13 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
88 |
+
- hydra.run.dir=_benchmark/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863/${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/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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.380864,
|
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.53351171875,
|
120 |
+
"mean": 12.53351171875,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.53351171875,
|
123 |
+
"p90": 12.53351171875,
|
124 |
+
"p95": 12.53351171875,
|
125 |
+
"p99": 12.53351171875,
|
126 |
+
"values": [
|
127 |
+
12.53351171875
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1851.191296,
|
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.02833523178100586,
|
147 |
+
"mean": 0.01416761589050293,
|
148 |
+
"stdev": 0.0001644802093505853,
|
149 |
+
"p50": 0.01416761589050293,
|
150 |
+
"p90": 0.014299200057983397,
|
151 |
+
"p95": 0.014315648078918457,
|
152 |
+
"p99": 0.014328806495666504,
|
153 |
+
"values": [
|
154 |
+
0.014003135681152344,
|
155 |
+
0.014332096099853515
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 494.08454140067107
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2020.814848,
|
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.1295205078125,
|
178 |
+
"mean": 1.56476025390625,
|
179 |
+
"stdev": 0.000546630859375008,
|
180 |
+
"p50": 1.56476025390625,
|
181 |
+
"p90": 1.56519755859375,
|
182 |
+
"p95": 1.5652522216796876,
|
183 |
+
"p99": 1.5652959521484375,
|
184 |
+
"values": [
|
185 |
+
1.565306884765625,
|
186 |
+
1.564213623046875
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.16259323622172
|
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.129238529205324,
|
202 |
+
"mean": 0.012319836729154812,
|
203 |
+
"stdev": 6.287024485355974e-05,
|
204 |
+
"p50": 0.012309503555297852,
|
205 |
+
"p90": 0.012329676723480225,
|
206 |
+
"p95": 0.012339558506011964,
|
207 |
+
"p99": 0.012576205110549927,
|
208 |
+
"values": [
|
209 |
+
0.012323840141296387,
|
210 |
+
0.012303359985351562,
|
211 |
+
0.012321791648864745,
|
212 |
+
0.012297216415405274,
|
213 |
+
0.012301312446594239,
|
214 |
+
0.012292096138000488,
|
215 |
+
0.012315648078918457,
|
216 |
+
0.012315648078918457,
|
217 |
+
0.012323840141296387,
|
218 |
+
0.012312576293945313,
|
219 |
+
0.012304384231567383,
|
220 |
+
0.012312576293945313,
|
221 |
+
0.012303359985351562,
|
222 |
+
0.012307456016540527,
|
223 |
+
0.012306431770324706,
|
224 |
+
0.012315648078918457,
|
225 |
+
0.012365823745727538,
|
226 |
+
0.012929023742675782,
|
227 |
+
0.012965888023376464,
|
228 |
+
0.012464127540588378,
|
229 |
+
0.012344320297241211,
|
230 |
+
0.012318719863891601,
|
231 |
+
0.012320768356323243,
|
232 |
+
0.012318719863891601,
|
233 |
+
0.012320768356323243,
|
234 |
+
0.012313599586486817,
|
235 |
+
0.012309503555297852,
|
236 |
+
0.012311552047729492,
|
237 |
+
0.012318719863891601,
|
238 |
+
0.012340224266052247,
|
239 |
+
0.012316672325134278,
|
240 |
+
0.012305407524108887,
|
241 |
+
0.012302335739135742,
|
242 |
+
0.012312576293945313,
|
243 |
+
0.012323840141296387,
|
244 |
+
0.012316672325134278,
|
245 |
+
0.012327936172485352,
|
246 |
+
0.012301312446594239,
|
247 |
+
0.012313599586486817,
|
248 |
+
0.012301312446594239,
|
249 |
+
0.012307456016540527,
|
250 |
+
0.012324864387512208,
|
251 |
+
0.012329983711242675,
|
252 |
+
0.012304479598999024,
|
253 |
+
0.012317600250244141,
|
254 |
+
0.012308480262756348,
|
255 |
+
0.012312576293945313,
|
256 |
+
0.012315648078918457,
|
257 |
+
0.012319744110107422,
|
258 |
+
0.012306431770324706,
|
259 |
+
0.012301312446594239,
|
260 |
+
0.012298239707946777,
|
261 |
+
0.012303359985351562,
|
262 |
+
0.012308480262756348,
|
263 |
+
0.012332032203674317,
|
264 |
+
0.012315648078918457,
|
265 |
+
0.012306431770324706,
|
266 |
+
0.012308480262756348,
|
267 |
+
0.012318719863891601,
|
268 |
+
0.012306431770324706,
|
269 |
+
0.012319744110107422,
|
270 |
+
0.012314623832702636,
|
271 |
+
0.012318719863891601,
|
272 |
+
0.012308480262756348,
|
273 |
+
0.012309503555297852,
|
274 |
+
0.012349439620971679,
|
275 |
+
0.012312576293945313,
|
276 |
+
0.012329983711242675,
|
277 |
+
0.012313599586486817,
|
278 |
+
0.012316672325134278,
|
279 |
+
0.01229312038421631,
|
280 |
+
0.012322815895080566,
|
281 |
+
0.012311552047729492,
|
282 |
+
0.012308480262756348,
|
283 |
+
0.012300319671630859,
|
284 |
+
0.012322784423828125,
|
285 |
+
0.012311552047729492,
|
286 |
+
0.012309503555297852,
|
287 |
+
0.012316672325134278,
|
288 |
+
0.012308480262756348,
|
289 |
+
0.012329983711242675,
|
290 |
+
0.012309503555297852,
|
291 |
+
0.012298239707946777,
|
292 |
+
0.012296192169189453,
|
293 |
+
0.012318719863891601,
|
294 |
+
0.012304384231567383,
|
295 |
+
0.012306431770324706,
|
296 |
+
0.012300288200378418,
|
297 |
+
0.012301312446594239,
|
298 |
+
0.012327936172485352,
|
299 |
+
0.012304384231567383,
|
300 |
+
0.012303359985351562,
|
301 |
+
0.012303359985351562,
|
302 |
+
0.012339200019836426,
|
303 |
+
0.012315648078918457,
|
304 |
+
0.012305439949035645,
|
305 |
+
0.01230128002166748,
|
306 |
+
0.012307456016540527,
|
307 |
+
0.012332032203674317,
|
308 |
+
0.012314623832702636,
|
309 |
+
0.012306431770324706,
|
310 |
+
0.012303359985351562,
|
311 |
+
0.012313599586486817,
|
312 |
+
0.012308480262756348,
|
313 |
+
0.012306431770324706,
|
314 |
+
0.012324864387512208,
|
315 |
+
0.012327936172485352,
|
316 |
+
0.012312576293945313,
|
317 |
+
0.012317695617675782,
|
318 |
+
0.012299263954162597,
|
319 |
+
0.012288000106811523,
|
320 |
+
0.012312576293945313,
|
321 |
+
0.012311552047729492,
|
322 |
+
0.012299263954162597,
|
323 |
+
0.012309503555297852,
|
324 |
+
0.012295167922973632,
|
325 |
+
0.012315648078918457,
|
326 |
+
0.012313599586486817,
|
327 |
+
0.012328960418701173,
|
328 |
+
0.012320768356323243,
|
329 |
+
0.012319744110107422,
|
330 |
+
0.012299263954162597,
|
331 |
+
0.012305407524108887,
|
332 |
+
0.012306431770324706,
|
333 |
+
0.012311552047729492,
|
334 |
+
0.012317695617675782,
|
335 |
+
0.012301312446594239,
|
336 |
+
0.01233510398864746,
|
337 |
+
0.012318719863891601,
|
338 |
+
0.012319744110107422,
|
339 |
+
0.012312576293945313,
|
340 |
+
0.012300288200378418,
|
341 |
+
0.012309503555297852,
|
342 |
+
0.012319744110107422,
|
343 |
+
0.012308480262756348,
|
344 |
+
0.012307456016540527,
|
345 |
+
0.012326911926269531,
|
346 |
+
0.01233407974243164,
|
347 |
+
0.012316672325134278,
|
348 |
+
0.012303359985351562,
|
349 |
+
0.012309503555297852,
|
350 |
+
0.012310527801513671,
|
351 |
+
0.012319744110107422,
|
352 |
+
0.012310527801513671,
|
353 |
+
0.012310527801513671,
|
354 |
+
0.012302335739135742,
|
355 |
+
0.012292096138000488,
|
356 |
+
0.012301312446594239,
|
357 |
+
0.012304384231567383,
|
358 |
+
0.012320768356323243,
|
359 |
+
0.012303359985351562,
|
360 |
+
0.012309503555297852,
|
361 |
+
0.012295167922973632,
|
362 |
+
0.012314623832702636,
|
363 |
+
0.012306431770324706,
|
364 |
+
0.012307456016540527,
|
365 |
+
0.012312576293945313,
|
366 |
+
0.012300288200378418,
|
367 |
+
0.012301312446594239,
|
368 |
+
0.012303359985351562,
|
369 |
+
0.012308480262756348,
|
370 |
+
0.01229312038421631,
|
371 |
+
0.012320768356323243,
|
372 |
+
0.012302335739135742,
|
373 |
+
0.012315648078918457,
|
374 |
+
0.012314623832702636,
|
375 |
+
0.012311552047729492,
|
376 |
+
0.012307456016540527,
|
377 |
+
0.012311552047729492,
|
378 |
+
0.012304384231567383,
|
379 |
+
0.012301312446594239,
|
380 |
+
0.012300288200378418,
|
381 |
+
0.012301312446594239,
|
382 |
+
0.012310527801513671,
|
383 |
+
0.012311552047729492,
|
384 |
+
0.012329983711242675,
|
385 |
+
0.012300288200378418,
|
386 |
+
0.012298239707946777,
|
387 |
+
0.012331007957458496,
|
388 |
+
0.012300319671630859,
|
389 |
+
0.012305376052856445,
|
390 |
+
0.012309503555297852,
|
391 |
+
0.012304384231567383,
|
392 |
+
0.012318719863891601,
|
393 |
+
0.012303359985351562,
|
394 |
+
0.012308480262756348,
|
395 |
+
0.012306431770324706,
|
396 |
+
0.012306431770324706,
|
397 |
+
0.012328960418701173,
|
398 |
+
0.012309503555297852,
|
399 |
+
0.012307456016540527,
|
400 |
+
0.012299263954162597,
|
401 |
+
0.012307456016540527,
|
402 |
+
0.012308480262756348,
|
403 |
+
0.012322815895080566,
|
404 |
+
0.012321791648864745,
|
405 |
+
0.012308480262756348,
|
406 |
+
0.012309503555297852,
|
407 |
+
0.012301312446594239,
|
408 |
+
0.012303359985351562,
|
409 |
+
0.012296192169189453,
|
410 |
+
0.012340224266052247,
|
411 |
+
0.012304384231567383,
|
412 |
+
0.012314623832702636,
|
413 |
+
0.012300288200378418,
|
414 |
+
0.012305407524108887,
|
415 |
+
0.012315648078918457,
|
416 |
+
0.012316672325134278,
|
417 |
+
0.012301312446594239,
|
418 |
+
0.012331007957458496,
|
419 |
+
0.01234124755859375,
|
420 |
+
0.012649472236633302,
|
421 |
+
0.012511232376098632,
|
422 |
+
0.012339200019836426,
|
423 |
+
0.012319744110107422,
|
424 |
+
0.012318719863891601,
|
425 |
+
0.012307456016540527,
|
426 |
+
0.012321791648864745,
|
427 |
+
0.012314623832702636,
|
428 |
+
0.012309503555297852,
|
429 |
+
0.012305407524108887,
|
430 |
+
0.012300288200378418,
|
431 |
+
0.012305407524108887,
|
432 |
+
0.012314623832702636,
|
433 |
+
0.012339200019836426,
|
434 |
+
0.012318719863891601,
|
435 |
+
0.012306431770324706,
|
436 |
+
0.012309503555297852,
|
437 |
+
0.012309503555297852,
|
438 |
+
0.012310527801513671,
|
439 |
+
0.012320768356323243,
|
440 |
+
0.012307456016540527,
|
441 |
+
0.012318719863891601,
|
442 |
+
0.012314623832702636,
|
443 |
+
0.012296192169189453,
|
444 |
+
0.012302335739135742,
|
445 |
+
0.012302335739135742,
|
446 |
+
0.01234329605102539,
|
447 |
+
0.012316672325134278,
|
448 |
+
0.012304384231567383,
|
449 |
+
0.012303359985351562,
|
450 |
+
0.01229520034790039,
|
451 |
+
0.012314592361450195,
|
452 |
+
0.012310527801513671,
|
453 |
+
0.012306431770324706,
|
454 |
+
0.012297216415405274,
|
455 |
+
0.012309503555297852,
|
456 |
+
0.012313599586486817,
|
457 |
+
0.012303359985351562,
|
458 |
+
0.012298239707946777,
|
459 |
+
0.012322815895080566,
|
460 |
+
0.012369919776916503,
|
461 |
+
0.012310527801513671,
|
462 |
+
0.012301312446594239
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.16990687331973
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
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-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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.380864,
|
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.53351171875,
|
15 |
+
"mean": 12.53351171875,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.53351171875,
|
18 |
+
"p90": 12.53351171875,
|
19 |
+
"p95": 12.53351171875,
|
20 |
+
"p99": 12.53351171875,
|
21 |
+
"values": [
|
22 |
+
12.53351171875
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1851.191296,
|
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.02833523178100586,
|
42 |
+
"mean": 0.01416761589050293,
|
43 |
+
"stdev": 0.0001644802093505853,
|
44 |
+
"p50": 0.01416761589050293,
|
45 |
+
"p90": 0.014299200057983397,
|
46 |
+
"p95": 0.014315648078918457,
|
47 |
+
"p99": 0.014328806495666504,
|
48 |
+
"values": [
|
49 |
+
0.014003135681152344,
|
50 |
+
0.014332096099853515
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 494.08454140067107
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2020.814848,
|
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.1295205078125,
|
73 |
+
"mean": 1.56476025390625,
|
74 |
+
"stdev": 0.000546630859375008,
|
75 |
+
"p50": 1.56476025390625,
|
76 |
+
"p90": 1.56519755859375,
|
77 |
+
"p95": 1.5652522216796876,
|
78 |
+
"p99": 1.5652959521484375,
|
79 |
+
"values": [
|
80 |
+
1.565306884765625,
|
81 |
+
1.564213623046875
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.16259323622172
|
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.129238529205324,
|
97 |
+
"mean": 0.012319836729154812,
|
98 |
+
"stdev": 6.287024485355974e-05,
|
99 |
+
"p50": 0.012309503555297852,
|
100 |
+
"p90": 0.012329676723480225,
|
101 |
+
"p95": 0.012339558506011964,
|
102 |
+
"p99": 0.012576205110549927,
|
103 |
+
"values": [
|
104 |
+
0.012323840141296387,
|
105 |
+
0.012303359985351562,
|
106 |
+
0.012321791648864745,
|
107 |
+
0.012297216415405274,
|
108 |
+
0.012301312446594239,
|
109 |
+
0.012292096138000488,
|
110 |
+
0.012315648078918457,
|
111 |
+
0.012315648078918457,
|
112 |
+
0.012323840141296387,
|
113 |
+
0.012312576293945313,
|
114 |
+
0.012304384231567383,
|
115 |
+
0.012312576293945313,
|
116 |
+
0.012303359985351562,
|
117 |
+
0.012307456016540527,
|
118 |
+
0.012306431770324706,
|
119 |
+
0.012315648078918457,
|
120 |
+
0.012365823745727538,
|
121 |
+
0.012929023742675782,
|
122 |
+
0.012965888023376464,
|
123 |
+
0.012464127540588378,
|
124 |
+
0.012344320297241211,
|
125 |
+
0.012318719863891601,
|
126 |
+
0.012320768356323243,
|
127 |
+
0.012318719863891601,
|
128 |
+
0.012320768356323243,
|
129 |
+
0.012313599586486817,
|
130 |
+
0.012309503555297852,
|
131 |
+
0.012311552047729492,
|
132 |
+
0.012318719863891601,
|
133 |
+
0.012340224266052247,
|
134 |
+
0.012316672325134278,
|
135 |
+
0.012305407524108887,
|
136 |
+
0.012302335739135742,
|
137 |
+
0.012312576293945313,
|
138 |
+
0.012323840141296387,
|
139 |
+
0.012316672325134278,
|
140 |
+
0.012327936172485352,
|
141 |
+
0.012301312446594239,
|
142 |
+
0.012313599586486817,
|
143 |
+
0.012301312446594239,
|
144 |
+
0.012307456016540527,
|
145 |
+
0.012324864387512208,
|
146 |
+
0.012329983711242675,
|
147 |
+
0.012304479598999024,
|
148 |
+
0.012317600250244141,
|
149 |
+
0.012308480262756348,
|
150 |
+
0.012312576293945313,
|
151 |
+
0.012315648078918457,
|
152 |
+
0.012319744110107422,
|
153 |
+
0.012306431770324706,
|
154 |
+
0.012301312446594239,
|
155 |
+
0.012298239707946777,
|
156 |
+
0.012303359985351562,
|
157 |
+
0.012308480262756348,
|
158 |
+
0.012332032203674317,
|
159 |
+
0.012315648078918457,
|
160 |
+
0.012306431770324706,
|
161 |
+
0.012308480262756348,
|
162 |
+
0.012318719863891601,
|
163 |
+
0.012306431770324706,
|
164 |
+
0.012319744110107422,
|
165 |
+
0.012314623832702636,
|
166 |
+
0.012318719863891601,
|
167 |
+
0.012308480262756348,
|
168 |
+
0.012309503555297852,
|
169 |
+
0.012349439620971679,
|
170 |
+
0.012312576293945313,
|
171 |
+
0.012329983711242675,
|
172 |
+
0.012313599586486817,
|
173 |
+
0.012316672325134278,
|
174 |
+
0.01229312038421631,
|
175 |
+
0.012322815895080566,
|
176 |
+
0.012311552047729492,
|
177 |
+
0.012308480262756348,
|
178 |
+
0.012300319671630859,
|
179 |
+
0.012322784423828125,
|
180 |
+
0.012311552047729492,
|
181 |
+
0.012309503555297852,
|
182 |
+
0.012316672325134278,
|
183 |
+
0.012308480262756348,
|
184 |
+
0.012329983711242675,
|
185 |
+
0.012309503555297852,
|
186 |
+
0.012298239707946777,
|
187 |
+
0.012296192169189453,
|
188 |
+
0.012318719863891601,
|
189 |
+
0.012304384231567383,
|
190 |
+
0.012306431770324706,
|
191 |
+
0.012300288200378418,
|
192 |
+
0.012301312446594239,
|
193 |
+
0.012327936172485352,
|
194 |
+
0.012304384231567383,
|
195 |
+
0.012303359985351562,
|
196 |
+
0.012303359985351562,
|
197 |
+
0.012339200019836426,
|
198 |
+
0.012315648078918457,
|
199 |
+
0.012305439949035645,
|
200 |
+
0.01230128002166748,
|
201 |
+
0.012307456016540527,
|
202 |
+
0.012332032203674317,
|
203 |
+
0.012314623832702636,
|
204 |
+
0.012306431770324706,
|
205 |
+
0.012303359985351562,
|
206 |
+
0.012313599586486817,
|
207 |
+
0.012308480262756348,
|
208 |
+
0.012306431770324706,
|
209 |
+
0.012324864387512208,
|
210 |
+
0.012327936172485352,
|
211 |
+
0.012312576293945313,
|
212 |
+
0.012317695617675782,
|
213 |
+
0.012299263954162597,
|
214 |
+
0.012288000106811523,
|
215 |
+
0.012312576293945313,
|
216 |
+
0.012311552047729492,
|
217 |
+
0.012299263954162597,
|
218 |
+
0.012309503555297852,
|
219 |
+
0.012295167922973632,
|
220 |
+
0.012315648078918457,
|
221 |
+
0.012313599586486817,
|
222 |
+
0.012328960418701173,
|
223 |
+
0.012320768356323243,
|
224 |
+
0.012319744110107422,
|
225 |
+
0.012299263954162597,
|
226 |
+
0.012305407524108887,
|
227 |
+
0.012306431770324706,
|
228 |
+
0.012311552047729492,
|
229 |
+
0.012317695617675782,
|
230 |
+
0.012301312446594239,
|
231 |
+
0.01233510398864746,
|
232 |
+
0.012318719863891601,
|
233 |
+
0.012319744110107422,
|
234 |
+
0.012312576293945313,
|
235 |
+
0.012300288200378418,
|
236 |
+
0.012309503555297852,
|
237 |
+
0.012319744110107422,
|
238 |
+
0.012308480262756348,
|
239 |
+
0.012307456016540527,
|
240 |
+
0.012326911926269531,
|
241 |
+
0.01233407974243164,
|
242 |
+
0.012316672325134278,
|
243 |
+
0.012303359985351562,
|
244 |
+
0.012309503555297852,
|
245 |
+
0.012310527801513671,
|
246 |
+
0.012319744110107422,
|
247 |
+
0.012310527801513671,
|
248 |
+
0.012310527801513671,
|
249 |
+
0.012302335739135742,
|
250 |
+
0.012292096138000488,
|
251 |
+
0.012301312446594239,
|
252 |
+
0.012304384231567383,
|
253 |
+
0.012320768356323243,
|
254 |
+
0.012303359985351562,
|
255 |
+
0.012309503555297852,
|
256 |
+
0.012295167922973632,
|
257 |
+
0.012314623832702636,
|
258 |
+
0.012306431770324706,
|
259 |
+
0.012307456016540527,
|
260 |
+
0.012312576293945313,
|
261 |
+
0.012300288200378418,
|
262 |
+
0.012301312446594239,
|
263 |
+
0.012303359985351562,
|
264 |
+
0.012308480262756348,
|
265 |
+
0.01229312038421631,
|
266 |
+
0.012320768356323243,
|
267 |
+
0.012302335739135742,
|
268 |
+
0.012315648078918457,
|
269 |
+
0.012314623832702636,
|
270 |
+
0.012311552047729492,
|
271 |
+
0.012307456016540527,
|
272 |
+
0.012311552047729492,
|
273 |
+
0.012304384231567383,
|
274 |
+
0.012301312446594239,
|
275 |
+
0.012300288200378418,
|
276 |
+
0.012301312446594239,
|
277 |
+
0.012310527801513671,
|
278 |
+
0.012311552047729492,
|
279 |
+
0.012329983711242675,
|
280 |
+
0.012300288200378418,
|
281 |
+
0.012298239707946777,
|
282 |
+
0.012331007957458496,
|
283 |
+
0.012300319671630859,
|
284 |
+
0.012305376052856445,
|
285 |
+
0.012309503555297852,
|
286 |
+
0.012304384231567383,
|
287 |
+
0.012318719863891601,
|
288 |
+
0.012303359985351562,
|
289 |
+
0.012308480262756348,
|
290 |
+
0.012306431770324706,
|
291 |
+
0.012306431770324706,
|
292 |
+
0.012328960418701173,
|
293 |
+
0.012309503555297852,
|
294 |
+
0.012307456016540527,
|
295 |
+
0.012299263954162597,
|
296 |
+
0.012307456016540527,
|
297 |
+
0.012308480262756348,
|
298 |
+
0.012322815895080566,
|
299 |
+
0.012321791648864745,
|
300 |
+
0.012308480262756348,
|
301 |
+
0.012309503555297852,
|
302 |
+
0.012301312446594239,
|
303 |
+
0.012303359985351562,
|
304 |
+
0.012296192169189453,
|
305 |
+
0.012340224266052247,
|
306 |
+
0.012304384231567383,
|
307 |
+
0.012314623832702636,
|
308 |
+
0.012300288200378418,
|
309 |
+
0.012305407524108887,
|
310 |
+
0.012315648078918457,
|
311 |
+
0.012316672325134278,
|
312 |
+
0.012301312446594239,
|
313 |
+
0.012331007957458496,
|
314 |
+
0.01234124755859375,
|
315 |
+
0.012649472236633302,
|
316 |
+
0.012511232376098632,
|
317 |
+
0.012339200019836426,
|
318 |
+
0.012319744110107422,
|
319 |
+
0.012318719863891601,
|
320 |
+
0.012307456016540527,
|
321 |
+
0.012321791648864745,
|
322 |
+
0.012314623832702636,
|
323 |
+
0.012309503555297852,
|
324 |
+
0.012305407524108887,
|
325 |
+
0.012300288200378418,
|
326 |
+
0.012305407524108887,
|
327 |
+
0.012314623832702636,
|
328 |
+
0.012339200019836426,
|
329 |
+
0.012318719863891601,
|
330 |
+
0.012306431770324706,
|
331 |
+
0.012309503555297852,
|
332 |
+
0.012309503555297852,
|
333 |
+
0.012310527801513671,
|
334 |
+
0.012320768356323243,
|
335 |
+
0.012307456016540527,
|
336 |
+
0.012318719863891601,
|
337 |
+
0.012314623832702636,
|
338 |
+
0.012296192169189453,
|
339 |
+
0.012302335739135742,
|
340 |
+
0.012302335739135742,
|
341 |
+
0.01234329605102539,
|
342 |
+
0.012316672325134278,
|
343 |
+
0.012304384231567383,
|
344 |
+
0.012303359985351562,
|
345 |
+
0.01229520034790039,
|
346 |
+
0.012314592361450195,
|
347 |
+
0.012310527801513671,
|
348 |
+
0.012306431770324706,
|
349 |
+
0.012297216415405274,
|
350 |
+
0.012309503555297852,
|
351 |
+
0.012313599586486817,
|
352 |
+
0.012303359985351562,
|
353 |
+
0.012298239707946777,
|
354 |
+
0.012322815895080566,
|
355 |
+
0.012369919776916503,
|
356 |
+
0.012310527801513671,
|
357 |
+
0.012301312446594239
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.16990687331973
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/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": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01416761589050293,
|
7 |
+
"prefill.throughput.value": 494.08454140067107,
|
8 |
+
"decode.latency.mean": 1.56476025390625,
|
9 |
+
"decode.throughput.value": 81.16259323622172,
|
10 |
+
"per_token.latency.mean": 0.012319836729154812,
|
11 |
+
"per_token.throughput.value": 81.16990687331973
|
12 |
+
}
|
13 |
+
}
|
2024-08-31/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpt1rw7xt6/commit=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863
|
88 |
+
- hydra.run.dir=_benchmark/tmpt1rw7xt6/commit\=746104ba6f0514159d58dc2fb09c887d0e9d4863/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.4.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model_type: null
|
150 |
+
model: google/gemma-2b
|
151 |
+
processor: null
|
152 |
+
device: cuda
|
153 |
+
device_ids: '0'
|
154 |
+
seed: 42
|
155 |
+
inter_op_num_threads: null
|
156 |
+
intra_op_num_threads: null
|
157 |
+
model_kwargs: {}
|
158 |
+
processor_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
memory: true
|
192 |
+
latency: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
numactl: false
|
206 |
+
numactl_kwargs: {}
|
207 |
+
start_method: spawn
|
208 |
+
environment:
|
209 |
+
cpu: ' AMD EPYC 7R32'
|
210 |
+
cpu_count: 16
|
211 |
+
cpu_ram_mb: 66697.261056
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
215 |
+
processor: x86_64
|
216 |
+
python_version: 3.8.10
|
217 |
+
gpu:
|
218 |
+
- NVIDIA A10G
|
219 |
+
gpu_count: 1
|
220 |
+
gpu_vram_mb: 24146608128
|
221 |
+
optimum_benchmark_version: 0.4.0
|
222 |
+
optimum_benchmark_commit: null
|
223 |
+
transformers_version: 4.45.0.dev0
|
224 |
+
transformers_commit: 746104ba6f0514159d58dc2fb09c887d0e9d4863
|
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-31/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02057169532775879,
|
8 |
+
"prefill.throughput.value": 340.2733653436148,
|
9 |
+
"decode.latency.mean": 2.56627685546875,
|
10 |
+
"decode.throughput.value": 49.48803545079804,
|
11 |
+
"per_token.latency.mean": 0.02020562039773295,
|
12 |
+
"per_token.throughput.value": 49.491180192230026
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02242950439453125,
|
21 |
+
"prefill.throughput.value": 312.08892879981494,
|
22 |
+
"decode.latency.mean": 2.6397170410156248,
|
23 |
+
"decode.throughput.value": 48.111217235290134,
|
24 |
+
"per_token.latency.mean": 0.020784152241203724,
|
25 |
+
"per_token.throughput.value": 48.11358136693886
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "746104ba6f0514159d58dc2fb09c887d0e9d4863",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.01416761589050293,
|
34 |
+
"prefill.throughput.value": 494.08454140067107,
|
35 |
+
"decode.latency.mean": 1.56476025390625,
|
36 |
+
"decode.throughput.value": 81.16259323622172,
|
37 |
+
"per_token.latency.mean": 0.012319836729154812,
|
38 |
+
"per_token.throughput.value": 81.16990687331973
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-08-31/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"746104ba6f0514159d58dc2fb09c887d0e9d4863": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02057169532775879,
|
7 |
+
"prefill.throughput.value": 340.2733653436148,
|
8 |
+
"decode.latency.mean": 2.56627685546875,
|
9 |
+
"decode.throughput.value": 49.48803545079804,
|
10 |
+
"per_token.latency.mean": 0.02020562039773295,
|
11 |
+
"per_token.throughput.value": 49.491180192230026
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"746104ba6f0514159d58dc2fb09c887d0e9d4863": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02242950439453125,
|
19 |
+
"prefill.throughput.value": 312.08892879981494,
|
20 |
+
"decode.latency.mean": 2.6397170410156248,
|
21 |
+
"decode.throughput.value": 48.111217235290134,
|
22 |
+
"per_token.latency.mean": 0.020784152241203724,
|
23 |
+
"per_token.throughput.value": 48.11358136693886
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"746104ba6f0514159d58dc2fb09c887d0e9d4863": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.01416761589050293,
|
31 |
+
"prefill.throughput.value": 494.08454140067107,
|
32 |
+
"decode.latency.mean": 1.56476025390625,
|
33 |
+
"decode.throughput.value": 81.16259323622172,
|
34 |
+
"per_token.latency.mean": 0.012319836729154812,
|
35 |
+
"per_token.throughput.value": 81.16990687331973
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|