hf-transformers-bot
commited on
Commit
•
f23d28c
1
Parent(s):
df108f2
Upload folder using huggingface_hub
Browse files- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/multirun.yaml +232 -0
- 2024-06-07/summaries.json +41 -0
- 2024-06-07/summary.json +40 -0
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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: bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
82 |
+
accelerate_version: 0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
88 |
+
- hydra.run.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null
|
93 |
+
- backend.torch_compile=False
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
98 |
+
id: '0'
|
99 |
+
num: 0
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
92 |
+
"accelerate_version": "0.31.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": 1737.146368,
|
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.040439361572265624,
|
118 |
+
"mean": 0.020219680786132812,
|
119 |
+
"stdev": 3.6479949951172264e-05,
|
120 |
+
"p50": 0.020219680786132812,
|
121 |
+
"p90": 0.02024886474609375,
|
122 |
+
"p95": 0.020252512741088868,
|
123 |
+
"p99": 0.020255431137084962,
|
124 |
+
"values": [
|
125 |
+
0.020256160736083984,
|
126 |
+
0.02018320083618164
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 346.19735464868387
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1737.220096,
|
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.90900634765625,
|
149 |
+
"mean": 2.454503173828125,
|
150 |
+
"stdev": 0.01696118164062499,
|
151 |
+
"p50": 2.454503173828125,
|
152 |
+
"p90": 2.468072119140625,
|
153 |
+
"p95": 2.4697682373046876,
|
154 |
+
"p99": 2.4711251318359375,
|
155 |
+
"values": [
|
156 |
+
2.47146435546875,
|
157 |
+
2.4375419921875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.74163201505523
|
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.909569025039672,
|
173 |
+
"mean": 0.019405411166164715,
|
174 |
+
"stdev": 0.0013201553916386353,
|
175 |
+
"p50": 0.019281919479370118,
|
176 |
+
"p90": 0.01968680953979492,
|
177 |
+
"p95": 0.019825459671020507,
|
178 |
+
"p99": 0.020756275405883783,
|
179 |
+
"values": [
|
180 |
+
0.020468736648559572,
|
181 |
+
0.01963724708557129,
|
182 |
+
0.01960857582092285,
|
183 |
+
0.01986355209350586,
|
184 |
+
0.01962495994567871,
|
185 |
+
0.01943142318725586,
|
186 |
+
0.019489791870117186,
|
187 |
+
0.019326976776123047,
|
188 |
+
0.01944576072692871,
|
189 |
+
0.01946828842163086,
|
190 |
+
0.01947750473022461,
|
191 |
+
0.01945907211303711,
|
192 |
+
0.019406848907470704,
|
193 |
+
0.019482624053955077,
|
194 |
+
0.0194334716796875,
|
195 |
+
0.01947238349914551,
|
196 |
+
0.01958502388000488,
|
197 |
+
0.019467264175415038,
|
198 |
+
0.01928704071044922,
|
199 |
+
0.019207168579101562,
|
200 |
+
0.019313663482666017,
|
201 |
+
0.019508224487304687,
|
202 |
+
0.019533824920654298,
|
203 |
+
0.019481599807739256,
|
204 |
+
0.019351551055908203,
|
205 |
+
0.019479551315307618,
|
206 |
+
0.019559423446655275,
|
207 |
+
0.019713024139404296,
|
208 |
+
0.019562496185302734,
|
209 |
+
0.019607551574707033,
|
210 |
+
0.019384319305419923,
|
211 |
+
0.019537919998168944,
|
212 |
+
0.019491840362548828,
|
213 |
+
0.01946112060546875,
|
214 |
+
0.01948467254638672,
|
215 |
+
0.01922559928894043,
|
216 |
+
0.019389440536499023,
|
217 |
+
0.01945302391052246,
|
218 |
+
0.019257247924804686,
|
219 |
+
0.01919692802429199,
|
220 |
+
0.019188735961914064,
|
221 |
+
0.01942630386352539,
|
222 |
+
0.01969152069091797,
|
223 |
+
0.019339263916015623,
|
224 |
+
0.019562496185302734,
|
225 |
+
0.01926655960083008,
|
226 |
+
0.01905254364013672,
|
227 |
+
0.019309568405151366,
|
228 |
+
0.019438592910766602,
|
229 |
+
0.019603456497192383,
|
230 |
+
0.019826688766479493,
|
231 |
+
0.019159040451049804,
|
232 |
+
0.0192491512298584,
|
233 |
+
0.019092479705810548,
|
234 |
+
0.019350528717041016,
|
235 |
+
0.01919692802429199,
|
236 |
+
0.019127296447753905,
|
237 |
+
0.019615743637084963,
|
238 |
+
0.019341312408447265,
|
239 |
+
0.01963929557800293,
|
240 |
+
0.01962495994567871,
|
241 |
+
0.01962393569946289,
|
242 |
+
0.01970278358459473,
|
243 |
+
0.019337215423583985,
|
244 |
+
0.01968435287475586,
|
245 |
+
0.019567615509033204,
|
246 |
+
0.01924608039855957,
|
247 |
+
0.01967820739746094,
|
248 |
+
0.01963520050048828,
|
249 |
+
0.01961676788330078,
|
250 |
+
0.019620864868164063,
|
251 |
+
0.019520511627197267,
|
252 |
+
0.019396608352661132,
|
253 |
+
0.019340288162231444,
|
254 |
+
0.019340288162231444,
|
255 |
+
0.01941606330871582,
|
256 |
+
0.01967103958129883,
|
257 |
+
0.019604480743408204,
|
258 |
+
0.019590143203735352,
|
259 |
+
0.019590143203735352,
|
260 |
+
0.01968435287475586,
|
261 |
+
0.019768320083618163,
|
262 |
+
0.019173376083374022,
|
263 |
+
0.019143680572509765,
|
264 |
+
0.019066879272460938,
|
265 |
+
0.019021823883056642,
|
266 |
+
0.01904025650024414,
|
267 |
+
0.018935808181762694,
|
268 |
+
0.018869247436523438,
|
269 |
+
0.01884262466430664,
|
270 |
+
0.018921472549438476,
|
271 |
+
0.018881536483764647,
|
272 |
+
0.018927616119384767,
|
273 |
+
0.018882560729980468,
|
274 |
+
0.01907411193847656,
|
275 |
+
0.019065792083740235,
|
276 |
+
0.01903411293029785,
|
277 |
+
0.019773439407348634,
|
278 |
+
0.019597312927246095,
|
279 |
+
0.019577856063842772,
|
280 |
+
0.019146751403808594,
|
281 |
+
0.019952640533447266,
|
282 |
+
0.019139583587646485,
|
283 |
+
0.018912256240844725,
|
284 |
+
0.019527679443359376,
|
285 |
+
0.02016972732543945,
|
286 |
+
0.021200895309448242,
|
287 |
+
0.01979084777832031,
|
288 |
+
0.019521535873413084,
|
289 |
+
0.019711999893188475,
|
290 |
+
0.019568639755249022,
|
291 |
+
0.019701759338378907,
|
292 |
+
0.01978265571594238,
|
293 |
+
0.019594240188598632,
|
294 |
+
0.0196495361328125,
|
295 |
+
0.019940351486206053,
|
296 |
+
0.019698688507080078,
|
297 |
+
0.019337215423583985,
|
298 |
+
0.019474431991577147,
|
299 |
+
0.019587072372436523,
|
300 |
+
0.019597312927246095,
|
301 |
+
0.019577856063842772,
|
302 |
+
0.01947238349914551,
|
303 |
+
0.019604480743408204,
|
304 |
+
0.019312639236450196,
|
305 |
+
0.01963724708557129,
|
306 |
+
0.03964825439453125,
|
307 |
+
0.019215360641479492,
|
308 |
+
0.019191808700561523,
|
309 |
+
0.019281919479370118,
|
310 |
+
0.01922150421142578,
|
311 |
+
0.01922662353515625,
|
312 |
+
0.01924095916748047,
|
313 |
+
0.01921433639526367,
|
314 |
+
0.019191808700561523,
|
315 |
+
0.018795520782470702,
|
316 |
+
0.019072000503540038,
|
317 |
+
0.018746368408203123,
|
318 |
+
0.018734079360961914,
|
319 |
+
0.01880575942993164,
|
320 |
+
0.01924812889099121,
|
321 |
+
0.019219455718994142,
|
322 |
+
0.01920614433288574,
|
323 |
+
0.018759679794311524,
|
324 |
+
0.01884569549560547,
|
325 |
+
0.019174400329589843,
|
326 |
+
0.018962432861328125,
|
327 |
+
0.019062784194946288,
|
328 |
+
0.018693119049072265,
|
329 |
+
0.018763776779174804,
|
330 |
+
0.01905766487121582,
|
331 |
+
0.01921331214904785,
|
332 |
+
0.019208192825317383,
|
333 |
+
0.019146751403808594,
|
334 |
+
0.019208192825317383,
|
335 |
+
0.019341312408447265,
|
336 |
+
0.01988096046447754,
|
337 |
+
0.01965465545654297,
|
338 |
+
0.01943449592590332,
|
339 |
+
0.01920921516418457,
|
340 |
+
0.019355648040771483,
|
341 |
+
0.018744319915771485,
|
342 |
+
0.01943142318725586,
|
343 |
+
0.019159040451049804,
|
344 |
+
0.018954240798950195,
|
345 |
+
0.018994176864624023,
|
346 |
+
0.01923072052001953,
|
347 |
+
0.019478527069091797,
|
348 |
+
0.019401727676391603,
|
349 |
+
0.019553279876708983,
|
350 |
+
0.019346431732177736,
|
351 |
+
0.019377151489257814,
|
352 |
+
0.01947648048400879,
|
353 |
+
0.01926553535461426,
|
354 |
+
0.018817024230957033,
|
355 |
+
0.019142656326293944,
|
356 |
+
0.01943244743347168,
|
357 |
+
0.01948876762390137,
|
358 |
+
0.01944063949584961,
|
359 |
+
0.01925529670715332,
|
360 |
+
0.01901568031311035,
|
361 |
+
0.01899212837219238,
|
362 |
+
0.019687423706054686,
|
363 |
+
0.01965260887145996,
|
364 |
+
0.019171327590942384,
|
365 |
+
0.019533824920654298,
|
366 |
+
0.019408895492553712,
|
367 |
+
0.01947750473022461,
|
368 |
+
0.020051967620849608,
|
369 |
+
0.02106777572631836,
|
370 |
+
0.019963903427124022,
|
371 |
+
0.01982464027404785,
|
372 |
+
0.019526655197143555,
|
373 |
+
0.0192225284576416,
|
374 |
+
0.01882521629333496,
|
375 |
+
0.018923519134521484,
|
376 |
+
0.01923583984375,
|
377 |
+
0.019538944244384765,
|
378 |
+
0.019709951400756837,
|
379 |
+
0.020274175643920898,
|
380 |
+
0.019561471939086913,
|
381 |
+
0.019083263397216797,
|
382 |
+
0.019091455459594727,
|
383 |
+
0.0190699520111084,
|
384 |
+
0.01925836753845215,
|
385 |
+
0.019109888076782225,
|
386 |
+
0.019072000503540038,
|
387 |
+
0.019109888076782225,
|
388 |
+
0.01909760093688965,
|
389 |
+
0.01906175994873047,
|
390 |
+
0.0190515193939209,
|
391 |
+
0.01904742431640625,
|
392 |
+
0.019116031646728517,
|
393 |
+
0.019116031646728517,
|
394 |
+
0.0190248966217041,
|
395 |
+
0.01901055908203125,
|
396 |
+
0.019074047088623047,
|
397 |
+
0.019095552444458007,
|
398 |
+
0.019156991958618166,
|
399 |
+
0.01906892776489258,
|
400 |
+
0.019106815338134766,
|
401 |
+
0.01904844856262207,
|
402 |
+
0.01909350395202637,
|
403 |
+
0.01903308868408203,
|
404 |
+
0.01906585693359375,
|
405 |
+
0.019283967971801756,
|
406 |
+
0.019124223709106446,
|
407 |
+
0.019091455459594727,
|
408 |
+
0.01906892776489258,
|
409 |
+
0.019125247955322267,
|
410 |
+
0.01899519920349121,
|
411 |
+
0.018885631561279297,
|
412 |
+
0.018959360122680666,
|
413 |
+
0.01901260757446289,
|
414 |
+
0.01922047996520996,
|
415 |
+
0.01904537582397461,
|
416 |
+
0.019009536743164062,
|
417 |
+
0.019058687210083008,
|
418 |
+
0.01904742431640625,
|
419 |
+
0.019056640625,
|
420 |
+
0.01884876823425293,
|
421 |
+
0.01883852767944336,
|
422 |
+
0.01901875114440918,
|
423 |
+
0.01905766487121582,
|
424 |
+
0.01903206443786621,
|
425 |
+
0.019082239151000976,
|
426 |
+
0.019087423324584962,
|
427 |
+
0.01888044738769531,
|
428 |
+
0.01883955192565918,
|
429 |
+
0.01902284812927246,
|
430 |
+
0.018976768493652343,
|
431 |
+
0.01904332733154297,
|
432 |
+
0.01908940887451172
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.5320181282013
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
91 |
+
"accelerate_version": "0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": 1737.146368,
|
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.040439361572265624,
|
15 |
+
"mean": 0.020219680786132812,
|
16 |
+
"stdev": 3.6479949951172264e-05,
|
17 |
+
"p50": 0.020219680786132812,
|
18 |
+
"p90": 0.02024886474609375,
|
19 |
+
"p95": 0.020252512741088868,
|
20 |
+
"p99": 0.020255431137084962,
|
21 |
+
"values": [
|
22 |
+
0.020256160736083984,
|
23 |
+
0.02018320083618164
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 346.19735464868387
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1737.220096,
|
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.90900634765625,
|
46 |
+
"mean": 2.454503173828125,
|
47 |
+
"stdev": 0.01696118164062499,
|
48 |
+
"p50": 2.454503173828125,
|
49 |
+
"p90": 2.468072119140625,
|
50 |
+
"p95": 2.4697682373046876,
|
51 |
+
"p99": 2.4711251318359375,
|
52 |
+
"values": [
|
53 |
+
2.47146435546875,
|
54 |
+
2.4375419921875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.74163201505523
|
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.909569025039672,
|
70 |
+
"mean": 0.019405411166164715,
|
71 |
+
"stdev": 0.0013201553916386353,
|
72 |
+
"p50": 0.019281919479370118,
|
73 |
+
"p90": 0.01968680953979492,
|
74 |
+
"p95": 0.019825459671020507,
|
75 |
+
"p99": 0.020756275405883783,
|
76 |
+
"values": [
|
77 |
+
0.020468736648559572,
|
78 |
+
0.01963724708557129,
|
79 |
+
0.01960857582092285,
|
80 |
+
0.01986355209350586,
|
81 |
+
0.01962495994567871,
|
82 |
+
0.01943142318725586,
|
83 |
+
0.019489791870117186,
|
84 |
+
0.019326976776123047,
|
85 |
+
0.01944576072692871,
|
86 |
+
0.01946828842163086,
|
87 |
+
0.01947750473022461,
|
88 |
+
0.01945907211303711,
|
89 |
+
0.019406848907470704,
|
90 |
+
0.019482624053955077,
|
91 |
+
0.0194334716796875,
|
92 |
+
0.01947238349914551,
|
93 |
+
0.01958502388000488,
|
94 |
+
0.019467264175415038,
|
95 |
+
0.01928704071044922,
|
96 |
+
0.019207168579101562,
|
97 |
+
0.019313663482666017,
|
98 |
+
0.019508224487304687,
|
99 |
+
0.019533824920654298,
|
100 |
+
0.019481599807739256,
|
101 |
+
0.019351551055908203,
|
102 |
+
0.019479551315307618,
|
103 |
+
0.019559423446655275,
|
104 |
+
0.019713024139404296,
|
105 |
+
0.019562496185302734,
|
106 |
+
0.019607551574707033,
|
107 |
+
0.019384319305419923,
|
108 |
+
0.019537919998168944,
|
109 |
+
0.019491840362548828,
|
110 |
+
0.01946112060546875,
|
111 |
+
0.01948467254638672,
|
112 |
+
0.01922559928894043,
|
113 |
+
0.019389440536499023,
|
114 |
+
0.01945302391052246,
|
115 |
+
0.019257247924804686,
|
116 |
+
0.01919692802429199,
|
117 |
+
0.019188735961914064,
|
118 |
+
0.01942630386352539,
|
119 |
+
0.01969152069091797,
|
120 |
+
0.019339263916015623,
|
121 |
+
0.019562496185302734,
|
122 |
+
0.01926655960083008,
|
123 |
+
0.01905254364013672,
|
124 |
+
0.019309568405151366,
|
125 |
+
0.019438592910766602,
|
126 |
+
0.019603456497192383,
|
127 |
+
0.019826688766479493,
|
128 |
+
0.019159040451049804,
|
129 |
+
0.0192491512298584,
|
130 |
+
0.019092479705810548,
|
131 |
+
0.019350528717041016,
|
132 |
+
0.01919692802429199,
|
133 |
+
0.019127296447753905,
|
134 |
+
0.019615743637084963,
|
135 |
+
0.019341312408447265,
|
136 |
+
0.01963929557800293,
|
137 |
+
0.01962495994567871,
|
138 |
+
0.01962393569946289,
|
139 |
+
0.01970278358459473,
|
140 |
+
0.019337215423583985,
|
141 |
+
0.01968435287475586,
|
142 |
+
0.019567615509033204,
|
143 |
+
0.01924608039855957,
|
144 |
+
0.01967820739746094,
|
145 |
+
0.01963520050048828,
|
146 |
+
0.01961676788330078,
|
147 |
+
0.019620864868164063,
|
148 |
+
0.019520511627197267,
|
149 |
+
0.019396608352661132,
|
150 |
+
0.019340288162231444,
|
151 |
+
0.019340288162231444,
|
152 |
+
0.01941606330871582,
|
153 |
+
0.01967103958129883,
|
154 |
+
0.019604480743408204,
|
155 |
+
0.019590143203735352,
|
156 |
+
0.019590143203735352,
|
157 |
+
0.01968435287475586,
|
158 |
+
0.019768320083618163,
|
159 |
+
0.019173376083374022,
|
160 |
+
0.019143680572509765,
|
161 |
+
0.019066879272460938,
|
162 |
+
0.019021823883056642,
|
163 |
+
0.01904025650024414,
|
164 |
+
0.018935808181762694,
|
165 |
+
0.018869247436523438,
|
166 |
+
0.01884262466430664,
|
167 |
+
0.018921472549438476,
|
168 |
+
0.018881536483764647,
|
169 |
+
0.018927616119384767,
|
170 |
+
0.018882560729980468,
|
171 |
+
0.01907411193847656,
|
172 |
+
0.019065792083740235,
|
173 |
+
0.01903411293029785,
|
174 |
+
0.019773439407348634,
|
175 |
+
0.019597312927246095,
|
176 |
+
0.019577856063842772,
|
177 |
+
0.019146751403808594,
|
178 |
+
0.019952640533447266,
|
179 |
+
0.019139583587646485,
|
180 |
+
0.018912256240844725,
|
181 |
+
0.019527679443359376,
|
182 |
+
0.02016972732543945,
|
183 |
+
0.021200895309448242,
|
184 |
+
0.01979084777832031,
|
185 |
+
0.019521535873413084,
|
186 |
+
0.019711999893188475,
|
187 |
+
0.019568639755249022,
|
188 |
+
0.019701759338378907,
|
189 |
+
0.01978265571594238,
|
190 |
+
0.019594240188598632,
|
191 |
+
0.0196495361328125,
|
192 |
+
0.019940351486206053,
|
193 |
+
0.019698688507080078,
|
194 |
+
0.019337215423583985,
|
195 |
+
0.019474431991577147,
|
196 |
+
0.019587072372436523,
|
197 |
+
0.019597312927246095,
|
198 |
+
0.019577856063842772,
|
199 |
+
0.01947238349914551,
|
200 |
+
0.019604480743408204,
|
201 |
+
0.019312639236450196,
|
202 |
+
0.01963724708557129,
|
203 |
+
0.03964825439453125,
|
204 |
+
0.019215360641479492,
|
205 |
+
0.019191808700561523,
|
206 |
+
0.019281919479370118,
|
207 |
+
0.01922150421142578,
|
208 |
+
0.01922662353515625,
|
209 |
+
0.01924095916748047,
|
210 |
+
0.01921433639526367,
|
211 |
+
0.019191808700561523,
|
212 |
+
0.018795520782470702,
|
213 |
+
0.019072000503540038,
|
214 |
+
0.018746368408203123,
|
215 |
+
0.018734079360961914,
|
216 |
+
0.01880575942993164,
|
217 |
+
0.01924812889099121,
|
218 |
+
0.019219455718994142,
|
219 |
+
0.01920614433288574,
|
220 |
+
0.018759679794311524,
|
221 |
+
0.01884569549560547,
|
222 |
+
0.019174400329589843,
|
223 |
+
0.018962432861328125,
|
224 |
+
0.019062784194946288,
|
225 |
+
0.018693119049072265,
|
226 |
+
0.018763776779174804,
|
227 |
+
0.01905766487121582,
|
228 |
+
0.01921331214904785,
|
229 |
+
0.019208192825317383,
|
230 |
+
0.019146751403808594,
|
231 |
+
0.019208192825317383,
|
232 |
+
0.019341312408447265,
|
233 |
+
0.01988096046447754,
|
234 |
+
0.01965465545654297,
|
235 |
+
0.01943449592590332,
|
236 |
+
0.01920921516418457,
|
237 |
+
0.019355648040771483,
|
238 |
+
0.018744319915771485,
|
239 |
+
0.01943142318725586,
|
240 |
+
0.019159040451049804,
|
241 |
+
0.018954240798950195,
|
242 |
+
0.018994176864624023,
|
243 |
+
0.01923072052001953,
|
244 |
+
0.019478527069091797,
|
245 |
+
0.019401727676391603,
|
246 |
+
0.019553279876708983,
|
247 |
+
0.019346431732177736,
|
248 |
+
0.019377151489257814,
|
249 |
+
0.01947648048400879,
|
250 |
+
0.01926553535461426,
|
251 |
+
0.018817024230957033,
|
252 |
+
0.019142656326293944,
|
253 |
+
0.01943244743347168,
|
254 |
+
0.01948876762390137,
|
255 |
+
0.01944063949584961,
|
256 |
+
0.01925529670715332,
|
257 |
+
0.01901568031311035,
|
258 |
+
0.01899212837219238,
|
259 |
+
0.019687423706054686,
|
260 |
+
0.01965260887145996,
|
261 |
+
0.019171327590942384,
|
262 |
+
0.019533824920654298,
|
263 |
+
0.019408895492553712,
|
264 |
+
0.01947750473022461,
|
265 |
+
0.020051967620849608,
|
266 |
+
0.02106777572631836,
|
267 |
+
0.019963903427124022,
|
268 |
+
0.01982464027404785,
|
269 |
+
0.019526655197143555,
|
270 |
+
0.0192225284576416,
|
271 |
+
0.01882521629333496,
|
272 |
+
0.018923519134521484,
|
273 |
+
0.01923583984375,
|
274 |
+
0.019538944244384765,
|
275 |
+
0.019709951400756837,
|
276 |
+
0.020274175643920898,
|
277 |
+
0.019561471939086913,
|
278 |
+
0.019083263397216797,
|
279 |
+
0.019091455459594727,
|
280 |
+
0.0190699520111084,
|
281 |
+
0.01925836753845215,
|
282 |
+
0.019109888076782225,
|
283 |
+
0.019072000503540038,
|
284 |
+
0.019109888076782225,
|
285 |
+
0.01909760093688965,
|
286 |
+
0.01906175994873047,
|
287 |
+
0.0190515193939209,
|
288 |
+
0.01904742431640625,
|
289 |
+
0.019116031646728517,
|
290 |
+
0.019116031646728517,
|
291 |
+
0.0190248966217041,
|
292 |
+
0.01901055908203125,
|
293 |
+
0.019074047088623047,
|
294 |
+
0.019095552444458007,
|
295 |
+
0.019156991958618166,
|
296 |
+
0.01906892776489258,
|
297 |
+
0.019106815338134766,
|
298 |
+
0.01904844856262207,
|
299 |
+
0.01909350395202637,
|
300 |
+
0.01903308868408203,
|
301 |
+
0.01906585693359375,
|
302 |
+
0.019283967971801756,
|
303 |
+
0.019124223709106446,
|
304 |
+
0.019091455459594727,
|
305 |
+
0.01906892776489258,
|
306 |
+
0.019125247955322267,
|
307 |
+
0.01899519920349121,
|
308 |
+
0.018885631561279297,
|
309 |
+
0.018959360122680666,
|
310 |
+
0.01901260757446289,
|
311 |
+
0.01922047996520996,
|
312 |
+
0.01904537582397461,
|
313 |
+
0.019009536743164062,
|
314 |
+
0.019058687210083008,
|
315 |
+
0.01904742431640625,
|
316 |
+
0.019056640625,
|
317 |
+
0.01884876823425293,
|
318 |
+
0.01883852767944336,
|
319 |
+
0.01901875114440918,
|
320 |
+
0.01905766487121582,
|
321 |
+
0.01903206443786621,
|
322 |
+
0.019082239151000976,
|
323 |
+
0.019087423324584962,
|
324 |
+
0.01888044738769531,
|
325 |
+
0.01883955192565918,
|
326 |
+
0.01902284812927246,
|
327 |
+
0.018976768493652343,
|
328 |
+
0.01904332733154297,
|
329 |
+
0.01908940887451172
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.5320181282013
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020219680786132812,
|
7 |
+
"prefill.throughput.value": 346.19735464868387,
|
8 |
+
"decode.latency.mean": 2.454503173828125,
|
9 |
+
"decode.throughput.value": 51.74163201505523,
|
10 |
+
"per_token.latency.mean": 0.019405411166164715,
|
11 |
+
"per_token.throughput.value": 51.5320181282013
|
12 |
+
}
|
13 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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: bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
82 |
+
accelerate_version: 0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
88 |
+
- hydra.run.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null
|
93 |
+
- backend.torch_compile=True
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
98 |
+
id: '1'
|
99 |
+
num: 1
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-07 02:35:10,091[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
91 |
+
"accelerate_version": "0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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: bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
82 |
+
accelerate_version: 0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
88 |
+
- hydra.run.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=static
|
93 |
+
- backend.torch_compile=False
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
98 |
+
id: '2'
|
99 |
+
num: 2
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
92 |
+
"accelerate_version": "0.31.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": 1757.618176,
|
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.0454350414276123,
|
118 |
+
"mean": 0.02271752071380615,
|
119 |
+
"stdev": 0.00012868785858154326,
|
120 |
+
"p50": 0.02271752071380615,
|
121 |
+
"p90": 0.02282047100067139,
|
122 |
+
"p95": 0.02283333978652954,
|
123 |
+
"p99": 0.022843634815216066,
|
124 |
+
"values": [
|
125 |
+
0.02258883285522461,
|
126 |
+
0.022846208572387696
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 308.1322160188845
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1757.63456,
|
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.265699951171875,
|
149 |
+
"mean": 2.6328499755859376,
|
150 |
+
"stdev": 0.01761730957031249,
|
151 |
+
"p50": 2.6328499755859376,
|
152 |
+
"p90": 2.6469438232421876,
|
153 |
+
"p95": 2.6487055541992186,
|
154 |
+
"p99": 2.650114938964844,
|
155 |
+
"values": [
|
156 |
+
2.65046728515625,
|
157 |
+
2.615232666015625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.23670212038432
|
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.267439617156982,
|
173 |
+
"mean": 0.02081991943540309,
|
174 |
+
"stdev": 0.00151601123328956,
|
175 |
+
"p50": 0.020757503509521484,
|
176 |
+
"p90": 0.021109760284423826,
|
177 |
+
"p95": 0.0213805061340332,
|
178 |
+
"p99": 0.022162309799194337,
|
179 |
+
"values": [
|
180 |
+
0.02224742317199707,
|
181 |
+
0.022152191162109376,
|
182 |
+
0.021110815048217775,
|
183 |
+
0.021014495849609374,
|
184 |
+
0.021028863906860353,
|
185 |
+
0.020974592208862306,
|
186 |
+
0.0212490234375,
|
187 |
+
0.0208035831451416,
|
188 |
+
0.02090291213989258,
|
189 |
+
0.021222400665283202,
|
190 |
+
0.021135360717773437,
|
191 |
+
0.02081279945373535,
|
192 |
+
0.02186444854736328,
|
193 |
+
0.02187468719482422,
|
194 |
+
0.022158336639404298,
|
195 |
+
0.021526527404785157,
|
196 |
+
0.020960256576538085,
|
197 |
+
0.02102783966064453,
|
198 |
+
0.02108415985107422,
|
199 |
+
0.020773887634277344,
|
200 |
+
0.020750335693359375,
|
201 |
+
0.020810752868652343,
|
202 |
+
0.020932607650756836,
|
203 |
+
0.020792320251464845,
|
204 |
+
0.02088243293762207,
|
205 |
+
0.02123161506652832,
|
206 |
+
0.02123980712890625,
|
207 |
+
0.0211015682220459,
|
208 |
+
0.0210513916015625,
|
209 |
+
0.020964351654052735,
|
210 |
+
0.020794368743896483,
|
211 |
+
0.020965375900268556,
|
212 |
+
0.021109760284423826,
|
213 |
+
0.021106687545776368,
|
214 |
+
0.02082611274719238,
|
215 |
+
0.020907007217407226,
|
216 |
+
0.02083328056335449,
|
217 |
+
0.020813823699951172,
|
218 |
+
0.020757503509521484,
|
219 |
+
0.020742143630981445,
|
220 |
+
0.02082918357849121,
|
221 |
+
0.020578304290771485,
|
222 |
+
0.020818944931030273,
|
223 |
+
0.0208721923828125,
|
224 |
+
0.020755456924438476,
|
225 |
+
0.02065510368347168,
|
226 |
+
0.020398080825805662,
|
227 |
+
0.020354047775268554,
|
228 |
+
0.02046771240234375,
|
229 |
+
0.020151296615600587,
|
230 |
+
0.020343807220458983,
|
231 |
+
0.02028646469116211,
|
232 |
+
0.02062233543395996,
|
233 |
+
0.020505599975585938,
|
234 |
+
0.020379648208618165,
|
235 |
+
0.021276735305786134,
|
236 |
+
0.02080761528015137,
|
237 |
+
0.02205900764465332,
|
238 |
+
0.02039091110229492,
|
239 |
+
0.020363264083862305,
|
240 |
+
0.020769792556762694,
|
241 |
+
0.021003263473510742,
|
242 |
+
0.022165504455566407,
|
243 |
+
0.021411840438842773,
|
244 |
+
0.02123673629760742,
|
245 |
+
0.02106470489501953,
|
246 |
+
0.020728832244873048,
|
247 |
+
0.02090598487854004,
|
248 |
+
0.021086208343505858,
|
249 |
+
0.02106879997253418,
|
250 |
+
0.02101043128967285,
|
251 |
+
0.02102579116821289,
|
252 |
+
0.020958208084106447,
|
253 |
+
0.020958208084106447,
|
254 |
+
0.020977664947509765,
|
255 |
+
0.020887615203857422,
|
256 |
+
0.020373439788818358,
|
257 |
+
0.020366336822509764,
|
258 |
+
0.020361215591430663,
|
259 |
+
0.020371456146240235,
|
260 |
+
0.020371488571166992,
|
261 |
+
0.020403167724609376,
|
262 |
+
0.020455423355102538,
|
263 |
+
0.02033667182922363,
|
264 |
+
0.020337631225585937,
|
265 |
+
0.020295679092407228,
|
266 |
+
0.020321279525756835,
|
267 |
+
0.020356096267700196,
|
268 |
+
0.020348928451538087,
|
269 |
+
0.020337663650512695,
|
270 |
+
0.020388864517211915,
|
271 |
+
0.020361215591430663,
|
272 |
+
0.020360191345214843,
|
273 |
+
0.020393983840942383,
|
274 |
+
0.020307968139648438,
|
275 |
+
0.020351999282836913,
|
276 |
+
0.020711423873901368,
|
277 |
+
0.02082508850097656,
|
278 |
+
0.02087116813659668,
|
279 |
+
0.02083430480957031,
|
280 |
+
0.020982784271240236,
|
281 |
+
0.021003263473510742,
|
282 |
+
0.021003263473510742,
|
283 |
+
0.021013504028320314,
|
284 |
+
0.021053440093994142,
|
285 |
+
0.020978687286376953,
|
286 |
+
0.021001216888427734,
|
287 |
+
0.0210565128326416,
|
288 |
+
0.020769792556762694,
|
289 |
+
0.0210513916015625,
|
290 |
+
0.02101862335205078,
|
291 |
+
0.02104115104675293,
|
292 |
+
0.020989952087402345,
|
293 |
+
0.021028863906860353,
|
294 |
+
0.021004287719726563,
|
295 |
+
0.020932607650756836,
|
296 |
+
0.020982784271240236,
|
297 |
+
0.02060492706298828,
|
298 |
+
0.020985855102539062,
|
299 |
+
0.02099404716491699,
|
300 |
+
0.020951135635375977,
|
301 |
+
0.020848543167114257,
|
302 |
+
0.02089369583129883,
|
303 |
+
0.020366336822509764,
|
304 |
+
0.02079641532897949,
|
305 |
+
0.020816896438598635,
|
306 |
+
0.04401971054077149,
|
307 |
+
0.02084659194946289,
|
308 |
+
0.020912128448486327,
|
309 |
+
0.02101862335205078,
|
310 |
+
0.020936704635620116,
|
311 |
+
0.020898815155029296,
|
312 |
+
0.020934656143188478,
|
313 |
+
0.02105036735534668,
|
314 |
+
0.020953088760375976,
|
315 |
+
0.020993024826049804,
|
316 |
+
0.020657215118408203,
|
317 |
+
0.020946880340576172,
|
318 |
+
0.02090598487854004,
|
319 |
+
0.020891647338867187,
|
320 |
+
0.02087833595275879,
|
321 |
+
0.020739072799682616,
|
322 |
+
0.020327423095703127,
|
323 |
+
0.021061632156372072,
|
324 |
+
0.020931583404541015,
|
325 |
+
0.020322303771972656,
|
326 |
+
0.020592639923095703,
|
327 |
+
0.020702207565307617,
|
328 |
+
0.021176319122314453,
|
329 |
+
0.02105548858642578,
|
330 |
+
0.02063052749633789,
|
331 |
+
0.020933631896972657,
|
332 |
+
0.020993024826049804,
|
333 |
+
0.020961280822753905,
|
334 |
+
0.02089574432373047,
|
335 |
+
0.021178367614746094,
|
336 |
+
0.02215936088562012,
|
337 |
+
0.02124185562133789,
|
338 |
+
0.020974592208862306,
|
339 |
+
0.020937728881835937,
|
340 |
+
0.0209039363861084,
|
341 |
+
0.02084556770324707,
|
342 |
+
0.020348928451538087,
|
343 |
+
0.020364288330078126,
|
344 |
+
0.020319232940673827,
|
345 |
+
0.020343807220458983,
|
346 |
+
0.020327423095703127,
|
347 |
+
0.020344831466674804,
|
348 |
+
0.020319232940673827,
|
349 |
+
0.020374528884887694,
|
350 |
+
0.020395008087158203,
|
351 |
+
0.020363264083862305,
|
352 |
+
0.020331520080566406,
|
353 |
+
0.020341760635375978,
|
354 |
+
0.020342784881591795,
|
355 |
+
0.020373504638671876,
|
356 |
+
0.020322303771972656,
|
357 |
+
0.02039091110229492,
|
358 |
+
0.020371456146240235,
|
359 |
+
0.02040934371948242,
|
360 |
+
0.020365312576293947,
|
361 |
+
0.020362239837646484,
|
362 |
+
0.020362239837646484,
|
363 |
+
0.020337663650512695,
|
364 |
+
0.020319232940673827,
|
365 |
+
0.020353023529052734,
|
366 |
+
0.020335615158081053,
|
367 |
+
0.020350976943969725,
|
368 |
+
0.020364288330078126,
|
369 |
+
0.020331520080566406,
|
370 |
+
0.020288511276245116,
|
371 |
+
0.020350976943969725,
|
372 |
+
0.02040934371948242,
|
373 |
+
0.020398080825805662,
|
374 |
+
0.020374528884887694,
|
375 |
+
0.020333568572998048,
|
376 |
+
0.02043801689147949,
|
377 |
+
0.02040115165710449,
|
378 |
+
0.020340736389160157,
|
379 |
+
0.020365312576293947,
|
380 |
+
0.020350976943969725,
|
381 |
+
0.020396032333374024,
|
382 |
+
0.020966400146484376,
|
383 |
+
0.020337663650512695,
|
384 |
+
0.020388864517211915,
|
385 |
+
0.02083328056335449,
|
386 |
+
0.02089369583129883,
|
387 |
+
0.020406272888183592,
|
388 |
+
0.020477951049804686,
|
389 |
+
0.020619264602661135,
|
390 |
+
0.020312063217163084,
|
391 |
+
0.020377599716186523,
|
392 |
+
0.020304960250854494,
|
393 |
+
0.0203703670501709,
|
394 |
+
0.020312063217163084,
|
395 |
+
0.020398080825805662,
|
396 |
+
0.020351999282836913,
|
397 |
+
0.02043084716796875,
|
398 |
+
0.021365760803222656,
|
399 |
+
0.02063974380493164,
|
400 |
+
0.020363264083862305,
|
401 |
+
0.020343807220458983,
|
402 |
+
0.020335615158081053,
|
403 |
+
0.020298751831054687,
|
404 |
+
0.020324352264404297,
|
405 |
+
0.020373504638671876,
|
406 |
+
0.02032640075683594,
|
407 |
+
0.02035916709899902,
|
408 |
+
0.02028544044494629,
|
409 |
+
0.020350976943969725,
|
410 |
+
0.020298751831054687,
|
411 |
+
0.020331520080566406,
|
412 |
+
0.020311040878295897,
|
413 |
+
0.020357120513916017,
|
414 |
+
0.02049945640563965,
|
415 |
+
0.020477951049804686,
|
416 |
+
0.02164838409423828,
|
417 |
+
0.021109760284423826,
|
418 |
+
0.020926464080810548,
|
419 |
+
0.020962303161621093,
|
420 |
+
0.020943872451782225,
|
421 |
+
0.020427776336669923,
|
422 |
+
0.020428800582885744,
|
423 |
+
0.02038374328613281,
|
424 |
+
0.020330495834350586,
|
425 |
+
0.021402624130249022,
|
426 |
+
0.021046272277832033,
|
427 |
+
0.020758527755737305,
|
428 |
+
0.020347904205322266,
|
429 |
+
0.020341760635375978,
|
430 |
+
0.020321279525756835,
|
431 |
+
0.02031820869445801,
|
432 |
+
0.02027008056640625
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.03092553276439
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
91 |
+
"accelerate_version": "0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": 1757.618176,
|
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.0454350414276123,
|
15 |
+
"mean": 0.02271752071380615,
|
16 |
+
"stdev": 0.00012868785858154326,
|
17 |
+
"p50": 0.02271752071380615,
|
18 |
+
"p90": 0.02282047100067139,
|
19 |
+
"p95": 0.02283333978652954,
|
20 |
+
"p99": 0.022843634815216066,
|
21 |
+
"values": [
|
22 |
+
0.02258883285522461,
|
23 |
+
0.022846208572387696
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 308.1322160188845
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1757.63456,
|
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.265699951171875,
|
46 |
+
"mean": 2.6328499755859376,
|
47 |
+
"stdev": 0.01761730957031249,
|
48 |
+
"p50": 2.6328499755859376,
|
49 |
+
"p90": 2.6469438232421876,
|
50 |
+
"p95": 2.6487055541992186,
|
51 |
+
"p99": 2.650114938964844,
|
52 |
+
"values": [
|
53 |
+
2.65046728515625,
|
54 |
+
2.615232666015625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.23670212038432
|
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.267439617156982,
|
70 |
+
"mean": 0.02081991943540309,
|
71 |
+
"stdev": 0.00151601123328956,
|
72 |
+
"p50": 0.020757503509521484,
|
73 |
+
"p90": 0.021109760284423826,
|
74 |
+
"p95": 0.0213805061340332,
|
75 |
+
"p99": 0.022162309799194337,
|
76 |
+
"values": [
|
77 |
+
0.02224742317199707,
|
78 |
+
0.022152191162109376,
|
79 |
+
0.021110815048217775,
|
80 |
+
0.021014495849609374,
|
81 |
+
0.021028863906860353,
|
82 |
+
0.020974592208862306,
|
83 |
+
0.0212490234375,
|
84 |
+
0.0208035831451416,
|
85 |
+
0.02090291213989258,
|
86 |
+
0.021222400665283202,
|
87 |
+
0.021135360717773437,
|
88 |
+
0.02081279945373535,
|
89 |
+
0.02186444854736328,
|
90 |
+
0.02187468719482422,
|
91 |
+
0.022158336639404298,
|
92 |
+
0.021526527404785157,
|
93 |
+
0.020960256576538085,
|
94 |
+
0.02102783966064453,
|
95 |
+
0.02108415985107422,
|
96 |
+
0.020773887634277344,
|
97 |
+
0.020750335693359375,
|
98 |
+
0.020810752868652343,
|
99 |
+
0.020932607650756836,
|
100 |
+
0.020792320251464845,
|
101 |
+
0.02088243293762207,
|
102 |
+
0.02123161506652832,
|
103 |
+
0.02123980712890625,
|
104 |
+
0.0211015682220459,
|
105 |
+
0.0210513916015625,
|
106 |
+
0.020964351654052735,
|
107 |
+
0.020794368743896483,
|
108 |
+
0.020965375900268556,
|
109 |
+
0.021109760284423826,
|
110 |
+
0.021106687545776368,
|
111 |
+
0.02082611274719238,
|
112 |
+
0.020907007217407226,
|
113 |
+
0.02083328056335449,
|
114 |
+
0.020813823699951172,
|
115 |
+
0.020757503509521484,
|
116 |
+
0.020742143630981445,
|
117 |
+
0.02082918357849121,
|
118 |
+
0.020578304290771485,
|
119 |
+
0.020818944931030273,
|
120 |
+
0.0208721923828125,
|
121 |
+
0.020755456924438476,
|
122 |
+
0.02065510368347168,
|
123 |
+
0.020398080825805662,
|
124 |
+
0.020354047775268554,
|
125 |
+
0.02046771240234375,
|
126 |
+
0.020151296615600587,
|
127 |
+
0.020343807220458983,
|
128 |
+
0.02028646469116211,
|
129 |
+
0.02062233543395996,
|
130 |
+
0.020505599975585938,
|
131 |
+
0.020379648208618165,
|
132 |
+
0.021276735305786134,
|
133 |
+
0.02080761528015137,
|
134 |
+
0.02205900764465332,
|
135 |
+
0.02039091110229492,
|
136 |
+
0.020363264083862305,
|
137 |
+
0.020769792556762694,
|
138 |
+
0.021003263473510742,
|
139 |
+
0.022165504455566407,
|
140 |
+
0.021411840438842773,
|
141 |
+
0.02123673629760742,
|
142 |
+
0.02106470489501953,
|
143 |
+
0.020728832244873048,
|
144 |
+
0.02090598487854004,
|
145 |
+
0.021086208343505858,
|
146 |
+
0.02106879997253418,
|
147 |
+
0.02101043128967285,
|
148 |
+
0.02102579116821289,
|
149 |
+
0.020958208084106447,
|
150 |
+
0.020958208084106447,
|
151 |
+
0.020977664947509765,
|
152 |
+
0.020887615203857422,
|
153 |
+
0.020373439788818358,
|
154 |
+
0.020366336822509764,
|
155 |
+
0.020361215591430663,
|
156 |
+
0.020371456146240235,
|
157 |
+
0.020371488571166992,
|
158 |
+
0.020403167724609376,
|
159 |
+
0.020455423355102538,
|
160 |
+
0.02033667182922363,
|
161 |
+
0.020337631225585937,
|
162 |
+
0.020295679092407228,
|
163 |
+
0.020321279525756835,
|
164 |
+
0.020356096267700196,
|
165 |
+
0.020348928451538087,
|
166 |
+
0.020337663650512695,
|
167 |
+
0.020388864517211915,
|
168 |
+
0.020361215591430663,
|
169 |
+
0.020360191345214843,
|
170 |
+
0.020393983840942383,
|
171 |
+
0.020307968139648438,
|
172 |
+
0.020351999282836913,
|
173 |
+
0.020711423873901368,
|
174 |
+
0.02082508850097656,
|
175 |
+
0.02087116813659668,
|
176 |
+
0.02083430480957031,
|
177 |
+
0.020982784271240236,
|
178 |
+
0.021003263473510742,
|
179 |
+
0.021003263473510742,
|
180 |
+
0.021013504028320314,
|
181 |
+
0.021053440093994142,
|
182 |
+
0.020978687286376953,
|
183 |
+
0.021001216888427734,
|
184 |
+
0.0210565128326416,
|
185 |
+
0.020769792556762694,
|
186 |
+
0.0210513916015625,
|
187 |
+
0.02101862335205078,
|
188 |
+
0.02104115104675293,
|
189 |
+
0.020989952087402345,
|
190 |
+
0.021028863906860353,
|
191 |
+
0.021004287719726563,
|
192 |
+
0.020932607650756836,
|
193 |
+
0.020982784271240236,
|
194 |
+
0.02060492706298828,
|
195 |
+
0.020985855102539062,
|
196 |
+
0.02099404716491699,
|
197 |
+
0.020951135635375977,
|
198 |
+
0.020848543167114257,
|
199 |
+
0.02089369583129883,
|
200 |
+
0.020366336822509764,
|
201 |
+
0.02079641532897949,
|
202 |
+
0.020816896438598635,
|
203 |
+
0.04401971054077149,
|
204 |
+
0.02084659194946289,
|
205 |
+
0.020912128448486327,
|
206 |
+
0.02101862335205078,
|
207 |
+
0.020936704635620116,
|
208 |
+
0.020898815155029296,
|
209 |
+
0.020934656143188478,
|
210 |
+
0.02105036735534668,
|
211 |
+
0.020953088760375976,
|
212 |
+
0.020993024826049804,
|
213 |
+
0.020657215118408203,
|
214 |
+
0.020946880340576172,
|
215 |
+
0.02090598487854004,
|
216 |
+
0.020891647338867187,
|
217 |
+
0.02087833595275879,
|
218 |
+
0.020739072799682616,
|
219 |
+
0.020327423095703127,
|
220 |
+
0.021061632156372072,
|
221 |
+
0.020931583404541015,
|
222 |
+
0.020322303771972656,
|
223 |
+
0.020592639923095703,
|
224 |
+
0.020702207565307617,
|
225 |
+
0.021176319122314453,
|
226 |
+
0.02105548858642578,
|
227 |
+
0.02063052749633789,
|
228 |
+
0.020933631896972657,
|
229 |
+
0.020993024826049804,
|
230 |
+
0.020961280822753905,
|
231 |
+
0.02089574432373047,
|
232 |
+
0.021178367614746094,
|
233 |
+
0.02215936088562012,
|
234 |
+
0.02124185562133789,
|
235 |
+
0.020974592208862306,
|
236 |
+
0.020937728881835937,
|
237 |
+
0.0209039363861084,
|
238 |
+
0.02084556770324707,
|
239 |
+
0.020348928451538087,
|
240 |
+
0.020364288330078126,
|
241 |
+
0.020319232940673827,
|
242 |
+
0.020343807220458983,
|
243 |
+
0.020327423095703127,
|
244 |
+
0.020344831466674804,
|
245 |
+
0.020319232940673827,
|
246 |
+
0.020374528884887694,
|
247 |
+
0.020395008087158203,
|
248 |
+
0.020363264083862305,
|
249 |
+
0.020331520080566406,
|
250 |
+
0.020341760635375978,
|
251 |
+
0.020342784881591795,
|
252 |
+
0.020373504638671876,
|
253 |
+
0.020322303771972656,
|
254 |
+
0.02039091110229492,
|
255 |
+
0.020371456146240235,
|
256 |
+
0.02040934371948242,
|
257 |
+
0.020365312576293947,
|
258 |
+
0.020362239837646484,
|
259 |
+
0.020362239837646484,
|
260 |
+
0.020337663650512695,
|
261 |
+
0.020319232940673827,
|
262 |
+
0.020353023529052734,
|
263 |
+
0.020335615158081053,
|
264 |
+
0.020350976943969725,
|
265 |
+
0.020364288330078126,
|
266 |
+
0.020331520080566406,
|
267 |
+
0.020288511276245116,
|
268 |
+
0.020350976943969725,
|
269 |
+
0.02040934371948242,
|
270 |
+
0.020398080825805662,
|
271 |
+
0.020374528884887694,
|
272 |
+
0.020333568572998048,
|
273 |
+
0.02043801689147949,
|
274 |
+
0.02040115165710449,
|
275 |
+
0.020340736389160157,
|
276 |
+
0.020365312576293947,
|
277 |
+
0.020350976943969725,
|
278 |
+
0.020396032333374024,
|
279 |
+
0.020966400146484376,
|
280 |
+
0.020337663650512695,
|
281 |
+
0.020388864517211915,
|
282 |
+
0.02083328056335449,
|
283 |
+
0.02089369583129883,
|
284 |
+
0.020406272888183592,
|
285 |
+
0.020477951049804686,
|
286 |
+
0.020619264602661135,
|
287 |
+
0.020312063217163084,
|
288 |
+
0.020377599716186523,
|
289 |
+
0.020304960250854494,
|
290 |
+
0.0203703670501709,
|
291 |
+
0.020312063217163084,
|
292 |
+
0.020398080825805662,
|
293 |
+
0.020351999282836913,
|
294 |
+
0.02043084716796875,
|
295 |
+
0.021365760803222656,
|
296 |
+
0.02063974380493164,
|
297 |
+
0.020363264083862305,
|
298 |
+
0.020343807220458983,
|
299 |
+
0.020335615158081053,
|
300 |
+
0.020298751831054687,
|
301 |
+
0.020324352264404297,
|
302 |
+
0.020373504638671876,
|
303 |
+
0.02032640075683594,
|
304 |
+
0.02035916709899902,
|
305 |
+
0.02028544044494629,
|
306 |
+
0.020350976943969725,
|
307 |
+
0.020298751831054687,
|
308 |
+
0.020331520080566406,
|
309 |
+
0.020311040878295897,
|
310 |
+
0.020357120513916017,
|
311 |
+
0.02049945640563965,
|
312 |
+
0.020477951049804686,
|
313 |
+
0.02164838409423828,
|
314 |
+
0.021109760284423826,
|
315 |
+
0.020926464080810548,
|
316 |
+
0.020962303161621093,
|
317 |
+
0.020943872451782225,
|
318 |
+
0.020427776336669923,
|
319 |
+
0.020428800582885744,
|
320 |
+
0.02038374328613281,
|
321 |
+
0.020330495834350586,
|
322 |
+
0.021402624130249022,
|
323 |
+
0.021046272277832033,
|
324 |
+
0.020758527755737305,
|
325 |
+
0.020347904205322266,
|
326 |
+
0.020341760635375978,
|
327 |
+
0.020321279525756835,
|
328 |
+
0.02031820869445801,
|
329 |
+
0.02027008056640625
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.03092553276439
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02271752071380615,
|
7 |
+
"prefill.throughput.value": 308.1322160188845,
|
8 |
+
"decode.latency.mean": 2.6328499755859376,
|
9 |
+
"decode.throughput.value": 48.23670212038432,
|
10 |
+
"per_token.latency.mean": 0.02081991943540309,
|
11 |
+
"per_token.throughput.value": 48.03092553276439
|
12 |
+
}
|
13 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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: bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
82 |
+
accelerate_version: 0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
88 |
+
- hydra.run.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=static
|
93 |
+
- backend.torch_compile=True
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
98 |
+
id: '3'
|
99 |
+
num: 3
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: /transformers/_benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
92 |
+
"accelerate_version": "0.31.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": 1927.548928,
|
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.028168224334716795,
|
118 |
+
"mean": 0.014084112167358397,
|
119 |
+
"stdev": 9.243202209472615e-05,
|
120 |
+
"p50": 0.014084112167358397,
|
121 |
+
"p90": 0.01415805778503418,
|
122 |
+
"p95": 0.014167300987243652,
|
123 |
+
"p99": 0.01417469554901123,
|
124 |
+
"values": [
|
125 |
+
0.014176544189453124,
|
126 |
+
0.013991680145263672
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 497.01393434108905
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2271.285248,
|
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.1232266845703123,
|
149 |
+
"mean": 1.5616133422851561,
|
150 |
+
"stdev": 0.002790100097656345,
|
151 |
+
"p50": 1.5616133422851561,
|
152 |
+
"p90": 1.5638454223632814,
|
153 |
+
"p95": 1.564124432373047,
|
154 |
+
"p99": 1.5643476403808594,
|
155 |
+
"values": [
|
156 |
+
1.5644034423828126,
|
157 |
+
1.5588232421875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.32614941298917
|
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.1242772445678724,
|
173 |
+
"mean": 0.012348921915288028,
|
174 |
+
"stdev": 0.0008948487698663195,
|
175 |
+
"p50": 0.012273664474487305,
|
176 |
+
"p90": 0.01234104290008545,
|
177 |
+
"p95": 0.012484812927246094,
|
178 |
+
"p99": 0.012787465858459472,
|
179 |
+
"values": [
|
180 |
+
0.012695551872253418,
|
181 |
+
0.012752896308898925,
|
182 |
+
0.012717056274414062,
|
183 |
+
0.012781567573547363,
|
184 |
+
0.012793855667114258,
|
185 |
+
0.012813311576843261,
|
186 |
+
0.012722175598144531,
|
187 |
+
0.012306431770324706,
|
188 |
+
0.012254207611083985,
|
189 |
+
0.012310527801513671,
|
190 |
+
0.012246015548706055,
|
191 |
+
0.012283904075622559,
|
192 |
+
0.012256256103515625,
|
193 |
+
0.012290047645568849,
|
194 |
+
0.01224396800994873,
|
195 |
+
0.012311552047729492,
|
196 |
+
0.01224396800994873,
|
197 |
+
0.012294143676757812,
|
198 |
+
0.012240896224975586,
|
199 |
+
0.012286975860595703,
|
200 |
+
0.012256256103515625,
|
201 |
+
0.012291071891784668,
|
202 |
+
0.01225113582611084,
|
203 |
+
0.01228492832183838,
|
204 |
+
0.012239871978759765,
|
205 |
+
0.012294176101684571,
|
206 |
+
0.012242912292480469,
|
207 |
+
0.012282879829406738,
|
208 |
+
0.012264448165893555,
|
209 |
+
0.01245081615447998,
|
210 |
+
0.01226854419708252,
|
211 |
+
0.012270591735839843,
|
212 |
+
0.012238847732543945,
|
213 |
+
0.012294143676757812,
|
214 |
+
0.012240896224975586,
|
215 |
+
0.012308480262756348,
|
216 |
+
0.01225011157989502,
|
217 |
+
0.012303359985351562,
|
218 |
+
0.012238847732543945,
|
219 |
+
0.012272640228271485,
|
220 |
+
0.012237824440002442,
|
221 |
+
0.01228492832183838,
|
222 |
+
0.01225830364227295,
|
223 |
+
0.012283904075622559,
|
224 |
+
0.012258336067199707,
|
225 |
+
0.012348383903503417,
|
226 |
+
0.012236800193786621,
|
227 |
+
0.012278783798217773,
|
228 |
+
0.012238847732543945,
|
229 |
+
0.012300288200378418,
|
230 |
+
0.01225113582611084,
|
231 |
+
0.012309503555297852,
|
232 |
+
0.01226137638092041,
|
233 |
+
0.012302335739135742,
|
234 |
+
0.012239871978759765,
|
235 |
+
0.012340224266052247,
|
236 |
+
0.012263423919677734,
|
237 |
+
0.012294143676757812,
|
238 |
+
0.012255231857299804,
|
239 |
+
0.012305407524108887,
|
240 |
+
0.012246015548706055,
|
241 |
+
0.012271615982055664,
|
242 |
+
0.0122357759475708,
|
243 |
+
0.012272704124450683,
|
244 |
+
0.012231616020202637,
|
245 |
+
0.012280832290649414,
|
246 |
+
0.012247039794921874,
|
247 |
+
0.012280832290649414,
|
248 |
+
0.012505087852478027,
|
249 |
+
0.012679167747497559,
|
250 |
+
0.01244057559967041,
|
251 |
+
0.012382271766662598,
|
252 |
+
0.01225004768371582,
|
253 |
+
0.012289024353027344,
|
254 |
+
0.012248064041137695,
|
255 |
+
0.012288000106811523,
|
256 |
+
0.012248064041137695,
|
257 |
+
0.01228492832183838,
|
258 |
+
0.01226035213470459,
|
259 |
+
0.012357631683349609,
|
260 |
+
0.012382207870483398,
|
261 |
+
0.012580863952636719,
|
262 |
+
0.012471296310424805,
|
263 |
+
0.012515328407287597,
|
264 |
+
0.012374015808105468,
|
265 |
+
0.012295167922973632,
|
266 |
+
0.0122357759475708,
|
267 |
+
0.012285951614379884,
|
268 |
+
0.012255231857299804,
|
269 |
+
0.012286975860595703,
|
270 |
+
0.012228608131408691,
|
271 |
+
0.012328960418701173,
|
272 |
+
0.012247039794921874,
|
273 |
+
0.012274687767028808,
|
274 |
+
0.01224396800994873,
|
275 |
+
0.012278783798217773,
|
276 |
+
0.012265472412109376,
|
277 |
+
0.012280832290649414,
|
278 |
+
0.012247039794921874,
|
279 |
+
0.01229312038421631,
|
280 |
+
0.012237824440002442,
|
281 |
+
0.012281855583190919,
|
282 |
+
0.012238847732543945,
|
283 |
+
0.01228492832183838,
|
284 |
+
0.012246015548706055,
|
285 |
+
0.012271615982055664,
|
286 |
+
0.012239871978759765,
|
287 |
+
0.012286975860595703,
|
288 |
+
0.012228608131408691,
|
289 |
+
0.012286975860595703,
|
290 |
+
0.012246015548706055,
|
291 |
+
0.01232588768005371,
|
292 |
+
0.012233728408813477,
|
293 |
+
0.012264448165893555,
|
294 |
+
0.012237824440002442,
|
295 |
+
0.012278783798217773,
|
296 |
+
0.012237824440002442,
|
297 |
+
0.012285951614379884,
|
298 |
+
0.012248064041137695,
|
299 |
+
0.012271615982055664,
|
300 |
+
0.012239871978759765,
|
301 |
+
0.012277759552001954,
|
302 |
+
0.01225113582611084,
|
303 |
+
0.012283904075622559,
|
304 |
+
0.01225011157989502,
|
305 |
+
0.012289024353027344,
|
306 |
+
0.02647039985656738,
|
307 |
+
0.012229632377624512,
|
308 |
+
0.012294143676757812,
|
309 |
+
0.012230655670166016,
|
310 |
+
0.012282879829406738,
|
311 |
+
0.012244992256164551,
|
312 |
+
0.012307456016540527,
|
313 |
+
0.012281855583190919,
|
314 |
+
0.012283904075622559,
|
315 |
+
0.012238847732543945,
|
316 |
+
0.012286975860595703,
|
317 |
+
0.012236800193786621,
|
318 |
+
0.012271615982055664,
|
319 |
+
0.012236800193786621,
|
320 |
+
0.012285951614379884,
|
321 |
+
0.012229632377624512,
|
322 |
+
0.012288000106811523,
|
323 |
+
0.012223487854003906,
|
324 |
+
0.01228492832183838,
|
325 |
+
0.012426239967346191,
|
326 |
+
0.012297247886657715,
|
327 |
+
0.012247008323669433,
|
328 |
+
0.012295167922973632,
|
329 |
+
0.01224294376373291,
|
330 |
+
0.012274687767028808,
|
331 |
+
0.01223475170135498,
|
332 |
+
0.012283904075622559,
|
333 |
+
0.012230655670166016,
|
334 |
+
0.012282879829406738,
|
335 |
+
0.012249088287353516,
|
336 |
+
0.012300288200378418,
|
337 |
+
0.012229632377624512,
|
338 |
+
0.012280832290649414,
|
339 |
+
0.012221440315246582,
|
340 |
+
0.012280832290649414,
|
341 |
+
0.012262432098388672,
|
342 |
+
0.01230128002166748,
|
343 |
+
0.012248064041137695,
|
344 |
+
0.012288000106811523,
|
345 |
+
0.012238847732543945,
|
346 |
+
0.012291071891784668,
|
347 |
+
0.012233792304992675,
|
348 |
+
0.012322751998901368,
|
349 |
+
0.012241920471191407,
|
350 |
+
0.012273664474487305,
|
351 |
+
0.012230655670166016,
|
352 |
+
0.012322815895080566,
|
353 |
+
0.01226038360595703,
|
354 |
+
0.012292096138000488,
|
355 |
+
0.012253151893615723,
|
356 |
+
0.012282879829406738,
|
357 |
+
0.01225113582611084,
|
358 |
+
0.012290047645568849,
|
359 |
+
0.012229632377624512,
|
360 |
+
0.012290047645568849,
|
361 |
+
0.012232704162597656,
|
362 |
+
0.01227673625946045,
|
363 |
+
0.012280832290649414,
|
364 |
+
0.012280832290649414,
|
365 |
+
0.012234784126281739,
|
366 |
+
0.012275679588317871,
|
367 |
+
0.012237824440002442,
|
368 |
+
0.012277759552001954,
|
369 |
+
0.01223475170135498,
|
370 |
+
0.012288000106811523,
|
371 |
+
0.012264448165893555,
|
372 |
+
0.012337151527404786,
|
373 |
+
0.01226137638092041,
|
374 |
+
0.012273664474487305,
|
375 |
+
0.012230655670166016,
|
376 |
+
0.01228492832183838,
|
377 |
+
0.012248064041137695,
|
378 |
+
0.01226854419708252,
|
379 |
+
0.012321791648864745,
|
380 |
+
0.012382207870483398,
|
381 |
+
0.012336128234863282,
|
382 |
+
0.012345343589782716,
|
383 |
+
0.012257280349731446,
|
384 |
+
0.012292096138000488,
|
385 |
+
0.012240896224975586,
|
386 |
+
0.01229312038421631,
|
387 |
+
0.012257280349731446,
|
388 |
+
0.012274687767028808,
|
389 |
+
0.012233728408813477,
|
390 |
+
0.012281855583190919,
|
391 |
+
0.012249088287353516,
|
392 |
+
0.012274687767028808,
|
393 |
+
0.01224396800994873,
|
394 |
+
0.012292096138000488,
|
395 |
+
0.012229632377624512,
|
396 |
+
0.01234124755859375,
|
397 |
+
0.01226035213470459,
|
398 |
+
0.012289024353027344,
|
399 |
+
0.012249088287353516,
|
400 |
+
0.012292096138000488,
|
401 |
+
0.0122542724609375,
|
402 |
+
0.012289983749389648,
|
403 |
+
0.01224294376373291,
|
404 |
+
0.012291071891784668,
|
405 |
+
0.012244992256164551,
|
406 |
+
0.012274687767028808,
|
407 |
+
0.012248064041137695,
|
408 |
+
0.012271615982055664,
|
409 |
+
0.012246015548706055,
|
410 |
+
0.012273664474487305,
|
411 |
+
0.012230655670166016,
|
412 |
+
0.012618751525878906,
|
413 |
+
0.01224294376373291,
|
414 |
+
0.012295167922973632,
|
415 |
+
0.01225216007232666,
|
416 |
+
0.012303359985351562,
|
417 |
+
0.012239871978759765,
|
418 |
+
0.012302335739135742,
|
419 |
+
0.012249088287353516,
|
420 |
+
0.012270591735839843,
|
421 |
+
0.012229632377624512,
|
422 |
+
0.012266495704650878,
|
423 |
+
0.012248064041137695,
|
424 |
+
0.012274687767028808,
|
425 |
+
0.012232704162597656,
|
426 |
+
0.012265472412109376,
|
427 |
+
0.012231679916381836,
|
428 |
+
0.012291071891784668,
|
429 |
+
0.01224396800994873,
|
430 |
+
0.01236787223815918,
|
431 |
+
0.01225216007232666,
|
432 |
+
0.012277759552001954
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.97872890118407
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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.217-205.860.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
91 |
+
"accelerate_version": "0.31.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-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": 1927.548928,
|
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.028168224334716795,
|
15 |
+
"mean": 0.014084112167358397,
|
16 |
+
"stdev": 9.243202209472615e-05,
|
17 |
+
"p50": 0.014084112167358397,
|
18 |
+
"p90": 0.01415805778503418,
|
19 |
+
"p95": 0.014167300987243652,
|
20 |
+
"p99": 0.01417469554901123,
|
21 |
+
"values": [
|
22 |
+
0.014176544189453124,
|
23 |
+
0.013991680145263672
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 497.01393434108905
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2271.285248,
|
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.1232266845703123,
|
46 |
+
"mean": 1.5616133422851561,
|
47 |
+
"stdev": 0.002790100097656345,
|
48 |
+
"p50": 1.5616133422851561,
|
49 |
+
"p90": 1.5638454223632814,
|
50 |
+
"p95": 1.564124432373047,
|
51 |
+
"p99": 1.5643476403808594,
|
52 |
+
"values": [
|
53 |
+
1.5644034423828126,
|
54 |
+
1.5588232421875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.32614941298917
|
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.1242772445678724,
|
70 |
+
"mean": 0.012348921915288028,
|
71 |
+
"stdev": 0.0008948487698663195,
|
72 |
+
"p50": 0.012273664474487305,
|
73 |
+
"p90": 0.01234104290008545,
|
74 |
+
"p95": 0.012484812927246094,
|
75 |
+
"p99": 0.012787465858459472,
|
76 |
+
"values": [
|
77 |
+
0.012695551872253418,
|
78 |
+
0.012752896308898925,
|
79 |
+
0.012717056274414062,
|
80 |
+
0.012781567573547363,
|
81 |
+
0.012793855667114258,
|
82 |
+
0.012813311576843261,
|
83 |
+
0.012722175598144531,
|
84 |
+
0.012306431770324706,
|
85 |
+
0.012254207611083985,
|
86 |
+
0.012310527801513671,
|
87 |
+
0.012246015548706055,
|
88 |
+
0.012283904075622559,
|
89 |
+
0.012256256103515625,
|
90 |
+
0.012290047645568849,
|
91 |
+
0.01224396800994873,
|
92 |
+
0.012311552047729492,
|
93 |
+
0.01224396800994873,
|
94 |
+
0.012294143676757812,
|
95 |
+
0.012240896224975586,
|
96 |
+
0.012286975860595703,
|
97 |
+
0.012256256103515625,
|
98 |
+
0.012291071891784668,
|
99 |
+
0.01225113582611084,
|
100 |
+
0.01228492832183838,
|
101 |
+
0.012239871978759765,
|
102 |
+
0.012294176101684571,
|
103 |
+
0.012242912292480469,
|
104 |
+
0.012282879829406738,
|
105 |
+
0.012264448165893555,
|
106 |
+
0.01245081615447998,
|
107 |
+
0.01226854419708252,
|
108 |
+
0.012270591735839843,
|
109 |
+
0.012238847732543945,
|
110 |
+
0.012294143676757812,
|
111 |
+
0.012240896224975586,
|
112 |
+
0.012308480262756348,
|
113 |
+
0.01225011157989502,
|
114 |
+
0.012303359985351562,
|
115 |
+
0.012238847732543945,
|
116 |
+
0.012272640228271485,
|
117 |
+
0.012237824440002442,
|
118 |
+
0.01228492832183838,
|
119 |
+
0.01225830364227295,
|
120 |
+
0.012283904075622559,
|
121 |
+
0.012258336067199707,
|
122 |
+
0.012348383903503417,
|
123 |
+
0.012236800193786621,
|
124 |
+
0.012278783798217773,
|
125 |
+
0.012238847732543945,
|
126 |
+
0.012300288200378418,
|
127 |
+
0.01225113582611084,
|
128 |
+
0.012309503555297852,
|
129 |
+
0.01226137638092041,
|
130 |
+
0.012302335739135742,
|
131 |
+
0.012239871978759765,
|
132 |
+
0.012340224266052247,
|
133 |
+
0.012263423919677734,
|
134 |
+
0.012294143676757812,
|
135 |
+
0.012255231857299804,
|
136 |
+
0.012305407524108887,
|
137 |
+
0.012246015548706055,
|
138 |
+
0.012271615982055664,
|
139 |
+
0.0122357759475708,
|
140 |
+
0.012272704124450683,
|
141 |
+
0.012231616020202637,
|
142 |
+
0.012280832290649414,
|
143 |
+
0.012247039794921874,
|
144 |
+
0.012280832290649414,
|
145 |
+
0.012505087852478027,
|
146 |
+
0.012679167747497559,
|
147 |
+
0.01244057559967041,
|
148 |
+
0.012382271766662598,
|
149 |
+
0.01225004768371582,
|
150 |
+
0.012289024353027344,
|
151 |
+
0.012248064041137695,
|
152 |
+
0.012288000106811523,
|
153 |
+
0.012248064041137695,
|
154 |
+
0.01228492832183838,
|
155 |
+
0.01226035213470459,
|
156 |
+
0.012357631683349609,
|
157 |
+
0.012382207870483398,
|
158 |
+
0.012580863952636719,
|
159 |
+
0.012471296310424805,
|
160 |
+
0.012515328407287597,
|
161 |
+
0.012374015808105468,
|
162 |
+
0.012295167922973632,
|
163 |
+
0.0122357759475708,
|
164 |
+
0.012285951614379884,
|
165 |
+
0.012255231857299804,
|
166 |
+
0.012286975860595703,
|
167 |
+
0.012228608131408691,
|
168 |
+
0.012328960418701173,
|
169 |
+
0.012247039794921874,
|
170 |
+
0.012274687767028808,
|
171 |
+
0.01224396800994873,
|
172 |
+
0.012278783798217773,
|
173 |
+
0.012265472412109376,
|
174 |
+
0.012280832290649414,
|
175 |
+
0.012247039794921874,
|
176 |
+
0.01229312038421631,
|
177 |
+
0.012237824440002442,
|
178 |
+
0.012281855583190919,
|
179 |
+
0.012238847732543945,
|
180 |
+
0.01228492832183838,
|
181 |
+
0.012246015548706055,
|
182 |
+
0.012271615982055664,
|
183 |
+
0.012239871978759765,
|
184 |
+
0.012286975860595703,
|
185 |
+
0.012228608131408691,
|
186 |
+
0.012286975860595703,
|
187 |
+
0.012246015548706055,
|
188 |
+
0.01232588768005371,
|
189 |
+
0.012233728408813477,
|
190 |
+
0.012264448165893555,
|
191 |
+
0.012237824440002442,
|
192 |
+
0.012278783798217773,
|
193 |
+
0.012237824440002442,
|
194 |
+
0.012285951614379884,
|
195 |
+
0.012248064041137695,
|
196 |
+
0.012271615982055664,
|
197 |
+
0.012239871978759765,
|
198 |
+
0.012277759552001954,
|
199 |
+
0.01225113582611084,
|
200 |
+
0.012283904075622559,
|
201 |
+
0.01225011157989502,
|
202 |
+
0.012289024353027344,
|
203 |
+
0.02647039985656738,
|
204 |
+
0.012229632377624512,
|
205 |
+
0.012294143676757812,
|
206 |
+
0.012230655670166016,
|
207 |
+
0.012282879829406738,
|
208 |
+
0.012244992256164551,
|
209 |
+
0.012307456016540527,
|
210 |
+
0.012281855583190919,
|
211 |
+
0.012283904075622559,
|
212 |
+
0.012238847732543945,
|
213 |
+
0.012286975860595703,
|
214 |
+
0.012236800193786621,
|
215 |
+
0.012271615982055664,
|
216 |
+
0.012236800193786621,
|
217 |
+
0.012285951614379884,
|
218 |
+
0.012229632377624512,
|
219 |
+
0.012288000106811523,
|
220 |
+
0.012223487854003906,
|
221 |
+
0.01228492832183838,
|
222 |
+
0.012426239967346191,
|
223 |
+
0.012297247886657715,
|
224 |
+
0.012247008323669433,
|
225 |
+
0.012295167922973632,
|
226 |
+
0.01224294376373291,
|
227 |
+
0.012274687767028808,
|
228 |
+
0.01223475170135498,
|
229 |
+
0.012283904075622559,
|
230 |
+
0.012230655670166016,
|
231 |
+
0.012282879829406738,
|
232 |
+
0.012249088287353516,
|
233 |
+
0.012300288200378418,
|
234 |
+
0.012229632377624512,
|
235 |
+
0.012280832290649414,
|
236 |
+
0.012221440315246582,
|
237 |
+
0.012280832290649414,
|
238 |
+
0.012262432098388672,
|
239 |
+
0.01230128002166748,
|
240 |
+
0.012248064041137695,
|
241 |
+
0.012288000106811523,
|
242 |
+
0.012238847732543945,
|
243 |
+
0.012291071891784668,
|
244 |
+
0.012233792304992675,
|
245 |
+
0.012322751998901368,
|
246 |
+
0.012241920471191407,
|
247 |
+
0.012273664474487305,
|
248 |
+
0.012230655670166016,
|
249 |
+
0.012322815895080566,
|
250 |
+
0.01226038360595703,
|
251 |
+
0.012292096138000488,
|
252 |
+
0.012253151893615723,
|
253 |
+
0.012282879829406738,
|
254 |
+
0.01225113582611084,
|
255 |
+
0.012290047645568849,
|
256 |
+
0.012229632377624512,
|
257 |
+
0.012290047645568849,
|
258 |
+
0.012232704162597656,
|
259 |
+
0.01227673625946045,
|
260 |
+
0.012280832290649414,
|
261 |
+
0.012280832290649414,
|
262 |
+
0.012234784126281739,
|
263 |
+
0.012275679588317871,
|
264 |
+
0.012237824440002442,
|
265 |
+
0.012277759552001954,
|
266 |
+
0.01223475170135498,
|
267 |
+
0.012288000106811523,
|
268 |
+
0.012264448165893555,
|
269 |
+
0.012337151527404786,
|
270 |
+
0.01226137638092041,
|
271 |
+
0.012273664474487305,
|
272 |
+
0.012230655670166016,
|
273 |
+
0.01228492832183838,
|
274 |
+
0.012248064041137695,
|
275 |
+
0.01226854419708252,
|
276 |
+
0.012321791648864745,
|
277 |
+
0.012382207870483398,
|
278 |
+
0.012336128234863282,
|
279 |
+
0.012345343589782716,
|
280 |
+
0.012257280349731446,
|
281 |
+
0.012292096138000488,
|
282 |
+
0.012240896224975586,
|
283 |
+
0.01229312038421631,
|
284 |
+
0.012257280349731446,
|
285 |
+
0.012274687767028808,
|
286 |
+
0.012233728408813477,
|
287 |
+
0.012281855583190919,
|
288 |
+
0.012249088287353516,
|
289 |
+
0.012274687767028808,
|
290 |
+
0.01224396800994873,
|
291 |
+
0.012292096138000488,
|
292 |
+
0.012229632377624512,
|
293 |
+
0.01234124755859375,
|
294 |
+
0.01226035213470459,
|
295 |
+
0.012289024353027344,
|
296 |
+
0.012249088287353516,
|
297 |
+
0.012292096138000488,
|
298 |
+
0.0122542724609375,
|
299 |
+
0.012289983749389648,
|
300 |
+
0.01224294376373291,
|
301 |
+
0.012291071891784668,
|
302 |
+
0.012244992256164551,
|
303 |
+
0.012274687767028808,
|
304 |
+
0.012248064041137695,
|
305 |
+
0.012271615982055664,
|
306 |
+
0.012246015548706055,
|
307 |
+
0.012273664474487305,
|
308 |
+
0.012230655670166016,
|
309 |
+
0.012618751525878906,
|
310 |
+
0.01224294376373291,
|
311 |
+
0.012295167922973632,
|
312 |
+
0.01225216007232666,
|
313 |
+
0.012303359985351562,
|
314 |
+
0.012239871978759765,
|
315 |
+
0.012302335739135742,
|
316 |
+
0.012249088287353516,
|
317 |
+
0.012270591735839843,
|
318 |
+
0.012229632377624512,
|
319 |
+
0.012266495704650878,
|
320 |
+
0.012248064041137695,
|
321 |
+
0.012274687767028808,
|
322 |
+
0.012232704162597656,
|
323 |
+
0.012265472412109376,
|
324 |
+
0.012231679916381836,
|
325 |
+
0.012291071891784668,
|
326 |
+
0.01224396800994873,
|
327 |
+
0.01236787223815918,
|
328 |
+
0.01225216007232666,
|
329 |
+
0.012277759552001954
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.97872890118407
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014084112167358397,
|
7 |
+
"prefill.throughput.value": 497.01393434108905,
|
8 |
+
"decode.latency.mean": 1.5616133422851561,
|
9 |
+
"decode.throughput.value": 81.32614941298917,
|
10 |
+
"per_token.latency.mean": 0.012348921915288028,
|
11 |
+
"per_token.throughput.value": 80.97872890118407
|
12 |
+
}
|
13 |
+
}
|
2024-06-07/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp_ayh_2uc/commit=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
6 |
+
subdir: ${hydra.job.override_dirname}
|
7 |
+
launcher:
|
8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
9 |
+
sweeper:
|
10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
11 |
+
max_batch_size: null
|
12 |
+
params: null
|
13 |
+
help:
|
14 |
+
app_name: ${hydra.job.name}
|
15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
16 |
+
|
17 |
+
'
|
18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
19 |
+
|
20 |
+
Use --hydra-help to view Hydra specific help
|
21 |
+
|
22 |
+
'
|
23 |
+
template: '${hydra.help.header}
|
24 |
+
|
25 |
+
== Configuration groups ==
|
26 |
+
|
27 |
+
Compose your configuration from those groups (group=option)
|
28 |
+
|
29 |
+
|
30 |
+
$APP_CONFIG_GROUPS
|
31 |
+
|
32 |
+
|
33 |
+
== Config ==
|
34 |
+
|
35 |
+
Override anything in the config (foo.bar=value)
|
36 |
+
|
37 |
+
|
38 |
+
$CONFIG
|
39 |
+
|
40 |
+
|
41 |
+
${hydra.help.footer}
|
42 |
+
|
43 |
+
'
|
44 |
+
hydra_help:
|
45 |
+
template: 'Hydra (${hydra.runtime.version})
|
46 |
+
|
47 |
+
See https://hydra.cc for more info.
|
48 |
+
|
49 |
+
|
50 |
+
== Flags ==
|
51 |
+
|
52 |
+
$FLAGS_HELP
|
53 |
+
|
54 |
+
|
55 |
+
== Configuration groups ==
|
56 |
+
|
57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
58 |
+
to command line)
|
59 |
+
|
60 |
+
|
61 |
+
$HYDRA_CONFIG_GROUPS
|
62 |
+
|
63 |
+
|
64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
65 |
+
|
66 |
+
'
|
67 |
+
hydra_help: ???
|
68 |
+
hydra_logging:
|
69 |
+
version: 1
|
70 |
+
root:
|
71 |
+
level: ERROR
|
72 |
+
disable_existing_loggers: true
|
73 |
+
job_logging:
|
74 |
+
version: 1
|
75 |
+
root:
|
76 |
+
level: ERROR
|
77 |
+
disable_existing_loggers: true
|
78 |
+
env: {}
|
79 |
+
mode: MULTIRUN
|
80 |
+
searchpath: []
|
81 |
+
callbacks: {}
|
82 |
+
output_subdir: .hydra
|
83 |
+
overrides:
|
84 |
+
hydra:
|
85 |
+
- hydra/job_logging=disabled
|
86 |
+
- hydra/hydra_logging=disabled
|
87 |
+
- hydra.sweep.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
88 |
+
- hydra.run.dir=_benchmark/tmp_ayh_2uc/commit\=bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066/${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.217-205.860.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: bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066
|
223 |
+
accelerate_version: 0.31.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-07/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020219680786132812,
|
8 |
+
"prefill.throughput.value": 346.19735464868387,
|
9 |
+
"decode.latency.mean": 2.454503173828125,
|
10 |
+
"decode.throughput.value": 51.74163201505523,
|
11 |
+
"per_token.latency.mean": 0.019405411166164715,
|
12 |
+
"per_token.throughput.value": 51.5320181282013
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02271752071380615,
|
21 |
+
"prefill.throughput.value": 308.1322160188845,
|
22 |
+
"decode.latency.mean": 2.6328499755859376,
|
23 |
+
"decode.throughput.value": 48.23670212038432,
|
24 |
+
"per_token.latency.mean": 0.02081991943540309,
|
25 |
+
"per_token.throughput.value": 48.03092553276439
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014084112167358397,
|
34 |
+
"prefill.throughput.value": 497.01393434108905,
|
35 |
+
"decode.latency.mean": 1.5616133422851561,
|
36 |
+
"decode.throughput.value": 81.32614941298917,
|
37 |
+
"per_token.latency.mean": 0.012348921915288028,
|
38 |
+
"per_token.throughput.value": 80.97872890118407
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-07/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020219680786132812,
|
7 |
+
"prefill.throughput.value": 346.19735464868387,
|
8 |
+
"decode.latency.mean": 2.454503173828125,
|
9 |
+
"decode.throughput.value": 51.74163201505523,
|
10 |
+
"per_token.latency.mean": 0.019405411166164715,
|
11 |
+
"per_token.throughput.value": 51.5320181282013
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02271752071380615,
|
19 |
+
"prefill.throughput.value": 308.1322160188845,
|
20 |
+
"decode.latency.mean": 2.6328499755859376,
|
21 |
+
"decode.throughput.value": 48.23670212038432,
|
22 |
+
"per_token.latency.mean": 0.02081991943540309,
|
23 |
+
"per_token.throughput.value": 48.03092553276439
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014084112167358397,
|
31 |
+
"prefill.throughput.value": 497.01393434108905,
|
32 |
+
"decode.latency.mean": 1.5616133422851561,
|
33 |
+
"decode.throughput.value": 81.32614941298917,
|
34 |
+
"per_token.latency.mean": 0.012348921915288028,
|
35 |
+
"per_token.throughput.value": 80.97872890118407
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|