hf-transformers-bot
commited on
Commit
•
4472f8d
1
Parent(s):
8cba6a4
Upload folder using huggingface_hub
Browse files- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/multirun.yaml +234 -0
- 2024-09-06/summaries.json +41 -0
- 2024-09-06/summary.json +40 -0
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-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: 2b789f27f383435b8db2fee3d10b0a1358c0c234
|
84 |
+
accelerate_version: 0.35.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
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/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234/${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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
94 |
+
"accelerate_version": "0.35.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1319.837696,
|
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.1999306640625,
|
120 |
+
"mean": 12.1999306640625,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.1999306640625,
|
123 |
+
"p90": 12.1999306640625,
|
124 |
+
"p95": 12.1999306640625,
|
125 |
+
"p99": 12.1999306640625,
|
126 |
+
"values": [
|
127 |
+
12.1999306640625
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1728.2048,
|
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.04156041526794434,
|
147 |
+
"mean": 0.02078020763397217,
|
148 |
+
"stdev": 0.00011086368560790996,
|
149 |
+
"p50": 0.02078020763397217,
|
150 |
+
"p90": 0.020868898582458495,
|
151 |
+
"p95": 0.02087998495101929,
|
152 |
+
"p99": 0.02088885404586792,
|
153 |
+
"values": [
|
154 |
+
0.02066934394836426,
|
155 |
+
0.02089107131958008
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 336.8590017626277
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1782.665216,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 4.94774609375,
|
178 |
+
"mean": 2.473873046875,
|
179 |
+
"stdev": 0.004000244140625053,
|
180 |
+
"p50": 2.473873046875,
|
181 |
+
"p90": 2.4770732421875,
|
182 |
+
"p95": 2.4774732666015624,
|
183 |
+
"p99": 2.4777932861328127,
|
184 |
+
"values": [
|
185 |
+
2.477873291015625,
|
186 |
+
2.469872802734375
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 51.336506600622286
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 4.947404802322392,
|
202 |
+
"mean": 0.019477971662686566,
|
203 |
+
"stdev": 0.0002476058042125825,
|
204 |
+
"p50": 0.01943244743347168,
|
205 |
+
"p90": 0.019930726051330564,
|
206 |
+
"p95": 0.020050277614593506,
|
207 |
+
"p99": 0.020250049667358397,
|
208 |
+
"values": [
|
209 |
+
0.01922150421142578,
|
210 |
+
0.019180543899536134,
|
211 |
+
0.01924095916748047,
|
212 |
+
0.01926144027709961,
|
213 |
+
0.019208192825317383,
|
214 |
+
0.019324928283691405,
|
215 |
+
0.01927065658569336,
|
216 |
+
0.019305471420288087,
|
217 |
+
0.019277824401855468,
|
218 |
+
0.01925939178466797,
|
219 |
+
0.019264511108398438,
|
220 |
+
0.01922969627380371,
|
221 |
+
0.019284992218017577,
|
222 |
+
0.019315711975097655,
|
223 |
+
0.01988915252685547,
|
224 |
+
0.019408895492553712,
|
225 |
+
0.01924403190612793,
|
226 |
+
0.019311616897583008,
|
227 |
+
0.019374080657958984,
|
228 |
+
0.019315711975097655,
|
229 |
+
0.019288063049316406,
|
230 |
+
0.019310592651367187,
|
231 |
+
0.019286016464233398,
|
232 |
+
0.019301376342773437,
|
233 |
+
0.01927065658569336,
|
234 |
+
0.019319807052612305,
|
235 |
+
0.0192993278503418,
|
236 |
+
0.019300352096557616,
|
237 |
+
0.019280895233154297,
|
238 |
+
0.019297279357910157,
|
239 |
+
0.01948876762390137,
|
240 |
+
0.019313663482666017,
|
241 |
+
0.019343360900878907,
|
242 |
+
0.019335168838500977,
|
243 |
+
0.0192675838470459,
|
244 |
+
0.019304447174072266,
|
245 |
+
0.019579904556274414,
|
246 |
+
0.019300352096557616,
|
247 |
+
0.0192542724609375,
|
248 |
+
0.019311616897583008,
|
249 |
+
0.019293184280395507,
|
250 |
+
0.01927168083190918,
|
251 |
+
0.019373056411743163,
|
252 |
+
0.019350528717041016,
|
253 |
+
0.01927577590942383,
|
254 |
+
0.019269632339477538,
|
255 |
+
0.01926246452331543,
|
256 |
+
0.019277824401855468,
|
257 |
+
0.01924403190612793,
|
258 |
+
0.019924991607666014,
|
259 |
+
0.019938304901123048,
|
260 |
+
0.020142080307006836,
|
261 |
+
0.020025344848632814,
|
262 |
+
0.01998028755187988,
|
263 |
+
0.019904512405395508,
|
264 |
+
0.020008960723876954,
|
265 |
+
0.019992576599121094,
|
266 |
+
0.020065280914306642,
|
267 |
+
0.02004991912841797,
|
268 |
+
0.020084735870361328,
|
269 |
+
0.02004787254333496,
|
270 |
+
0.02002841567993164,
|
271 |
+
0.02007859230041504,
|
272 |
+
0.020115455627441405,
|
273 |
+
0.02002739143371582,
|
274 |
+
0.0200898551940918,
|
275 |
+
0.020200447082519533,
|
276 |
+
0.020509695053100584,
|
277 |
+
0.01965670394897461,
|
278 |
+
0.01948876762390137,
|
279 |
+
0.019514368057250975,
|
280 |
+
0.01941606330871582,
|
281 |
+
0.01946419143676758,
|
282 |
+
0.019491840362548828,
|
283 |
+
0.02016972732543945,
|
284 |
+
0.02060492706298828,
|
285 |
+
0.01963520050048828,
|
286 |
+
0.01948876762390137,
|
287 |
+
0.019495935440063478,
|
288 |
+
0.01944883155822754,
|
289 |
+
0.019481599807739256,
|
290 |
+
0.019561471939086913,
|
291 |
+
0.019414016723632813,
|
292 |
+
0.019504127502441407,
|
293 |
+
0.019482624053955077,
|
294 |
+
0.019508224487304687,
|
295 |
+
0.019526655197143555,
|
296 |
+
0.019516416549682617,
|
297 |
+
0.01946419143676758,
|
298 |
+
0.01948467254638672,
|
299 |
+
0.019486719131469727,
|
300 |
+
0.019396608352661132,
|
301 |
+
0.01938739204406738,
|
302 |
+
0.01944268798828125,
|
303 |
+
0.019388416290283202,
|
304 |
+
0.01941606330871582,
|
305 |
+
0.019514368057250975,
|
306 |
+
0.01946112060546875,
|
307 |
+
0.01943142318725586,
|
308 |
+
0.019810304641723633,
|
309 |
+
0.019536895751953123,
|
310 |
+
0.019388416290283202,
|
311 |
+
0.01927577590942383,
|
312 |
+
0.01924710464477539,
|
313 |
+
0.019306495666503908,
|
314 |
+
0.019326976776123047,
|
315 |
+
0.01927168083190918,
|
316 |
+
0.01926144027709961,
|
317 |
+
0.019305471420288087,
|
318 |
+
0.01947238349914551,
|
319 |
+
0.019519487380981446,
|
320 |
+
0.019466239929199217,
|
321 |
+
0.01943756866455078,
|
322 |
+
0.019388416290283202,
|
323 |
+
0.01944576072692871,
|
324 |
+
0.019489791870117186,
|
325 |
+
0.019500032424926757,
|
326 |
+
0.019520511627197267,
|
327 |
+
0.019506175994873046,
|
328 |
+
0.019542015075683594,
|
329 |
+
0.019486719131469727,
|
330 |
+
0.01947238349914551,
|
331 |
+
0.01946931266784668,
|
332 |
+
0.019497983932495116,
|
333 |
+
0.019491840362548828,
|
334 |
+
0.019526655197143555,
|
335 |
+
0.019507200241088866,
|
336 |
+
0.0192993278503418,
|
337 |
+
0.019252223968505858,
|
338 |
+
0.01927987289428711,
|
339 |
+
0.019325952529907226,
|
340 |
+
0.019310592651367187,
|
341 |
+
0.019556352615356445,
|
342 |
+
0.01943244743347168,
|
343 |
+
0.019935232162475586,
|
344 |
+
0.019668991088867188,
|
345 |
+
0.01924710464477539,
|
346 |
+
0.019745792388916016,
|
347 |
+
0.019933183670043944,
|
348 |
+
0.019543039321899415,
|
349 |
+
0.019349504470825195,
|
350 |
+
0.019322879791259767,
|
351 |
+
0.019288063049316406,
|
352 |
+
0.019325952529907226,
|
353 |
+
0.019360767364501954,
|
354 |
+
0.01944166374206543,
|
355 |
+
0.019286016464233398,
|
356 |
+
0.019280895233154297,
|
357 |
+
0.019323904037475585,
|
358 |
+
0.019302400588989257,
|
359 |
+
0.019311616897583008,
|
360 |
+
0.01926348876953125,
|
361 |
+
0.019314687728881837,
|
362 |
+
0.019341312408447265,
|
363 |
+
0.01922559928894043,
|
364 |
+
0.019277824401855468,
|
365 |
+
0.019361791610717775,
|
366 |
+
0.0192993278503418,
|
367 |
+
0.019307519912719725,
|
368 |
+
0.019306495666503908,
|
369 |
+
0.01930342483520508,
|
370 |
+
0.019309568405151366,
|
371 |
+
0.019373056411743163,
|
372 |
+
0.019344383239746094,
|
373 |
+
0.019319807052612305,
|
374 |
+
0.019346431732177736,
|
375 |
+
0.019321855545043946,
|
376 |
+
0.019302400588989257,
|
377 |
+
0.01927987289428711,
|
378 |
+
0.019348480224609374,
|
379 |
+
0.019366912841796875,
|
380 |
+
0.019327999114990235,
|
381 |
+
0.019330047607421876,
|
382 |
+
0.019322879791259767,
|
383 |
+
0.019358720779418945,
|
384 |
+
0.01930342483520508,
|
385 |
+
0.019290111541748048,
|
386 |
+
0.01923583984375,
|
387 |
+
0.019142656326293944,
|
388 |
+
0.019151872634887695,
|
389 |
+
0.01929113578796387,
|
390 |
+
0.019305471420288087,
|
391 |
+
0.019304447174072266,
|
392 |
+
0.019313663482666017,
|
393 |
+
0.01945907211303711,
|
394 |
+
0.01945088005065918,
|
395 |
+
0.01942835235595703,
|
396 |
+
0.01945702362060547,
|
397 |
+
0.019404800415039062,
|
398 |
+
0.01946419143676758,
|
399 |
+
0.019495935440063478,
|
400 |
+
0.01945702362060547,
|
401 |
+
0.019521535873413084,
|
402 |
+
0.019961856842041017,
|
403 |
+
0.0195020809173584,
|
404 |
+
0.01947238349914551,
|
405 |
+
0.019491840362548828,
|
406 |
+
0.01943654441833496,
|
407 |
+
0.019533824920654298,
|
408 |
+
0.019458047866821288,
|
409 |
+
0.019497983932495116,
|
410 |
+
0.01945907211303711,
|
411 |
+
0.01945395278930664,
|
412 |
+
0.01943244743347168,
|
413 |
+
0.01940787124633789,
|
414 |
+
0.019405824661254883,
|
415 |
+
0.01949388885498047,
|
416 |
+
0.019506175994873046,
|
417 |
+
0.019471359252929688,
|
418 |
+
0.019398656845092774,
|
419 |
+
0.019467264175415038,
|
420 |
+
0.019487743377685548,
|
421 |
+
0.02002943992614746,
|
422 |
+
0.019418111801147463,
|
423 |
+
0.01942425537109375,
|
424 |
+
0.019377151489257814,
|
425 |
+
0.019467264175415038,
|
426 |
+
0.019478527069091797,
|
427 |
+
0.019451904296875,
|
428 |
+
0.019475456237792968,
|
429 |
+
0.01944780731201172,
|
430 |
+
0.019418111801147463,
|
431 |
+
0.01939558410644531,
|
432 |
+
0.01941196823120117,
|
433 |
+
0.019720191955566405,
|
434 |
+
0.019517440795898438,
|
435 |
+
0.01948057556152344,
|
436 |
+
0.019474431991577147,
|
437 |
+
0.01947238349914551,
|
438 |
+
0.019474431991577147,
|
439 |
+
0.01948057556152344,
|
440 |
+
0.01946112060546875,
|
441 |
+
0.020050943374633787,
|
442 |
+
0.02030598449707031,
|
443 |
+
0.02016556739807129,
|
444 |
+
0.019672063827514647,
|
445 |
+
0.01942835235595703,
|
446 |
+
0.019523584365844726,
|
447 |
+
0.01941913604736328,
|
448 |
+
0.01944780731201172,
|
449 |
+
0.019746816635131836,
|
450 |
+
0.019474431991577147,
|
451 |
+
0.01943654441833496,
|
452 |
+
0.019466239929199217,
|
453 |
+
0.019483648300170898,
|
454 |
+
0.01943961524963379,
|
455 |
+
0.019509248733520508,
|
456 |
+
0.019514368057250975,
|
457 |
+
0.019490816116333007,
|
458 |
+
0.019529727935791014,
|
459 |
+
0.01984819221496582,
|
460 |
+
0.01945599937438965,
|
461 |
+
0.01941606330871582,
|
462 |
+
0.019418111801147463
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 51.340047994610934
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
93 |
+
"accelerate_version": "0.35.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1319.837696,
|
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.1999306640625,
|
15 |
+
"mean": 12.1999306640625,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.1999306640625,
|
18 |
+
"p90": 12.1999306640625,
|
19 |
+
"p95": 12.1999306640625,
|
20 |
+
"p99": 12.1999306640625,
|
21 |
+
"values": [
|
22 |
+
12.1999306640625
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1728.2048,
|
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.04156041526794434,
|
42 |
+
"mean": 0.02078020763397217,
|
43 |
+
"stdev": 0.00011086368560790996,
|
44 |
+
"p50": 0.02078020763397217,
|
45 |
+
"p90": 0.020868898582458495,
|
46 |
+
"p95": 0.02087998495101929,
|
47 |
+
"p99": 0.02088885404586792,
|
48 |
+
"values": [
|
49 |
+
0.02066934394836426,
|
50 |
+
0.02089107131958008
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 336.8590017626277
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1782.665216,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 4.94774609375,
|
73 |
+
"mean": 2.473873046875,
|
74 |
+
"stdev": 0.004000244140625053,
|
75 |
+
"p50": 2.473873046875,
|
76 |
+
"p90": 2.4770732421875,
|
77 |
+
"p95": 2.4774732666015624,
|
78 |
+
"p99": 2.4777932861328127,
|
79 |
+
"values": [
|
80 |
+
2.477873291015625,
|
81 |
+
2.469872802734375
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 51.336506600622286
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 4.947404802322392,
|
97 |
+
"mean": 0.019477971662686566,
|
98 |
+
"stdev": 0.0002476058042125825,
|
99 |
+
"p50": 0.01943244743347168,
|
100 |
+
"p90": 0.019930726051330564,
|
101 |
+
"p95": 0.020050277614593506,
|
102 |
+
"p99": 0.020250049667358397,
|
103 |
+
"values": [
|
104 |
+
0.01922150421142578,
|
105 |
+
0.019180543899536134,
|
106 |
+
0.01924095916748047,
|
107 |
+
0.01926144027709961,
|
108 |
+
0.019208192825317383,
|
109 |
+
0.019324928283691405,
|
110 |
+
0.01927065658569336,
|
111 |
+
0.019305471420288087,
|
112 |
+
0.019277824401855468,
|
113 |
+
0.01925939178466797,
|
114 |
+
0.019264511108398438,
|
115 |
+
0.01922969627380371,
|
116 |
+
0.019284992218017577,
|
117 |
+
0.019315711975097655,
|
118 |
+
0.01988915252685547,
|
119 |
+
0.019408895492553712,
|
120 |
+
0.01924403190612793,
|
121 |
+
0.019311616897583008,
|
122 |
+
0.019374080657958984,
|
123 |
+
0.019315711975097655,
|
124 |
+
0.019288063049316406,
|
125 |
+
0.019310592651367187,
|
126 |
+
0.019286016464233398,
|
127 |
+
0.019301376342773437,
|
128 |
+
0.01927065658569336,
|
129 |
+
0.019319807052612305,
|
130 |
+
0.0192993278503418,
|
131 |
+
0.019300352096557616,
|
132 |
+
0.019280895233154297,
|
133 |
+
0.019297279357910157,
|
134 |
+
0.01948876762390137,
|
135 |
+
0.019313663482666017,
|
136 |
+
0.019343360900878907,
|
137 |
+
0.019335168838500977,
|
138 |
+
0.0192675838470459,
|
139 |
+
0.019304447174072266,
|
140 |
+
0.019579904556274414,
|
141 |
+
0.019300352096557616,
|
142 |
+
0.0192542724609375,
|
143 |
+
0.019311616897583008,
|
144 |
+
0.019293184280395507,
|
145 |
+
0.01927168083190918,
|
146 |
+
0.019373056411743163,
|
147 |
+
0.019350528717041016,
|
148 |
+
0.01927577590942383,
|
149 |
+
0.019269632339477538,
|
150 |
+
0.01926246452331543,
|
151 |
+
0.019277824401855468,
|
152 |
+
0.01924403190612793,
|
153 |
+
0.019924991607666014,
|
154 |
+
0.019938304901123048,
|
155 |
+
0.020142080307006836,
|
156 |
+
0.020025344848632814,
|
157 |
+
0.01998028755187988,
|
158 |
+
0.019904512405395508,
|
159 |
+
0.020008960723876954,
|
160 |
+
0.019992576599121094,
|
161 |
+
0.020065280914306642,
|
162 |
+
0.02004991912841797,
|
163 |
+
0.020084735870361328,
|
164 |
+
0.02004787254333496,
|
165 |
+
0.02002841567993164,
|
166 |
+
0.02007859230041504,
|
167 |
+
0.020115455627441405,
|
168 |
+
0.02002739143371582,
|
169 |
+
0.0200898551940918,
|
170 |
+
0.020200447082519533,
|
171 |
+
0.020509695053100584,
|
172 |
+
0.01965670394897461,
|
173 |
+
0.01948876762390137,
|
174 |
+
0.019514368057250975,
|
175 |
+
0.01941606330871582,
|
176 |
+
0.01946419143676758,
|
177 |
+
0.019491840362548828,
|
178 |
+
0.02016972732543945,
|
179 |
+
0.02060492706298828,
|
180 |
+
0.01963520050048828,
|
181 |
+
0.01948876762390137,
|
182 |
+
0.019495935440063478,
|
183 |
+
0.01944883155822754,
|
184 |
+
0.019481599807739256,
|
185 |
+
0.019561471939086913,
|
186 |
+
0.019414016723632813,
|
187 |
+
0.019504127502441407,
|
188 |
+
0.019482624053955077,
|
189 |
+
0.019508224487304687,
|
190 |
+
0.019526655197143555,
|
191 |
+
0.019516416549682617,
|
192 |
+
0.01946419143676758,
|
193 |
+
0.01948467254638672,
|
194 |
+
0.019486719131469727,
|
195 |
+
0.019396608352661132,
|
196 |
+
0.01938739204406738,
|
197 |
+
0.01944268798828125,
|
198 |
+
0.019388416290283202,
|
199 |
+
0.01941606330871582,
|
200 |
+
0.019514368057250975,
|
201 |
+
0.01946112060546875,
|
202 |
+
0.01943142318725586,
|
203 |
+
0.019810304641723633,
|
204 |
+
0.019536895751953123,
|
205 |
+
0.019388416290283202,
|
206 |
+
0.01927577590942383,
|
207 |
+
0.01924710464477539,
|
208 |
+
0.019306495666503908,
|
209 |
+
0.019326976776123047,
|
210 |
+
0.01927168083190918,
|
211 |
+
0.01926144027709961,
|
212 |
+
0.019305471420288087,
|
213 |
+
0.01947238349914551,
|
214 |
+
0.019519487380981446,
|
215 |
+
0.019466239929199217,
|
216 |
+
0.01943756866455078,
|
217 |
+
0.019388416290283202,
|
218 |
+
0.01944576072692871,
|
219 |
+
0.019489791870117186,
|
220 |
+
0.019500032424926757,
|
221 |
+
0.019520511627197267,
|
222 |
+
0.019506175994873046,
|
223 |
+
0.019542015075683594,
|
224 |
+
0.019486719131469727,
|
225 |
+
0.01947238349914551,
|
226 |
+
0.01946931266784668,
|
227 |
+
0.019497983932495116,
|
228 |
+
0.019491840362548828,
|
229 |
+
0.019526655197143555,
|
230 |
+
0.019507200241088866,
|
231 |
+
0.0192993278503418,
|
232 |
+
0.019252223968505858,
|
233 |
+
0.01927987289428711,
|
234 |
+
0.019325952529907226,
|
235 |
+
0.019310592651367187,
|
236 |
+
0.019556352615356445,
|
237 |
+
0.01943244743347168,
|
238 |
+
0.019935232162475586,
|
239 |
+
0.019668991088867188,
|
240 |
+
0.01924710464477539,
|
241 |
+
0.019745792388916016,
|
242 |
+
0.019933183670043944,
|
243 |
+
0.019543039321899415,
|
244 |
+
0.019349504470825195,
|
245 |
+
0.019322879791259767,
|
246 |
+
0.019288063049316406,
|
247 |
+
0.019325952529907226,
|
248 |
+
0.019360767364501954,
|
249 |
+
0.01944166374206543,
|
250 |
+
0.019286016464233398,
|
251 |
+
0.019280895233154297,
|
252 |
+
0.019323904037475585,
|
253 |
+
0.019302400588989257,
|
254 |
+
0.019311616897583008,
|
255 |
+
0.01926348876953125,
|
256 |
+
0.019314687728881837,
|
257 |
+
0.019341312408447265,
|
258 |
+
0.01922559928894043,
|
259 |
+
0.019277824401855468,
|
260 |
+
0.019361791610717775,
|
261 |
+
0.0192993278503418,
|
262 |
+
0.019307519912719725,
|
263 |
+
0.019306495666503908,
|
264 |
+
0.01930342483520508,
|
265 |
+
0.019309568405151366,
|
266 |
+
0.019373056411743163,
|
267 |
+
0.019344383239746094,
|
268 |
+
0.019319807052612305,
|
269 |
+
0.019346431732177736,
|
270 |
+
0.019321855545043946,
|
271 |
+
0.019302400588989257,
|
272 |
+
0.01927987289428711,
|
273 |
+
0.019348480224609374,
|
274 |
+
0.019366912841796875,
|
275 |
+
0.019327999114990235,
|
276 |
+
0.019330047607421876,
|
277 |
+
0.019322879791259767,
|
278 |
+
0.019358720779418945,
|
279 |
+
0.01930342483520508,
|
280 |
+
0.019290111541748048,
|
281 |
+
0.01923583984375,
|
282 |
+
0.019142656326293944,
|
283 |
+
0.019151872634887695,
|
284 |
+
0.01929113578796387,
|
285 |
+
0.019305471420288087,
|
286 |
+
0.019304447174072266,
|
287 |
+
0.019313663482666017,
|
288 |
+
0.01945907211303711,
|
289 |
+
0.01945088005065918,
|
290 |
+
0.01942835235595703,
|
291 |
+
0.01945702362060547,
|
292 |
+
0.019404800415039062,
|
293 |
+
0.01946419143676758,
|
294 |
+
0.019495935440063478,
|
295 |
+
0.01945702362060547,
|
296 |
+
0.019521535873413084,
|
297 |
+
0.019961856842041017,
|
298 |
+
0.0195020809173584,
|
299 |
+
0.01947238349914551,
|
300 |
+
0.019491840362548828,
|
301 |
+
0.01943654441833496,
|
302 |
+
0.019533824920654298,
|
303 |
+
0.019458047866821288,
|
304 |
+
0.019497983932495116,
|
305 |
+
0.01945907211303711,
|
306 |
+
0.01945395278930664,
|
307 |
+
0.01943244743347168,
|
308 |
+
0.01940787124633789,
|
309 |
+
0.019405824661254883,
|
310 |
+
0.01949388885498047,
|
311 |
+
0.019506175994873046,
|
312 |
+
0.019471359252929688,
|
313 |
+
0.019398656845092774,
|
314 |
+
0.019467264175415038,
|
315 |
+
0.019487743377685548,
|
316 |
+
0.02002943992614746,
|
317 |
+
0.019418111801147463,
|
318 |
+
0.01942425537109375,
|
319 |
+
0.019377151489257814,
|
320 |
+
0.019467264175415038,
|
321 |
+
0.019478527069091797,
|
322 |
+
0.019451904296875,
|
323 |
+
0.019475456237792968,
|
324 |
+
0.01944780731201172,
|
325 |
+
0.019418111801147463,
|
326 |
+
0.01939558410644531,
|
327 |
+
0.01941196823120117,
|
328 |
+
0.019720191955566405,
|
329 |
+
0.019517440795898438,
|
330 |
+
0.01948057556152344,
|
331 |
+
0.019474431991577147,
|
332 |
+
0.01947238349914551,
|
333 |
+
0.019474431991577147,
|
334 |
+
0.01948057556152344,
|
335 |
+
0.01946112060546875,
|
336 |
+
0.020050943374633787,
|
337 |
+
0.02030598449707031,
|
338 |
+
0.02016556739807129,
|
339 |
+
0.019672063827514647,
|
340 |
+
0.01942835235595703,
|
341 |
+
0.019523584365844726,
|
342 |
+
0.01941913604736328,
|
343 |
+
0.01944780731201172,
|
344 |
+
0.019746816635131836,
|
345 |
+
0.019474431991577147,
|
346 |
+
0.01943654441833496,
|
347 |
+
0.019466239929199217,
|
348 |
+
0.019483648300170898,
|
349 |
+
0.01943961524963379,
|
350 |
+
0.019509248733520508,
|
351 |
+
0.019514368057250975,
|
352 |
+
0.019490816116333007,
|
353 |
+
0.019529727935791014,
|
354 |
+
0.01984819221496582,
|
355 |
+
0.01945599937438965,
|
356 |
+
0.01941606330871582,
|
357 |
+
0.019418111801147463
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 51.340047994610934
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02078020763397217,
|
7 |
+
"prefill.throughput.value": 336.8590017626277,
|
8 |
+
"decode.latency.mean": 2.473873046875,
|
9 |
+
"decode.throughput.value": 51.336506600622286,
|
10 |
+
"per_token.latency.mean": 0.019477971662686566,
|
11 |
+
"per_token.throughput.value": 51.340047994610934
|
12 |
+
}
|
13 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-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: 2b789f27f383435b8db2fee3d10b0a1358c0c234
|
84 |
+
accelerate_version: 0.35.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
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/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234/${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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-09-06 09:32:50,652[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-09-06 09:32:53,057[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
93 |
+
"accelerate_version": "0.35.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-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: 2b789f27f383435b8db2fee3d10b0a1358c0c234
|
84 |
+
accelerate_version: 0.35.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
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/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234/${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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
94 |
+
"accelerate_version": "0.35.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1320.562688,
|
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.5718359375,
|
120 |
+
"mean": 12.5718359375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.5718359375,
|
123 |
+
"p90": 12.5718359375,
|
124 |
+
"p95": 12.5718359375,
|
125 |
+
"p99": 12.5718359375,
|
126 |
+
"values": [
|
127 |
+
12.5718359375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1752.899584,
|
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.044606464385986325,
|
147 |
+
"mean": 0.022303232192993162,
|
148 |
+
"stdev": 0.00045017623901367175,
|
149 |
+
"p50": 0.022303232192993162,
|
150 |
+
"p90": 0.0226633731842041,
|
151 |
+
"p95": 0.02270839080810547,
|
152 |
+
"p99": 0.022744404907226564,
|
153 |
+
"values": [
|
154 |
+
0.021853055953979492,
|
155 |
+
0.022753408432006836
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 313.85585458771027
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1777.373184,
|
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.218642822265625,
|
178 |
+
"mean": 2.6093214111328127,
|
179 |
+
"stdev": 0.019110717773437536,
|
180 |
+
"p50": 2.6093214111328127,
|
181 |
+
"p90": 2.6246099853515625,
|
182 |
+
"p95": 2.6265210571289064,
|
183 |
+
"p99": 2.6280499145507816,
|
184 |
+
"values": [
|
185 |
+
2.590210693359375,
|
186 |
+
2.62843212890625
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 48.671658254957606
|
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.21836647224426,
|
202 |
+
"mean": 0.020544749890725446,
|
203 |
+
"stdev": 0.0005098564011117392,
|
204 |
+
"p50": 0.02022707176208496,
|
205 |
+
"p90": 0.02106265640258789,
|
206 |
+
"p95": 0.02111564779281616,
|
207 |
+
"p99": 0.022334269428253173,
|
208 |
+
"values": [
|
209 |
+
0.020187135696411132,
|
210 |
+
0.020205568313598633,
|
211 |
+
0.019928064346313477,
|
212 |
+
0.020007936477661133,
|
213 |
+
0.020164608001708984,
|
214 |
+
0.020167680740356447,
|
215 |
+
0.020179967880249023,
|
216 |
+
0.02021683120727539,
|
217 |
+
0.020172800064086914,
|
218 |
+
0.020238336563110353,
|
219 |
+
0.02024345588684082,
|
220 |
+
0.020414464950561522,
|
221 |
+
0.022540288925170897,
|
222 |
+
0.02202009582519531,
|
223 |
+
0.02086502456665039,
|
224 |
+
0.020560895919799805,
|
225 |
+
0.020178943634033202,
|
226 |
+
0.020188159942626953,
|
227 |
+
0.02022707176208496,
|
228 |
+
0.020160512924194338,
|
229 |
+
0.02022707176208496,
|
230 |
+
0.020213760375976563,
|
231 |
+
0.020257791519165038,
|
232 |
+
0.02021171188354492,
|
233 |
+
0.020174848556518556,
|
234 |
+
0.020154367446899413,
|
235 |
+
0.020157440185546875,
|
236 |
+
0.020145151138305666,
|
237 |
+
0.020594688415527345,
|
238 |
+
0.02061516761779785,
|
239 |
+
0.020132863998413086,
|
240 |
+
0.020165632247924805,
|
241 |
+
0.020159488677978517,
|
242 |
+
0.02019430351257324,
|
243 |
+
0.02021990394592285,
|
244 |
+
0.02025369644165039,
|
245 |
+
0.020237312316894532,
|
246 |
+
0.020165632247924805,
|
247 |
+
0.020215808868408205,
|
248 |
+
0.0202106876373291,
|
249 |
+
0.020150272369384766,
|
250 |
+
0.020150272369384766,
|
251 |
+
0.02019430351257324,
|
252 |
+
0.020099071502685546,
|
253 |
+
0.020135936737060548,
|
254 |
+
0.020172800064086914,
|
255 |
+
0.020125696182250977,
|
256 |
+
0.020163583755493163,
|
257 |
+
0.020161535263061522,
|
258 |
+
0.020117504119873047,
|
259 |
+
0.02023321533203125,
|
260 |
+
0.020124671936035156,
|
261 |
+
0.020173824310302735,
|
262 |
+
0.020175872802734376,
|
263 |
+
0.02016972732543945,
|
264 |
+
0.020164608001708984,
|
265 |
+
0.020213760375976563,
|
266 |
+
0.020162559509277343,
|
267 |
+
0.020204544067382812,
|
268 |
+
0.0202106876373291,
|
269 |
+
0.020197376251220703,
|
270 |
+
0.02020351982116699,
|
271 |
+
0.020381696701049806,
|
272 |
+
0.022401023864746093,
|
273 |
+
0.022140928268432617,
|
274 |
+
0.02045952033996582,
|
275 |
+
0.020170751571655272,
|
276 |
+
0.020214784622192384,
|
277 |
+
0.020159488677978517,
|
278 |
+
0.020174848556518556,
|
279 |
+
0.020189184188842774,
|
280 |
+
0.02032537651062012,
|
281 |
+
0.020369407653808593,
|
282 |
+
0.020205568313598633,
|
283 |
+
0.020176895141601564,
|
284 |
+
0.02069196891784668,
|
285 |
+
0.021767168045043944,
|
286 |
+
0.020839424133300782,
|
287 |
+
0.020754432678222655,
|
288 |
+
0.02109337615966797,
|
289 |
+
0.022212608337402344,
|
290 |
+
0.02104422378540039,
|
291 |
+
0.02027724838256836,
|
292 |
+
0.020242431640625,
|
293 |
+
0.020247552871704103,
|
294 |
+
0.02023219108581543,
|
295 |
+
0.020229120254516602,
|
296 |
+
0.020669439315795898,
|
297 |
+
0.020384767532348632,
|
298 |
+
0.020196352005004883,
|
299 |
+
0.020140031814575195,
|
300 |
+
0.020197376251220703,
|
301 |
+
0.020178943634033202,
|
302 |
+
0.02017791938781738,
|
303 |
+
0.020200447082519533,
|
304 |
+
0.020158464431762696,
|
305 |
+
0.020164608001708984,
|
306 |
+
0.020187135696411132,
|
307 |
+
0.020188159942626953,
|
308 |
+
0.020153343200683595,
|
309 |
+
0.020183040618896485,
|
310 |
+
0.019951616287231445,
|
311 |
+
0.019982336044311523,
|
312 |
+
0.020114431381225584,
|
313 |
+
0.020162559509277343,
|
314 |
+
0.020304895401000975,
|
315 |
+
0.020200447082519533,
|
316 |
+
0.020182016372680665,
|
317 |
+
0.020190208435058594,
|
318 |
+
0.020150272369384766,
|
319 |
+
0.0202106876373291,
|
320 |
+
0.020287488937377928,
|
321 |
+
0.020403200149536133,
|
322 |
+
0.0206059513092041,
|
323 |
+
0.022989824295043947,
|
324 |
+
0.021189632415771483,
|
325 |
+
0.020749311447143554,
|
326 |
+
0.02064384078979492,
|
327 |
+
0.02065920066833496,
|
328 |
+
0.02064076805114746,
|
329 |
+
0.020584447860717774,
|
330 |
+
0.020185087203979494,
|
331 |
+
0.020143104553222657,
|
332 |
+
0.020139007568359374,
|
333 |
+
0.020146175384521483,
|
334 |
+
0.020766719818115235,
|
335 |
+
0.02102374458312988,
|
336 |
+
0.02227507209777832,
|
337 |
+
0.02131455993652344,
|
338 |
+
0.021037055969238282,
|
339 |
+
0.021082111358642578,
|
340 |
+
0.020810752868652343,
|
341 |
+
0.021008384704589843,
|
342 |
+
0.02104832077026367,
|
343 |
+
0.02103398323059082,
|
344 |
+
0.02102374458312988,
|
345 |
+
0.021006336212158205,
|
346 |
+
0.02100223922729492,
|
347 |
+
0.020947967529296875,
|
348 |
+
0.021005311965942384,
|
349 |
+
0.020970495223999023,
|
350 |
+
0.020998144149780275,
|
351 |
+
0.021113855361938477,
|
352 |
+
0.021019647598266602,
|
353 |
+
0.020973567962646485,
|
354 |
+
0.020967424392700194,
|
355 |
+
0.020966400146484376,
|
356 |
+
0.020981760025024415,
|
357 |
+
0.02102783966064453,
|
358 |
+
0.021028863906860353,
|
359 |
+
0.02105036735534668,
|
360 |
+
0.020972543716430665,
|
361 |
+
0.020998144149780275,
|
362 |
+
0.02105241584777832,
|
363 |
+
0.020975616455078124,
|
364 |
+
0.020973567962646485,
|
365 |
+
0.021004287719726563,
|
366 |
+
0.02109235191345215,
|
367 |
+
0.02102374458312988,
|
368 |
+
0.02102783966064453,
|
369 |
+
0.021032960891723632,
|
370 |
+
0.021004287719726563,
|
371 |
+
0.021003263473510742,
|
372 |
+
0.020986879348754883,
|
373 |
+
0.020967424392700194,
|
374 |
+
0.021004287719726563,
|
375 |
+
0.020988927841186524,
|
376 |
+
0.020970495223999023,
|
377 |
+
0.020978687286376953,
|
378 |
+
0.02104729652404785,
|
379 |
+
0.020940799713134766,
|
380 |
+
0.021009408950805664,
|
381 |
+
0.02104832077026367,
|
382 |
+
0.020933631896972657,
|
383 |
+
0.020754432678222655,
|
384 |
+
0.020750335693359375,
|
385 |
+
0.020777984619140624,
|
386 |
+
0.02106265640258789,
|
387 |
+
0.0210882568359375,
|
388 |
+
0.02103193664550781,
|
389 |
+
0.021008384704589843,
|
390 |
+
0.02102374458312988,
|
391 |
+
0.02106265640258789,
|
392 |
+
0.021118976593017577,
|
393 |
+
0.02106470489501953,
|
394 |
+
0.02107904052734375,
|
395 |
+
0.02102579116821289,
|
396 |
+
0.020996095657348633,
|
397 |
+
0.021007360458374022,
|
398 |
+
0.021009408950805664,
|
399 |
+
0.020992000579833983,
|
400 |
+
0.021012479782104493,
|
401 |
+
0.021007360458374022,
|
402 |
+
0.020996095657348633,
|
403 |
+
0.020986879348754883,
|
404 |
+
0.020144128799438478,
|
405 |
+
0.020174848556518556,
|
406 |
+
0.020144128799438478,
|
407 |
+
0.020157440185546875,
|
408 |
+
0.020139007568359374,
|
409 |
+
0.020180992126464844,
|
410 |
+
0.020153343200683595,
|
411 |
+
0.020155391693115234,
|
412 |
+
0.020197376251220703,
|
413 |
+
0.020146175384521483,
|
414 |
+
0.020197376251220703,
|
415 |
+
0.020183040618896485,
|
416 |
+
0.02020966339111328,
|
417 |
+
0.020188159942626953,
|
418 |
+
0.020163583755493163,
|
419 |
+
0.020175872802734376,
|
420 |
+
0.020179967880249023,
|
421 |
+
0.020167680740356447,
|
422 |
+
0.020142080307006836,
|
423 |
+
0.020144128799438478,
|
424 |
+
0.020156415939331054,
|
425 |
+
0.020141056060791016,
|
426 |
+
0.020328447341918944,
|
427 |
+
0.02197104072570801,
|
428 |
+
0.02119772720336914,
|
429 |
+
0.021072895050048827,
|
430 |
+
0.02110771179199219,
|
431 |
+
0.02107084846496582,
|
432 |
+
0.02110771179199219,
|
433 |
+
0.020970495223999023,
|
434 |
+
0.02106572723388672,
|
435 |
+
0.02021683120727539,
|
436 |
+
0.02020966339111328,
|
437 |
+
0.020183040618896485,
|
438 |
+
0.02020966339111328,
|
439 |
+
0.020279296875,
|
440 |
+
0.020156415939331054,
|
441 |
+
0.020183040618896485,
|
442 |
+
0.02021990394592285,
|
443 |
+
0.020164608001708984,
|
444 |
+
0.020154367446899413,
|
445 |
+
0.020124671936035156,
|
446 |
+
0.020146175384521483,
|
447 |
+
0.020123647689819335,
|
448 |
+
0.020166656494140626,
|
449 |
+
0.020124671936035156,
|
450 |
+
0.020113407135009767,
|
451 |
+
0.020150272369384766,
|
452 |
+
0.020129791259765627,
|
453 |
+
0.020114431381225584,
|
454 |
+
0.020125696182250977,
|
455 |
+
0.020117504119873047,
|
456 |
+
0.02067148780822754,
|
457 |
+
0.020273151397705077,
|
458 |
+
0.020175872802734376,
|
459 |
+
0.020157440185546875,
|
460 |
+
0.020192256927490236,
|
461 |
+
0.020143104553222657,
|
462 |
+
0.020148223876953125
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 48.67423576917974
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
93 |
+
"accelerate_version": "0.35.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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.562688,
|
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.5718359375,
|
15 |
+
"mean": 12.5718359375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.5718359375,
|
18 |
+
"p90": 12.5718359375,
|
19 |
+
"p95": 12.5718359375,
|
20 |
+
"p99": 12.5718359375,
|
21 |
+
"values": [
|
22 |
+
12.5718359375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1752.899584,
|
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.044606464385986325,
|
42 |
+
"mean": 0.022303232192993162,
|
43 |
+
"stdev": 0.00045017623901367175,
|
44 |
+
"p50": 0.022303232192993162,
|
45 |
+
"p90": 0.0226633731842041,
|
46 |
+
"p95": 0.02270839080810547,
|
47 |
+
"p99": 0.022744404907226564,
|
48 |
+
"values": [
|
49 |
+
0.021853055953979492,
|
50 |
+
0.022753408432006836
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 313.85585458771027
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1777.373184,
|
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.218642822265625,
|
73 |
+
"mean": 2.6093214111328127,
|
74 |
+
"stdev": 0.019110717773437536,
|
75 |
+
"p50": 2.6093214111328127,
|
76 |
+
"p90": 2.6246099853515625,
|
77 |
+
"p95": 2.6265210571289064,
|
78 |
+
"p99": 2.6280499145507816,
|
79 |
+
"values": [
|
80 |
+
2.590210693359375,
|
81 |
+
2.62843212890625
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 48.671658254957606
|
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.21836647224426,
|
97 |
+
"mean": 0.020544749890725446,
|
98 |
+
"stdev": 0.0005098564011117392,
|
99 |
+
"p50": 0.02022707176208496,
|
100 |
+
"p90": 0.02106265640258789,
|
101 |
+
"p95": 0.02111564779281616,
|
102 |
+
"p99": 0.022334269428253173,
|
103 |
+
"values": [
|
104 |
+
0.020187135696411132,
|
105 |
+
0.020205568313598633,
|
106 |
+
0.019928064346313477,
|
107 |
+
0.020007936477661133,
|
108 |
+
0.020164608001708984,
|
109 |
+
0.020167680740356447,
|
110 |
+
0.020179967880249023,
|
111 |
+
0.02021683120727539,
|
112 |
+
0.020172800064086914,
|
113 |
+
0.020238336563110353,
|
114 |
+
0.02024345588684082,
|
115 |
+
0.020414464950561522,
|
116 |
+
0.022540288925170897,
|
117 |
+
0.02202009582519531,
|
118 |
+
0.02086502456665039,
|
119 |
+
0.020560895919799805,
|
120 |
+
0.020178943634033202,
|
121 |
+
0.020188159942626953,
|
122 |
+
0.02022707176208496,
|
123 |
+
0.020160512924194338,
|
124 |
+
0.02022707176208496,
|
125 |
+
0.020213760375976563,
|
126 |
+
0.020257791519165038,
|
127 |
+
0.02021171188354492,
|
128 |
+
0.020174848556518556,
|
129 |
+
0.020154367446899413,
|
130 |
+
0.020157440185546875,
|
131 |
+
0.020145151138305666,
|
132 |
+
0.020594688415527345,
|
133 |
+
0.02061516761779785,
|
134 |
+
0.020132863998413086,
|
135 |
+
0.020165632247924805,
|
136 |
+
0.020159488677978517,
|
137 |
+
0.02019430351257324,
|
138 |
+
0.02021990394592285,
|
139 |
+
0.02025369644165039,
|
140 |
+
0.020237312316894532,
|
141 |
+
0.020165632247924805,
|
142 |
+
0.020215808868408205,
|
143 |
+
0.0202106876373291,
|
144 |
+
0.020150272369384766,
|
145 |
+
0.020150272369384766,
|
146 |
+
0.02019430351257324,
|
147 |
+
0.020099071502685546,
|
148 |
+
0.020135936737060548,
|
149 |
+
0.020172800064086914,
|
150 |
+
0.020125696182250977,
|
151 |
+
0.020163583755493163,
|
152 |
+
0.020161535263061522,
|
153 |
+
0.020117504119873047,
|
154 |
+
0.02023321533203125,
|
155 |
+
0.020124671936035156,
|
156 |
+
0.020173824310302735,
|
157 |
+
0.020175872802734376,
|
158 |
+
0.02016972732543945,
|
159 |
+
0.020164608001708984,
|
160 |
+
0.020213760375976563,
|
161 |
+
0.020162559509277343,
|
162 |
+
0.020204544067382812,
|
163 |
+
0.0202106876373291,
|
164 |
+
0.020197376251220703,
|
165 |
+
0.02020351982116699,
|
166 |
+
0.020381696701049806,
|
167 |
+
0.022401023864746093,
|
168 |
+
0.022140928268432617,
|
169 |
+
0.02045952033996582,
|
170 |
+
0.020170751571655272,
|
171 |
+
0.020214784622192384,
|
172 |
+
0.020159488677978517,
|
173 |
+
0.020174848556518556,
|
174 |
+
0.020189184188842774,
|
175 |
+
0.02032537651062012,
|
176 |
+
0.020369407653808593,
|
177 |
+
0.020205568313598633,
|
178 |
+
0.020176895141601564,
|
179 |
+
0.02069196891784668,
|
180 |
+
0.021767168045043944,
|
181 |
+
0.020839424133300782,
|
182 |
+
0.020754432678222655,
|
183 |
+
0.02109337615966797,
|
184 |
+
0.022212608337402344,
|
185 |
+
0.02104422378540039,
|
186 |
+
0.02027724838256836,
|
187 |
+
0.020242431640625,
|
188 |
+
0.020247552871704103,
|
189 |
+
0.02023219108581543,
|
190 |
+
0.020229120254516602,
|
191 |
+
0.020669439315795898,
|
192 |
+
0.020384767532348632,
|
193 |
+
0.020196352005004883,
|
194 |
+
0.020140031814575195,
|
195 |
+
0.020197376251220703,
|
196 |
+
0.020178943634033202,
|
197 |
+
0.02017791938781738,
|
198 |
+
0.020200447082519533,
|
199 |
+
0.020158464431762696,
|
200 |
+
0.020164608001708984,
|
201 |
+
0.020187135696411132,
|
202 |
+
0.020188159942626953,
|
203 |
+
0.020153343200683595,
|
204 |
+
0.020183040618896485,
|
205 |
+
0.019951616287231445,
|
206 |
+
0.019982336044311523,
|
207 |
+
0.020114431381225584,
|
208 |
+
0.020162559509277343,
|
209 |
+
0.020304895401000975,
|
210 |
+
0.020200447082519533,
|
211 |
+
0.020182016372680665,
|
212 |
+
0.020190208435058594,
|
213 |
+
0.020150272369384766,
|
214 |
+
0.0202106876373291,
|
215 |
+
0.020287488937377928,
|
216 |
+
0.020403200149536133,
|
217 |
+
0.0206059513092041,
|
218 |
+
0.022989824295043947,
|
219 |
+
0.021189632415771483,
|
220 |
+
0.020749311447143554,
|
221 |
+
0.02064384078979492,
|
222 |
+
0.02065920066833496,
|
223 |
+
0.02064076805114746,
|
224 |
+
0.020584447860717774,
|
225 |
+
0.020185087203979494,
|
226 |
+
0.020143104553222657,
|
227 |
+
0.020139007568359374,
|
228 |
+
0.020146175384521483,
|
229 |
+
0.020766719818115235,
|
230 |
+
0.02102374458312988,
|
231 |
+
0.02227507209777832,
|
232 |
+
0.02131455993652344,
|
233 |
+
0.021037055969238282,
|
234 |
+
0.021082111358642578,
|
235 |
+
0.020810752868652343,
|
236 |
+
0.021008384704589843,
|
237 |
+
0.02104832077026367,
|
238 |
+
0.02103398323059082,
|
239 |
+
0.02102374458312988,
|
240 |
+
0.021006336212158205,
|
241 |
+
0.02100223922729492,
|
242 |
+
0.020947967529296875,
|
243 |
+
0.021005311965942384,
|
244 |
+
0.020970495223999023,
|
245 |
+
0.020998144149780275,
|
246 |
+
0.021113855361938477,
|
247 |
+
0.021019647598266602,
|
248 |
+
0.020973567962646485,
|
249 |
+
0.020967424392700194,
|
250 |
+
0.020966400146484376,
|
251 |
+
0.020981760025024415,
|
252 |
+
0.02102783966064453,
|
253 |
+
0.021028863906860353,
|
254 |
+
0.02105036735534668,
|
255 |
+
0.020972543716430665,
|
256 |
+
0.020998144149780275,
|
257 |
+
0.02105241584777832,
|
258 |
+
0.020975616455078124,
|
259 |
+
0.020973567962646485,
|
260 |
+
0.021004287719726563,
|
261 |
+
0.02109235191345215,
|
262 |
+
0.02102374458312988,
|
263 |
+
0.02102783966064453,
|
264 |
+
0.021032960891723632,
|
265 |
+
0.021004287719726563,
|
266 |
+
0.021003263473510742,
|
267 |
+
0.020986879348754883,
|
268 |
+
0.020967424392700194,
|
269 |
+
0.021004287719726563,
|
270 |
+
0.020988927841186524,
|
271 |
+
0.020970495223999023,
|
272 |
+
0.020978687286376953,
|
273 |
+
0.02104729652404785,
|
274 |
+
0.020940799713134766,
|
275 |
+
0.021009408950805664,
|
276 |
+
0.02104832077026367,
|
277 |
+
0.020933631896972657,
|
278 |
+
0.020754432678222655,
|
279 |
+
0.020750335693359375,
|
280 |
+
0.020777984619140624,
|
281 |
+
0.02106265640258789,
|
282 |
+
0.0210882568359375,
|
283 |
+
0.02103193664550781,
|
284 |
+
0.021008384704589843,
|
285 |
+
0.02102374458312988,
|
286 |
+
0.02106265640258789,
|
287 |
+
0.021118976593017577,
|
288 |
+
0.02106470489501953,
|
289 |
+
0.02107904052734375,
|
290 |
+
0.02102579116821289,
|
291 |
+
0.020996095657348633,
|
292 |
+
0.021007360458374022,
|
293 |
+
0.021009408950805664,
|
294 |
+
0.020992000579833983,
|
295 |
+
0.021012479782104493,
|
296 |
+
0.021007360458374022,
|
297 |
+
0.020996095657348633,
|
298 |
+
0.020986879348754883,
|
299 |
+
0.020144128799438478,
|
300 |
+
0.020174848556518556,
|
301 |
+
0.020144128799438478,
|
302 |
+
0.020157440185546875,
|
303 |
+
0.020139007568359374,
|
304 |
+
0.020180992126464844,
|
305 |
+
0.020153343200683595,
|
306 |
+
0.020155391693115234,
|
307 |
+
0.020197376251220703,
|
308 |
+
0.020146175384521483,
|
309 |
+
0.020197376251220703,
|
310 |
+
0.020183040618896485,
|
311 |
+
0.02020966339111328,
|
312 |
+
0.020188159942626953,
|
313 |
+
0.020163583755493163,
|
314 |
+
0.020175872802734376,
|
315 |
+
0.020179967880249023,
|
316 |
+
0.020167680740356447,
|
317 |
+
0.020142080307006836,
|
318 |
+
0.020144128799438478,
|
319 |
+
0.020156415939331054,
|
320 |
+
0.020141056060791016,
|
321 |
+
0.020328447341918944,
|
322 |
+
0.02197104072570801,
|
323 |
+
0.02119772720336914,
|
324 |
+
0.021072895050048827,
|
325 |
+
0.02110771179199219,
|
326 |
+
0.02107084846496582,
|
327 |
+
0.02110771179199219,
|
328 |
+
0.020970495223999023,
|
329 |
+
0.02106572723388672,
|
330 |
+
0.02021683120727539,
|
331 |
+
0.02020966339111328,
|
332 |
+
0.020183040618896485,
|
333 |
+
0.02020966339111328,
|
334 |
+
0.020279296875,
|
335 |
+
0.020156415939331054,
|
336 |
+
0.020183040618896485,
|
337 |
+
0.02021990394592285,
|
338 |
+
0.020164608001708984,
|
339 |
+
0.020154367446899413,
|
340 |
+
0.020124671936035156,
|
341 |
+
0.020146175384521483,
|
342 |
+
0.020123647689819335,
|
343 |
+
0.020166656494140626,
|
344 |
+
0.020124671936035156,
|
345 |
+
0.020113407135009767,
|
346 |
+
0.020150272369384766,
|
347 |
+
0.020129791259765627,
|
348 |
+
0.020114431381225584,
|
349 |
+
0.020125696182250977,
|
350 |
+
0.020117504119873047,
|
351 |
+
0.02067148780822754,
|
352 |
+
0.020273151397705077,
|
353 |
+
0.020175872802734376,
|
354 |
+
0.020157440185546875,
|
355 |
+
0.020192256927490236,
|
356 |
+
0.020143104553222657,
|
357 |
+
0.020148223876953125
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 48.67423576917974
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022303232192993162,
|
7 |
+
"prefill.throughput.value": 313.85585458771027,
|
8 |
+
"decode.latency.mean": 2.6093214111328127,
|
9 |
+
"decode.throughput.value": 48.671658254957606,
|
10 |
+
"per_token.latency.mean": 0.020544749890725446,
|
11 |
+
"per_token.throughput.value": 48.67423576917974
|
12 |
+
}
|
13 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.252864
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-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: 2b789f27f383435b8db2fee3d10b0a1358c0c234
|
84 |
+
accelerate_version: 0.35.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
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/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234/${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/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.252864,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
94 |
+
"accelerate_version": "0.35.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1337.597952,
|
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.55677734375,
|
120 |
+
"mean": 12.55677734375,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.55677734375,
|
123 |
+
"p90": 12.55677734375,
|
124 |
+
"p95": 12.55677734375,
|
125 |
+
"p99": 12.55677734375,
|
126 |
+
"values": [
|
127 |
+
12.55677734375
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1855.778816,
|
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.028338848114013673,
|
147 |
+
"mean": 0.014169424057006837,
|
148 |
+
"stdev": 0.00011972808837890613,
|
149 |
+
"p50": 0.014169424057006837,
|
150 |
+
"p90": 0.014265206527709962,
|
151 |
+
"p95": 0.014277179336547851,
|
152 |
+
"p99": 0.014286757583618165,
|
153 |
+
"values": [
|
154 |
+
0.01404969596862793,
|
155 |
+
0.014289152145385743
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 494.02149105266363
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2025.320448,
|
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.1313548583984376,
|
178 |
+
"mean": 1.5656774291992188,
|
179 |
+
"stdev": 0.0004463500976562562,
|
180 |
+
"p50": 1.5656774291992188,
|
181 |
+
"p90": 1.5660345092773438,
|
182 |
+
"p95": 1.5660791442871094,
|
183 |
+
"p99": 1.5661148522949218,
|
184 |
+
"values": [
|
185 |
+
1.566123779296875,
|
186 |
+
1.5652310791015625
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.11504811368164
|
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.1310755805969217,
|
202 |
+
"mean": 0.012327069214948519,
|
203 |
+
"stdev": 7.644133586355597e-05,
|
204 |
+
"p50": 0.012311552047729492,
|
205 |
+
"p90": 0.012339200019836426,
|
206 |
+
"p95": 0.01235978226661682,
|
207 |
+
"p99": 0.012790476665496826,
|
208 |
+
"values": [
|
209 |
+
0.0123504638671875,
|
210 |
+
0.012306431770324706,
|
211 |
+
0.012315648078918457,
|
212 |
+
0.012312576293945313,
|
213 |
+
0.012306431770324706,
|
214 |
+
0.012345343589782716,
|
215 |
+
0.012357631683349609,
|
216 |
+
0.012308480262756348,
|
217 |
+
0.012306431770324706,
|
218 |
+
0.012311552047729492,
|
219 |
+
0.012321791648864745,
|
220 |
+
0.012315648078918457,
|
221 |
+
0.012315648078918457,
|
222 |
+
0.012307456016540527,
|
223 |
+
0.012301312446594239,
|
224 |
+
0.01233407974243164,
|
225 |
+
0.012301312446594239,
|
226 |
+
0.012299263954162597,
|
227 |
+
0.012344320297241211,
|
228 |
+
0.012316672325134278,
|
229 |
+
0.012297247886657715,
|
230 |
+
0.01231049633026123,
|
231 |
+
0.012317695617675782,
|
232 |
+
0.012340224266052247,
|
233 |
+
0.012312576293945313,
|
234 |
+
0.012851200103759765,
|
235 |
+
0.01275391960144043,
|
236 |
+
0.012364800453186036,
|
237 |
+
0.012327936172485352,
|
238 |
+
0.012306431770324706,
|
239 |
+
0.012309503555297852,
|
240 |
+
0.012326911926269531,
|
241 |
+
0.012317695617675782,
|
242 |
+
0.012312576293945313,
|
243 |
+
0.012309503555297852,
|
244 |
+
0.012310527801513671,
|
245 |
+
0.012306431770324706,
|
246 |
+
0.012306464195251466,
|
247 |
+
0.012313568115234375,
|
248 |
+
0.012315648078918457,
|
249 |
+
0.01233510398864746,
|
250 |
+
0.012332032203674317,
|
251 |
+
0.012313599586486817,
|
252 |
+
0.012309503555297852,
|
253 |
+
0.01232588768005371,
|
254 |
+
0.012307456016540527,
|
255 |
+
0.012301312446594239,
|
256 |
+
0.012320768356323243,
|
257 |
+
0.012322815895080566,
|
258 |
+
0.012307456016540527,
|
259 |
+
0.012304384231567383,
|
260 |
+
0.012318719863891601,
|
261 |
+
0.012317695617675782,
|
262 |
+
0.012340224266052247,
|
263 |
+
0.012310527801513671,
|
264 |
+
0.012315648078918457,
|
265 |
+
0.012375040054321289,
|
266 |
+
0.012313599586486817,
|
267 |
+
0.012316672325134278,
|
268 |
+
0.012320768356323243,
|
269 |
+
0.012315648078918457,
|
270 |
+
0.012315648078918457,
|
271 |
+
0.012324864387512208,
|
272 |
+
0.012339200019836426,
|
273 |
+
0.012324864387512208,
|
274 |
+
0.012339200019836426,
|
275 |
+
0.012305407524108887,
|
276 |
+
0.012317695617675782,
|
277 |
+
0.012306431770324706,
|
278 |
+
0.012311552047729492,
|
279 |
+
0.012300288200378418,
|
280 |
+
0.012319744110107422,
|
281 |
+
0.012313599586486817,
|
282 |
+
0.012304384231567383,
|
283 |
+
0.012305407524108887,
|
284 |
+
0.012345343589782716,
|
285 |
+
0.012317695617675782,
|
286 |
+
0.012303359985351562,
|
287 |
+
0.012323840141296387,
|
288 |
+
0.012306431770324706,
|
289 |
+
0.012316672325134278,
|
290 |
+
0.01232588768005371,
|
291 |
+
0.012313599586486817,
|
292 |
+
0.01230339241027832,
|
293 |
+
0.01231766414642334,
|
294 |
+
0.012318719863891601,
|
295 |
+
0.012308480262756348,
|
296 |
+
0.012321791648864745,
|
297 |
+
0.012312576293945313,
|
298 |
+
0.012315648078918457,
|
299 |
+
0.012316672325134278,
|
300 |
+
0.012319744110107422,
|
301 |
+
0.012317695617675782,
|
302 |
+
0.012310527801513671,
|
303 |
+
0.012317695617675782,
|
304 |
+
0.012305407524108887,
|
305 |
+
0.012316736221313476,
|
306 |
+
0.012308416366577148,
|
307 |
+
0.012299263954162597,
|
308 |
+
0.012307456016540527,
|
309 |
+
0.012328960418701173,
|
310 |
+
0.012315648078918457,
|
311 |
+
0.012305407524108887,
|
312 |
+
0.012331007957458496,
|
313 |
+
0.012338175773620605,
|
314 |
+
0.012310527801513671,
|
315 |
+
0.012294143676757812,
|
316 |
+
0.01232588768005371,
|
317 |
+
0.012319744110107422,
|
318 |
+
0.012560383796691894,
|
319 |
+
0.012795904159545898,
|
320 |
+
0.012320768356323243,
|
321 |
+
0.01233510398864746,
|
322 |
+
0.012346367835998535,
|
323 |
+
0.012320768356323243,
|
324 |
+
0.012328960418701173,
|
325 |
+
0.012314623832702636,
|
326 |
+
0.012308480262756348,
|
327 |
+
0.012314623832702636,
|
328 |
+
0.012299263954162597,
|
329 |
+
0.012300288200378418,
|
330 |
+
0.012304384231567383,
|
331 |
+
0.012303359985351562,
|
332 |
+
0.012303359985351562,
|
333 |
+
0.012324864387512208,
|
334 |
+
0.012303359985351562,
|
335 |
+
0.012318719863891601,
|
336 |
+
0.012333056449890138,
|
337 |
+
0.012301312446594239,
|
338 |
+
0.012300288200378418,
|
339 |
+
0.012299263954162597,
|
340 |
+
0.012316672325134278,
|
341 |
+
0.012331007957458496,
|
342 |
+
0.012304384231567383,
|
343 |
+
0.012304384231567383,
|
344 |
+
0.012308480262756348,
|
345 |
+
0.012315648078918457,
|
346 |
+
0.012299263954162597,
|
347 |
+
0.012292096138000488,
|
348 |
+
0.012302335739135742,
|
349 |
+
0.012301312446594239,
|
350 |
+
0.01234329605102539,
|
351 |
+
0.012416000366210938,
|
352 |
+
0.012329983711242675,
|
353 |
+
0.012338175773620605,
|
354 |
+
0.012310527801513671,
|
355 |
+
0.012302335739135742,
|
356 |
+
0.012313599586486817,
|
357 |
+
0.012374015808105468,
|
358 |
+
0.012709888458251953,
|
359 |
+
0.012363776206970215,
|
360 |
+
0.012322815895080566,
|
361 |
+
0.012321791648864745,
|
362 |
+
0.012304384231567383,
|
363 |
+
0.012306431770324706,
|
364 |
+
0.012318719863891601,
|
365 |
+
0.012306431770324706,
|
366 |
+
0.012298239707946777,
|
367 |
+
0.012295167922973632,
|
368 |
+
0.012307456016540527,
|
369 |
+
0.012307456016540527,
|
370 |
+
0.012302335739135742,
|
371 |
+
0.012295167922973632,
|
372 |
+
0.012310527801513671,
|
373 |
+
0.012307456016540527,
|
374 |
+
0.012331007957458496,
|
375 |
+
0.012347392082214356,
|
376 |
+
0.012307456016540527,
|
377 |
+
0.012326911926269531,
|
378 |
+
0.012300288200378418,
|
379 |
+
0.012301312446594239,
|
380 |
+
0.012310591697692871,
|
381 |
+
0.012307392120361329,
|
382 |
+
0.012302335739135742,
|
383 |
+
0.012301312446594239,
|
384 |
+
0.012299263954162597,
|
385 |
+
0.012297216415405274,
|
386 |
+
0.012302335739135742,
|
387 |
+
0.012294143676757812,
|
388 |
+
0.012312576293945313,
|
389 |
+
0.012316672325134278,
|
390 |
+
0.012348416328430176,
|
391 |
+
0.012306431770324706,
|
392 |
+
0.012306431770324706,
|
393 |
+
0.012312576293945313,
|
394 |
+
0.012311552047729492,
|
395 |
+
0.012305407524108887,
|
396 |
+
0.01229312038421631,
|
397 |
+
0.012299263954162597,
|
398 |
+
0.012306431770324706,
|
399 |
+
0.012315648078918457,
|
400 |
+
0.012299263954162597,
|
401 |
+
0.012866559982299805,
|
402 |
+
0.012785663604736328,
|
403 |
+
0.012307456016540527,
|
404 |
+
0.012321791648864745,
|
405 |
+
0.012307456016540527,
|
406 |
+
0.012312576293945313,
|
407 |
+
0.012298239707946777,
|
408 |
+
0.012299263954162597,
|
409 |
+
0.012301312446594239,
|
410 |
+
0.012304384231567383,
|
411 |
+
0.012306431770324706,
|
412 |
+
0.012317695617675782,
|
413 |
+
0.012353535652160644,
|
414 |
+
0.012313599586486817,
|
415 |
+
0.012301312446594239,
|
416 |
+
0.012321791648864745,
|
417 |
+
0.012305407524108887,
|
418 |
+
0.012304384231567383,
|
419 |
+
0.012305407524108887,
|
420 |
+
0.012306431770324706,
|
421 |
+
0.012308480262756348,
|
422 |
+
0.012304384231567383,
|
423 |
+
0.012300288200378418,
|
424 |
+
0.012302335739135742,
|
425 |
+
0.012326911926269531,
|
426 |
+
0.012397567749023437,
|
427 |
+
0.012326911926269531,
|
428 |
+
0.012304384231567383,
|
429 |
+
0.012315648078918457,
|
430 |
+
0.012310527801513671,
|
431 |
+
0.012306431770324706,
|
432 |
+
0.012312640190124511,
|
433 |
+
0.012311488151550294,
|
434 |
+
0.012321791648864745,
|
435 |
+
0.012306431770324706,
|
436 |
+
0.012311552047729492,
|
437 |
+
0.012299263954162597,
|
438 |
+
0.012329983711242675,
|
439 |
+
0.012307456016540527,
|
440 |
+
0.012300288200378418,
|
441 |
+
0.012298239707946777,
|
442 |
+
0.012322815895080566,
|
443 |
+
0.012324864387512208,
|
444 |
+
0.012303359985351562,
|
445 |
+
0.012298239707946777,
|
446 |
+
0.012296192169189453,
|
447 |
+
0.012311552047729492,
|
448 |
+
0.012306431770324706,
|
449 |
+
0.012297216415405274,
|
450 |
+
0.012306431770324706,
|
451 |
+
0.012324864387512208,
|
452 |
+
0.012309503555297852,
|
453 |
+
0.012294143676757812,
|
454 |
+
0.012320768356323243,
|
455 |
+
0.012319744110107422,
|
456 |
+
0.012303359985351562,
|
457 |
+
0.012298239707946777,
|
458 |
+
0.012311552047729492,
|
459 |
+
0.012305407524108887,
|
460 |
+
0.012311552047729492,
|
461 |
+
0.012301312446594239,
|
462 |
+
0.012299263954162597
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.12228320964905
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.252864,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
93 |
+
"accelerate_version": "0.35.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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.597952,
|
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.55677734375,
|
15 |
+
"mean": 12.55677734375,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.55677734375,
|
18 |
+
"p90": 12.55677734375,
|
19 |
+
"p95": 12.55677734375,
|
20 |
+
"p99": 12.55677734375,
|
21 |
+
"values": [
|
22 |
+
12.55677734375
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1855.778816,
|
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.028338848114013673,
|
42 |
+
"mean": 0.014169424057006837,
|
43 |
+
"stdev": 0.00011972808837890613,
|
44 |
+
"p50": 0.014169424057006837,
|
45 |
+
"p90": 0.014265206527709962,
|
46 |
+
"p95": 0.014277179336547851,
|
47 |
+
"p99": 0.014286757583618165,
|
48 |
+
"values": [
|
49 |
+
0.01404969596862793,
|
50 |
+
0.014289152145385743
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 494.02149105266363
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2025.320448,
|
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.1313548583984376,
|
73 |
+
"mean": 1.5656774291992188,
|
74 |
+
"stdev": 0.0004463500976562562,
|
75 |
+
"p50": 1.5656774291992188,
|
76 |
+
"p90": 1.5660345092773438,
|
77 |
+
"p95": 1.5660791442871094,
|
78 |
+
"p99": 1.5661148522949218,
|
79 |
+
"values": [
|
80 |
+
1.566123779296875,
|
81 |
+
1.5652310791015625
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.11504811368164
|
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.1310755805969217,
|
97 |
+
"mean": 0.012327069214948519,
|
98 |
+
"stdev": 7.644133586355597e-05,
|
99 |
+
"p50": 0.012311552047729492,
|
100 |
+
"p90": 0.012339200019836426,
|
101 |
+
"p95": 0.01235978226661682,
|
102 |
+
"p99": 0.012790476665496826,
|
103 |
+
"values": [
|
104 |
+
0.0123504638671875,
|
105 |
+
0.012306431770324706,
|
106 |
+
0.012315648078918457,
|
107 |
+
0.012312576293945313,
|
108 |
+
0.012306431770324706,
|
109 |
+
0.012345343589782716,
|
110 |
+
0.012357631683349609,
|
111 |
+
0.012308480262756348,
|
112 |
+
0.012306431770324706,
|
113 |
+
0.012311552047729492,
|
114 |
+
0.012321791648864745,
|
115 |
+
0.012315648078918457,
|
116 |
+
0.012315648078918457,
|
117 |
+
0.012307456016540527,
|
118 |
+
0.012301312446594239,
|
119 |
+
0.01233407974243164,
|
120 |
+
0.012301312446594239,
|
121 |
+
0.012299263954162597,
|
122 |
+
0.012344320297241211,
|
123 |
+
0.012316672325134278,
|
124 |
+
0.012297247886657715,
|
125 |
+
0.01231049633026123,
|
126 |
+
0.012317695617675782,
|
127 |
+
0.012340224266052247,
|
128 |
+
0.012312576293945313,
|
129 |
+
0.012851200103759765,
|
130 |
+
0.01275391960144043,
|
131 |
+
0.012364800453186036,
|
132 |
+
0.012327936172485352,
|
133 |
+
0.012306431770324706,
|
134 |
+
0.012309503555297852,
|
135 |
+
0.012326911926269531,
|
136 |
+
0.012317695617675782,
|
137 |
+
0.012312576293945313,
|
138 |
+
0.012309503555297852,
|
139 |
+
0.012310527801513671,
|
140 |
+
0.012306431770324706,
|
141 |
+
0.012306464195251466,
|
142 |
+
0.012313568115234375,
|
143 |
+
0.012315648078918457,
|
144 |
+
0.01233510398864746,
|
145 |
+
0.012332032203674317,
|
146 |
+
0.012313599586486817,
|
147 |
+
0.012309503555297852,
|
148 |
+
0.01232588768005371,
|
149 |
+
0.012307456016540527,
|
150 |
+
0.012301312446594239,
|
151 |
+
0.012320768356323243,
|
152 |
+
0.012322815895080566,
|
153 |
+
0.012307456016540527,
|
154 |
+
0.012304384231567383,
|
155 |
+
0.012318719863891601,
|
156 |
+
0.012317695617675782,
|
157 |
+
0.012340224266052247,
|
158 |
+
0.012310527801513671,
|
159 |
+
0.012315648078918457,
|
160 |
+
0.012375040054321289,
|
161 |
+
0.012313599586486817,
|
162 |
+
0.012316672325134278,
|
163 |
+
0.012320768356323243,
|
164 |
+
0.012315648078918457,
|
165 |
+
0.012315648078918457,
|
166 |
+
0.012324864387512208,
|
167 |
+
0.012339200019836426,
|
168 |
+
0.012324864387512208,
|
169 |
+
0.012339200019836426,
|
170 |
+
0.012305407524108887,
|
171 |
+
0.012317695617675782,
|
172 |
+
0.012306431770324706,
|
173 |
+
0.012311552047729492,
|
174 |
+
0.012300288200378418,
|
175 |
+
0.012319744110107422,
|
176 |
+
0.012313599586486817,
|
177 |
+
0.012304384231567383,
|
178 |
+
0.012305407524108887,
|
179 |
+
0.012345343589782716,
|
180 |
+
0.012317695617675782,
|
181 |
+
0.012303359985351562,
|
182 |
+
0.012323840141296387,
|
183 |
+
0.012306431770324706,
|
184 |
+
0.012316672325134278,
|
185 |
+
0.01232588768005371,
|
186 |
+
0.012313599586486817,
|
187 |
+
0.01230339241027832,
|
188 |
+
0.01231766414642334,
|
189 |
+
0.012318719863891601,
|
190 |
+
0.012308480262756348,
|
191 |
+
0.012321791648864745,
|
192 |
+
0.012312576293945313,
|
193 |
+
0.012315648078918457,
|
194 |
+
0.012316672325134278,
|
195 |
+
0.012319744110107422,
|
196 |
+
0.012317695617675782,
|
197 |
+
0.012310527801513671,
|
198 |
+
0.012317695617675782,
|
199 |
+
0.012305407524108887,
|
200 |
+
0.012316736221313476,
|
201 |
+
0.012308416366577148,
|
202 |
+
0.012299263954162597,
|
203 |
+
0.012307456016540527,
|
204 |
+
0.012328960418701173,
|
205 |
+
0.012315648078918457,
|
206 |
+
0.012305407524108887,
|
207 |
+
0.012331007957458496,
|
208 |
+
0.012338175773620605,
|
209 |
+
0.012310527801513671,
|
210 |
+
0.012294143676757812,
|
211 |
+
0.01232588768005371,
|
212 |
+
0.012319744110107422,
|
213 |
+
0.012560383796691894,
|
214 |
+
0.012795904159545898,
|
215 |
+
0.012320768356323243,
|
216 |
+
0.01233510398864746,
|
217 |
+
0.012346367835998535,
|
218 |
+
0.012320768356323243,
|
219 |
+
0.012328960418701173,
|
220 |
+
0.012314623832702636,
|
221 |
+
0.012308480262756348,
|
222 |
+
0.012314623832702636,
|
223 |
+
0.012299263954162597,
|
224 |
+
0.012300288200378418,
|
225 |
+
0.012304384231567383,
|
226 |
+
0.012303359985351562,
|
227 |
+
0.012303359985351562,
|
228 |
+
0.012324864387512208,
|
229 |
+
0.012303359985351562,
|
230 |
+
0.012318719863891601,
|
231 |
+
0.012333056449890138,
|
232 |
+
0.012301312446594239,
|
233 |
+
0.012300288200378418,
|
234 |
+
0.012299263954162597,
|
235 |
+
0.012316672325134278,
|
236 |
+
0.012331007957458496,
|
237 |
+
0.012304384231567383,
|
238 |
+
0.012304384231567383,
|
239 |
+
0.012308480262756348,
|
240 |
+
0.012315648078918457,
|
241 |
+
0.012299263954162597,
|
242 |
+
0.012292096138000488,
|
243 |
+
0.012302335739135742,
|
244 |
+
0.012301312446594239,
|
245 |
+
0.01234329605102539,
|
246 |
+
0.012416000366210938,
|
247 |
+
0.012329983711242675,
|
248 |
+
0.012338175773620605,
|
249 |
+
0.012310527801513671,
|
250 |
+
0.012302335739135742,
|
251 |
+
0.012313599586486817,
|
252 |
+
0.012374015808105468,
|
253 |
+
0.012709888458251953,
|
254 |
+
0.012363776206970215,
|
255 |
+
0.012322815895080566,
|
256 |
+
0.012321791648864745,
|
257 |
+
0.012304384231567383,
|
258 |
+
0.012306431770324706,
|
259 |
+
0.012318719863891601,
|
260 |
+
0.012306431770324706,
|
261 |
+
0.012298239707946777,
|
262 |
+
0.012295167922973632,
|
263 |
+
0.012307456016540527,
|
264 |
+
0.012307456016540527,
|
265 |
+
0.012302335739135742,
|
266 |
+
0.012295167922973632,
|
267 |
+
0.012310527801513671,
|
268 |
+
0.012307456016540527,
|
269 |
+
0.012331007957458496,
|
270 |
+
0.012347392082214356,
|
271 |
+
0.012307456016540527,
|
272 |
+
0.012326911926269531,
|
273 |
+
0.012300288200378418,
|
274 |
+
0.012301312446594239,
|
275 |
+
0.012310591697692871,
|
276 |
+
0.012307392120361329,
|
277 |
+
0.012302335739135742,
|
278 |
+
0.012301312446594239,
|
279 |
+
0.012299263954162597,
|
280 |
+
0.012297216415405274,
|
281 |
+
0.012302335739135742,
|
282 |
+
0.012294143676757812,
|
283 |
+
0.012312576293945313,
|
284 |
+
0.012316672325134278,
|
285 |
+
0.012348416328430176,
|
286 |
+
0.012306431770324706,
|
287 |
+
0.012306431770324706,
|
288 |
+
0.012312576293945313,
|
289 |
+
0.012311552047729492,
|
290 |
+
0.012305407524108887,
|
291 |
+
0.01229312038421631,
|
292 |
+
0.012299263954162597,
|
293 |
+
0.012306431770324706,
|
294 |
+
0.012315648078918457,
|
295 |
+
0.012299263954162597,
|
296 |
+
0.012866559982299805,
|
297 |
+
0.012785663604736328,
|
298 |
+
0.012307456016540527,
|
299 |
+
0.012321791648864745,
|
300 |
+
0.012307456016540527,
|
301 |
+
0.012312576293945313,
|
302 |
+
0.012298239707946777,
|
303 |
+
0.012299263954162597,
|
304 |
+
0.012301312446594239,
|
305 |
+
0.012304384231567383,
|
306 |
+
0.012306431770324706,
|
307 |
+
0.012317695617675782,
|
308 |
+
0.012353535652160644,
|
309 |
+
0.012313599586486817,
|
310 |
+
0.012301312446594239,
|
311 |
+
0.012321791648864745,
|
312 |
+
0.012305407524108887,
|
313 |
+
0.012304384231567383,
|
314 |
+
0.012305407524108887,
|
315 |
+
0.012306431770324706,
|
316 |
+
0.012308480262756348,
|
317 |
+
0.012304384231567383,
|
318 |
+
0.012300288200378418,
|
319 |
+
0.012302335739135742,
|
320 |
+
0.012326911926269531,
|
321 |
+
0.012397567749023437,
|
322 |
+
0.012326911926269531,
|
323 |
+
0.012304384231567383,
|
324 |
+
0.012315648078918457,
|
325 |
+
0.012310527801513671,
|
326 |
+
0.012306431770324706,
|
327 |
+
0.012312640190124511,
|
328 |
+
0.012311488151550294,
|
329 |
+
0.012321791648864745,
|
330 |
+
0.012306431770324706,
|
331 |
+
0.012311552047729492,
|
332 |
+
0.012299263954162597,
|
333 |
+
0.012329983711242675,
|
334 |
+
0.012307456016540527,
|
335 |
+
0.012300288200378418,
|
336 |
+
0.012298239707946777,
|
337 |
+
0.012322815895080566,
|
338 |
+
0.012324864387512208,
|
339 |
+
0.012303359985351562,
|
340 |
+
0.012298239707946777,
|
341 |
+
0.012296192169189453,
|
342 |
+
0.012311552047729492,
|
343 |
+
0.012306431770324706,
|
344 |
+
0.012297216415405274,
|
345 |
+
0.012306431770324706,
|
346 |
+
0.012324864387512208,
|
347 |
+
0.012309503555297852,
|
348 |
+
0.012294143676757812,
|
349 |
+
0.012320768356323243,
|
350 |
+
0.012319744110107422,
|
351 |
+
0.012303359985351562,
|
352 |
+
0.012298239707946777,
|
353 |
+
0.012311552047729492,
|
354 |
+
0.012305407524108887,
|
355 |
+
0.012311552047729492,
|
356 |
+
0.012301312446594239,
|
357 |
+
0.012299263954162597
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.12228320964905
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/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": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014169424057006837,
|
7 |
+
"prefill.throughput.value": 494.02149105266363,
|
8 |
+
"decode.latency.mean": 1.5656774291992188,
|
9 |
+
"decode.throughput.value": 81.11504811368164,
|
10 |
+
"per_token.latency.mean": 0.012327069214948519,
|
11 |
+
"per_token.throughput.value": 81.12228320964905
|
12 |
+
}
|
13 |
+
}
|
2024-09-06/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp6_c173rg/commit=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
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/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234
|
88 |
+
- hydra.run.dir=_benchmark/tmp6_c173rg/commit\=2b789f27f383435b8db2fee3d10b0a1358c0c234/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.4.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model_type: null
|
150 |
+
model: google/gemma-2b
|
151 |
+
processor: null
|
152 |
+
device: cuda
|
153 |
+
device_ids: '0'
|
154 |
+
seed: 42
|
155 |
+
inter_op_num_threads: null
|
156 |
+
intra_op_num_threads: null
|
157 |
+
model_kwargs: {}
|
158 |
+
processor_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
memory: true
|
192 |
+
latency: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
numactl: false
|
206 |
+
numactl_kwargs: {}
|
207 |
+
start_method: spawn
|
208 |
+
environment:
|
209 |
+
cpu: ' AMD EPYC 7R32'
|
210 |
+
cpu_count: 16
|
211 |
+
cpu_ram_mb: 66697.252864
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-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: 2b789f27f383435b8db2fee3d10b0a1358c0c234
|
225 |
+
accelerate_version: 0.35.0.dev0
|
226 |
+
accelerate_commit: null
|
227 |
+
diffusers_version: null
|
228 |
+
diffusers_commit: null
|
229 |
+
optimum_version: 1.22.0.dev0
|
230 |
+
optimum_commit: null
|
231 |
+
timm_version: 0.9.16
|
232 |
+
timm_commit: null
|
233 |
+
peft_version: 0.12.1.dev0
|
234 |
+
peft_commit: null
|
2024-09-06/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02078020763397217,
|
8 |
+
"prefill.throughput.value": 336.8590017626277,
|
9 |
+
"decode.latency.mean": 2.473873046875,
|
10 |
+
"decode.throughput.value": 51.336506600622286,
|
11 |
+
"per_token.latency.mean": 0.019477971662686566,
|
12 |
+
"per_token.throughput.value": 51.340047994610934
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022303232192993162,
|
21 |
+
"prefill.throughput.value": 313.85585458771027,
|
22 |
+
"decode.latency.mean": 2.6093214111328127,
|
23 |
+
"decode.throughput.value": 48.671658254957606,
|
24 |
+
"per_token.latency.mean": 0.020544749890725446,
|
25 |
+
"per_token.throughput.value": 48.67423576917974
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "2b789f27f383435b8db2fee3d10b0a1358c0c234",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014169424057006837,
|
34 |
+
"prefill.throughput.value": 494.02149105266363,
|
35 |
+
"decode.latency.mean": 1.5656774291992188,
|
36 |
+
"decode.throughput.value": 81.11504811368164,
|
37 |
+
"per_token.latency.mean": 0.012327069214948519,
|
38 |
+
"per_token.throughput.value": 81.12228320964905
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-09-06/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"2b789f27f383435b8db2fee3d10b0a1358c0c234": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02078020763397217,
|
7 |
+
"prefill.throughput.value": 336.8590017626277,
|
8 |
+
"decode.latency.mean": 2.473873046875,
|
9 |
+
"decode.throughput.value": 51.336506600622286,
|
10 |
+
"per_token.latency.mean": 0.019477971662686566,
|
11 |
+
"per_token.throughput.value": 51.340047994610934
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"2b789f27f383435b8db2fee3d10b0a1358c0c234": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022303232192993162,
|
19 |
+
"prefill.throughput.value": 313.85585458771027,
|
20 |
+
"decode.latency.mean": 2.6093214111328127,
|
21 |
+
"decode.throughput.value": 48.671658254957606,
|
22 |
+
"per_token.latency.mean": 0.020544749890725446,
|
23 |
+
"per_token.throughput.value": 48.67423576917974
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"2b789f27f383435b8db2fee3d10b0a1358c0c234": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014169424057006837,
|
31 |
+
"prefill.throughput.value": 494.02149105266363,
|
32 |
+
"decode.latency.mean": 1.5656774291992188,
|
33 |
+
"decode.throughput.value": 81.11504811368164,
|
34 |
+
"per_token.latency.mean": 0.012327069214948519,
|
35 |
+
"per_token.throughput.value": 81.12228320964905
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|