hf-transformers-bot
commited on
Commit
•
0f84566
1
Parent(s):
a318fee
Upload folder using huggingface_hub
Browse files- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/multirun.yaml +232 -0
- 2024-06-26/summaries.json +41 -0
- 2024-06-26/summary.json +40 -0
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_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 |
+
latency: true
|
51 |
+
memory: 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 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
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/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
88 |
+
- hydra.run.dir=_benchmark/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
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 |
+
"hub_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 |
+
"latency": true,
|
57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1706.909696,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5034.576896
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.03918860816955566,
|
118 |
+
"mean": 0.01959430408477783,
|
119 |
+
"stdev": 0.0002262392044067394,
|
120 |
+
"p50": 0.01959430408477783,
|
121 |
+
"p90": 0.019775295448303223,
|
122 |
+
"p95": 0.019797919368743897,
|
123 |
+
"p99": 0.019816018505096438,
|
124 |
+
"values": [
|
125 |
+
0.01982054328918457,
|
126 |
+
0.019368064880371093
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 357.2466758560754
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1706.930176,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5034.577408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.859682373046875,
|
149 |
+
"mean": 2.4298411865234373,
|
150 |
+
"stdev": 0.02299743652343733,
|
151 |
+
"p50": 2.4298411865234373,
|
152 |
+
"p90": 2.4482391357421873,
|
153 |
+
"p95": 2.4505388793945313,
|
154 |
+
"p99": 2.452378674316406,
|
155 |
+
"values": [
|
156 |
+
2.40684375,
|
157 |
+
2.452838623046875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.266790399461776
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 4.859865081787112,
|
173 |
+
"mean": 0.01920895289243917,
|
174 |
+
"stdev": 0.0012791354543790587,
|
175 |
+
"p50": 0.019106815338134766,
|
176 |
+
"p90": 0.019688039016723634,
|
177 |
+
"p95": 0.019777535629272463,
|
178 |
+
"p99": 0.020079001693725583,
|
179 |
+
"values": [
|
180 |
+
0.01944371223449707,
|
181 |
+
0.01925529670715332,
|
182 |
+
0.019342336654663086,
|
183 |
+
0.019179519653320314,
|
184 |
+
0.01923072052001953,
|
185 |
+
0.019080192565917968,
|
186 |
+
0.019358720779418945,
|
187 |
+
0.01908940887451172,
|
188 |
+
0.018894847869873048,
|
189 |
+
0.019139583587646485,
|
190 |
+
0.019153919219970703,
|
191 |
+
0.019184640884399414,
|
192 |
+
0.01929113578796387,
|
193 |
+
0.01903308868408203,
|
194 |
+
0.019519519805908204,
|
195 |
+
0.01953276824951172,
|
196 |
+
0.019517440795898438,
|
197 |
+
0.019117055892944337,
|
198 |
+
0.019183616638183593,
|
199 |
+
0.01922969627380371,
|
200 |
+
0.0192174072265625,
|
201 |
+
0.01902899169921875,
|
202 |
+
0.018949119567871094,
|
203 |
+
0.019001344680786132,
|
204 |
+
0.018980863571166993,
|
205 |
+
0.019083263397216797,
|
206 |
+
0.018980863571166993,
|
207 |
+
0.0190515193939209,
|
208 |
+
0.01945088005065918,
|
209 |
+
0.0194334716796875,
|
210 |
+
0.019351551055908203,
|
211 |
+
0.01919795227050781,
|
212 |
+
0.019361791610717775,
|
213 |
+
0.019148799896240236,
|
214 |
+
0.019106815338134766,
|
215 |
+
0.01902592086791992,
|
216 |
+
0.019916799545288084,
|
217 |
+
0.019096576690673828,
|
218 |
+
0.019783679962158202,
|
219 |
+
0.019752960205078125,
|
220 |
+
0.019786752700805665,
|
221 |
+
0.019727359771728514,
|
222 |
+
0.01959321594238281,
|
223 |
+
0.01988198471069336,
|
224 |
+
0.019763200759887696,
|
225 |
+
0.019491840362548828,
|
226 |
+
0.019591167449951173,
|
227 |
+
0.019087360382080077,
|
228 |
+
0.019505151748657225,
|
229 |
+
0.019535871505737306,
|
230 |
+
0.019344383239746094,
|
231 |
+
0.01927475166320801,
|
232 |
+
0.01864089584350586,
|
233 |
+
0.01863680076599121,
|
234 |
+
0.01860710334777832,
|
235 |
+
0.018654207229614257,
|
236 |
+
0.018725887298583984,
|
237 |
+
0.018677759170532226,
|
238 |
+
0.018686975479125977,
|
239 |
+
0.018683904647827147,
|
240 |
+
0.018685951232910156,
|
241 |
+
0.018711551666259766,
|
242 |
+
0.018712575912475587,
|
243 |
+
0.018697216033935548,
|
244 |
+
0.018778112411499022,
|
245 |
+
0.018578432083129884,
|
246 |
+
0.018518016815185546,
|
247 |
+
0.018709503173828124,
|
248 |
+
0.01862758445739746,
|
249 |
+
0.018539615631103516,
|
250 |
+
0.018713504791259765,
|
251 |
+
0.018729984283447267,
|
252 |
+
0.018710527420043945,
|
253 |
+
0.018721792221069337,
|
254 |
+
0.018715648651123046,
|
255 |
+
0.018712575912475587,
|
256 |
+
0.018516992568969725,
|
257 |
+
0.018542591094970702,
|
258 |
+
0.018511871337890624,
|
259 |
+
0.018663423538208008,
|
260 |
+
0.018704383850097657,
|
261 |
+
0.018747392654418944,
|
262 |
+
0.018694143295288086,
|
263 |
+
0.018721792221069337,
|
264 |
+
0.018707456588745116,
|
265 |
+
0.018561023712158203,
|
266 |
+
0.018711551666259766,
|
267 |
+
0.018525184631347655,
|
268 |
+
0.018521087646484375,
|
269 |
+
0.01861427116394043,
|
270 |
+
0.01880473518371582,
|
271 |
+
0.018738176345825194,
|
272 |
+
0.018800640106201173,
|
273 |
+
0.018744319915771485,
|
274 |
+
0.018720767974853517,
|
275 |
+
0.018714624404907225,
|
276 |
+
0.018783231735229493,
|
277 |
+
0.018683904647827147,
|
278 |
+
0.018603008270263673,
|
279 |
+
0.018762752532958983,
|
280 |
+
0.018906112670898437,
|
281 |
+
0.01884569549560547,
|
282 |
+
0.01863167953491211,
|
283 |
+
0.018530303955078126,
|
284 |
+
0.018551807403564453,
|
285 |
+
0.018571264266967775,
|
286 |
+
0.018686975479125977,
|
287 |
+
0.018774015426635742,
|
288 |
+
0.018791423797607423,
|
289 |
+
0.018769920349121092,
|
290 |
+
0.018589696884155273,
|
291 |
+
0.018714624404907225,
|
292 |
+
0.018784255981445314,
|
293 |
+
0.01879654312133789,
|
294 |
+
0.018712575912475587,
|
295 |
+
0.018715648651123046,
|
296 |
+
0.018704383850097657,
|
297 |
+
0.018689023971557618,
|
298 |
+
0.018718719482421875,
|
299 |
+
0.018738176345825194,
|
300 |
+
0.018723840713500976,
|
301 |
+
0.01879347229003906,
|
302 |
+
0.01881395149230957,
|
303 |
+
0.018750463485717773,
|
304 |
+
0.01881497573852539,
|
305 |
+
0.018941951751708985,
|
306 |
+
0.0381214714050293,
|
307 |
+
0.01841766357421875,
|
308 |
+
0.01828659248352051,
|
309 |
+
0.018533376693725585,
|
310 |
+
0.018496511459350586,
|
311 |
+
0.018618368148803712,
|
312 |
+
0.018571264266967775,
|
313 |
+
0.018520063400268554,
|
314 |
+
0.01875660705566406,
|
315 |
+
0.018676736831665038,
|
316 |
+
0.01861631965637207,
|
317 |
+
0.01860812759399414,
|
318 |
+
0.01965977668762207,
|
319 |
+
0.019509248733520508,
|
320 |
+
0.019528703689575197,
|
321 |
+
0.018654207229614257,
|
322 |
+
0.01859584045410156,
|
323 |
+
0.01962495994567871,
|
324 |
+
0.01982771110534668,
|
325 |
+
0.019538944244384765,
|
326 |
+
0.019503103256225587,
|
327 |
+
0.019479551315307618,
|
328 |
+
0.01946316719055176,
|
329 |
+
0.01902079963684082,
|
330 |
+
0.019514368057250975,
|
331 |
+
0.019507200241088866,
|
332 |
+
0.019604480743408204,
|
333 |
+
0.020579328536987306,
|
334 |
+
0.019910655975341796,
|
335 |
+
0.019900415420532228,
|
336 |
+
0.01964031982421875,
|
337 |
+
0.019521535873413084,
|
338 |
+
0.0194969596862793,
|
339 |
+
0.01962291145324707,
|
340 |
+
0.019810304641723633,
|
341 |
+
0.01948467254638672,
|
342 |
+
0.019580928802490235,
|
343 |
+
0.01947750473022461,
|
344 |
+
0.01960140800476074,
|
345 |
+
0.019507200241088866,
|
346 |
+
0.01945497512817383,
|
347 |
+
0.0195020809173584,
|
348 |
+
0.019500032424926757,
|
349 |
+
0.020254720687866212,
|
350 |
+
0.019645471572875977,
|
351 |
+
0.019487712860107424,
|
352 |
+
0.019523584365844726,
|
353 |
+
0.019512319564819337,
|
354 |
+
0.01964851188659668,
|
355 |
+
0.019586048126220702,
|
356 |
+
0.019530752182006835,
|
357 |
+
0.019537919998168944,
|
358 |
+
0.019575807571411134,
|
359 |
+
0.019549184799194336,
|
360 |
+
0.019530752182006835,
|
361 |
+
0.01926144027709961,
|
362 |
+
0.019108863830566408,
|
363 |
+
0.01942527961730957,
|
364 |
+
0.01966592025756836,
|
365 |
+
0.019644416809082032,
|
366 |
+
0.019720191955566405,
|
367 |
+
0.01964543914794922,
|
368 |
+
0.01963212776184082,
|
369 |
+
0.01965875244140625,
|
370 |
+
0.01963520050048828,
|
371 |
+
0.01967001533508301,
|
372 |
+
0.0196495361328125,
|
373 |
+
0.01969254493713379,
|
374 |
+
0.019732479095458985,
|
375 |
+
0.019741695404052736,
|
376 |
+
0.01967001533508301,
|
377 |
+
0.0196628475189209,
|
378 |
+
0.018759679794311524,
|
379 |
+
0.018670591354370117,
|
380 |
+
0.019764223098754884,
|
381 |
+
0.019730432510375977,
|
382 |
+
0.01961676788330078,
|
383 |
+
0.0196945915222168,
|
384 |
+
0.019663871765136717,
|
385 |
+
0.019773439407348634,
|
386 |
+
0.01965056037902832,
|
387 |
+
0.019603456497192383,
|
388 |
+
0.019784704208374023,
|
389 |
+
0.019604480743408204,
|
390 |
+
0.019644416809082032,
|
391 |
+
0.01962291145324707,
|
392 |
+
0.019514368057250975,
|
393 |
+
0.019381248474121093,
|
394 |
+
0.018537471771240235,
|
395 |
+
0.018490367889404297,
|
396 |
+
0.01848422431945801,
|
397 |
+
0.018585599899291993,
|
398 |
+
0.018707456588745116,
|
399 |
+
0.018679807662963867,
|
400 |
+
0.018721792221069337,
|
401 |
+
0.019695615768432616,
|
402 |
+
0.019795967102050782,
|
403 |
+
0.01963212776184082,
|
404 |
+
0.01963315200805664,
|
405 |
+
0.01960857582092285,
|
406 |
+
0.01966796875,
|
407 |
+
0.019620864868164063,
|
408 |
+
0.019628063201904297,
|
409 |
+
0.019650527954101563,
|
410 |
+
0.019551231384277345,
|
411 |
+
0.019614719390869142,
|
412 |
+
0.01965772819519043,
|
413 |
+
0.019587072372436523,
|
414 |
+
0.019586048126220702,
|
415 |
+
0.019560447692871095,
|
416 |
+
0.01965465545654297,
|
417 |
+
0.019700735092163087,
|
418 |
+
0.018687999725341797,
|
419 |
+
0.018637823104858398,
|
420 |
+
0.018626560211181642,
|
421 |
+
0.0184770565032959,
|
422 |
+
0.01844326400756836,
|
423 |
+
0.018485248565673826,
|
424 |
+
0.01869004821777344,
|
425 |
+
0.018714624404907225,
|
426 |
+
0.018749439239501953,
|
427 |
+
0.018691072463989256,
|
428 |
+
0.018725887298583984,
|
429 |
+
0.018480127334594726,
|
430 |
+
0.018478080749511717,
|
431 |
+
0.018686975479125977,
|
432 |
+
0.018695167541503906
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 52.05905837759693
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
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 |
+
"hub_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 |
+
"latency": true,
|
56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1706.909696,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5034.576896
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.03918860816955566,
|
15 |
+
"mean": 0.01959430408477783,
|
16 |
+
"stdev": 0.0002262392044067394,
|
17 |
+
"p50": 0.01959430408477783,
|
18 |
+
"p90": 0.019775295448303223,
|
19 |
+
"p95": 0.019797919368743897,
|
20 |
+
"p99": 0.019816018505096438,
|
21 |
+
"values": [
|
22 |
+
0.01982054328918457,
|
23 |
+
0.019368064880371093
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 357.2466758560754
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1706.930176,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5034.577408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.859682373046875,
|
46 |
+
"mean": 2.4298411865234373,
|
47 |
+
"stdev": 0.02299743652343733,
|
48 |
+
"p50": 2.4298411865234373,
|
49 |
+
"p90": 2.4482391357421873,
|
50 |
+
"p95": 2.4505388793945313,
|
51 |
+
"p99": 2.452378674316406,
|
52 |
+
"values": [
|
53 |
+
2.40684375,
|
54 |
+
2.452838623046875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.266790399461776
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 4.859865081787112,
|
70 |
+
"mean": 0.01920895289243917,
|
71 |
+
"stdev": 0.0012791354543790587,
|
72 |
+
"p50": 0.019106815338134766,
|
73 |
+
"p90": 0.019688039016723634,
|
74 |
+
"p95": 0.019777535629272463,
|
75 |
+
"p99": 0.020079001693725583,
|
76 |
+
"values": [
|
77 |
+
0.01944371223449707,
|
78 |
+
0.01925529670715332,
|
79 |
+
0.019342336654663086,
|
80 |
+
0.019179519653320314,
|
81 |
+
0.01923072052001953,
|
82 |
+
0.019080192565917968,
|
83 |
+
0.019358720779418945,
|
84 |
+
0.01908940887451172,
|
85 |
+
0.018894847869873048,
|
86 |
+
0.019139583587646485,
|
87 |
+
0.019153919219970703,
|
88 |
+
0.019184640884399414,
|
89 |
+
0.01929113578796387,
|
90 |
+
0.01903308868408203,
|
91 |
+
0.019519519805908204,
|
92 |
+
0.01953276824951172,
|
93 |
+
0.019517440795898438,
|
94 |
+
0.019117055892944337,
|
95 |
+
0.019183616638183593,
|
96 |
+
0.01922969627380371,
|
97 |
+
0.0192174072265625,
|
98 |
+
0.01902899169921875,
|
99 |
+
0.018949119567871094,
|
100 |
+
0.019001344680786132,
|
101 |
+
0.018980863571166993,
|
102 |
+
0.019083263397216797,
|
103 |
+
0.018980863571166993,
|
104 |
+
0.0190515193939209,
|
105 |
+
0.01945088005065918,
|
106 |
+
0.0194334716796875,
|
107 |
+
0.019351551055908203,
|
108 |
+
0.01919795227050781,
|
109 |
+
0.019361791610717775,
|
110 |
+
0.019148799896240236,
|
111 |
+
0.019106815338134766,
|
112 |
+
0.01902592086791992,
|
113 |
+
0.019916799545288084,
|
114 |
+
0.019096576690673828,
|
115 |
+
0.019783679962158202,
|
116 |
+
0.019752960205078125,
|
117 |
+
0.019786752700805665,
|
118 |
+
0.019727359771728514,
|
119 |
+
0.01959321594238281,
|
120 |
+
0.01988198471069336,
|
121 |
+
0.019763200759887696,
|
122 |
+
0.019491840362548828,
|
123 |
+
0.019591167449951173,
|
124 |
+
0.019087360382080077,
|
125 |
+
0.019505151748657225,
|
126 |
+
0.019535871505737306,
|
127 |
+
0.019344383239746094,
|
128 |
+
0.01927475166320801,
|
129 |
+
0.01864089584350586,
|
130 |
+
0.01863680076599121,
|
131 |
+
0.01860710334777832,
|
132 |
+
0.018654207229614257,
|
133 |
+
0.018725887298583984,
|
134 |
+
0.018677759170532226,
|
135 |
+
0.018686975479125977,
|
136 |
+
0.018683904647827147,
|
137 |
+
0.018685951232910156,
|
138 |
+
0.018711551666259766,
|
139 |
+
0.018712575912475587,
|
140 |
+
0.018697216033935548,
|
141 |
+
0.018778112411499022,
|
142 |
+
0.018578432083129884,
|
143 |
+
0.018518016815185546,
|
144 |
+
0.018709503173828124,
|
145 |
+
0.01862758445739746,
|
146 |
+
0.018539615631103516,
|
147 |
+
0.018713504791259765,
|
148 |
+
0.018729984283447267,
|
149 |
+
0.018710527420043945,
|
150 |
+
0.018721792221069337,
|
151 |
+
0.018715648651123046,
|
152 |
+
0.018712575912475587,
|
153 |
+
0.018516992568969725,
|
154 |
+
0.018542591094970702,
|
155 |
+
0.018511871337890624,
|
156 |
+
0.018663423538208008,
|
157 |
+
0.018704383850097657,
|
158 |
+
0.018747392654418944,
|
159 |
+
0.018694143295288086,
|
160 |
+
0.018721792221069337,
|
161 |
+
0.018707456588745116,
|
162 |
+
0.018561023712158203,
|
163 |
+
0.018711551666259766,
|
164 |
+
0.018525184631347655,
|
165 |
+
0.018521087646484375,
|
166 |
+
0.01861427116394043,
|
167 |
+
0.01880473518371582,
|
168 |
+
0.018738176345825194,
|
169 |
+
0.018800640106201173,
|
170 |
+
0.018744319915771485,
|
171 |
+
0.018720767974853517,
|
172 |
+
0.018714624404907225,
|
173 |
+
0.018783231735229493,
|
174 |
+
0.018683904647827147,
|
175 |
+
0.018603008270263673,
|
176 |
+
0.018762752532958983,
|
177 |
+
0.018906112670898437,
|
178 |
+
0.01884569549560547,
|
179 |
+
0.01863167953491211,
|
180 |
+
0.018530303955078126,
|
181 |
+
0.018551807403564453,
|
182 |
+
0.018571264266967775,
|
183 |
+
0.018686975479125977,
|
184 |
+
0.018774015426635742,
|
185 |
+
0.018791423797607423,
|
186 |
+
0.018769920349121092,
|
187 |
+
0.018589696884155273,
|
188 |
+
0.018714624404907225,
|
189 |
+
0.018784255981445314,
|
190 |
+
0.01879654312133789,
|
191 |
+
0.018712575912475587,
|
192 |
+
0.018715648651123046,
|
193 |
+
0.018704383850097657,
|
194 |
+
0.018689023971557618,
|
195 |
+
0.018718719482421875,
|
196 |
+
0.018738176345825194,
|
197 |
+
0.018723840713500976,
|
198 |
+
0.01879347229003906,
|
199 |
+
0.01881395149230957,
|
200 |
+
0.018750463485717773,
|
201 |
+
0.01881497573852539,
|
202 |
+
0.018941951751708985,
|
203 |
+
0.0381214714050293,
|
204 |
+
0.01841766357421875,
|
205 |
+
0.01828659248352051,
|
206 |
+
0.018533376693725585,
|
207 |
+
0.018496511459350586,
|
208 |
+
0.018618368148803712,
|
209 |
+
0.018571264266967775,
|
210 |
+
0.018520063400268554,
|
211 |
+
0.01875660705566406,
|
212 |
+
0.018676736831665038,
|
213 |
+
0.01861631965637207,
|
214 |
+
0.01860812759399414,
|
215 |
+
0.01965977668762207,
|
216 |
+
0.019509248733520508,
|
217 |
+
0.019528703689575197,
|
218 |
+
0.018654207229614257,
|
219 |
+
0.01859584045410156,
|
220 |
+
0.01962495994567871,
|
221 |
+
0.01982771110534668,
|
222 |
+
0.019538944244384765,
|
223 |
+
0.019503103256225587,
|
224 |
+
0.019479551315307618,
|
225 |
+
0.01946316719055176,
|
226 |
+
0.01902079963684082,
|
227 |
+
0.019514368057250975,
|
228 |
+
0.019507200241088866,
|
229 |
+
0.019604480743408204,
|
230 |
+
0.020579328536987306,
|
231 |
+
0.019910655975341796,
|
232 |
+
0.019900415420532228,
|
233 |
+
0.01964031982421875,
|
234 |
+
0.019521535873413084,
|
235 |
+
0.0194969596862793,
|
236 |
+
0.01962291145324707,
|
237 |
+
0.019810304641723633,
|
238 |
+
0.01948467254638672,
|
239 |
+
0.019580928802490235,
|
240 |
+
0.01947750473022461,
|
241 |
+
0.01960140800476074,
|
242 |
+
0.019507200241088866,
|
243 |
+
0.01945497512817383,
|
244 |
+
0.0195020809173584,
|
245 |
+
0.019500032424926757,
|
246 |
+
0.020254720687866212,
|
247 |
+
0.019645471572875977,
|
248 |
+
0.019487712860107424,
|
249 |
+
0.019523584365844726,
|
250 |
+
0.019512319564819337,
|
251 |
+
0.01964851188659668,
|
252 |
+
0.019586048126220702,
|
253 |
+
0.019530752182006835,
|
254 |
+
0.019537919998168944,
|
255 |
+
0.019575807571411134,
|
256 |
+
0.019549184799194336,
|
257 |
+
0.019530752182006835,
|
258 |
+
0.01926144027709961,
|
259 |
+
0.019108863830566408,
|
260 |
+
0.01942527961730957,
|
261 |
+
0.01966592025756836,
|
262 |
+
0.019644416809082032,
|
263 |
+
0.019720191955566405,
|
264 |
+
0.01964543914794922,
|
265 |
+
0.01963212776184082,
|
266 |
+
0.01965875244140625,
|
267 |
+
0.01963520050048828,
|
268 |
+
0.01967001533508301,
|
269 |
+
0.0196495361328125,
|
270 |
+
0.01969254493713379,
|
271 |
+
0.019732479095458985,
|
272 |
+
0.019741695404052736,
|
273 |
+
0.01967001533508301,
|
274 |
+
0.0196628475189209,
|
275 |
+
0.018759679794311524,
|
276 |
+
0.018670591354370117,
|
277 |
+
0.019764223098754884,
|
278 |
+
0.019730432510375977,
|
279 |
+
0.01961676788330078,
|
280 |
+
0.0196945915222168,
|
281 |
+
0.019663871765136717,
|
282 |
+
0.019773439407348634,
|
283 |
+
0.01965056037902832,
|
284 |
+
0.019603456497192383,
|
285 |
+
0.019784704208374023,
|
286 |
+
0.019604480743408204,
|
287 |
+
0.019644416809082032,
|
288 |
+
0.01962291145324707,
|
289 |
+
0.019514368057250975,
|
290 |
+
0.019381248474121093,
|
291 |
+
0.018537471771240235,
|
292 |
+
0.018490367889404297,
|
293 |
+
0.01848422431945801,
|
294 |
+
0.018585599899291993,
|
295 |
+
0.018707456588745116,
|
296 |
+
0.018679807662963867,
|
297 |
+
0.018721792221069337,
|
298 |
+
0.019695615768432616,
|
299 |
+
0.019795967102050782,
|
300 |
+
0.01963212776184082,
|
301 |
+
0.01963315200805664,
|
302 |
+
0.01960857582092285,
|
303 |
+
0.01966796875,
|
304 |
+
0.019620864868164063,
|
305 |
+
0.019628063201904297,
|
306 |
+
0.019650527954101563,
|
307 |
+
0.019551231384277345,
|
308 |
+
0.019614719390869142,
|
309 |
+
0.01965772819519043,
|
310 |
+
0.019587072372436523,
|
311 |
+
0.019586048126220702,
|
312 |
+
0.019560447692871095,
|
313 |
+
0.01965465545654297,
|
314 |
+
0.019700735092163087,
|
315 |
+
0.018687999725341797,
|
316 |
+
0.018637823104858398,
|
317 |
+
0.018626560211181642,
|
318 |
+
0.0184770565032959,
|
319 |
+
0.01844326400756836,
|
320 |
+
0.018485248565673826,
|
321 |
+
0.01869004821777344,
|
322 |
+
0.018714624404907225,
|
323 |
+
0.018749439239501953,
|
324 |
+
0.018691072463989256,
|
325 |
+
0.018725887298583984,
|
326 |
+
0.018480127334594726,
|
327 |
+
0.018478080749511717,
|
328 |
+
0.018686975479125977,
|
329 |
+
0.018695167541503906
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 52.05905837759693
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01959430408477783,
|
7 |
+
"prefill.throughput.value": 357.2466758560754,
|
8 |
+
"decode.latency.mean": 2.4298411865234373,
|
9 |
+
"decode.throughput.value": 52.266790399461776,
|
10 |
+
"per_token.latency.mean": 0.01920895289243917,
|
11 |
+
"per_token.throughput.value": 52.05905837759693
|
12 |
+
}
|
13 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_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 |
+
latency: true
|
51 |
+
memory: 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 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
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/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
88 |
+
- hydra.run.dir=_benchmark/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-26 02:34:32,503[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
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 |
+
"hub_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 |
+
"latency": true,
|
56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_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 |
+
latency: true
|
51 |
+
memory: 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 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
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/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
88 |
+
- hydra.run.dir=_benchmark/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
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 |
+
"hub_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 |
+
"latency": true,
|
57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1792.958464,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5036.936192
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.043979425430297855,
|
118 |
+
"mean": 0.021989712715148928,
|
119 |
+
"stdev": 0.0002128801345825191,
|
120 |
+
"p50": 0.021989712715148928,
|
121 |
+
"p90": 0.022160016822814942,
|
122 |
+
"p95": 0.022181304836273192,
|
123 |
+
"p99": 0.022198335247039794,
|
124 |
+
"values": [
|
125 |
+
0.022202592849731445,
|
126 |
+
0.021776832580566407
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 318.3306708312579
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1792.974848,
|
140 |
+
"max_global_vram": 6793.199616,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6146.752512,
|
143 |
+
"max_allocated": 5036.936704
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 5.138854248046875,
|
149 |
+
"mean": 2.5694271240234374,
|
150 |
+
"stdev": 0.012845825195312521,
|
151 |
+
"p50": 2.5694271240234374,
|
152 |
+
"p90": 2.5797037841796873,
|
153 |
+
"p95": 2.5809883666992186,
|
154 |
+
"p99": 2.5820160327148436,
|
155 |
+
"values": [
|
156 |
+
2.556581298828125,
|
157 |
+
2.58227294921875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.42736021293809
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 5.139182600021365,
|
173 |
+
"mean": 0.020312974703641747,
|
174 |
+
"stdev": 0.0014169272697941901,
|
175 |
+
"p50": 0.02008883285522461,
|
176 |
+
"p90": 0.020728012847900393,
|
177 |
+
"p95": 0.020832461166381835,
|
178 |
+
"p99": 0.02107887596130371,
|
179 |
+
"values": [
|
180 |
+
0.020531200408935548,
|
181 |
+
0.02069811248779297,
|
182 |
+
0.020724735260009765,
|
183 |
+
0.020402175903320312,
|
184 |
+
0.020287488937377928,
|
185 |
+
0.020280319213867186,
|
186 |
+
0.02025574493408203,
|
187 |
+
0.020582399368286132,
|
188 |
+
0.020626432418823244,
|
189 |
+
0.020634624481201173,
|
190 |
+
0.019927040100097656,
|
191 |
+
0.01991372871398926,
|
192 |
+
0.020290559768676757,
|
193 |
+
0.019990528106689453,
|
194 |
+
0.019929088592529298,
|
195 |
+
0.0198922233581543,
|
196 |
+
0.019936256408691407,
|
197 |
+
0.019962879180908204,
|
198 |
+
0.019975168228149414,
|
199 |
+
0.019933183670043944,
|
200 |
+
0.02024038314819336,
|
201 |
+
0.02105036735534668,
|
202 |
+
0.020831232070922853,
|
203 |
+
0.021109760284423826,
|
204 |
+
0.021005311965942384,
|
205 |
+
0.020883455276489257,
|
206 |
+
0.020083711624145507,
|
207 |
+
0.019876863479614256,
|
208 |
+
0.019955711364746095,
|
209 |
+
0.019949567794799804,
|
210 |
+
0.019956735610961913,
|
211 |
+
0.0198922233581543,
|
212 |
+
0.019923967361450197,
|
213 |
+
0.01987379264831543,
|
214 |
+
0.019911680221557617,
|
215 |
+
0.019922943115234376,
|
216 |
+
0.019942399978637695,
|
217 |
+
0.019902463912963866,
|
218 |
+
0.019933183670043944,
|
219 |
+
0.019885055541992186,
|
220 |
+
0.02001817512512207,
|
221 |
+
0.02045849609375,
|
222 |
+
0.019952640533447266,
|
223 |
+
0.019939327239990236,
|
224 |
+
0.02002943992614746,
|
225 |
+
0.019948543548583983,
|
226 |
+
0.01993011283874512,
|
227 |
+
0.019990528106689453,
|
228 |
+
0.020246528625488282,
|
229 |
+
0.020182016372680665,
|
230 |
+
0.02103910446166992,
|
231 |
+
0.020785152435302736,
|
232 |
+
0.020371456146240235,
|
233 |
+
0.01987583923339844,
|
234 |
+
0.019944448471069336,
|
235 |
+
0.01986355209350586,
|
236 |
+
0.019705856323242187,
|
237 |
+
0.019920896530151368,
|
238 |
+
0.019907583236694337,
|
239 |
+
0.019876863479614256,
|
240 |
+
0.019904512405395508,
|
241 |
+
0.019922943115234376,
|
242 |
+
0.019932159423828123,
|
243 |
+
0.019948543548583983,
|
244 |
+
0.02022502326965332,
|
245 |
+
0.020626432418823244,
|
246 |
+
0.020323328018188477,
|
247 |
+
0.019768320083618163,
|
248 |
+
0.01989836883544922,
|
249 |
+
0.019817472457885742,
|
250 |
+
0.02009600067138672,
|
251 |
+
0.019951616287231445,
|
252 |
+
0.019974143981933593,
|
253 |
+
0.019990528106689453,
|
254 |
+
0.020107263565063475,
|
255 |
+
0.019970048904418947,
|
256 |
+
0.019936256408691407,
|
257 |
+
0.019976192474365235,
|
258 |
+
0.019987455368041994,
|
259 |
+
0.01991372871398926,
|
260 |
+
0.019952640533447266,
|
261 |
+
0.019766271591186522,
|
262 |
+
0.019728384017944335,
|
263 |
+
0.019672063827514647,
|
264 |
+
0.019663871765136717,
|
265 |
+
0.0196997127532959,
|
266 |
+
0.019717119216918946,
|
267 |
+
0.019681280136108398,
|
268 |
+
0.019737600326538086,
|
269 |
+
0.019725311279296876,
|
270 |
+
0.020099071502685546,
|
271 |
+
0.019945472717285157,
|
272 |
+
0.019941375732421874,
|
273 |
+
0.01992710494995117,
|
274 |
+
0.01976211166381836,
|
275 |
+
0.019737600326538086,
|
276 |
+
0.019784704208374023,
|
277 |
+
0.019944448471069336,
|
278 |
+
0.020728832244873048,
|
279 |
+
0.02065100860595703,
|
280 |
+
0.02068070411682129,
|
281 |
+
0.020620288848876952,
|
282 |
+
0.019966976165771484,
|
283 |
+
0.019912704467773438,
|
284 |
+
0.019923967361450197,
|
285 |
+
0.01989836883544922,
|
286 |
+
0.019725311279296876,
|
287 |
+
0.019942399978637695,
|
288 |
+
0.019762176513671875,
|
289 |
+
0.02030182456970215,
|
290 |
+
0.02043903923034668,
|
291 |
+
0.02067353630065918,
|
292 |
+
0.02083430480957031,
|
293 |
+
0.02069606399536133,
|
294 |
+
0.020009983062744142,
|
295 |
+
0.019729408264160156,
|
296 |
+
0.019719167709350584,
|
297 |
+
0.019887104034423828,
|
298 |
+
0.01998028755187988,
|
299 |
+
0.02067353630065918,
|
300 |
+
0.020998144149780275,
|
301 |
+
0.019965951919555663,
|
302 |
+
0.019960832595825196,
|
303 |
+
0.020031488418579102,
|
304 |
+
0.021004287719726563,
|
305 |
+
0.020737024307250978,
|
306 |
+
0.0419788818359375,
|
307 |
+
0.020000768661499024,
|
308 |
+
0.020570112228393556,
|
309 |
+
0.020718591690063477,
|
310 |
+
0.02060492706298828,
|
311 |
+
0.02067251205444336,
|
312 |
+
0.02071347236633301,
|
313 |
+
0.020769792556762694,
|
314 |
+
0.020230144500732423,
|
315 |
+
0.020574207305908202,
|
316 |
+
0.020165632247924805,
|
317 |
+
0.02021785545349121,
|
318 |
+
0.02083839988708496,
|
319 |
+
0.020618240356445314,
|
320 |
+
0.020179967880249023,
|
321 |
+
0.02051584053039551,
|
322 |
+
0.020632575988769532,
|
323 |
+
0.02066329574584961,
|
324 |
+
0.019745792388916016,
|
325 |
+
0.019784704208374023,
|
326 |
+
0.021415935516357423,
|
327 |
+
0.02083839988708496,
|
328 |
+
0.020733951568603515,
|
329 |
+
0.019981311798095702,
|
330 |
+
0.019959808349609375,
|
331 |
+
0.02083020782470703,
|
332 |
+
0.019998720169067383,
|
333 |
+
0.019966976165771484,
|
334 |
+
0.020676607131958007,
|
335 |
+
0.02069196891784668,
|
336 |
+
0.02068992042541504,
|
337 |
+
0.02068377685546875,
|
338 |
+
0.02072985649108887,
|
339 |
+
0.02039910316467285,
|
340 |
+
0.019962879180908204,
|
341 |
+
0.019983360290527344,
|
342 |
+
0.02070425605773926,
|
343 |
+
0.019978239059448243,
|
344 |
+
0.019937280654907227,
|
345 |
+
0.020773887634277344,
|
346 |
+
0.019793920516967774,
|
347 |
+
0.019752960205078125,
|
348 |
+
0.020789247512817383,
|
349 |
+
0.02064691162109375,
|
350 |
+
0.020584447860717774,
|
351 |
+
0.019908607482910155,
|
352 |
+
0.01988403129577637,
|
353 |
+
0.020323328018188477,
|
354 |
+
0.01999667167663574,
|
355 |
+
0.019717119216918946,
|
356 |
+
0.019775487899780272,
|
357 |
+
0.019726335525512697,
|
358 |
+
0.019697664260864257,
|
359 |
+
0.020132863998413086,
|
360 |
+
0.020328447341918944,
|
361 |
+
0.02065510368347168,
|
362 |
+
0.020738048553466795,
|
363 |
+
0.020723712921142577,
|
364 |
+
0.02025574493408203,
|
365 |
+
0.019990528106689453,
|
366 |
+
0.019959808349609375,
|
367 |
+
0.020607999801635742,
|
368 |
+
0.02062848091125488,
|
369 |
+
0.020669439315795898,
|
370 |
+
0.020695039749145508,
|
371 |
+
0.02065920066833496,
|
372 |
+
0.02068070411682129,
|
373 |
+
0.02063667106628418,
|
374 |
+
0.019959808349609375,
|
375 |
+
0.020246528625488282,
|
376 |
+
0.01993011283874512,
|
377 |
+
0.0200130558013916,
|
378 |
+
0.020574207305908202,
|
379 |
+
0.020644863128662108,
|
380 |
+
0.020711423873901368,
|
381 |
+
0.02066534423828125,
|
382 |
+
0.020591615676879883,
|
383 |
+
0.02003558349609375,
|
384 |
+
0.020620288848876952,
|
385 |
+
0.020007936477661133,
|
386 |
+
0.02045747184753418,
|
387 |
+
0.02033459281921387,
|
388 |
+
0.020313087463378905,
|
389 |
+
0.020634624481201173,
|
390 |
+
0.020015104293823242,
|
391 |
+
0.02008883285522461,
|
392 |
+
0.02064384078979492,
|
393 |
+
0.019993600845336915,
|
394 |
+
0.020082687377929686,
|
395 |
+
0.020160512924194338,
|
396 |
+
0.019737600326538086,
|
397 |
+
0.020386816024780274,
|
398 |
+
0.02050048065185547,
|
399 |
+
0.019727359771728514,
|
400 |
+
0.020221952438354493,
|
401 |
+
0.02066022491455078,
|
402 |
+
0.020758527755737305,
|
403 |
+
0.020711423873901368,
|
404 |
+
0.020108287811279296,
|
405 |
+
0.02006220817565918,
|
406 |
+
0.02045747184753418,
|
407 |
+
0.02064076805114746,
|
408 |
+
0.020333568572998048,
|
409 |
+
0.019979263305664064,
|
410 |
+
0.019915775299072267,
|
411 |
+
0.02066739273071289,
|
412 |
+
0.019891199111938478,
|
413 |
+
0.02007756805419922,
|
414 |
+
0.020068351745605468,
|
415 |
+
0.01986867141723633,
|
416 |
+
0.020165632247924805,
|
417 |
+
0.020182016372680665,
|
418 |
+
0.02024448013305664,
|
419 |
+
0.02011955261230469,
|
420 |
+
0.020452352523803712,
|
421 |
+
0.02009702491760254,
|
422 |
+
0.020509695053100584,
|
423 |
+
0.019785728454589844,
|
424 |
+
0.019729408264160156,
|
425 |
+
0.020602880477905275,
|
426 |
+
0.020718591690063477,
|
427 |
+
0.02099404716491699,
|
428 |
+
0.020783103942871094,
|
429 |
+
0.019959808349609375,
|
430 |
+
0.020155391693115234,
|
431 |
+
0.020709375381469726,
|
432 |
+
0.020280319213867186
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.22961873332704
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
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 |
+
"hub_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 |
+
"latency": true,
|
56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1792.958464,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5036.936192
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.043979425430297855,
|
15 |
+
"mean": 0.021989712715148928,
|
16 |
+
"stdev": 0.0002128801345825191,
|
17 |
+
"p50": 0.021989712715148928,
|
18 |
+
"p90": 0.022160016822814942,
|
19 |
+
"p95": 0.022181304836273192,
|
20 |
+
"p99": 0.022198335247039794,
|
21 |
+
"values": [
|
22 |
+
0.022202592849731445,
|
23 |
+
0.021776832580566407
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 318.3306708312579
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1792.974848,
|
37 |
+
"max_global_vram": 6793.199616,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6146.752512,
|
40 |
+
"max_allocated": 5036.936704
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 5.138854248046875,
|
46 |
+
"mean": 2.5694271240234374,
|
47 |
+
"stdev": 0.012845825195312521,
|
48 |
+
"p50": 2.5694271240234374,
|
49 |
+
"p90": 2.5797037841796873,
|
50 |
+
"p95": 2.5809883666992186,
|
51 |
+
"p99": 2.5820160327148436,
|
52 |
+
"values": [
|
53 |
+
2.556581298828125,
|
54 |
+
2.58227294921875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.42736021293809
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 5.139182600021365,
|
70 |
+
"mean": 0.020312974703641747,
|
71 |
+
"stdev": 0.0014169272697941901,
|
72 |
+
"p50": 0.02008883285522461,
|
73 |
+
"p90": 0.020728012847900393,
|
74 |
+
"p95": 0.020832461166381835,
|
75 |
+
"p99": 0.02107887596130371,
|
76 |
+
"values": [
|
77 |
+
0.020531200408935548,
|
78 |
+
0.02069811248779297,
|
79 |
+
0.020724735260009765,
|
80 |
+
0.020402175903320312,
|
81 |
+
0.020287488937377928,
|
82 |
+
0.020280319213867186,
|
83 |
+
0.02025574493408203,
|
84 |
+
0.020582399368286132,
|
85 |
+
0.020626432418823244,
|
86 |
+
0.020634624481201173,
|
87 |
+
0.019927040100097656,
|
88 |
+
0.01991372871398926,
|
89 |
+
0.020290559768676757,
|
90 |
+
0.019990528106689453,
|
91 |
+
0.019929088592529298,
|
92 |
+
0.0198922233581543,
|
93 |
+
0.019936256408691407,
|
94 |
+
0.019962879180908204,
|
95 |
+
0.019975168228149414,
|
96 |
+
0.019933183670043944,
|
97 |
+
0.02024038314819336,
|
98 |
+
0.02105036735534668,
|
99 |
+
0.020831232070922853,
|
100 |
+
0.021109760284423826,
|
101 |
+
0.021005311965942384,
|
102 |
+
0.020883455276489257,
|
103 |
+
0.020083711624145507,
|
104 |
+
0.019876863479614256,
|
105 |
+
0.019955711364746095,
|
106 |
+
0.019949567794799804,
|
107 |
+
0.019956735610961913,
|
108 |
+
0.0198922233581543,
|
109 |
+
0.019923967361450197,
|
110 |
+
0.01987379264831543,
|
111 |
+
0.019911680221557617,
|
112 |
+
0.019922943115234376,
|
113 |
+
0.019942399978637695,
|
114 |
+
0.019902463912963866,
|
115 |
+
0.019933183670043944,
|
116 |
+
0.019885055541992186,
|
117 |
+
0.02001817512512207,
|
118 |
+
0.02045849609375,
|
119 |
+
0.019952640533447266,
|
120 |
+
0.019939327239990236,
|
121 |
+
0.02002943992614746,
|
122 |
+
0.019948543548583983,
|
123 |
+
0.01993011283874512,
|
124 |
+
0.019990528106689453,
|
125 |
+
0.020246528625488282,
|
126 |
+
0.020182016372680665,
|
127 |
+
0.02103910446166992,
|
128 |
+
0.020785152435302736,
|
129 |
+
0.020371456146240235,
|
130 |
+
0.01987583923339844,
|
131 |
+
0.019944448471069336,
|
132 |
+
0.01986355209350586,
|
133 |
+
0.019705856323242187,
|
134 |
+
0.019920896530151368,
|
135 |
+
0.019907583236694337,
|
136 |
+
0.019876863479614256,
|
137 |
+
0.019904512405395508,
|
138 |
+
0.019922943115234376,
|
139 |
+
0.019932159423828123,
|
140 |
+
0.019948543548583983,
|
141 |
+
0.02022502326965332,
|
142 |
+
0.020626432418823244,
|
143 |
+
0.020323328018188477,
|
144 |
+
0.019768320083618163,
|
145 |
+
0.01989836883544922,
|
146 |
+
0.019817472457885742,
|
147 |
+
0.02009600067138672,
|
148 |
+
0.019951616287231445,
|
149 |
+
0.019974143981933593,
|
150 |
+
0.019990528106689453,
|
151 |
+
0.020107263565063475,
|
152 |
+
0.019970048904418947,
|
153 |
+
0.019936256408691407,
|
154 |
+
0.019976192474365235,
|
155 |
+
0.019987455368041994,
|
156 |
+
0.01991372871398926,
|
157 |
+
0.019952640533447266,
|
158 |
+
0.019766271591186522,
|
159 |
+
0.019728384017944335,
|
160 |
+
0.019672063827514647,
|
161 |
+
0.019663871765136717,
|
162 |
+
0.0196997127532959,
|
163 |
+
0.019717119216918946,
|
164 |
+
0.019681280136108398,
|
165 |
+
0.019737600326538086,
|
166 |
+
0.019725311279296876,
|
167 |
+
0.020099071502685546,
|
168 |
+
0.019945472717285157,
|
169 |
+
0.019941375732421874,
|
170 |
+
0.01992710494995117,
|
171 |
+
0.01976211166381836,
|
172 |
+
0.019737600326538086,
|
173 |
+
0.019784704208374023,
|
174 |
+
0.019944448471069336,
|
175 |
+
0.020728832244873048,
|
176 |
+
0.02065100860595703,
|
177 |
+
0.02068070411682129,
|
178 |
+
0.020620288848876952,
|
179 |
+
0.019966976165771484,
|
180 |
+
0.019912704467773438,
|
181 |
+
0.019923967361450197,
|
182 |
+
0.01989836883544922,
|
183 |
+
0.019725311279296876,
|
184 |
+
0.019942399978637695,
|
185 |
+
0.019762176513671875,
|
186 |
+
0.02030182456970215,
|
187 |
+
0.02043903923034668,
|
188 |
+
0.02067353630065918,
|
189 |
+
0.02083430480957031,
|
190 |
+
0.02069606399536133,
|
191 |
+
0.020009983062744142,
|
192 |
+
0.019729408264160156,
|
193 |
+
0.019719167709350584,
|
194 |
+
0.019887104034423828,
|
195 |
+
0.01998028755187988,
|
196 |
+
0.02067353630065918,
|
197 |
+
0.020998144149780275,
|
198 |
+
0.019965951919555663,
|
199 |
+
0.019960832595825196,
|
200 |
+
0.020031488418579102,
|
201 |
+
0.021004287719726563,
|
202 |
+
0.020737024307250978,
|
203 |
+
0.0419788818359375,
|
204 |
+
0.020000768661499024,
|
205 |
+
0.020570112228393556,
|
206 |
+
0.020718591690063477,
|
207 |
+
0.02060492706298828,
|
208 |
+
0.02067251205444336,
|
209 |
+
0.02071347236633301,
|
210 |
+
0.020769792556762694,
|
211 |
+
0.020230144500732423,
|
212 |
+
0.020574207305908202,
|
213 |
+
0.020165632247924805,
|
214 |
+
0.02021785545349121,
|
215 |
+
0.02083839988708496,
|
216 |
+
0.020618240356445314,
|
217 |
+
0.020179967880249023,
|
218 |
+
0.02051584053039551,
|
219 |
+
0.020632575988769532,
|
220 |
+
0.02066329574584961,
|
221 |
+
0.019745792388916016,
|
222 |
+
0.019784704208374023,
|
223 |
+
0.021415935516357423,
|
224 |
+
0.02083839988708496,
|
225 |
+
0.020733951568603515,
|
226 |
+
0.019981311798095702,
|
227 |
+
0.019959808349609375,
|
228 |
+
0.02083020782470703,
|
229 |
+
0.019998720169067383,
|
230 |
+
0.019966976165771484,
|
231 |
+
0.020676607131958007,
|
232 |
+
0.02069196891784668,
|
233 |
+
0.02068992042541504,
|
234 |
+
0.02068377685546875,
|
235 |
+
0.02072985649108887,
|
236 |
+
0.02039910316467285,
|
237 |
+
0.019962879180908204,
|
238 |
+
0.019983360290527344,
|
239 |
+
0.02070425605773926,
|
240 |
+
0.019978239059448243,
|
241 |
+
0.019937280654907227,
|
242 |
+
0.020773887634277344,
|
243 |
+
0.019793920516967774,
|
244 |
+
0.019752960205078125,
|
245 |
+
0.020789247512817383,
|
246 |
+
0.02064691162109375,
|
247 |
+
0.020584447860717774,
|
248 |
+
0.019908607482910155,
|
249 |
+
0.01988403129577637,
|
250 |
+
0.020323328018188477,
|
251 |
+
0.01999667167663574,
|
252 |
+
0.019717119216918946,
|
253 |
+
0.019775487899780272,
|
254 |
+
0.019726335525512697,
|
255 |
+
0.019697664260864257,
|
256 |
+
0.020132863998413086,
|
257 |
+
0.020328447341918944,
|
258 |
+
0.02065510368347168,
|
259 |
+
0.020738048553466795,
|
260 |
+
0.020723712921142577,
|
261 |
+
0.02025574493408203,
|
262 |
+
0.019990528106689453,
|
263 |
+
0.019959808349609375,
|
264 |
+
0.020607999801635742,
|
265 |
+
0.02062848091125488,
|
266 |
+
0.020669439315795898,
|
267 |
+
0.020695039749145508,
|
268 |
+
0.02065920066833496,
|
269 |
+
0.02068070411682129,
|
270 |
+
0.02063667106628418,
|
271 |
+
0.019959808349609375,
|
272 |
+
0.020246528625488282,
|
273 |
+
0.01993011283874512,
|
274 |
+
0.0200130558013916,
|
275 |
+
0.020574207305908202,
|
276 |
+
0.020644863128662108,
|
277 |
+
0.020711423873901368,
|
278 |
+
0.02066534423828125,
|
279 |
+
0.020591615676879883,
|
280 |
+
0.02003558349609375,
|
281 |
+
0.020620288848876952,
|
282 |
+
0.020007936477661133,
|
283 |
+
0.02045747184753418,
|
284 |
+
0.02033459281921387,
|
285 |
+
0.020313087463378905,
|
286 |
+
0.020634624481201173,
|
287 |
+
0.020015104293823242,
|
288 |
+
0.02008883285522461,
|
289 |
+
0.02064384078979492,
|
290 |
+
0.019993600845336915,
|
291 |
+
0.020082687377929686,
|
292 |
+
0.020160512924194338,
|
293 |
+
0.019737600326538086,
|
294 |
+
0.020386816024780274,
|
295 |
+
0.02050048065185547,
|
296 |
+
0.019727359771728514,
|
297 |
+
0.020221952438354493,
|
298 |
+
0.02066022491455078,
|
299 |
+
0.020758527755737305,
|
300 |
+
0.020711423873901368,
|
301 |
+
0.020108287811279296,
|
302 |
+
0.02006220817565918,
|
303 |
+
0.02045747184753418,
|
304 |
+
0.02064076805114746,
|
305 |
+
0.020333568572998048,
|
306 |
+
0.019979263305664064,
|
307 |
+
0.019915775299072267,
|
308 |
+
0.02066739273071289,
|
309 |
+
0.019891199111938478,
|
310 |
+
0.02007756805419922,
|
311 |
+
0.020068351745605468,
|
312 |
+
0.01986867141723633,
|
313 |
+
0.020165632247924805,
|
314 |
+
0.020182016372680665,
|
315 |
+
0.02024448013305664,
|
316 |
+
0.02011955261230469,
|
317 |
+
0.020452352523803712,
|
318 |
+
0.02009702491760254,
|
319 |
+
0.020509695053100584,
|
320 |
+
0.019785728454589844,
|
321 |
+
0.019729408264160156,
|
322 |
+
0.020602880477905275,
|
323 |
+
0.020718591690063477,
|
324 |
+
0.02099404716491699,
|
325 |
+
0.020783103942871094,
|
326 |
+
0.019959808349609375,
|
327 |
+
0.020155391693115234,
|
328 |
+
0.020709375381469726,
|
329 |
+
0.020280319213867186
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.22961873332704
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021989712715148928,
|
7 |
+
"prefill.throughput.value": 318.3306708312579,
|
8 |
+
"decode.latency.mean": 2.5694271240234374,
|
9 |
+
"decode.throughput.value": 49.42736021293809,
|
10 |
+
"per_token.latency.mean": 0.020312974703641747,
|
11 |
+
"per_token.throughput.value": 49.22961873332704
|
12 |
+
}
|
13 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_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 |
+
latency: true
|
51 |
+
memory: 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 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
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/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
88 |
+
- hydra.run.dir=_benchmark/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${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/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
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 |
+
"hub_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 |
+
"latency": true,
|
57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1922.453504,
|
109 |
+
"max_global_vram": 6094.848,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 5379.19488,
|
112 |
+
"max_allocated": 5021.251584
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.028112671852111817,
|
118 |
+
"mean": 0.014056335926055909,
|
119 |
+
"stdev": 0.00011601591110229487,
|
120 |
+
"p50": 0.014056335926055909,
|
121 |
+
"p90": 0.014149148654937745,
|
122 |
+
"p95": 0.014160750246047973,
|
123 |
+
"p99": 0.014170031518936158,
|
124 |
+
"values": [
|
125 |
+
0.014172351837158204,
|
126 |
+
0.013940320014953614
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 497.9960664588458
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2266.136576,
|
140 |
+
"max_global_vram": 8907.128832,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 5379.19488,
|
143 |
+
"max_allocated": 5027.089408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 3.1222723388671874,
|
149 |
+
"mean": 1.5611361694335937,
|
150 |
+
"stdev": 0.0027151489257812855,
|
151 |
+
"p50": 1.5611361694335937,
|
152 |
+
"p90": 1.5633082885742187,
|
153 |
+
"p95": 1.563579803466797,
|
154 |
+
"p99": 1.5637970153808594,
|
155 |
+
"values": [
|
156 |
+
1.563851318359375,
|
157 |
+
1.5584210205078124
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.35100735387978
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 3.1233525753021243,
|
173 |
+
"mean": 0.012345267096055825,
|
174 |
+
"stdev": 0.0008903137739901615,
|
175 |
+
"p50": 0.012279840469360351,
|
176 |
+
"p90": 0.012323225784301757,
|
177 |
+
"p95": 0.012383231735229492,
|
178 |
+
"p99": 0.012740935554504394,
|
179 |
+
"values": [
|
180 |
+
0.01266585636138916,
|
181 |
+
0.0127457275390625,
|
182 |
+
0.012708864212036132,
|
183 |
+
0.012736512184143066,
|
184 |
+
0.0127457275390625,
|
185 |
+
0.012320768356323243,
|
186 |
+
0.012256256103515625,
|
187 |
+
0.012281855583190919,
|
188 |
+
0.012248064041137695,
|
189 |
+
0.012292160034179687,
|
190 |
+
0.012251071929931641,
|
191 |
+
0.01228492832183838,
|
192 |
+
0.01226956844329834,
|
193 |
+
0.012301312446594239,
|
194 |
+
0.01225216007232666,
|
195 |
+
0.01228492832183838,
|
196 |
+
0.012246015548706055,
|
197 |
+
0.012317695617675782,
|
198 |
+
0.012324864387512208,
|
199 |
+
0.012282879829406738,
|
200 |
+
0.012280832290649414,
|
201 |
+
0.012296192169189453,
|
202 |
+
0.012248064041137695,
|
203 |
+
0.01228492832183838,
|
204 |
+
0.012253184318542481,
|
205 |
+
0.01229312038421631,
|
206 |
+
0.012253184318542481,
|
207 |
+
0.012306431770324706,
|
208 |
+
0.012246015548706055,
|
209 |
+
0.012291071891784668,
|
210 |
+
0.012241920471191407,
|
211 |
+
0.01227673625946045,
|
212 |
+
0.01223475170135498,
|
213 |
+
0.012283904075622559,
|
214 |
+
0.01223686408996582,
|
215 |
+
0.012287936210632323,
|
216 |
+
0.01225011157989502,
|
217 |
+
0.012270591735839843,
|
218 |
+
0.012248064041137695,
|
219 |
+
0.012289119720458984,
|
220 |
+
0.012285856246948243,
|
221 |
+
0.012313599586486817,
|
222 |
+
0.01226854419708252,
|
223 |
+
0.012296192169189453,
|
224 |
+
0.012239871978759765,
|
225 |
+
0.012281855583190919,
|
226 |
+
0.012239871978759765,
|
227 |
+
0.012278783798217773,
|
228 |
+
0.012229632377624512,
|
229 |
+
0.012275712013244629,
|
230 |
+
0.012230655670166016,
|
231 |
+
0.012278783798217773,
|
232 |
+
0.012237824440002442,
|
233 |
+
0.012282912254333495,
|
234 |
+
0.012305376052856445,
|
235 |
+
0.012283904075622559,
|
236 |
+
0.012259327888488769,
|
237 |
+
0.01234227180480957,
|
238 |
+
0.012309503555297852,
|
239 |
+
0.01234124755859375,
|
240 |
+
0.012270591735839843,
|
241 |
+
0.012290047645568849,
|
242 |
+
0.012244992256164551,
|
243 |
+
0.012267519950866699,
|
244 |
+
0.012241920471191407,
|
245 |
+
0.012290047645568849,
|
246 |
+
0.01225939178466797,
|
247 |
+
0.012296128273010253,
|
248 |
+
0.012256256103515625,
|
249 |
+
0.012314623832702636,
|
250 |
+
0.012285951614379884,
|
251 |
+
0.012303359985351562,
|
252 |
+
0.012254207611083985,
|
253 |
+
0.012294143676757812,
|
254 |
+
0.012264448165893555,
|
255 |
+
0.012295167922973632,
|
256 |
+
0.012253184318542481,
|
257 |
+
0.012288000106811523,
|
258 |
+
0.012239871978759765,
|
259 |
+
0.012296192169189453,
|
260 |
+
0.012364800453186036,
|
261 |
+
0.012464127540588378,
|
262 |
+
0.012502079963684081,
|
263 |
+
0.012529600143432617,
|
264 |
+
0.012497920036315918,
|
265 |
+
0.01239244842529297,
|
266 |
+
0.012259327888488769,
|
267 |
+
0.012300319671630859,
|
268 |
+
0.012242912292480469,
|
269 |
+
0.012288000106811523,
|
270 |
+
0.01224396800994873,
|
271 |
+
0.012308511734008789,
|
272 |
+
0.012262368202209472,
|
273 |
+
0.012336128234863282,
|
274 |
+
0.01225216007232666,
|
275 |
+
0.012303359985351562,
|
276 |
+
0.012262399673461915,
|
277 |
+
0.012298303604125977,
|
278 |
+
0.012252096176147462,
|
279 |
+
0.012286975860595703,
|
280 |
+
0.01226035213470459,
|
281 |
+
0.012381183624267577,
|
282 |
+
0.012331007957458496,
|
283 |
+
0.012356608390808106,
|
284 |
+
0.012560383796691894,
|
285 |
+
0.012323840141296387,
|
286 |
+
0.012275712013244629,
|
287 |
+
0.012315648078918457,
|
288 |
+
0.012297280311584472,
|
289 |
+
0.012295104026794434,
|
290 |
+
0.012256256103515625,
|
291 |
+
0.012305407524108887,
|
292 |
+
0.012248064041137695,
|
293 |
+
0.012297216415405274,
|
294 |
+
0.01224396800994873,
|
295 |
+
0.012281855583190919,
|
296 |
+
0.012248064041137695,
|
297 |
+
0.012331007957458496,
|
298 |
+
0.012329983711242675,
|
299 |
+
0.012386303901672363,
|
300 |
+
0.012279808044433594,
|
301 |
+
0.01234227180480957,
|
302 |
+
0.01225939178466797,
|
303 |
+
0.012287936210632323,
|
304 |
+
0.012253184318542481,
|
305 |
+
0.012280832290649414,
|
306 |
+
0.026427391052246094,
|
307 |
+
0.012257280349731446,
|
308 |
+
0.012302335739135742,
|
309 |
+
0.012246015548706055,
|
310 |
+
0.012285951614379884,
|
311 |
+
0.012237824440002442,
|
312 |
+
0.012280832290649414,
|
313 |
+
0.012246015548706055,
|
314 |
+
0.012272640228271485,
|
315 |
+
0.012231679916381836,
|
316 |
+
0.01228492832183838,
|
317 |
+
0.012246015548706055,
|
318 |
+
0.012270591735839843,
|
319 |
+
0.01225216007232666,
|
320 |
+
0.012295167922973632,
|
321 |
+
0.012256256103515625,
|
322 |
+
0.012297216415405274,
|
323 |
+
0.012249088287353516,
|
324 |
+
0.012318719863891601,
|
325 |
+
0.012247039794921874,
|
326 |
+
0.012280832290649414,
|
327 |
+
0.0122357759475708,
|
328 |
+
0.012295167922973632,
|
329 |
+
0.012238880157470704,
|
330 |
+
0.012286944389343262,
|
331 |
+
0.01225113582611084,
|
332 |
+
0.012285951614379884,
|
333 |
+
0.012246015548706055,
|
334 |
+
0.012283904075622559,
|
335 |
+
0.012265472412109376,
|
336 |
+
0.012288096427917481,
|
337 |
+
0.012253087997436523,
|
338 |
+
0.012296192169189453,
|
339 |
+
0.012248064041137695,
|
340 |
+
0.012279808044433594,
|
341 |
+
0.012229632377624512,
|
342 |
+
0.012286975860595703,
|
343 |
+
0.012240896224975586,
|
344 |
+
0.012281855583190919,
|
345 |
+
0.01223475170135498,
|
346 |
+
0.012278783798217773,
|
347 |
+
0.012244992256164551,
|
348 |
+
0.012288000106811523,
|
349 |
+
0.012299263954162597,
|
350 |
+
0.012314623832702636,
|
351 |
+
0.012255231857299804,
|
352 |
+
0.012295231819152833,
|
353 |
+
0.01226028823852539,
|
354 |
+
0.012273664474487305,
|
355 |
+
0.012233728408813477,
|
356 |
+
0.012281855583190919,
|
357 |
+
0.012249088287353516,
|
358 |
+
0.012265472412109376,
|
359 |
+
0.01224396800994873,
|
360 |
+
0.012281855583190919,
|
361 |
+
0.012240896224975586,
|
362 |
+
0.012286975860595703,
|
363 |
+
0.0122357759475708,
|
364 |
+
0.012275712013244629,
|
365 |
+
0.012264448165893555,
|
366 |
+
0.012283904075622559,
|
367 |
+
0.012257280349731446,
|
368 |
+
0.012292096138000488,
|
369 |
+
0.012229632377624512,
|
370 |
+
0.012278783798217773,
|
371 |
+
0.012238847732543945,
|
372 |
+
0.012286975860595703,
|
373 |
+
0.012240960121154785,
|
374 |
+
0.012277695655822754,
|
375 |
+
0.012241920471191407,
|
376 |
+
0.012285951614379884,
|
377 |
+
0.012282879829406738,
|
378 |
+
0.012294143676757812,
|
379 |
+
0.012244992256164551,
|
380 |
+
0.012303359985351562,
|
381 |
+
0.012271615982055664,
|
382 |
+
0.012308480262756348,
|
383 |
+
0.012257280349731446,
|
384 |
+
0.01227673625946045,
|
385 |
+
0.012238880157470704,
|
386 |
+
0.01230025577545166,
|
387 |
+
0.01225113582611084,
|
388 |
+
0.012288000106811523,
|
389 |
+
0.012246015548706055,
|
390 |
+
0.012273664474487305,
|
391 |
+
0.012239871978759765,
|
392 |
+
0.01227673625946045,
|
393 |
+
0.01224396800994873,
|
394 |
+
0.01228492832183838,
|
395 |
+
0.012309503555297852,
|
396 |
+
0.012310527801513671,
|
397 |
+
0.012258367538452148,
|
398 |
+
0.012289983749389648,
|
399 |
+
0.012239871978759765,
|
400 |
+
0.012278783798217773,
|
401 |
+
0.012230655670166016,
|
402 |
+
0.012285951614379884,
|
403 |
+
0.012248064041137695,
|
404 |
+
0.012291071891784668,
|
405 |
+
0.0122357759475708,
|
406 |
+
0.012320768356323243,
|
407 |
+
0.01223475170135498,
|
408 |
+
0.012307456016540527,
|
409 |
+
0.01224294376373291,
|
410 |
+
0.012309503555297852,
|
411 |
+
0.012229632377624512,
|
412 |
+
0.012292096138000488,
|
413 |
+
0.01225830364227295,
|
414 |
+
0.012306431770324706,
|
415 |
+
0.0122357759475708,
|
416 |
+
0.012331007957458496,
|
417 |
+
0.012253184318542481,
|
418 |
+
0.012291071891784668,
|
419 |
+
0.01225011157989502,
|
420 |
+
0.012278783798217773,
|
421 |
+
0.012253184318542481,
|
422 |
+
0.01229312038421631,
|
423 |
+
0.012236800193786621,
|
424 |
+
0.012289024353027344,
|
425 |
+
0.01224294376373291,
|
426 |
+
0.012286975860595703,
|
427 |
+
0.012279840469360351,
|
428 |
+
0.012284895896911622,
|
429 |
+
0.012302335739135742,
|
430 |
+
0.012279808044433594,
|
431 |
+
0.012257280349731446,
|
432 |
+
0.012290047645568849
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.002702672953
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
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 |
+
"hub_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 |
+
"latency": true,
|
56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1922.453504,
|
6 |
+
"max_global_vram": 6094.848,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 5379.19488,
|
9 |
+
"max_allocated": 5021.251584
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.028112671852111817,
|
15 |
+
"mean": 0.014056335926055909,
|
16 |
+
"stdev": 0.00011601591110229487,
|
17 |
+
"p50": 0.014056335926055909,
|
18 |
+
"p90": 0.014149148654937745,
|
19 |
+
"p95": 0.014160750246047973,
|
20 |
+
"p99": 0.014170031518936158,
|
21 |
+
"values": [
|
22 |
+
0.014172351837158204,
|
23 |
+
0.013940320014953614
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 497.9960664588458
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2266.136576,
|
37 |
+
"max_global_vram": 8907.128832,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 5379.19488,
|
40 |
+
"max_allocated": 5027.089408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 3.1222723388671874,
|
46 |
+
"mean": 1.5611361694335937,
|
47 |
+
"stdev": 0.0027151489257812855,
|
48 |
+
"p50": 1.5611361694335937,
|
49 |
+
"p90": 1.5633082885742187,
|
50 |
+
"p95": 1.563579803466797,
|
51 |
+
"p99": 1.5637970153808594,
|
52 |
+
"values": [
|
53 |
+
1.563851318359375,
|
54 |
+
1.5584210205078124
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.35100735387978
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 3.1233525753021243,
|
70 |
+
"mean": 0.012345267096055825,
|
71 |
+
"stdev": 0.0008903137739901615,
|
72 |
+
"p50": 0.012279840469360351,
|
73 |
+
"p90": 0.012323225784301757,
|
74 |
+
"p95": 0.012383231735229492,
|
75 |
+
"p99": 0.012740935554504394,
|
76 |
+
"values": [
|
77 |
+
0.01266585636138916,
|
78 |
+
0.0127457275390625,
|
79 |
+
0.012708864212036132,
|
80 |
+
0.012736512184143066,
|
81 |
+
0.0127457275390625,
|
82 |
+
0.012320768356323243,
|
83 |
+
0.012256256103515625,
|
84 |
+
0.012281855583190919,
|
85 |
+
0.012248064041137695,
|
86 |
+
0.012292160034179687,
|
87 |
+
0.012251071929931641,
|
88 |
+
0.01228492832183838,
|
89 |
+
0.01226956844329834,
|
90 |
+
0.012301312446594239,
|
91 |
+
0.01225216007232666,
|
92 |
+
0.01228492832183838,
|
93 |
+
0.012246015548706055,
|
94 |
+
0.012317695617675782,
|
95 |
+
0.012324864387512208,
|
96 |
+
0.012282879829406738,
|
97 |
+
0.012280832290649414,
|
98 |
+
0.012296192169189453,
|
99 |
+
0.012248064041137695,
|
100 |
+
0.01228492832183838,
|
101 |
+
0.012253184318542481,
|
102 |
+
0.01229312038421631,
|
103 |
+
0.012253184318542481,
|
104 |
+
0.012306431770324706,
|
105 |
+
0.012246015548706055,
|
106 |
+
0.012291071891784668,
|
107 |
+
0.012241920471191407,
|
108 |
+
0.01227673625946045,
|
109 |
+
0.01223475170135498,
|
110 |
+
0.012283904075622559,
|
111 |
+
0.01223686408996582,
|
112 |
+
0.012287936210632323,
|
113 |
+
0.01225011157989502,
|
114 |
+
0.012270591735839843,
|
115 |
+
0.012248064041137695,
|
116 |
+
0.012289119720458984,
|
117 |
+
0.012285856246948243,
|
118 |
+
0.012313599586486817,
|
119 |
+
0.01226854419708252,
|
120 |
+
0.012296192169189453,
|
121 |
+
0.012239871978759765,
|
122 |
+
0.012281855583190919,
|
123 |
+
0.012239871978759765,
|
124 |
+
0.012278783798217773,
|
125 |
+
0.012229632377624512,
|
126 |
+
0.012275712013244629,
|
127 |
+
0.012230655670166016,
|
128 |
+
0.012278783798217773,
|
129 |
+
0.012237824440002442,
|
130 |
+
0.012282912254333495,
|
131 |
+
0.012305376052856445,
|
132 |
+
0.012283904075622559,
|
133 |
+
0.012259327888488769,
|
134 |
+
0.01234227180480957,
|
135 |
+
0.012309503555297852,
|
136 |
+
0.01234124755859375,
|
137 |
+
0.012270591735839843,
|
138 |
+
0.012290047645568849,
|
139 |
+
0.012244992256164551,
|
140 |
+
0.012267519950866699,
|
141 |
+
0.012241920471191407,
|
142 |
+
0.012290047645568849,
|
143 |
+
0.01225939178466797,
|
144 |
+
0.012296128273010253,
|
145 |
+
0.012256256103515625,
|
146 |
+
0.012314623832702636,
|
147 |
+
0.012285951614379884,
|
148 |
+
0.012303359985351562,
|
149 |
+
0.012254207611083985,
|
150 |
+
0.012294143676757812,
|
151 |
+
0.012264448165893555,
|
152 |
+
0.012295167922973632,
|
153 |
+
0.012253184318542481,
|
154 |
+
0.012288000106811523,
|
155 |
+
0.012239871978759765,
|
156 |
+
0.012296192169189453,
|
157 |
+
0.012364800453186036,
|
158 |
+
0.012464127540588378,
|
159 |
+
0.012502079963684081,
|
160 |
+
0.012529600143432617,
|
161 |
+
0.012497920036315918,
|
162 |
+
0.01239244842529297,
|
163 |
+
0.012259327888488769,
|
164 |
+
0.012300319671630859,
|
165 |
+
0.012242912292480469,
|
166 |
+
0.012288000106811523,
|
167 |
+
0.01224396800994873,
|
168 |
+
0.012308511734008789,
|
169 |
+
0.012262368202209472,
|
170 |
+
0.012336128234863282,
|
171 |
+
0.01225216007232666,
|
172 |
+
0.012303359985351562,
|
173 |
+
0.012262399673461915,
|
174 |
+
0.012298303604125977,
|
175 |
+
0.012252096176147462,
|
176 |
+
0.012286975860595703,
|
177 |
+
0.01226035213470459,
|
178 |
+
0.012381183624267577,
|
179 |
+
0.012331007957458496,
|
180 |
+
0.012356608390808106,
|
181 |
+
0.012560383796691894,
|
182 |
+
0.012323840141296387,
|
183 |
+
0.012275712013244629,
|
184 |
+
0.012315648078918457,
|
185 |
+
0.012297280311584472,
|
186 |
+
0.012295104026794434,
|
187 |
+
0.012256256103515625,
|
188 |
+
0.012305407524108887,
|
189 |
+
0.012248064041137695,
|
190 |
+
0.012297216415405274,
|
191 |
+
0.01224396800994873,
|
192 |
+
0.012281855583190919,
|
193 |
+
0.012248064041137695,
|
194 |
+
0.012331007957458496,
|
195 |
+
0.012329983711242675,
|
196 |
+
0.012386303901672363,
|
197 |
+
0.012279808044433594,
|
198 |
+
0.01234227180480957,
|
199 |
+
0.01225939178466797,
|
200 |
+
0.012287936210632323,
|
201 |
+
0.012253184318542481,
|
202 |
+
0.012280832290649414,
|
203 |
+
0.026427391052246094,
|
204 |
+
0.012257280349731446,
|
205 |
+
0.012302335739135742,
|
206 |
+
0.012246015548706055,
|
207 |
+
0.012285951614379884,
|
208 |
+
0.012237824440002442,
|
209 |
+
0.012280832290649414,
|
210 |
+
0.012246015548706055,
|
211 |
+
0.012272640228271485,
|
212 |
+
0.012231679916381836,
|
213 |
+
0.01228492832183838,
|
214 |
+
0.012246015548706055,
|
215 |
+
0.012270591735839843,
|
216 |
+
0.01225216007232666,
|
217 |
+
0.012295167922973632,
|
218 |
+
0.012256256103515625,
|
219 |
+
0.012297216415405274,
|
220 |
+
0.012249088287353516,
|
221 |
+
0.012318719863891601,
|
222 |
+
0.012247039794921874,
|
223 |
+
0.012280832290649414,
|
224 |
+
0.0122357759475708,
|
225 |
+
0.012295167922973632,
|
226 |
+
0.012238880157470704,
|
227 |
+
0.012286944389343262,
|
228 |
+
0.01225113582611084,
|
229 |
+
0.012285951614379884,
|
230 |
+
0.012246015548706055,
|
231 |
+
0.012283904075622559,
|
232 |
+
0.012265472412109376,
|
233 |
+
0.012288096427917481,
|
234 |
+
0.012253087997436523,
|
235 |
+
0.012296192169189453,
|
236 |
+
0.012248064041137695,
|
237 |
+
0.012279808044433594,
|
238 |
+
0.012229632377624512,
|
239 |
+
0.012286975860595703,
|
240 |
+
0.012240896224975586,
|
241 |
+
0.012281855583190919,
|
242 |
+
0.01223475170135498,
|
243 |
+
0.012278783798217773,
|
244 |
+
0.012244992256164551,
|
245 |
+
0.012288000106811523,
|
246 |
+
0.012299263954162597,
|
247 |
+
0.012314623832702636,
|
248 |
+
0.012255231857299804,
|
249 |
+
0.012295231819152833,
|
250 |
+
0.01226028823852539,
|
251 |
+
0.012273664474487305,
|
252 |
+
0.012233728408813477,
|
253 |
+
0.012281855583190919,
|
254 |
+
0.012249088287353516,
|
255 |
+
0.012265472412109376,
|
256 |
+
0.01224396800994873,
|
257 |
+
0.012281855583190919,
|
258 |
+
0.012240896224975586,
|
259 |
+
0.012286975860595703,
|
260 |
+
0.0122357759475708,
|
261 |
+
0.012275712013244629,
|
262 |
+
0.012264448165893555,
|
263 |
+
0.012283904075622559,
|
264 |
+
0.012257280349731446,
|
265 |
+
0.012292096138000488,
|
266 |
+
0.012229632377624512,
|
267 |
+
0.012278783798217773,
|
268 |
+
0.012238847732543945,
|
269 |
+
0.012286975860595703,
|
270 |
+
0.012240960121154785,
|
271 |
+
0.012277695655822754,
|
272 |
+
0.012241920471191407,
|
273 |
+
0.012285951614379884,
|
274 |
+
0.012282879829406738,
|
275 |
+
0.012294143676757812,
|
276 |
+
0.012244992256164551,
|
277 |
+
0.012303359985351562,
|
278 |
+
0.012271615982055664,
|
279 |
+
0.012308480262756348,
|
280 |
+
0.012257280349731446,
|
281 |
+
0.01227673625946045,
|
282 |
+
0.012238880157470704,
|
283 |
+
0.01230025577545166,
|
284 |
+
0.01225113582611084,
|
285 |
+
0.012288000106811523,
|
286 |
+
0.012246015548706055,
|
287 |
+
0.012273664474487305,
|
288 |
+
0.012239871978759765,
|
289 |
+
0.01227673625946045,
|
290 |
+
0.01224396800994873,
|
291 |
+
0.01228492832183838,
|
292 |
+
0.012309503555297852,
|
293 |
+
0.012310527801513671,
|
294 |
+
0.012258367538452148,
|
295 |
+
0.012289983749389648,
|
296 |
+
0.012239871978759765,
|
297 |
+
0.012278783798217773,
|
298 |
+
0.012230655670166016,
|
299 |
+
0.012285951614379884,
|
300 |
+
0.012248064041137695,
|
301 |
+
0.012291071891784668,
|
302 |
+
0.0122357759475708,
|
303 |
+
0.012320768356323243,
|
304 |
+
0.01223475170135498,
|
305 |
+
0.012307456016540527,
|
306 |
+
0.01224294376373291,
|
307 |
+
0.012309503555297852,
|
308 |
+
0.012229632377624512,
|
309 |
+
0.012292096138000488,
|
310 |
+
0.01225830364227295,
|
311 |
+
0.012306431770324706,
|
312 |
+
0.0122357759475708,
|
313 |
+
0.012331007957458496,
|
314 |
+
0.012253184318542481,
|
315 |
+
0.012291071891784668,
|
316 |
+
0.01225011157989502,
|
317 |
+
0.012278783798217773,
|
318 |
+
0.012253184318542481,
|
319 |
+
0.01229312038421631,
|
320 |
+
0.012236800193786621,
|
321 |
+
0.012289024353027344,
|
322 |
+
0.01224294376373291,
|
323 |
+
0.012286975860595703,
|
324 |
+
0.012279840469360351,
|
325 |
+
0.012284895896911622,
|
326 |
+
0.012302335739135742,
|
327 |
+
0.012279808044433594,
|
328 |
+
0.012257280349731446,
|
329 |
+
0.012290047645568849
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.002702672953
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/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": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014056335926055909,
|
7 |
+
"prefill.throughput.value": 497.9960664588458,
|
8 |
+
"decode.latency.mean": 1.5611361694335937,
|
9 |
+
"decode.throughput.value": 81.35100735387978,
|
10 |
+
"per_token.latency.mean": 0.012345267096055825,
|
11 |
+
"per_token.throughput.value": 81.002702672953
|
12 |
+
}
|
13 |
+
}
|
2024-06-26/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_9cckg0k/commit=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
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/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
88 |
+
- hydra.run.dir=_benchmark/tmp_9cckg0k/commit\=0f67ba1d741d65b07d549daf4ee157609ce4f9c1/${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.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_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 |
+
latency: true
|
192 |
+
memory: 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 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 0f67ba1d741d65b07d549daf4ee157609ce4f9c1
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-06-26/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.01959430408477783,
|
8 |
+
"prefill.throughput.value": 357.2466758560754,
|
9 |
+
"decode.latency.mean": 2.4298411865234373,
|
10 |
+
"decode.throughput.value": 52.266790399461776,
|
11 |
+
"per_token.latency.mean": 0.01920895289243917,
|
12 |
+
"per_token.throughput.value": 52.05905837759693
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.021989712715148928,
|
21 |
+
"prefill.throughput.value": 318.3306708312579,
|
22 |
+
"decode.latency.mean": 2.5694271240234374,
|
23 |
+
"decode.throughput.value": 49.42736021293809,
|
24 |
+
"per_token.latency.mean": 0.020312974703641747,
|
25 |
+
"per_token.throughput.value": 49.22961873332704
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014056335926055909,
|
34 |
+
"prefill.throughput.value": 497.9960664588458,
|
35 |
+
"decode.latency.mean": 1.5611361694335937,
|
36 |
+
"decode.throughput.value": 81.35100735387978,
|
37 |
+
"per_token.latency.mean": 0.012345267096055825,
|
38 |
+
"per_token.throughput.value": 81.002702672953
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-26/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"0f67ba1d741d65b07d549daf4ee157609ce4f9c1": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01959430408477783,
|
7 |
+
"prefill.throughput.value": 357.2466758560754,
|
8 |
+
"decode.latency.mean": 2.4298411865234373,
|
9 |
+
"decode.throughput.value": 52.266790399461776,
|
10 |
+
"per_token.latency.mean": 0.01920895289243917,
|
11 |
+
"per_token.throughput.value": 52.05905837759693
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"0f67ba1d741d65b07d549daf4ee157609ce4f9c1": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.021989712715148928,
|
19 |
+
"prefill.throughput.value": 318.3306708312579,
|
20 |
+
"decode.latency.mean": 2.5694271240234374,
|
21 |
+
"decode.throughput.value": 49.42736021293809,
|
22 |
+
"per_token.latency.mean": 0.020312974703641747,
|
23 |
+
"per_token.throughput.value": 49.22961873332704
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"0f67ba1d741d65b07d549daf4ee157609ce4f9c1": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014056335926055909,
|
31 |
+
"prefill.throughput.value": 497.9960664588458,
|
32 |
+
"decode.latency.mean": 1.5611361694335937,
|
33 |
+
"decode.throughput.value": 81.35100735387978,
|
34 |
+
"per_token.latency.mean": 0.012345267096055825,
|
35 |
+
"per_token.throughput.value": 81.002702672953
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|