hf-transformers-bot
commited on
Commit
•
dfc9307
1
Parent(s):
464c60c
Upload folder using huggingface_hub
Browse files- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/multirun.yaml +232 -0
- 2024-06-20/summaries.json +41 -0
- 2024-06-20/summary.json +40 -0
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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: 6d4306160ab22c54a677e07f88c7d8808b137d38
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38
|
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/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38
|
88 |
+
- hydra.run.dir=_benchmark/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38/${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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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": 1721.806848,
|
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.04648220825195312,
|
118 |
+
"mean": 0.02324110412597656,
|
119 |
+
"stdev": 0.002961711883544922,
|
120 |
+
"p50": 0.02324110412597656,
|
121 |
+
"p90": 0.025610473632812502,
|
122 |
+
"p95": 0.02590664482116699,
|
123 |
+
"p99": 0.026143581771850586,
|
124 |
+
"values": [
|
125 |
+
0.026202816009521485,
|
126 |
+
0.02027939224243164
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 301.19050979923566
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1721.868288,
|
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.8825307617187494,
|
149 |
+
"mean": 2.4412653808593747,
|
150 |
+
"stdev": 0.025046874999999913,
|
151 |
+
"p50": 2.4412653808593747,
|
152 |
+
"p90": 2.461302880859375,
|
153 |
+
"p95": 2.4638075683593748,
|
154 |
+
"p99": 2.465811318359375,
|
155 |
+
"values": [
|
156 |
+
2.466312255859375,
|
157 |
+
2.416218505859375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.022201681037004
|
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.883076086044313,
|
173 |
+
"mean": 0.01930069599227001,
|
174 |
+
"stdev": 0.0013258983945804185,
|
175 |
+
"p50": 0.01929113578796387,
|
176 |
+
"p90": 0.019754598236083984,
|
177 |
+
"p95": 0.019976806259155273,
|
178 |
+
"p99": 0.02066485298156738,
|
179 |
+
"values": [
|
180 |
+
0.020149311065673827,
|
181 |
+
0.019780544281005858,
|
182 |
+
0.01925017547607422,
|
183 |
+
0.019293184280395507,
|
184 |
+
0.01919795227050781,
|
185 |
+
0.019204095840454103,
|
186 |
+
0.019280895233154297,
|
187 |
+
0.01903308868408203,
|
188 |
+
0.01900339126586914,
|
189 |
+
0.019111936569213867,
|
190 |
+
0.019396608352661132,
|
191 |
+
0.019315711975097655,
|
192 |
+
0.01920102310180664,
|
193 |
+
0.019180543899536134,
|
194 |
+
0.019474431991577147,
|
195 |
+
0.019417087554931642,
|
196 |
+
0.019524608612060547,
|
197 |
+
0.019075071334838867,
|
198 |
+
0.019177471160888672,
|
199 |
+
0.019944448471069336,
|
200 |
+
0.019400703430175782,
|
201 |
+
0.01905356788635254,
|
202 |
+
0.01921843147277832,
|
203 |
+
0.01904947280883789,
|
204 |
+
0.019041311264038085,
|
205 |
+
0.019037151336669923,
|
206 |
+
0.019017728805541992,
|
207 |
+
0.019129344940185547,
|
208 |
+
0.019486719131469727,
|
209 |
+
0.019390464782714844,
|
210 |
+
0.01924608039855957,
|
211 |
+
0.019207168579101562,
|
212 |
+
0.019091455459594727,
|
213 |
+
0.018946048736572265,
|
214 |
+
0.019190784454345702,
|
215 |
+
0.01909350395202637,
|
216 |
+
0.02030080032348633,
|
217 |
+
0.01987993621826172,
|
218 |
+
0.019975168228149414,
|
219 |
+
0.019979263305664064,
|
220 |
+
0.019957759857177734,
|
221 |
+
0.01999667167663574,
|
222 |
+
0.019938304901123048,
|
223 |
+
0.019921951293945313,
|
224 |
+
0.01991267204284668,
|
225 |
+
0.01979910469055176,
|
226 |
+
0.019911615371704102,
|
227 |
+
0.02008780860900879,
|
228 |
+
0.020914176940917968,
|
229 |
+
0.02021990394592285,
|
230 |
+
0.019887104034423828,
|
231 |
+
0.019736576080322265,
|
232 |
+
0.0192993278503418,
|
233 |
+
0.019393535614013673,
|
234 |
+
0.01945497512817383,
|
235 |
+
0.01944780731201172,
|
236 |
+
0.019607551574707033,
|
237 |
+
0.018776063919067384,
|
238 |
+
0.019288063049316406,
|
239 |
+
0.019396608352661132,
|
240 |
+
0.019345407485961915,
|
241 |
+
0.018780160903930664,
|
242 |
+
0.018601984024047852,
|
243 |
+
0.018523136138916017,
|
244 |
+
0.01939455986022949,
|
245 |
+
0.019301376342773437,
|
246 |
+
0.01962495994567871,
|
247 |
+
0.019372032165527343,
|
248 |
+
0.019312639236450196,
|
249 |
+
0.0192993278503418,
|
250 |
+
0.019723264694213868,
|
251 |
+
0.01962188720703125,
|
252 |
+
0.019615743637084963,
|
253 |
+
0.01960960006713867,
|
254 |
+
0.01965977668762207,
|
255 |
+
0.019599359512329103,
|
256 |
+
0.01963929557800293,
|
257 |
+
0.019663871765136717,
|
258 |
+
0.019620864868164063,
|
259 |
+
0.019300352096557616,
|
260 |
+
0.019409919738769533,
|
261 |
+
0.01965158462524414,
|
262 |
+
0.019310592651367187,
|
263 |
+
0.019280895233154297,
|
264 |
+
0.019489791870117186,
|
265 |
+
0.0196177921295166,
|
266 |
+
0.019612672805786133,
|
267 |
+
0.019589120864868165,
|
268 |
+
0.01962393569946289,
|
269 |
+
0.019668991088867188,
|
270 |
+
0.019602432250976562,
|
271 |
+
0.01960550308227539,
|
272 |
+
0.019337215423583985,
|
273 |
+
0.019283967971801756,
|
274 |
+
0.019332096099853514,
|
275 |
+
0.01927475166320801,
|
276 |
+
0.019727359771728514,
|
277 |
+
0.020230144500732423,
|
278 |
+
0.02003865623474121,
|
279 |
+
0.019664896011352538,
|
280 |
+
0.01929113578796387,
|
281 |
+
0.018562047958374024,
|
282 |
+
0.018760704040527345,
|
283 |
+
0.019224576950073242,
|
284 |
+
0.01862553596496582,
|
285 |
+
0.018787328720092773,
|
286 |
+
0.019361791610717775,
|
287 |
+
0.01965772819519043,
|
288 |
+
0.01965363121032715,
|
289 |
+
0.019587072372436523,
|
290 |
+
0.019533824920654298,
|
291 |
+
0.019631103515625,
|
292 |
+
0.01960857582092285,
|
293 |
+
0.01960960006713867,
|
294 |
+
0.019619840621948242,
|
295 |
+
0.01927065658569336,
|
296 |
+
0.018675743103027345,
|
297 |
+
0.01870844841003418,
|
298 |
+
0.018548736572265623,
|
299 |
+
0.018553855895996094,
|
300 |
+
0.01881804847717285,
|
301 |
+
0.018568191528320312,
|
302 |
+
0.019620864868164063,
|
303 |
+
0.019572736740112305,
|
304 |
+
0.019586048126220702,
|
305 |
+
0.01945497512817383,
|
306 |
+
0.03896115112304688,
|
307 |
+
0.01841766357421875,
|
308 |
+
0.018472959518432617,
|
309 |
+
0.018618368148803712,
|
310 |
+
0.018551807403564453,
|
311 |
+
0.01863167953491211,
|
312 |
+
0.01862758445739746,
|
313 |
+
0.01859686470031738,
|
314 |
+
0.01859174346923828,
|
315 |
+
0.019001344680786132,
|
316 |
+
0.01946112060546875,
|
317 |
+
0.01863987159729004,
|
318 |
+
0.01865318489074707,
|
319 |
+
0.01863065528869629,
|
320 |
+
0.019124223709106446,
|
321 |
+
0.020530176162719727,
|
322 |
+
0.019713024139404296,
|
323 |
+
0.019577856063842772,
|
324 |
+
0.01947750473022461,
|
325 |
+
0.019510271072387696,
|
326 |
+
0.01945808029174805,
|
327 |
+
0.0196474552154541,
|
328 |
+
0.01939148712158203,
|
329 |
+
0.019495935440063478,
|
330 |
+
0.019512319564819337,
|
331 |
+
0.01924198341369629,
|
332 |
+
0.018463743209838866,
|
333 |
+
0.01867263984680176,
|
334 |
+
0.018696191787719727,
|
335 |
+
0.018702335357666015,
|
336 |
+
0.01868185615539551,
|
337 |
+
0.018675712585449217,
|
338 |
+
0.018663423538208008,
|
339 |
+
0.019549184799194336,
|
340 |
+
0.01925529670715332,
|
341 |
+
0.019374080657958984,
|
342 |
+
0.01942937660217285,
|
343 |
+
0.019479551315307618,
|
344 |
+
0.01922662353515625,
|
345 |
+
0.019307519912719725,
|
346 |
+
0.019528703689575197,
|
347 |
+
0.019491840362548828,
|
348 |
+
0.01945599937438965,
|
349 |
+
0.019335168838500977,
|
350 |
+
0.019177471160888672,
|
351 |
+
0.01945497512817383,
|
352 |
+
0.019548160552978516,
|
353 |
+
0.019759103775024413,
|
354 |
+
0.019532800674438477,
|
355 |
+
0.019501056671142578,
|
356 |
+
0.019177471160888672,
|
357 |
+
0.018601984024047852,
|
358 |
+
0.018646015167236327,
|
359 |
+
0.01864192008972168,
|
360 |
+
0.01866649627685547,
|
361 |
+
0.018571264266967775,
|
362 |
+
0.018465791702270508,
|
363 |
+
0.018588672637939452,
|
364 |
+
0.018708480834960937,
|
365 |
+
0.018669567108154296,
|
366 |
+
0.018559999465942383,
|
367 |
+
0.018544639587402344,
|
368 |
+
0.018768896102905275,
|
369 |
+
0.01881292724609375,
|
370 |
+
0.018790399551391602,
|
371 |
+
0.018707456588745116,
|
372 |
+
0.0185743350982666,
|
373 |
+
0.018956287384033203,
|
374 |
+
0.0192993278503418,
|
375 |
+
0.019342336654663086,
|
376 |
+
0.019304447174072266,
|
377 |
+
0.019611648559570313,
|
378 |
+
0.019603456497192383,
|
379 |
+
0.019777536392211914,
|
380 |
+
0.019631103515625,
|
381 |
+
0.019569664001464843,
|
382 |
+
0.018784255981445314,
|
383 |
+
0.018768896102905275,
|
384 |
+
0.018758655548095703,
|
385 |
+
0.01883647918701172,
|
386 |
+
0.019510271072387696,
|
387 |
+
0.019655679702758787,
|
388 |
+
0.01875660705566406,
|
389 |
+
0.01855897521972656,
|
390 |
+
0.01876479911804199,
|
391 |
+
0.018775039672851563,
|
392 |
+
0.018556928634643553,
|
393 |
+
0.018795520782470702,
|
394 |
+
0.019619840621948242,
|
395 |
+
0.01967513656616211,
|
396 |
+
0.019300352096557616,
|
397 |
+
0.019361791610717775,
|
398 |
+
0.019331071853637697,
|
399 |
+
0.018538496017456055,
|
400 |
+
0.018548736572265623,
|
401 |
+
0.018587648391723634,
|
402 |
+
0.018685951232910156,
|
403 |
+
0.018748416900634765,
|
404 |
+
0.018723840713500976,
|
405 |
+
0.018735103607177735,
|
406 |
+
0.019986431121826173,
|
407 |
+
0.018755584716796874,
|
408 |
+
0.01880985641479492,
|
409 |
+
0.018795520782470702,
|
410 |
+
0.018785280227661134,
|
411 |
+
0.01879756736755371,
|
412 |
+
0.018765823364257812,
|
413 |
+
0.018757631301879883,
|
414 |
+
0.018733055114746093,
|
415 |
+
0.018742271423339844,
|
416 |
+
0.018763776779174804,
|
417 |
+
0.01879654312133789,
|
418 |
+
0.01877299118041992,
|
419 |
+
0.018719743728637696,
|
420 |
+
0.018760704040527345,
|
421 |
+
0.018716672897338867,
|
422 |
+
0.018611200332641603,
|
423 |
+
0.018527231216430663,
|
424 |
+
0.01879756736755371,
|
425 |
+
0.018968576431274413,
|
426 |
+
0.020810752868652343,
|
427 |
+
0.018912256240844725,
|
428 |
+
0.018791423797607423,
|
429 |
+
0.018767871856689454,
|
430 |
+
0.019179519653320314,
|
431 |
+
0.019588096618652344,
|
432 |
+
0.01964339256286621
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.811603084184284
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": 1721.806848,
|
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.04648220825195312,
|
15 |
+
"mean": 0.02324110412597656,
|
16 |
+
"stdev": 0.002961711883544922,
|
17 |
+
"p50": 0.02324110412597656,
|
18 |
+
"p90": 0.025610473632812502,
|
19 |
+
"p95": 0.02590664482116699,
|
20 |
+
"p99": 0.026143581771850586,
|
21 |
+
"values": [
|
22 |
+
0.026202816009521485,
|
23 |
+
0.02027939224243164
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 301.19050979923566
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1721.868288,
|
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.8825307617187494,
|
46 |
+
"mean": 2.4412653808593747,
|
47 |
+
"stdev": 0.025046874999999913,
|
48 |
+
"p50": 2.4412653808593747,
|
49 |
+
"p90": 2.461302880859375,
|
50 |
+
"p95": 2.4638075683593748,
|
51 |
+
"p99": 2.465811318359375,
|
52 |
+
"values": [
|
53 |
+
2.466312255859375,
|
54 |
+
2.416218505859375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.022201681037004
|
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.883076086044313,
|
70 |
+
"mean": 0.01930069599227001,
|
71 |
+
"stdev": 0.0013258983945804185,
|
72 |
+
"p50": 0.01929113578796387,
|
73 |
+
"p90": 0.019754598236083984,
|
74 |
+
"p95": 0.019976806259155273,
|
75 |
+
"p99": 0.02066485298156738,
|
76 |
+
"values": [
|
77 |
+
0.020149311065673827,
|
78 |
+
0.019780544281005858,
|
79 |
+
0.01925017547607422,
|
80 |
+
0.019293184280395507,
|
81 |
+
0.01919795227050781,
|
82 |
+
0.019204095840454103,
|
83 |
+
0.019280895233154297,
|
84 |
+
0.01903308868408203,
|
85 |
+
0.01900339126586914,
|
86 |
+
0.019111936569213867,
|
87 |
+
0.019396608352661132,
|
88 |
+
0.019315711975097655,
|
89 |
+
0.01920102310180664,
|
90 |
+
0.019180543899536134,
|
91 |
+
0.019474431991577147,
|
92 |
+
0.019417087554931642,
|
93 |
+
0.019524608612060547,
|
94 |
+
0.019075071334838867,
|
95 |
+
0.019177471160888672,
|
96 |
+
0.019944448471069336,
|
97 |
+
0.019400703430175782,
|
98 |
+
0.01905356788635254,
|
99 |
+
0.01921843147277832,
|
100 |
+
0.01904947280883789,
|
101 |
+
0.019041311264038085,
|
102 |
+
0.019037151336669923,
|
103 |
+
0.019017728805541992,
|
104 |
+
0.019129344940185547,
|
105 |
+
0.019486719131469727,
|
106 |
+
0.019390464782714844,
|
107 |
+
0.01924608039855957,
|
108 |
+
0.019207168579101562,
|
109 |
+
0.019091455459594727,
|
110 |
+
0.018946048736572265,
|
111 |
+
0.019190784454345702,
|
112 |
+
0.01909350395202637,
|
113 |
+
0.02030080032348633,
|
114 |
+
0.01987993621826172,
|
115 |
+
0.019975168228149414,
|
116 |
+
0.019979263305664064,
|
117 |
+
0.019957759857177734,
|
118 |
+
0.01999667167663574,
|
119 |
+
0.019938304901123048,
|
120 |
+
0.019921951293945313,
|
121 |
+
0.01991267204284668,
|
122 |
+
0.01979910469055176,
|
123 |
+
0.019911615371704102,
|
124 |
+
0.02008780860900879,
|
125 |
+
0.020914176940917968,
|
126 |
+
0.02021990394592285,
|
127 |
+
0.019887104034423828,
|
128 |
+
0.019736576080322265,
|
129 |
+
0.0192993278503418,
|
130 |
+
0.019393535614013673,
|
131 |
+
0.01945497512817383,
|
132 |
+
0.01944780731201172,
|
133 |
+
0.019607551574707033,
|
134 |
+
0.018776063919067384,
|
135 |
+
0.019288063049316406,
|
136 |
+
0.019396608352661132,
|
137 |
+
0.019345407485961915,
|
138 |
+
0.018780160903930664,
|
139 |
+
0.018601984024047852,
|
140 |
+
0.018523136138916017,
|
141 |
+
0.01939455986022949,
|
142 |
+
0.019301376342773437,
|
143 |
+
0.01962495994567871,
|
144 |
+
0.019372032165527343,
|
145 |
+
0.019312639236450196,
|
146 |
+
0.0192993278503418,
|
147 |
+
0.019723264694213868,
|
148 |
+
0.01962188720703125,
|
149 |
+
0.019615743637084963,
|
150 |
+
0.01960960006713867,
|
151 |
+
0.01965977668762207,
|
152 |
+
0.019599359512329103,
|
153 |
+
0.01963929557800293,
|
154 |
+
0.019663871765136717,
|
155 |
+
0.019620864868164063,
|
156 |
+
0.019300352096557616,
|
157 |
+
0.019409919738769533,
|
158 |
+
0.01965158462524414,
|
159 |
+
0.019310592651367187,
|
160 |
+
0.019280895233154297,
|
161 |
+
0.019489791870117186,
|
162 |
+
0.0196177921295166,
|
163 |
+
0.019612672805786133,
|
164 |
+
0.019589120864868165,
|
165 |
+
0.01962393569946289,
|
166 |
+
0.019668991088867188,
|
167 |
+
0.019602432250976562,
|
168 |
+
0.01960550308227539,
|
169 |
+
0.019337215423583985,
|
170 |
+
0.019283967971801756,
|
171 |
+
0.019332096099853514,
|
172 |
+
0.01927475166320801,
|
173 |
+
0.019727359771728514,
|
174 |
+
0.020230144500732423,
|
175 |
+
0.02003865623474121,
|
176 |
+
0.019664896011352538,
|
177 |
+
0.01929113578796387,
|
178 |
+
0.018562047958374024,
|
179 |
+
0.018760704040527345,
|
180 |
+
0.019224576950073242,
|
181 |
+
0.01862553596496582,
|
182 |
+
0.018787328720092773,
|
183 |
+
0.019361791610717775,
|
184 |
+
0.01965772819519043,
|
185 |
+
0.01965363121032715,
|
186 |
+
0.019587072372436523,
|
187 |
+
0.019533824920654298,
|
188 |
+
0.019631103515625,
|
189 |
+
0.01960857582092285,
|
190 |
+
0.01960960006713867,
|
191 |
+
0.019619840621948242,
|
192 |
+
0.01927065658569336,
|
193 |
+
0.018675743103027345,
|
194 |
+
0.01870844841003418,
|
195 |
+
0.018548736572265623,
|
196 |
+
0.018553855895996094,
|
197 |
+
0.01881804847717285,
|
198 |
+
0.018568191528320312,
|
199 |
+
0.019620864868164063,
|
200 |
+
0.019572736740112305,
|
201 |
+
0.019586048126220702,
|
202 |
+
0.01945497512817383,
|
203 |
+
0.03896115112304688,
|
204 |
+
0.01841766357421875,
|
205 |
+
0.018472959518432617,
|
206 |
+
0.018618368148803712,
|
207 |
+
0.018551807403564453,
|
208 |
+
0.01863167953491211,
|
209 |
+
0.01862758445739746,
|
210 |
+
0.01859686470031738,
|
211 |
+
0.01859174346923828,
|
212 |
+
0.019001344680786132,
|
213 |
+
0.01946112060546875,
|
214 |
+
0.01863987159729004,
|
215 |
+
0.01865318489074707,
|
216 |
+
0.01863065528869629,
|
217 |
+
0.019124223709106446,
|
218 |
+
0.020530176162719727,
|
219 |
+
0.019713024139404296,
|
220 |
+
0.019577856063842772,
|
221 |
+
0.01947750473022461,
|
222 |
+
0.019510271072387696,
|
223 |
+
0.01945808029174805,
|
224 |
+
0.0196474552154541,
|
225 |
+
0.01939148712158203,
|
226 |
+
0.019495935440063478,
|
227 |
+
0.019512319564819337,
|
228 |
+
0.01924198341369629,
|
229 |
+
0.018463743209838866,
|
230 |
+
0.01867263984680176,
|
231 |
+
0.018696191787719727,
|
232 |
+
0.018702335357666015,
|
233 |
+
0.01868185615539551,
|
234 |
+
0.018675712585449217,
|
235 |
+
0.018663423538208008,
|
236 |
+
0.019549184799194336,
|
237 |
+
0.01925529670715332,
|
238 |
+
0.019374080657958984,
|
239 |
+
0.01942937660217285,
|
240 |
+
0.019479551315307618,
|
241 |
+
0.01922662353515625,
|
242 |
+
0.019307519912719725,
|
243 |
+
0.019528703689575197,
|
244 |
+
0.019491840362548828,
|
245 |
+
0.01945599937438965,
|
246 |
+
0.019335168838500977,
|
247 |
+
0.019177471160888672,
|
248 |
+
0.01945497512817383,
|
249 |
+
0.019548160552978516,
|
250 |
+
0.019759103775024413,
|
251 |
+
0.019532800674438477,
|
252 |
+
0.019501056671142578,
|
253 |
+
0.019177471160888672,
|
254 |
+
0.018601984024047852,
|
255 |
+
0.018646015167236327,
|
256 |
+
0.01864192008972168,
|
257 |
+
0.01866649627685547,
|
258 |
+
0.018571264266967775,
|
259 |
+
0.018465791702270508,
|
260 |
+
0.018588672637939452,
|
261 |
+
0.018708480834960937,
|
262 |
+
0.018669567108154296,
|
263 |
+
0.018559999465942383,
|
264 |
+
0.018544639587402344,
|
265 |
+
0.018768896102905275,
|
266 |
+
0.01881292724609375,
|
267 |
+
0.018790399551391602,
|
268 |
+
0.018707456588745116,
|
269 |
+
0.0185743350982666,
|
270 |
+
0.018956287384033203,
|
271 |
+
0.0192993278503418,
|
272 |
+
0.019342336654663086,
|
273 |
+
0.019304447174072266,
|
274 |
+
0.019611648559570313,
|
275 |
+
0.019603456497192383,
|
276 |
+
0.019777536392211914,
|
277 |
+
0.019631103515625,
|
278 |
+
0.019569664001464843,
|
279 |
+
0.018784255981445314,
|
280 |
+
0.018768896102905275,
|
281 |
+
0.018758655548095703,
|
282 |
+
0.01883647918701172,
|
283 |
+
0.019510271072387696,
|
284 |
+
0.019655679702758787,
|
285 |
+
0.01875660705566406,
|
286 |
+
0.01855897521972656,
|
287 |
+
0.01876479911804199,
|
288 |
+
0.018775039672851563,
|
289 |
+
0.018556928634643553,
|
290 |
+
0.018795520782470702,
|
291 |
+
0.019619840621948242,
|
292 |
+
0.01967513656616211,
|
293 |
+
0.019300352096557616,
|
294 |
+
0.019361791610717775,
|
295 |
+
0.019331071853637697,
|
296 |
+
0.018538496017456055,
|
297 |
+
0.018548736572265623,
|
298 |
+
0.018587648391723634,
|
299 |
+
0.018685951232910156,
|
300 |
+
0.018748416900634765,
|
301 |
+
0.018723840713500976,
|
302 |
+
0.018735103607177735,
|
303 |
+
0.019986431121826173,
|
304 |
+
0.018755584716796874,
|
305 |
+
0.01880985641479492,
|
306 |
+
0.018795520782470702,
|
307 |
+
0.018785280227661134,
|
308 |
+
0.01879756736755371,
|
309 |
+
0.018765823364257812,
|
310 |
+
0.018757631301879883,
|
311 |
+
0.018733055114746093,
|
312 |
+
0.018742271423339844,
|
313 |
+
0.018763776779174804,
|
314 |
+
0.01879654312133789,
|
315 |
+
0.01877299118041992,
|
316 |
+
0.018719743728637696,
|
317 |
+
0.018760704040527345,
|
318 |
+
0.018716672897338867,
|
319 |
+
0.018611200332641603,
|
320 |
+
0.018527231216430663,
|
321 |
+
0.01879756736755371,
|
322 |
+
0.018968576431274413,
|
323 |
+
0.020810752868652343,
|
324 |
+
0.018912256240844725,
|
325 |
+
0.018791423797607423,
|
326 |
+
0.018767871856689454,
|
327 |
+
0.019179519653320314,
|
328 |
+
0.019588096618652344,
|
329 |
+
0.01964339256286621
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.811603084184284
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02324110412597656,
|
7 |
+
"prefill.throughput.value": 301.19050979923566,
|
8 |
+
"decode.latency.mean": 2.4412653808593747,
|
9 |
+
"decode.throughput.value": 52.022201681037004,
|
10 |
+
"per_token.latency.mean": 0.01930069599227001,
|
11 |
+
"per_token.throughput.value": 51.811603084184284
|
12 |
+
}
|
13 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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: 6d4306160ab22c54a677e07f88c7d8808b137d38
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38
|
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/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38
|
88 |
+
- hydra.run.dir=_benchmark/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38/${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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-20 12:38:47,852[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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: 6d4306160ab22c54a677e07f88c7d8808b137d38
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38
|
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/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38
|
88 |
+
- hydra.run.dir=_benchmark/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38/${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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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": 1767.8336,
|
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.043975969314575196,
|
118 |
+
"mean": 0.021987984657287598,
|
119 |
+
"stdev": 0.00021000003814697354,
|
120 |
+
"p50": 0.021987984657287598,
|
121 |
+
"p90": 0.022155984687805177,
|
122 |
+
"p95": 0.022176984691619873,
|
123 |
+
"p99": 0.02219378469467163,
|
124 |
+
"values": [
|
125 |
+
0.02219798469543457,
|
126 |
+
0.021777984619140624
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 318.355688759313
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1767.85408,
|
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.14074169921875,
|
149 |
+
"mean": 2.570370849609375,
|
150 |
+
"stdev": 0.027931884765624915,
|
151 |
+
"p50": 2.570370849609375,
|
152 |
+
"p90": 2.592716357421875,
|
153 |
+
"p95": 2.5955095458984374,
|
154 |
+
"p99": 2.5977440966796874,
|
155 |
+
"values": [
|
156 |
+
2.598302734375,
|
157 |
+
2.54243896484375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.40921268979551
|
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.141798913955688,
|
173 |
+
"mean": 0.0203233158654375,
|
174 |
+
"stdev": 0.001441641347313011,
|
175 |
+
"p50": 0.020002815246582033,
|
176 |
+
"p90": 0.020882228088378904,
|
177 |
+
"p95": 0.021319065856933595,
|
178 |
+
"p99": 0.021992734375,
|
179 |
+
"values": [
|
180 |
+
0.021782527923583983,
|
181 |
+
0.02206515121459961,
|
182 |
+
0.021918720245361328,
|
183 |
+
0.021416959762573243,
|
184 |
+
0.020658176422119142,
|
185 |
+
0.020582399368286132,
|
186 |
+
0.020626432418823244,
|
187 |
+
0.02032537651062012,
|
188 |
+
0.020521984100341797,
|
189 |
+
0.020616191864013672,
|
190 |
+
0.020760576248168947,
|
191 |
+
0.02065920066833496,
|
192 |
+
0.020609024047851563,
|
193 |
+
0.02088243293762207,
|
194 |
+
0.020928512573242186,
|
195 |
+
0.020802560806274413,
|
196 |
+
0.02066022491455078,
|
197 |
+
0.020387840270996094,
|
198 |
+
0.020599807739257812,
|
199 |
+
0.020501504898071288,
|
200 |
+
0.02043187141418457,
|
201 |
+
0.020625408172607423,
|
202 |
+
0.020485120773315428,
|
203 |
+
0.021073951721191406,
|
204 |
+
0.02071651268005371,
|
205 |
+
0.020569087982177735,
|
206 |
+
0.020946943283081054,
|
207 |
+
0.02089779281616211,
|
208 |
+
0.02150399971008301,
|
209 |
+
0.021925888061523437,
|
210 |
+
0.02143948745727539,
|
211 |
+
0.02046566390991211,
|
212 |
+
0.020602880477905275,
|
213 |
+
0.02087321662902832,
|
214 |
+
0.020577280044555665,
|
215 |
+
0.02044927978515625,
|
216 |
+
0.022344703674316405,
|
217 |
+
0.021345279693603517,
|
218 |
+
0.021335039138793945,
|
219 |
+
0.021122047424316406,
|
220 |
+
0.02119987106323242,
|
221 |
+
0.020238336563110353,
|
222 |
+
0.020344831466674804,
|
223 |
+
0.02050764846801758,
|
224 |
+
0.020511743545532226,
|
225 |
+
0.020398080825805662,
|
226 |
+
0.020132863998413086,
|
227 |
+
0.020584447860717774,
|
228 |
+
0.020794368743896483,
|
229 |
+
0.020702207565307617,
|
230 |
+
0.020000768661499024,
|
231 |
+
0.019962879180908204,
|
232 |
+
0.020025344848632814,
|
233 |
+
0.019994623184204103,
|
234 |
+
0.020008960723876954,
|
235 |
+
0.01998847961425781,
|
236 |
+
0.019979263305664064,
|
237 |
+
0.01982975959777832,
|
238 |
+
0.019842048645019532,
|
239 |
+
0.019902463912963866,
|
240 |
+
0.020025344848632814,
|
241 |
+
0.01982259178161621,
|
242 |
+
0.01986355209350586,
|
243 |
+
0.020051967620849608,
|
244 |
+
0.020074495315551756,
|
245 |
+
0.02021990394592285,
|
246 |
+
0.020011007308959963,
|
247 |
+
0.019963903427124022,
|
248 |
+
0.020011007308959963,
|
249 |
+
0.019969024658203126,
|
250 |
+
0.019978239059448243,
|
251 |
+
0.019984384536743165,
|
252 |
+
0.01997209548950195,
|
253 |
+
0.019943424224853516,
|
254 |
+
0.019979263305664064,
|
255 |
+
0.019918848037719726,
|
256 |
+
0.019982336044311523,
|
257 |
+
0.019973119735717772,
|
258 |
+
0.01983897590637207,
|
259 |
+
0.01977446365356445,
|
260 |
+
0.019778560638427735,
|
261 |
+
0.019801088333129883,
|
262 |
+
0.02007347106933594,
|
263 |
+
0.019899391174316407,
|
264 |
+
0.019812351226806642,
|
265 |
+
0.021319679260253906,
|
266 |
+
0.020187135696411132,
|
267 |
+
0.0200447998046875,
|
268 |
+
0.019994623184204103,
|
269 |
+
0.01998847961425781,
|
270 |
+
0.019986431121826173,
|
271 |
+
0.019977216720581056,
|
272 |
+
0.019985408782958985,
|
273 |
+
0.019973119735717772,
|
274 |
+
0.019927040100097656,
|
275 |
+
0.019962879180908204,
|
276 |
+
0.020002815246582033,
|
277 |
+
0.019943424224853516,
|
278 |
+
0.019948543548583983,
|
279 |
+
0.019983360290527344,
|
280 |
+
0.019965951919555663,
|
281 |
+
0.02046668815612793,
|
282 |
+
0.02164531135559082,
|
283 |
+
0.021015552520751952,
|
284 |
+
0.02067046356201172,
|
285 |
+
0.020737024307250978,
|
286 |
+
0.020668415069580077,
|
287 |
+
0.019989503860473632,
|
288 |
+
0.019962879180908204,
|
289 |
+
0.020002815246582033,
|
290 |
+
0.019979263305664064,
|
291 |
+
0.02000588798522949,
|
292 |
+
0.020173824310302735,
|
293 |
+
0.02045337677001953,
|
294 |
+
0.020661247253417968,
|
295 |
+
0.020800512313842775,
|
296 |
+
0.020666368484497072,
|
297 |
+
0.020690944671630858,
|
298 |
+
0.020738048553466795,
|
299 |
+
0.020761600494384767,
|
300 |
+
0.020716543197631835,
|
301 |
+
0.02131865692138672,
|
302 |
+
0.021191680908203125,
|
303 |
+
0.02083737564086914,
|
304 |
+
0.020802560806274413,
|
305 |
+
0.020690944671630858,
|
306 |
+
0.04194406509399414,
|
307 |
+
0.020008960723876954,
|
308 |
+
0.019978239059448243,
|
309 |
+
0.019932159423828123,
|
310 |
+
0.019963903427124022,
|
311 |
+
0.020006912231445313,
|
312 |
+
0.020000768661499024,
|
313 |
+
0.020008960723876954,
|
314 |
+
0.020023296356201172,
|
315 |
+
0.020011007308959963,
|
316 |
+
0.019970048904418947,
|
317 |
+
0.020007936477661133,
|
318 |
+
0.019978239059448243,
|
319 |
+
0.02003865623474121,
|
320 |
+
0.02001817512512207,
|
321 |
+
0.019999744415283204,
|
322 |
+
0.020001792907714845,
|
323 |
+
0.020006912231445313,
|
324 |
+
0.01983283233642578,
|
325 |
+
0.019809280395507813,
|
326 |
+
0.01983897590637207,
|
327 |
+
0.019959808349609375,
|
328 |
+
0.019941375732421874,
|
329 |
+
0.019965951919555663,
|
330 |
+
0.020000768661499024,
|
331 |
+
0.019951616287231445,
|
332 |
+
0.01984409523010254,
|
333 |
+
0.019978239059448243,
|
334 |
+
0.019969024658203126,
|
335 |
+
0.019993600845336915,
|
336 |
+
0.019971071243286134,
|
337 |
+
0.019851264953613282,
|
338 |
+
0.01977446365356445,
|
339 |
+
0.019800064086914062,
|
340 |
+
0.019977216720581056,
|
341 |
+
0.019981311798095702,
|
342 |
+
0.019999744415283204,
|
343 |
+
0.020304895401000975,
|
344 |
+
0.020008960723876954,
|
345 |
+
0.020011007308959963,
|
346 |
+
0.019986431121826173,
|
347 |
+
0.01999564743041992,
|
348 |
+
0.019983360290527344,
|
349 |
+
0.020011007308959963,
|
350 |
+
0.019981311798095702,
|
351 |
+
0.020025344848632814,
|
352 |
+
0.01999667167663574,
|
353 |
+
0.01997209548950195,
|
354 |
+
0.019984384536743165,
|
355 |
+
0.019997695922851562,
|
356 |
+
0.019970048904418947,
|
357 |
+
0.02002739143371582,
|
358 |
+
0.019983360290527344,
|
359 |
+
0.020000768661499024,
|
360 |
+
0.020000768661499024,
|
361 |
+
0.020009983062744142,
|
362 |
+
0.019939327239990236,
|
363 |
+
0.0200263671875,
|
364 |
+
0.019989503860473632,
|
365 |
+
0.019965951919555663,
|
366 |
+
0.020006912231445313,
|
367 |
+
0.01998028755187988,
|
368 |
+
0.019965951919555663,
|
369 |
+
0.020007936477661133,
|
370 |
+
0.019990528106689453,
|
371 |
+
0.01998847961425781,
|
372 |
+
0.019979263305664064,
|
373 |
+
0.02001203155517578,
|
374 |
+
0.01999667167663574,
|
375 |
+
0.019992576599121094,
|
376 |
+
0.019992576599121094,
|
377 |
+
0.020016128540039063,
|
378 |
+
0.019951616287231445,
|
379 |
+
0.020008960723876954,
|
380 |
+
0.020039680480957032,
|
381 |
+
0.02002943992614746,
|
382 |
+
0.020913152694702147,
|
383 |
+
0.020777984619140624,
|
384 |
+
0.01990553665161133,
|
385 |
+
0.019842048645019532,
|
386 |
+
0.02001203155517578,
|
387 |
+
0.01982975959777832,
|
388 |
+
0.019810304641723633,
|
389 |
+
0.01977446365356445,
|
390 |
+
0.01999564743041992,
|
391 |
+
0.02002124786376953,
|
392 |
+
0.019945472717285157,
|
393 |
+
0.020311040878295897,
|
394 |
+
0.019969024658203126,
|
395 |
+
0.020001792907714845,
|
396 |
+
0.019810304641723633,
|
397 |
+
0.01983897590637207,
|
398 |
+
0.01981439971923828,
|
399 |
+
0.02088140869140625,
|
400 |
+
0.020907007217407226,
|
401 |
+
0.021161983489990235,
|
402 |
+
0.02079641532897949,
|
403 |
+
0.02004377555847168,
|
404 |
+
0.02002739143371582,
|
405 |
+
0.019954687118530275,
|
406 |
+
0.019951616287231445,
|
407 |
+
0.019975168228149414,
|
408 |
+
0.019962879180908204,
|
409 |
+
0.019976192474365235,
|
410 |
+
0.019924991607666014,
|
411 |
+
0.019985408782958985,
|
412 |
+
0.019911680221557617,
|
413 |
+
0.019965951919555663,
|
414 |
+
0.019903488159179687,
|
415 |
+
0.019960832595825196,
|
416 |
+
0.019956735610961913,
|
417 |
+
0.019984384536743165,
|
418 |
+
0.019978239059448243,
|
419 |
+
0.019952640533447266,
|
420 |
+
0.019944448471069336,
|
421 |
+
0.019958784103393554,
|
422 |
+
0.019983360290527344,
|
423 |
+
0.020009983062744142,
|
424 |
+
0.02008678436279297,
|
425 |
+
0.02000486373901367,
|
426 |
+
0.020006912231445313,
|
427 |
+
0.02002022361755371,
|
428 |
+
0.019989503860473632,
|
429 |
+
0.01998847961425781,
|
430 |
+
0.020101119995117187,
|
431 |
+
0.019974143981933593,
|
432 |
+
0.019975168228149414
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.204569107772066
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": 1767.8336,
|
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.043975969314575196,
|
15 |
+
"mean": 0.021987984657287598,
|
16 |
+
"stdev": 0.00021000003814697354,
|
17 |
+
"p50": 0.021987984657287598,
|
18 |
+
"p90": 0.022155984687805177,
|
19 |
+
"p95": 0.022176984691619873,
|
20 |
+
"p99": 0.02219378469467163,
|
21 |
+
"values": [
|
22 |
+
0.02219798469543457,
|
23 |
+
0.021777984619140624
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 318.355688759313
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1767.85408,
|
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.14074169921875,
|
46 |
+
"mean": 2.570370849609375,
|
47 |
+
"stdev": 0.027931884765624915,
|
48 |
+
"p50": 2.570370849609375,
|
49 |
+
"p90": 2.592716357421875,
|
50 |
+
"p95": 2.5955095458984374,
|
51 |
+
"p99": 2.5977440966796874,
|
52 |
+
"values": [
|
53 |
+
2.598302734375,
|
54 |
+
2.54243896484375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.40921268979551
|
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.141798913955688,
|
70 |
+
"mean": 0.0203233158654375,
|
71 |
+
"stdev": 0.001441641347313011,
|
72 |
+
"p50": 0.020002815246582033,
|
73 |
+
"p90": 0.020882228088378904,
|
74 |
+
"p95": 0.021319065856933595,
|
75 |
+
"p99": 0.021992734375,
|
76 |
+
"values": [
|
77 |
+
0.021782527923583983,
|
78 |
+
0.02206515121459961,
|
79 |
+
0.021918720245361328,
|
80 |
+
0.021416959762573243,
|
81 |
+
0.020658176422119142,
|
82 |
+
0.020582399368286132,
|
83 |
+
0.020626432418823244,
|
84 |
+
0.02032537651062012,
|
85 |
+
0.020521984100341797,
|
86 |
+
0.020616191864013672,
|
87 |
+
0.020760576248168947,
|
88 |
+
0.02065920066833496,
|
89 |
+
0.020609024047851563,
|
90 |
+
0.02088243293762207,
|
91 |
+
0.020928512573242186,
|
92 |
+
0.020802560806274413,
|
93 |
+
0.02066022491455078,
|
94 |
+
0.020387840270996094,
|
95 |
+
0.020599807739257812,
|
96 |
+
0.020501504898071288,
|
97 |
+
0.02043187141418457,
|
98 |
+
0.020625408172607423,
|
99 |
+
0.020485120773315428,
|
100 |
+
0.021073951721191406,
|
101 |
+
0.02071651268005371,
|
102 |
+
0.020569087982177735,
|
103 |
+
0.020946943283081054,
|
104 |
+
0.02089779281616211,
|
105 |
+
0.02150399971008301,
|
106 |
+
0.021925888061523437,
|
107 |
+
0.02143948745727539,
|
108 |
+
0.02046566390991211,
|
109 |
+
0.020602880477905275,
|
110 |
+
0.02087321662902832,
|
111 |
+
0.020577280044555665,
|
112 |
+
0.02044927978515625,
|
113 |
+
0.022344703674316405,
|
114 |
+
0.021345279693603517,
|
115 |
+
0.021335039138793945,
|
116 |
+
0.021122047424316406,
|
117 |
+
0.02119987106323242,
|
118 |
+
0.020238336563110353,
|
119 |
+
0.020344831466674804,
|
120 |
+
0.02050764846801758,
|
121 |
+
0.020511743545532226,
|
122 |
+
0.020398080825805662,
|
123 |
+
0.020132863998413086,
|
124 |
+
0.020584447860717774,
|
125 |
+
0.020794368743896483,
|
126 |
+
0.020702207565307617,
|
127 |
+
0.020000768661499024,
|
128 |
+
0.019962879180908204,
|
129 |
+
0.020025344848632814,
|
130 |
+
0.019994623184204103,
|
131 |
+
0.020008960723876954,
|
132 |
+
0.01998847961425781,
|
133 |
+
0.019979263305664064,
|
134 |
+
0.01982975959777832,
|
135 |
+
0.019842048645019532,
|
136 |
+
0.019902463912963866,
|
137 |
+
0.020025344848632814,
|
138 |
+
0.01982259178161621,
|
139 |
+
0.01986355209350586,
|
140 |
+
0.020051967620849608,
|
141 |
+
0.020074495315551756,
|
142 |
+
0.02021990394592285,
|
143 |
+
0.020011007308959963,
|
144 |
+
0.019963903427124022,
|
145 |
+
0.020011007308959963,
|
146 |
+
0.019969024658203126,
|
147 |
+
0.019978239059448243,
|
148 |
+
0.019984384536743165,
|
149 |
+
0.01997209548950195,
|
150 |
+
0.019943424224853516,
|
151 |
+
0.019979263305664064,
|
152 |
+
0.019918848037719726,
|
153 |
+
0.019982336044311523,
|
154 |
+
0.019973119735717772,
|
155 |
+
0.01983897590637207,
|
156 |
+
0.01977446365356445,
|
157 |
+
0.019778560638427735,
|
158 |
+
0.019801088333129883,
|
159 |
+
0.02007347106933594,
|
160 |
+
0.019899391174316407,
|
161 |
+
0.019812351226806642,
|
162 |
+
0.021319679260253906,
|
163 |
+
0.020187135696411132,
|
164 |
+
0.0200447998046875,
|
165 |
+
0.019994623184204103,
|
166 |
+
0.01998847961425781,
|
167 |
+
0.019986431121826173,
|
168 |
+
0.019977216720581056,
|
169 |
+
0.019985408782958985,
|
170 |
+
0.019973119735717772,
|
171 |
+
0.019927040100097656,
|
172 |
+
0.019962879180908204,
|
173 |
+
0.020002815246582033,
|
174 |
+
0.019943424224853516,
|
175 |
+
0.019948543548583983,
|
176 |
+
0.019983360290527344,
|
177 |
+
0.019965951919555663,
|
178 |
+
0.02046668815612793,
|
179 |
+
0.02164531135559082,
|
180 |
+
0.021015552520751952,
|
181 |
+
0.02067046356201172,
|
182 |
+
0.020737024307250978,
|
183 |
+
0.020668415069580077,
|
184 |
+
0.019989503860473632,
|
185 |
+
0.019962879180908204,
|
186 |
+
0.020002815246582033,
|
187 |
+
0.019979263305664064,
|
188 |
+
0.02000588798522949,
|
189 |
+
0.020173824310302735,
|
190 |
+
0.02045337677001953,
|
191 |
+
0.020661247253417968,
|
192 |
+
0.020800512313842775,
|
193 |
+
0.020666368484497072,
|
194 |
+
0.020690944671630858,
|
195 |
+
0.020738048553466795,
|
196 |
+
0.020761600494384767,
|
197 |
+
0.020716543197631835,
|
198 |
+
0.02131865692138672,
|
199 |
+
0.021191680908203125,
|
200 |
+
0.02083737564086914,
|
201 |
+
0.020802560806274413,
|
202 |
+
0.020690944671630858,
|
203 |
+
0.04194406509399414,
|
204 |
+
0.020008960723876954,
|
205 |
+
0.019978239059448243,
|
206 |
+
0.019932159423828123,
|
207 |
+
0.019963903427124022,
|
208 |
+
0.020006912231445313,
|
209 |
+
0.020000768661499024,
|
210 |
+
0.020008960723876954,
|
211 |
+
0.020023296356201172,
|
212 |
+
0.020011007308959963,
|
213 |
+
0.019970048904418947,
|
214 |
+
0.020007936477661133,
|
215 |
+
0.019978239059448243,
|
216 |
+
0.02003865623474121,
|
217 |
+
0.02001817512512207,
|
218 |
+
0.019999744415283204,
|
219 |
+
0.020001792907714845,
|
220 |
+
0.020006912231445313,
|
221 |
+
0.01983283233642578,
|
222 |
+
0.019809280395507813,
|
223 |
+
0.01983897590637207,
|
224 |
+
0.019959808349609375,
|
225 |
+
0.019941375732421874,
|
226 |
+
0.019965951919555663,
|
227 |
+
0.020000768661499024,
|
228 |
+
0.019951616287231445,
|
229 |
+
0.01984409523010254,
|
230 |
+
0.019978239059448243,
|
231 |
+
0.019969024658203126,
|
232 |
+
0.019993600845336915,
|
233 |
+
0.019971071243286134,
|
234 |
+
0.019851264953613282,
|
235 |
+
0.01977446365356445,
|
236 |
+
0.019800064086914062,
|
237 |
+
0.019977216720581056,
|
238 |
+
0.019981311798095702,
|
239 |
+
0.019999744415283204,
|
240 |
+
0.020304895401000975,
|
241 |
+
0.020008960723876954,
|
242 |
+
0.020011007308959963,
|
243 |
+
0.019986431121826173,
|
244 |
+
0.01999564743041992,
|
245 |
+
0.019983360290527344,
|
246 |
+
0.020011007308959963,
|
247 |
+
0.019981311798095702,
|
248 |
+
0.020025344848632814,
|
249 |
+
0.01999667167663574,
|
250 |
+
0.01997209548950195,
|
251 |
+
0.019984384536743165,
|
252 |
+
0.019997695922851562,
|
253 |
+
0.019970048904418947,
|
254 |
+
0.02002739143371582,
|
255 |
+
0.019983360290527344,
|
256 |
+
0.020000768661499024,
|
257 |
+
0.020000768661499024,
|
258 |
+
0.020009983062744142,
|
259 |
+
0.019939327239990236,
|
260 |
+
0.0200263671875,
|
261 |
+
0.019989503860473632,
|
262 |
+
0.019965951919555663,
|
263 |
+
0.020006912231445313,
|
264 |
+
0.01998028755187988,
|
265 |
+
0.019965951919555663,
|
266 |
+
0.020007936477661133,
|
267 |
+
0.019990528106689453,
|
268 |
+
0.01998847961425781,
|
269 |
+
0.019979263305664064,
|
270 |
+
0.02001203155517578,
|
271 |
+
0.01999667167663574,
|
272 |
+
0.019992576599121094,
|
273 |
+
0.019992576599121094,
|
274 |
+
0.020016128540039063,
|
275 |
+
0.019951616287231445,
|
276 |
+
0.020008960723876954,
|
277 |
+
0.020039680480957032,
|
278 |
+
0.02002943992614746,
|
279 |
+
0.020913152694702147,
|
280 |
+
0.020777984619140624,
|
281 |
+
0.01990553665161133,
|
282 |
+
0.019842048645019532,
|
283 |
+
0.02001203155517578,
|
284 |
+
0.01982975959777832,
|
285 |
+
0.019810304641723633,
|
286 |
+
0.01977446365356445,
|
287 |
+
0.01999564743041992,
|
288 |
+
0.02002124786376953,
|
289 |
+
0.019945472717285157,
|
290 |
+
0.020311040878295897,
|
291 |
+
0.019969024658203126,
|
292 |
+
0.020001792907714845,
|
293 |
+
0.019810304641723633,
|
294 |
+
0.01983897590637207,
|
295 |
+
0.01981439971923828,
|
296 |
+
0.02088140869140625,
|
297 |
+
0.020907007217407226,
|
298 |
+
0.021161983489990235,
|
299 |
+
0.02079641532897949,
|
300 |
+
0.02004377555847168,
|
301 |
+
0.02002739143371582,
|
302 |
+
0.019954687118530275,
|
303 |
+
0.019951616287231445,
|
304 |
+
0.019975168228149414,
|
305 |
+
0.019962879180908204,
|
306 |
+
0.019976192474365235,
|
307 |
+
0.019924991607666014,
|
308 |
+
0.019985408782958985,
|
309 |
+
0.019911680221557617,
|
310 |
+
0.019965951919555663,
|
311 |
+
0.019903488159179687,
|
312 |
+
0.019960832595825196,
|
313 |
+
0.019956735610961913,
|
314 |
+
0.019984384536743165,
|
315 |
+
0.019978239059448243,
|
316 |
+
0.019952640533447266,
|
317 |
+
0.019944448471069336,
|
318 |
+
0.019958784103393554,
|
319 |
+
0.019983360290527344,
|
320 |
+
0.020009983062744142,
|
321 |
+
0.02008678436279297,
|
322 |
+
0.02000486373901367,
|
323 |
+
0.020006912231445313,
|
324 |
+
0.02002022361755371,
|
325 |
+
0.019989503860473632,
|
326 |
+
0.01998847961425781,
|
327 |
+
0.020101119995117187,
|
328 |
+
0.019974143981933593,
|
329 |
+
0.019975168228149414
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.204569107772066
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021987984657287598,
|
7 |
+
"prefill.throughput.value": 318.355688759313,
|
8 |
+
"decode.latency.mean": 2.570370849609375,
|
9 |
+
"decode.throughput.value": 49.40921268979551,
|
10 |
+
"per_token.latency.mean": 0.0203233158654375,
|
11 |
+
"per_token.throughput.value": 49.204569107772066
|
12 |
+
}
|
13 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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: 6d4306160ab22c54a677e07f88c7d8808b137d38
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38
|
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/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38
|
88 |
+
- hydra.run.dir=_benchmark/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38/${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/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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": 1915.850752,
|
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.02810633659362793,
|
118 |
+
"mean": 0.014053168296813965,
|
119 |
+
"stdev": 0.00012423992156982387,
|
120 |
+
"p50": 0.014053168296813965,
|
121 |
+
"p90": 0.014152560234069824,
|
122 |
+
"p95": 0.014164984226226807,
|
123 |
+
"p99": 0.014174923419952393,
|
124 |
+
"values": [
|
125 |
+
0.01417740821838379,
|
126 |
+
0.013928928375244141
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.10831637069276
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2259.566592,
|
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.1515693359375,
|
149 |
+
"mean": 1.57578466796875,
|
150 |
+
"stdev": 0.017914672851562452,
|
151 |
+
"p50": 1.57578466796875,
|
152 |
+
"p90": 1.59011640625,
|
153 |
+
"p95": 1.5919078735351562,
|
154 |
+
"p99": 1.5933410473632812,
|
155 |
+
"values": [
|
156 |
+
1.5936993408203124,
|
157 |
+
1.5578699951171875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.59476816950385
|
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.1525181398391715,
|
173 |
+
"mean": 0.012460546007269455,
|
174 |
+
"stdev": 0.0009042480800416135,
|
175 |
+
"p50": 0.012280832290649414,
|
176 |
+
"p90": 0.012758015632629394,
|
177 |
+
"p95": 0.012791603279113769,
|
178 |
+
"p99": 0.01282674690246582,
|
179 |
+
"values": [
|
180 |
+
0.012700672149658204,
|
181 |
+
0.012749823570251465,
|
182 |
+
0.01274675178527832,
|
183 |
+
0.012836864471435547,
|
184 |
+
0.012797951698303223,
|
185 |
+
0.012777471542358398,
|
186 |
+
0.012742655754089355,
|
187 |
+
0.012784640312194824,
|
188 |
+
0.012776448249816894,
|
189 |
+
0.012772352218627929,
|
190 |
+
0.012716032028198243,
|
191 |
+
0.012806143760681152,
|
192 |
+
0.012690431594848632,
|
193 |
+
0.012775424003601075,
|
194 |
+
0.012685312271118163,
|
195 |
+
0.012792832374572754,
|
196 |
+
0.012739583969116211,
|
197 |
+
0.012758015632629394,
|
198 |
+
0.012709888458251953,
|
199 |
+
0.012857343673706055,
|
200 |
+
0.012722175598144531,
|
201 |
+
0.012785663604736328,
|
202 |
+
0.012741632461547851,
|
203 |
+
0.012816384315490722,
|
204 |
+
0.012801024436950683,
|
205 |
+
0.012790783882141114,
|
206 |
+
0.01274675178527832,
|
207 |
+
0.012796928405761718,
|
208 |
+
0.012723199844360352,
|
209 |
+
0.012782591819763184,
|
210 |
+
0.01274880027770996,
|
211 |
+
0.012801024436950683,
|
212 |
+
0.012702719688415527,
|
213 |
+
0.012721152305603027,
|
214 |
+
0.01274880027770996,
|
215 |
+
0.012628992080688477,
|
216 |
+
0.012701696395874023,
|
217 |
+
0.0127457275390625,
|
218 |
+
0.01268019199371338,
|
219 |
+
0.0127457275390625,
|
220 |
+
0.01268943977355957,
|
221 |
+
0.012756959915161133,
|
222 |
+
0.012737536430358886,
|
223 |
+
0.01277132797241211,
|
224 |
+
0.012718079566955566,
|
225 |
+
0.012801024436950683,
|
226 |
+
0.01274675178527832,
|
227 |
+
0.012794879913330079,
|
228 |
+
0.012722175598144531,
|
229 |
+
0.012749823570251465,
|
230 |
+
0.012701696395874023,
|
231 |
+
0.01277132797241211,
|
232 |
+
0.012724224090576173,
|
233 |
+
0.012758015632629394,
|
234 |
+
0.012716032028198243,
|
235 |
+
0.012768256187438964,
|
236 |
+
0.012708864212036132,
|
237 |
+
0.012750847816467285,
|
238 |
+
0.012699647903442383,
|
239 |
+
0.012747776031494141,
|
240 |
+
0.012691455841064453,
|
241 |
+
0.01277337646484375,
|
242 |
+
0.012741632461547851,
|
243 |
+
0.01275494384765625,
|
244 |
+
0.012600319862365723,
|
245 |
+
0.012684288024902344,
|
246 |
+
0.012661760330200195,
|
247 |
+
0.01266585636138916,
|
248 |
+
0.012328960418701173,
|
249 |
+
0.012496895790100097,
|
250 |
+
0.01255731201171875,
|
251 |
+
0.012643327713012695,
|
252 |
+
0.012744704246520995,
|
253 |
+
0.012817407608032226,
|
254 |
+
0.01255628776550293,
|
255 |
+
0.01244979190826416,
|
256 |
+
0.012329983711242675,
|
257 |
+
0.012309503555297852,
|
258 |
+
0.012288000106811523,
|
259 |
+
0.012305407524108887,
|
260 |
+
0.012267519950866699,
|
261 |
+
0.012283904075622559,
|
262 |
+
0.012248064041137695,
|
263 |
+
0.012283904075622559,
|
264 |
+
0.012249088287353516,
|
265 |
+
0.012290047645568849,
|
266 |
+
0.012288000106811523,
|
267 |
+
0.012305407524108887,
|
268 |
+
0.012257280349731446,
|
269 |
+
0.012274687767028808,
|
270 |
+
0.012239871978759765,
|
271 |
+
0.012277759552001954,
|
272 |
+
0.01224294376373291,
|
273 |
+
0.012277759552001954,
|
274 |
+
0.012224512100219726,
|
275 |
+
0.012280832290649414,
|
276 |
+
0.012241920471191407,
|
277 |
+
0.012277759552001954,
|
278 |
+
0.01224294376373291,
|
279 |
+
0.012266495704650878,
|
280 |
+
0.012232704162597656,
|
281 |
+
0.012266495704650878,
|
282 |
+
0.012254207611083985,
|
283 |
+
0.01235968017578125,
|
284 |
+
0.012231679916381836,
|
285 |
+
0.012337151527404786,
|
286 |
+
0.012241920471191407,
|
287 |
+
0.012283904075622559,
|
288 |
+
0.01226854419708252,
|
289 |
+
0.012288000106811523,
|
290 |
+
0.012247039794921874,
|
291 |
+
0.012272640228271485,
|
292 |
+
0.012253184318542481,
|
293 |
+
0.012277759552001954,
|
294 |
+
0.012241920471191407,
|
295 |
+
0.012275712013244629,
|
296 |
+
0.0122357759475708,
|
297 |
+
0.012300288200378418,
|
298 |
+
0.012259327888488769,
|
299 |
+
0.012282879829406738,
|
300 |
+
0.012256256103515625,
|
301 |
+
0.012291071891784668,
|
302 |
+
0.012238847732543945,
|
303 |
+
0.012277759552001954,
|
304 |
+
0.012230655670166016,
|
305 |
+
0.012273664474487305,
|
306 |
+
0.026397695541381837,
|
307 |
+
0.01226038360595703,
|
308 |
+
0.012276703834533692,
|
309 |
+
0.01225011157989502,
|
310 |
+
0.012289024353027344,
|
311 |
+
0.012236800193786621,
|
312 |
+
0.012304384231567383,
|
313 |
+
0.01224396800994873,
|
314 |
+
0.012285951614379884,
|
315 |
+
0.012432383537292481,
|
316 |
+
0.012301312446594239,
|
317 |
+
0.012241920471191407,
|
318 |
+
0.012292096138000488,
|
319 |
+
0.01225113582611084,
|
320 |
+
0.012274687767028808,
|
321 |
+
0.01224294376373291,
|
322 |
+
0.012290047645568849,
|
323 |
+
0.012266528129577637,
|
324 |
+
0.012291040420532227,
|
325 |
+
0.012230655670166016,
|
326 |
+
0.012278783798217773,
|
327 |
+
0.012232704162597656,
|
328 |
+
0.012281855583190919,
|
329 |
+
0.01226035213470459,
|
330 |
+
0.012279808044433594,
|
331 |
+
0.01224396800994873,
|
332 |
+
0.012273664474487305,
|
333 |
+
0.012237824440002442,
|
334 |
+
0.012290047645568849,
|
335 |
+
0.0122357759475708,
|
336 |
+
0.01229312038421631,
|
337 |
+
0.01224396800994873,
|
338 |
+
0.01234329605102539,
|
339 |
+
0.012246015548706055,
|
340 |
+
0.012286975860595703,
|
341 |
+
0.01228492832183838,
|
342 |
+
0.012285951614379884,
|
343 |
+
0.01225216007232666,
|
344 |
+
0.012301312446594239,
|
345 |
+
0.012264448165893555,
|
346 |
+
0.012280832290649414,
|
347 |
+
0.012262399673461915,
|
348 |
+
0.012307456016540527,
|
349 |
+
0.012262399673461915,
|
350 |
+
0.012290047645568849,
|
351 |
+
0.012232704162597656,
|
352 |
+
0.012273664474487305,
|
353 |
+
0.012240896224975586,
|
354 |
+
0.012282879829406738,
|
355 |
+
0.012230655670166016,
|
356 |
+
0.01226035213470459,
|
357 |
+
0.012226559638977052,
|
358 |
+
0.012274687767028808,
|
359 |
+
0.01222758388519287,
|
360 |
+
0.012274687767028808,
|
361 |
+
0.012244992256164551,
|
362 |
+
0.012274687767028808,
|
363 |
+
0.01225830364227295,
|
364 |
+
0.012285951614379884,
|
365 |
+
0.012237824440002442,
|
366 |
+
0.012274687767028808,
|
367 |
+
0.012232704162597656,
|
368 |
+
0.012280832290649414,
|
369 |
+
0.012247039794921874,
|
370 |
+
0.012263423919677734,
|
371 |
+
0.012236800193786621,
|
372 |
+
0.012282879829406738,
|
373 |
+
0.012222463607788087,
|
374 |
+
0.012282879829406738,
|
375 |
+
0.01224294376373291,
|
376 |
+
0.012267519950866699,
|
377 |
+
0.012256256103515625,
|
378 |
+
0.012270591735839843,
|
379 |
+
0.012239871978759765,
|
380 |
+
0.012328960418701173,
|
381 |
+
0.012326911926269531,
|
382 |
+
0.012273664474487305,
|
383 |
+
0.012223487854003906,
|
384 |
+
0.012277759552001954,
|
385 |
+
0.012226559638977052,
|
386 |
+
0.01227673625946045,
|
387 |
+
0.012231679916381836,
|
388 |
+
0.012274687767028808,
|
389 |
+
0.012249088287353516,
|
390 |
+
0.012283904075622559,
|
391 |
+
0.01224396800994873,
|
392 |
+
0.012275712013244629,
|
393 |
+
0.012231679916381836,
|
394 |
+
0.012278783798217773,
|
395 |
+
0.01225011157989502,
|
396 |
+
0.01227683162689209,
|
397 |
+
0.012246944427490235,
|
398 |
+
0.012277759552001954,
|
399 |
+
0.012237824440002442,
|
400 |
+
0.012292096138000488,
|
401 |
+
0.012223487854003906,
|
402 |
+
0.012265472412109376,
|
403 |
+
0.012232704162597656,
|
404 |
+
0.01226956844329834,
|
405 |
+
0.012223487854003906,
|
406 |
+
0.012266495704650878,
|
407 |
+
0.012239871978759765,
|
408 |
+
0.012275712013244629,
|
409 |
+
0.012233728408813477,
|
410 |
+
0.012339200019836426,
|
411 |
+
0.012249088287353516,
|
412 |
+
0.012266495704650878,
|
413 |
+
0.012224512100219726,
|
414 |
+
0.01227673625946045,
|
415 |
+
0.01223475170135498,
|
416 |
+
0.012279808044433594,
|
417 |
+
0.01226137638092041,
|
418 |
+
0.012290047645568849,
|
419 |
+
0.012233728408813477,
|
420 |
+
0.012264448165893555,
|
421 |
+
0.012224512100219726,
|
422 |
+
0.012282879829406738,
|
423 |
+
0.01226035213470459,
|
424 |
+
0.012281855583190919,
|
425 |
+
0.012257280349731446,
|
426 |
+
0.012280832290649414,
|
427 |
+
0.012244992256164551,
|
428 |
+
0.012299263954162597,
|
429 |
+
0.012255231857299804,
|
430 |
+
0.012306431770324706,
|
431 |
+
0.012229632377624512,
|
432 |
+
0.012267519950866699
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.25330506517147
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
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-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": 1915.850752,
|
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.02810633659362793,
|
15 |
+
"mean": 0.014053168296813965,
|
16 |
+
"stdev": 0.00012423992156982387,
|
17 |
+
"p50": 0.014053168296813965,
|
18 |
+
"p90": 0.014152560234069824,
|
19 |
+
"p95": 0.014164984226226807,
|
20 |
+
"p99": 0.014174923419952393,
|
21 |
+
"values": [
|
22 |
+
0.01417740821838379,
|
23 |
+
0.013928928375244141
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.10831637069276
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2259.566592,
|
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.1515693359375,
|
46 |
+
"mean": 1.57578466796875,
|
47 |
+
"stdev": 0.017914672851562452,
|
48 |
+
"p50": 1.57578466796875,
|
49 |
+
"p90": 1.59011640625,
|
50 |
+
"p95": 1.5919078735351562,
|
51 |
+
"p99": 1.5933410473632812,
|
52 |
+
"values": [
|
53 |
+
1.5936993408203124,
|
54 |
+
1.5578699951171875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.59476816950385
|
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.1525181398391715,
|
70 |
+
"mean": 0.012460546007269455,
|
71 |
+
"stdev": 0.0009042480800416135,
|
72 |
+
"p50": 0.012280832290649414,
|
73 |
+
"p90": 0.012758015632629394,
|
74 |
+
"p95": 0.012791603279113769,
|
75 |
+
"p99": 0.01282674690246582,
|
76 |
+
"values": [
|
77 |
+
0.012700672149658204,
|
78 |
+
0.012749823570251465,
|
79 |
+
0.01274675178527832,
|
80 |
+
0.012836864471435547,
|
81 |
+
0.012797951698303223,
|
82 |
+
0.012777471542358398,
|
83 |
+
0.012742655754089355,
|
84 |
+
0.012784640312194824,
|
85 |
+
0.012776448249816894,
|
86 |
+
0.012772352218627929,
|
87 |
+
0.012716032028198243,
|
88 |
+
0.012806143760681152,
|
89 |
+
0.012690431594848632,
|
90 |
+
0.012775424003601075,
|
91 |
+
0.012685312271118163,
|
92 |
+
0.012792832374572754,
|
93 |
+
0.012739583969116211,
|
94 |
+
0.012758015632629394,
|
95 |
+
0.012709888458251953,
|
96 |
+
0.012857343673706055,
|
97 |
+
0.012722175598144531,
|
98 |
+
0.012785663604736328,
|
99 |
+
0.012741632461547851,
|
100 |
+
0.012816384315490722,
|
101 |
+
0.012801024436950683,
|
102 |
+
0.012790783882141114,
|
103 |
+
0.01274675178527832,
|
104 |
+
0.012796928405761718,
|
105 |
+
0.012723199844360352,
|
106 |
+
0.012782591819763184,
|
107 |
+
0.01274880027770996,
|
108 |
+
0.012801024436950683,
|
109 |
+
0.012702719688415527,
|
110 |
+
0.012721152305603027,
|
111 |
+
0.01274880027770996,
|
112 |
+
0.012628992080688477,
|
113 |
+
0.012701696395874023,
|
114 |
+
0.0127457275390625,
|
115 |
+
0.01268019199371338,
|
116 |
+
0.0127457275390625,
|
117 |
+
0.01268943977355957,
|
118 |
+
0.012756959915161133,
|
119 |
+
0.012737536430358886,
|
120 |
+
0.01277132797241211,
|
121 |
+
0.012718079566955566,
|
122 |
+
0.012801024436950683,
|
123 |
+
0.01274675178527832,
|
124 |
+
0.012794879913330079,
|
125 |
+
0.012722175598144531,
|
126 |
+
0.012749823570251465,
|
127 |
+
0.012701696395874023,
|
128 |
+
0.01277132797241211,
|
129 |
+
0.012724224090576173,
|
130 |
+
0.012758015632629394,
|
131 |
+
0.012716032028198243,
|
132 |
+
0.012768256187438964,
|
133 |
+
0.012708864212036132,
|
134 |
+
0.012750847816467285,
|
135 |
+
0.012699647903442383,
|
136 |
+
0.012747776031494141,
|
137 |
+
0.012691455841064453,
|
138 |
+
0.01277337646484375,
|
139 |
+
0.012741632461547851,
|
140 |
+
0.01275494384765625,
|
141 |
+
0.012600319862365723,
|
142 |
+
0.012684288024902344,
|
143 |
+
0.012661760330200195,
|
144 |
+
0.01266585636138916,
|
145 |
+
0.012328960418701173,
|
146 |
+
0.012496895790100097,
|
147 |
+
0.01255731201171875,
|
148 |
+
0.012643327713012695,
|
149 |
+
0.012744704246520995,
|
150 |
+
0.012817407608032226,
|
151 |
+
0.01255628776550293,
|
152 |
+
0.01244979190826416,
|
153 |
+
0.012329983711242675,
|
154 |
+
0.012309503555297852,
|
155 |
+
0.012288000106811523,
|
156 |
+
0.012305407524108887,
|
157 |
+
0.012267519950866699,
|
158 |
+
0.012283904075622559,
|
159 |
+
0.012248064041137695,
|
160 |
+
0.012283904075622559,
|
161 |
+
0.012249088287353516,
|
162 |
+
0.012290047645568849,
|
163 |
+
0.012288000106811523,
|
164 |
+
0.012305407524108887,
|
165 |
+
0.012257280349731446,
|
166 |
+
0.012274687767028808,
|
167 |
+
0.012239871978759765,
|
168 |
+
0.012277759552001954,
|
169 |
+
0.01224294376373291,
|
170 |
+
0.012277759552001954,
|
171 |
+
0.012224512100219726,
|
172 |
+
0.012280832290649414,
|
173 |
+
0.012241920471191407,
|
174 |
+
0.012277759552001954,
|
175 |
+
0.01224294376373291,
|
176 |
+
0.012266495704650878,
|
177 |
+
0.012232704162597656,
|
178 |
+
0.012266495704650878,
|
179 |
+
0.012254207611083985,
|
180 |
+
0.01235968017578125,
|
181 |
+
0.012231679916381836,
|
182 |
+
0.012337151527404786,
|
183 |
+
0.012241920471191407,
|
184 |
+
0.012283904075622559,
|
185 |
+
0.01226854419708252,
|
186 |
+
0.012288000106811523,
|
187 |
+
0.012247039794921874,
|
188 |
+
0.012272640228271485,
|
189 |
+
0.012253184318542481,
|
190 |
+
0.012277759552001954,
|
191 |
+
0.012241920471191407,
|
192 |
+
0.012275712013244629,
|
193 |
+
0.0122357759475708,
|
194 |
+
0.012300288200378418,
|
195 |
+
0.012259327888488769,
|
196 |
+
0.012282879829406738,
|
197 |
+
0.012256256103515625,
|
198 |
+
0.012291071891784668,
|
199 |
+
0.012238847732543945,
|
200 |
+
0.012277759552001954,
|
201 |
+
0.012230655670166016,
|
202 |
+
0.012273664474487305,
|
203 |
+
0.026397695541381837,
|
204 |
+
0.01226038360595703,
|
205 |
+
0.012276703834533692,
|
206 |
+
0.01225011157989502,
|
207 |
+
0.012289024353027344,
|
208 |
+
0.012236800193786621,
|
209 |
+
0.012304384231567383,
|
210 |
+
0.01224396800994873,
|
211 |
+
0.012285951614379884,
|
212 |
+
0.012432383537292481,
|
213 |
+
0.012301312446594239,
|
214 |
+
0.012241920471191407,
|
215 |
+
0.012292096138000488,
|
216 |
+
0.01225113582611084,
|
217 |
+
0.012274687767028808,
|
218 |
+
0.01224294376373291,
|
219 |
+
0.012290047645568849,
|
220 |
+
0.012266528129577637,
|
221 |
+
0.012291040420532227,
|
222 |
+
0.012230655670166016,
|
223 |
+
0.012278783798217773,
|
224 |
+
0.012232704162597656,
|
225 |
+
0.012281855583190919,
|
226 |
+
0.01226035213470459,
|
227 |
+
0.012279808044433594,
|
228 |
+
0.01224396800994873,
|
229 |
+
0.012273664474487305,
|
230 |
+
0.012237824440002442,
|
231 |
+
0.012290047645568849,
|
232 |
+
0.0122357759475708,
|
233 |
+
0.01229312038421631,
|
234 |
+
0.01224396800994873,
|
235 |
+
0.01234329605102539,
|
236 |
+
0.012246015548706055,
|
237 |
+
0.012286975860595703,
|
238 |
+
0.01228492832183838,
|
239 |
+
0.012285951614379884,
|
240 |
+
0.01225216007232666,
|
241 |
+
0.012301312446594239,
|
242 |
+
0.012264448165893555,
|
243 |
+
0.012280832290649414,
|
244 |
+
0.012262399673461915,
|
245 |
+
0.012307456016540527,
|
246 |
+
0.012262399673461915,
|
247 |
+
0.012290047645568849,
|
248 |
+
0.012232704162597656,
|
249 |
+
0.012273664474487305,
|
250 |
+
0.012240896224975586,
|
251 |
+
0.012282879829406738,
|
252 |
+
0.012230655670166016,
|
253 |
+
0.01226035213470459,
|
254 |
+
0.012226559638977052,
|
255 |
+
0.012274687767028808,
|
256 |
+
0.01222758388519287,
|
257 |
+
0.012274687767028808,
|
258 |
+
0.012244992256164551,
|
259 |
+
0.012274687767028808,
|
260 |
+
0.01225830364227295,
|
261 |
+
0.012285951614379884,
|
262 |
+
0.012237824440002442,
|
263 |
+
0.012274687767028808,
|
264 |
+
0.012232704162597656,
|
265 |
+
0.012280832290649414,
|
266 |
+
0.012247039794921874,
|
267 |
+
0.012263423919677734,
|
268 |
+
0.012236800193786621,
|
269 |
+
0.012282879829406738,
|
270 |
+
0.012222463607788087,
|
271 |
+
0.012282879829406738,
|
272 |
+
0.01224294376373291,
|
273 |
+
0.012267519950866699,
|
274 |
+
0.012256256103515625,
|
275 |
+
0.012270591735839843,
|
276 |
+
0.012239871978759765,
|
277 |
+
0.012328960418701173,
|
278 |
+
0.012326911926269531,
|
279 |
+
0.012273664474487305,
|
280 |
+
0.012223487854003906,
|
281 |
+
0.012277759552001954,
|
282 |
+
0.012226559638977052,
|
283 |
+
0.01227673625946045,
|
284 |
+
0.012231679916381836,
|
285 |
+
0.012274687767028808,
|
286 |
+
0.012249088287353516,
|
287 |
+
0.012283904075622559,
|
288 |
+
0.01224396800994873,
|
289 |
+
0.012275712013244629,
|
290 |
+
0.012231679916381836,
|
291 |
+
0.012278783798217773,
|
292 |
+
0.01225011157989502,
|
293 |
+
0.01227683162689209,
|
294 |
+
0.012246944427490235,
|
295 |
+
0.012277759552001954,
|
296 |
+
0.012237824440002442,
|
297 |
+
0.012292096138000488,
|
298 |
+
0.012223487854003906,
|
299 |
+
0.012265472412109376,
|
300 |
+
0.012232704162597656,
|
301 |
+
0.01226956844329834,
|
302 |
+
0.012223487854003906,
|
303 |
+
0.012266495704650878,
|
304 |
+
0.012239871978759765,
|
305 |
+
0.012275712013244629,
|
306 |
+
0.012233728408813477,
|
307 |
+
0.012339200019836426,
|
308 |
+
0.012249088287353516,
|
309 |
+
0.012266495704650878,
|
310 |
+
0.012224512100219726,
|
311 |
+
0.01227673625946045,
|
312 |
+
0.01223475170135498,
|
313 |
+
0.012279808044433594,
|
314 |
+
0.01226137638092041,
|
315 |
+
0.012290047645568849,
|
316 |
+
0.012233728408813477,
|
317 |
+
0.012264448165893555,
|
318 |
+
0.012224512100219726,
|
319 |
+
0.012282879829406738,
|
320 |
+
0.01226035213470459,
|
321 |
+
0.012281855583190919,
|
322 |
+
0.012257280349731446,
|
323 |
+
0.012280832290649414,
|
324 |
+
0.012244992256164551,
|
325 |
+
0.012299263954162597,
|
326 |
+
0.012255231857299804,
|
327 |
+
0.012306431770324706,
|
328 |
+
0.012229632377624512,
|
329 |
+
0.012267519950866699
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.25330506517147
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/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": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014053168296813965,
|
7 |
+
"prefill.throughput.value": 498.10831637069276,
|
8 |
+
"decode.latency.mean": 1.57578466796875,
|
9 |
+
"decode.throughput.value": 80.59476816950385,
|
10 |
+
"per_token.latency.mean": 0.012460546007269455,
|
11 |
+
"per_token.throughput.value": 80.25330506517147
|
12 |
+
}
|
13 |
+
}
|
2024-06-20/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpmkh2zfwa/commit=6d4306160ab22c54a677e07f88c7d8808b137d38
|
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/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38
|
88 |
+
- hydra.run.dir=_benchmark/tmpmkh2zfwa/commit\=6d4306160ab22c54a677e07f88c7d8808b137d38/${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: 6d4306160ab22c54a677e07f88c7d8808b137d38
|
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-20/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02324110412597656,
|
8 |
+
"prefill.throughput.value": 301.19050979923566,
|
9 |
+
"decode.latency.mean": 2.4412653808593747,
|
10 |
+
"decode.throughput.value": 52.022201681037004,
|
11 |
+
"per_token.latency.mean": 0.01930069599227001,
|
12 |
+
"per_token.throughput.value": 51.811603084184284
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.021987984657287598,
|
21 |
+
"prefill.throughput.value": 318.355688759313,
|
22 |
+
"decode.latency.mean": 2.570370849609375,
|
23 |
+
"decode.throughput.value": 49.40921268979551,
|
24 |
+
"per_token.latency.mean": 0.0203233158654375,
|
25 |
+
"per_token.throughput.value": 49.204569107772066
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "6d4306160ab22c54a677e07f88c7d8808b137d38",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014053168296813965,
|
34 |
+
"prefill.throughput.value": 498.10831637069276,
|
35 |
+
"decode.latency.mean": 1.57578466796875,
|
36 |
+
"decode.throughput.value": 80.59476816950385,
|
37 |
+
"per_token.latency.mean": 0.012460546007269455,
|
38 |
+
"per_token.throughput.value": 80.25330506517147
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-20/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"6d4306160ab22c54a677e07f88c7d8808b137d38": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02324110412597656,
|
7 |
+
"prefill.throughput.value": 301.19050979923566,
|
8 |
+
"decode.latency.mean": 2.4412653808593747,
|
9 |
+
"decode.throughput.value": 52.022201681037004,
|
10 |
+
"per_token.latency.mean": 0.01930069599227001,
|
11 |
+
"per_token.throughput.value": 51.811603084184284
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"6d4306160ab22c54a677e07f88c7d8808b137d38": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.021987984657287598,
|
19 |
+
"prefill.throughput.value": 318.355688759313,
|
20 |
+
"decode.latency.mean": 2.570370849609375,
|
21 |
+
"decode.throughput.value": 49.40921268979551,
|
22 |
+
"per_token.latency.mean": 0.0203233158654375,
|
23 |
+
"per_token.throughput.value": 49.204569107772066
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"6d4306160ab22c54a677e07f88c7d8808b137d38": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014053168296813965,
|
31 |
+
"prefill.throughput.value": 498.10831637069276,
|
32 |
+
"decode.latency.mean": 1.57578466796875,
|
33 |
+
"decode.throughput.value": 80.59476816950385,
|
34 |
+
"per_token.latency.mean": 0.012460546007269455,
|
35 |
+
"per_token.throughput.value": 80.25330506517147
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|