hf-transformers-bot
commited on
Commit
•
148f5d8
1
Parent(s):
25b4db8
Upload folder using huggingface_hub
Browse files- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/multirun.yaml +232 -0
- 2024-06-13/summaries.json +41 -0
- 2024-06-13/summary.json +40 -0
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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: 348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
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/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
88 |
+
- hydra.run.dir=_benchmark/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1705.24672,
|
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.04079094314575195,
|
118 |
+
"mean": 0.020395471572875974,
|
119 |
+
"stdev": 0.0005370082855224601,
|
120 |
+
"p50": 0.020395471572875974,
|
121 |
+
"p90": 0.020825078201293944,
|
122 |
+
"p95": 0.02087877902984619,
|
123 |
+
"p99": 0.02092173969268799,
|
124 |
+
"values": [
|
125 |
+
0.020932479858398436,
|
126 |
+
0.019858463287353516
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 343.213442012752
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1705.271296,
|
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.853116943359375,
|
149 |
+
"mean": 2.4265584716796873,
|
150 |
+
"stdev": 0.0074359130859373845,
|
151 |
+
"p50": 2.4265584716796873,
|
152 |
+
"p90": 2.4325072021484373,
|
153 |
+
"p95": 2.4332507934570313,
|
154 |
+
"p99": 2.433845666503906,
|
155 |
+
"values": [
|
156 |
+
2.41912255859375,
|
157 |
+
2.433994384765625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.33749834682095
|
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.852438024520875,
|
173 |
+
"mean": 0.019179596934865113,
|
174 |
+
"stdev": 0.0012931213007423474,
|
175 |
+
"p50": 0.019135488510131835,
|
176 |
+
"p90": 0.019310387802124025,
|
177 |
+
"p95": 0.019495116424560546,
|
178 |
+
"p99": 0.020765777893066398,
|
179 |
+
"values": [
|
180 |
+
0.02121625518798828,
|
181 |
+
0.021309440612792968,
|
182 |
+
0.01882009506225586,
|
183 |
+
0.018487295150756835,
|
184 |
+
0.01941913604736328,
|
185 |
+
0.018508800506591795,
|
186 |
+
0.01855897521972656,
|
187 |
+
0.018570240020751954,
|
188 |
+
0.018480127334594726,
|
189 |
+
0.018530303955078126,
|
190 |
+
0.018541568756103514,
|
191 |
+
0.018535423278808593,
|
192 |
+
0.018473983764648438,
|
193 |
+
0.018540544509887694,
|
194 |
+
0.018506752014160157,
|
195 |
+
0.018571264266967775,
|
196 |
+
0.018705408096313478,
|
197 |
+
0.01882828712463379,
|
198 |
+
0.01860710334777832,
|
199 |
+
0.018530303955078126,
|
200 |
+
0.018505727767944336,
|
201 |
+
0.018503679275512695,
|
202 |
+
0.019418111801147463,
|
203 |
+
0.019536895751953123,
|
204 |
+
0.018561023712158203,
|
205 |
+
0.018501632690429686,
|
206 |
+
0.018513919830322266,
|
207 |
+
0.018577407836914063,
|
208 |
+
0.018549760818481444,
|
209 |
+
0.018542591094970702,
|
210 |
+
0.018552831649780274,
|
211 |
+
0.01856716728210449,
|
212 |
+
0.01849241638183594,
|
213 |
+
0.018494464874267577,
|
214 |
+
0.018556928634643553,
|
215 |
+
0.01863884735107422,
|
216 |
+
0.018588672637939452,
|
217 |
+
0.018534400939941405,
|
218 |
+
0.01919385528564453,
|
219 |
+
0.01959219169616699,
|
220 |
+
0.019430400848388672,
|
221 |
+
0.019487743377685548,
|
222 |
+
0.019506175994873046,
|
223 |
+
0.019418111801147463,
|
224 |
+
0.018551807403564453,
|
225 |
+
0.018479103088378905,
|
226 |
+
0.018610176086425782,
|
227 |
+
0.018869247436523438,
|
228 |
+
0.01923072052001953,
|
229 |
+
0.019430400848388672,
|
230 |
+
0.019084287643432618,
|
231 |
+
0.01900851249694824,
|
232 |
+
0.019021823883056642,
|
233 |
+
0.019066879272460938,
|
234 |
+
0.01909350395202637,
|
235 |
+
0.018975744247436522,
|
236 |
+
0.019156991958618166,
|
237 |
+
0.019131391525268555,
|
238 |
+
0.019153919219970703,
|
239 |
+
0.019142656326293944,
|
240 |
+
0.019155967712402345,
|
241 |
+
0.019180543899536134,
|
242 |
+
0.019080192565917968,
|
243 |
+
0.019173376083374022,
|
244 |
+
0.01923891258239746,
|
245 |
+
0.019137535095214844,
|
246 |
+
0.019216384887695313,
|
247 |
+
0.019174400329589843,
|
248 |
+
0.019149824142456053,
|
249 |
+
0.019179519653320314,
|
250 |
+
0.019161088943481445,
|
251 |
+
0.01922355270385742,
|
252 |
+
0.019132415771484376,
|
253 |
+
0.019121152877807617,
|
254 |
+
0.019125247955322267,
|
255 |
+
0.019156991958618166,
|
256 |
+
0.019141632080078123,
|
257 |
+
0.019150848388671874,
|
258 |
+
0.01908940887451172,
|
259 |
+
0.019149824142456053,
|
260 |
+
0.019207168579101562,
|
261 |
+
0.019124223709106446,
|
262 |
+
0.019146751403808594,
|
263 |
+
0.019168256759643554,
|
264 |
+
0.019117055892944337,
|
265 |
+
0.019173376083374022,
|
266 |
+
0.019110912322998046,
|
267 |
+
0.019133440017700197,
|
268 |
+
0.019121152877807617,
|
269 |
+
0.019212287902832033,
|
270 |
+
0.019183616638183593,
|
271 |
+
0.01922764778137207,
|
272 |
+
0.019211263656616212,
|
273 |
+
0.019105791091918945,
|
274 |
+
0.01942425537109375,
|
275 |
+
0.019168256759643554,
|
276 |
+
0.01909350395202637,
|
277 |
+
0.019119104385375976,
|
278 |
+
0.019102720260620116,
|
279 |
+
0.019146751403808594,
|
280 |
+
0.019172351837158205,
|
281 |
+
0.019347455978393553,
|
282 |
+
0.019137535095214844,
|
283 |
+
0.019056640625,
|
284 |
+
0.019139583587646485,
|
285 |
+
0.019149824142456053,
|
286 |
+
0.019135488510131835,
|
287 |
+
0.019128320693969726,
|
288 |
+
0.019143680572509765,
|
289 |
+
0.019103744506835937,
|
290 |
+
0.01916729545593262,
|
291 |
+
0.01911084747314453,
|
292 |
+
0.019163135528564454,
|
293 |
+
0.01925734329223633,
|
294 |
+
0.019171327590942384,
|
295 |
+
0.019280895233154297,
|
296 |
+
0.019150848388671874,
|
297 |
+
0.019136512756347656,
|
298 |
+
0.019166208267211913,
|
299 |
+
0.019161088943481445,
|
300 |
+
0.019143680572509765,
|
301 |
+
0.019156991958618166,
|
302 |
+
0.019079168319702147,
|
303 |
+
0.019150848388671874,
|
304 |
+
0.019156991958618166,
|
305 |
+
0.019133440017700197,
|
306 |
+
0.039002113342285157,
|
307 |
+
0.02024140739440918,
|
308 |
+
0.019364864349365234,
|
309 |
+
0.018981887817382814,
|
310 |
+
0.018959360122680666,
|
311 |
+
0.018965503692626954,
|
312 |
+
0.018970624923706055,
|
313 |
+
0.018982912063598634,
|
314 |
+
0.018959360122680666,
|
315 |
+
0.018967552185058592,
|
316 |
+
0.018976768493652343,
|
317 |
+
0.018976768493652343,
|
318 |
+
0.01899929618835449,
|
319 |
+
0.018993152618408202,
|
320 |
+
0.019017728805541992,
|
321 |
+
0.019149824142456053,
|
322 |
+
0.019535871505737306,
|
323 |
+
0.019092479705810548,
|
324 |
+
0.01904537582397461,
|
325 |
+
0.019140607833862306,
|
326 |
+
0.019134464263916014,
|
327 |
+
0.019148799896240236,
|
328 |
+
0.020141056060791016,
|
329 |
+
0.01947648048400879,
|
330 |
+
0.019133440017700197,
|
331 |
+
0.019109888076782225,
|
332 |
+
0.019132415771484376,
|
333 |
+
0.019281984329223633,
|
334 |
+
0.019113920211791993,
|
335 |
+
0.019136512756347656,
|
336 |
+
0.019092512130737305,
|
337 |
+
0.01907606315612793,
|
338 |
+
0.01895427131652832,
|
339 |
+
0.018996192932128907,
|
340 |
+
0.019023904800415038,
|
341 |
+
0.019006431579589842,
|
342 |
+
0.018950143814086915,
|
343 |
+
0.018957311630249024,
|
344 |
+
0.01902592086791992,
|
345 |
+
0.018990079879760743,
|
346 |
+
0.01902079963684082,
|
347 |
+
0.018980863571166993,
|
348 |
+
0.019124223709106446,
|
349 |
+
0.018998271942138673,
|
350 |
+
0.01898700714111328,
|
351 |
+
0.019050495147705078,
|
352 |
+
0.018993152618408202,
|
353 |
+
0.01902592086791992,
|
354 |
+
0.019072000503540038,
|
355 |
+
0.01904435157775879,
|
356 |
+
0.01923993682861328,
|
357 |
+
0.01898700714111328,
|
358 |
+
0.01898700714111328,
|
359 |
+
0.019009536743164062,
|
360 |
+
0.01903308868408203,
|
361 |
+
0.019083263397216797,
|
362 |
+
0.018993152618408202,
|
363 |
+
0.01918976020812988,
|
364 |
+
0.019142656326293944,
|
365 |
+
0.01923481559753418,
|
366 |
+
0.019150848388671874,
|
367 |
+
0.019158016204833983,
|
368 |
+
0.019521535873413084,
|
369 |
+
0.019915775299072267,
|
370 |
+
0.020349952697753908,
|
371 |
+
0.019561471939086913,
|
372 |
+
0.019305471420288087,
|
373 |
+
0.019290111541748048,
|
374 |
+
0.019110912322998046,
|
375 |
+
0.01942425537109375,
|
376 |
+
0.019296255111694336,
|
377 |
+
0.019311616897583008,
|
378 |
+
0.01921331214904785,
|
379 |
+
0.019129344940185547,
|
380 |
+
0.019169279098510742,
|
381 |
+
0.019142656326293944,
|
382 |
+
0.019100671768188478,
|
383 |
+
0.019119104385375976,
|
384 |
+
0.019139583587646485,
|
385 |
+
0.019302400588989257,
|
386 |
+
0.019137535095214844,
|
387 |
+
0.019130367279052735,
|
388 |
+
0.019155967712402345,
|
389 |
+
0.019147775650024415,
|
390 |
+
0.019190784454345702,
|
391 |
+
0.019122175216674805,
|
392 |
+
0.019117055892944337,
|
393 |
+
0.019190784454345702,
|
394 |
+
0.019168256759643554,
|
395 |
+
0.019129344940185547,
|
396 |
+
0.019081247329711913,
|
397 |
+
0.01917027282714844,
|
398 |
+
0.019125247955322267,
|
399 |
+
0.019141632080078123,
|
400 |
+
0.019148799896240236,
|
401 |
+
0.019148799896240236,
|
402 |
+
0.01919692802429199,
|
403 |
+
0.019121152877807617,
|
404 |
+
0.019149824142456053,
|
405 |
+
0.019147775650024415,
|
406 |
+
0.019194879531860352,
|
407 |
+
0.01906790351867676,
|
408 |
+
0.01923379135131836,
|
409 |
+
0.01918156814575195,
|
410 |
+
0.019140607833862306,
|
411 |
+
0.01921023941040039,
|
412 |
+
0.019188735961914064,
|
413 |
+
0.019168256759643554,
|
414 |
+
0.019174400329589843,
|
415 |
+
0.019112960815429687,
|
416 |
+
0.019159040451049804,
|
417 |
+
0.01909760093688965,
|
418 |
+
0.019224576950073242,
|
419 |
+
0.019091455459594727,
|
420 |
+
0.019135488510131835,
|
421 |
+
0.019135488510131835,
|
422 |
+
0.01923481559753418,
|
423 |
+
0.019146751403808594,
|
424 |
+
0.01918976020812988,
|
425 |
+
0.019120128631591796,
|
426 |
+
0.019204095840454103,
|
427 |
+
0.01925529670715332,
|
428 |
+
0.019178495407104493,
|
429 |
+
0.019424320220947266,
|
430 |
+
0.019182527542114258,
|
431 |
+
0.019204095840454103,
|
432 |
+
0.019192832946777344
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 52.13873906714781
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": 1705.24672,
|
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.04079094314575195,
|
15 |
+
"mean": 0.020395471572875974,
|
16 |
+
"stdev": 0.0005370082855224601,
|
17 |
+
"p50": 0.020395471572875974,
|
18 |
+
"p90": 0.020825078201293944,
|
19 |
+
"p95": 0.02087877902984619,
|
20 |
+
"p99": 0.02092173969268799,
|
21 |
+
"values": [
|
22 |
+
0.020932479858398436,
|
23 |
+
0.019858463287353516
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 343.213442012752
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1705.271296,
|
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.853116943359375,
|
46 |
+
"mean": 2.4265584716796873,
|
47 |
+
"stdev": 0.0074359130859373845,
|
48 |
+
"p50": 2.4265584716796873,
|
49 |
+
"p90": 2.4325072021484373,
|
50 |
+
"p95": 2.4332507934570313,
|
51 |
+
"p99": 2.433845666503906,
|
52 |
+
"values": [
|
53 |
+
2.41912255859375,
|
54 |
+
2.433994384765625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.33749834682095
|
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.852438024520875,
|
70 |
+
"mean": 0.019179596934865113,
|
71 |
+
"stdev": 0.0012931213007423474,
|
72 |
+
"p50": 0.019135488510131835,
|
73 |
+
"p90": 0.019310387802124025,
|
74 |
+
"p95": 0.019495116424560546,
|
75 |
+
"p99": 0.020765777893066398,
|
76 |
+
"values": [
|
77 |
+
0.02121625518798828,
|
78 |
+
0.021309440612792968,
|
79 |
+
0.01882009506225586,
|
80 |
+
0.018487295150756835,
|
81 |
+
0.01941913604736328,
|
82 |
+
0.018508800506591795,
|
83 |
+
0.01855897521972656,
|
84 |
+
0.018570240020751954,
|
85 |
+
0.018480127334594726,
|
86 |
+
0.018530303955078126,
|
87 |
+
0.018541568756103514,
|
88 |
+
0.018535423278808593,
|
89 |
+
0.018473983764648438,
|
90 |
+
0.018540544509887694,
|
91 |
+
0.018506752014160157,
|
92 |
+
0.018571264266967775,
|
93 |
+
0.018705408096313478,
|
94 |
+
0.01882828712463379,
|
95 |
+
0.01860710334777832,
|
96 |
+
0.018530303955078126,
|
97 |
+
0.018505727767944336,
|
98 |
+
0.018503679275512695,
|
99 |
+
0.019418111801147463,
|
100 |
+
0.019536895751953123,
|
101 |
+
0.018561023712158203,
|
102 |
+
0.018501632690429686,
|
103 |
+
0.018513919830322266,
|
104 |
+
0.018577407836914063,
|
105 |
+
0.018549760818481444,
|
106 |
+
0.018542591094970702,
|
107 |
+
0.018552831649780274,
|
108 |
+
0.01856716728210449,
|
109 |
+
0.01849241638183594,
|
110 |
+
0.018494464874267577,
|
111 |
+
0.018556928634643553,
|
112 |
+
0.01863884735107422,
|
113 |
+
0.018588672637939452,
|
114 |
+
0.018534400939941405,
|
115 |
+
0.01919385528564453,
|
116 |
+
0.01959219169616699,
|
117 |
+
0.019430400848388672,
|
118 |
+
0.019487743377685548,
|
119 |
+
0.019506175994873046,
|
120 |
+
0.019418111801147463,
|
121 |
+
0.018551807403564453,
|
122 |
+
0.018479103088378905,
|
123 |
+
0.018610176086425782,
|
124 |
+
0.018869247436523438,
|
125 |
+
0.01923072052001953,
|
126 |
+
0.019430400848388672,
|
127 |
+
0.019084287643432618,
|
128 |
+
0.01900851249694824,
|
129 |
+
0.019021823883056642,
|
130 |
+
0.019066879272460938,
|
131 |
+
0.01909350395202637,
|
132 |
+
0.018975744247436522,
|
133 |
+
0.019156991958618166,
|
134 |
+
0.019131391525268555,
|
135 |
+
0.019153919219970703,
|
136 |
+
0.019142656326293944,
|
137 |
+
0.019155967712402345,
|
138 |
+
0.019180543899536134,
|
139 |
+
0.019080192565917968,
|
140 |
+
0.019173376083374022,
|
141 |
+
0.01923891258239746,
|
142 |
+
0.019137535095214844,
|
143 |
+
0.019216384887695313,
|
144 |
+
0.019174400329589843,
|
145 |
+
0.019149824142456053,
|
146 |
+
0.019179519653320314,
|
147 |
+
0.019161088943481445,
|
148 |
+
0.01922355270385742,
|
149 |
+
0.019132415771484376,
|
150 |
+
0.019121152877807617,
|
151 |
+
0.019125247955322267,
|
152 |
+
0.019156991958618166,
|
153 |
+
0.019141632080078123,
|
154 |
+
0.019150848388671874,
|
155 |
+
0.01908940887451172,
|
156 |
+
0.019149824142456053,
|
157 |
+
0.019207168579101562,
|
158 |
+
0.019124223709106446,
|
159 |
+
0.019146751403808594,
|
160 |
+
0.019168256759643554,
|
161 |
+
0.019117055892944337,
|
162 |
+
0.019173376083374022,
|
163 |
+
0.019110912322998046,
|
164 |
+
0.019133440017700197,
|
165 |
+
0.019121152877807617,
|
166 |
+
0.019212287902832033,
|
167 |
+
0.019183616638183593,
|
168 |
+
0.01922764778137207,
|
169 |
+
0.019211263656616212,
|
170 |
+
0.019105791091918945,
|
171 |
+
0.01942425537109375,
|
172 |
+
0.019168256759643554,
|
173 |
+
0.01909350395202637,
|
174 |
+
0.019119104385375976,
|
175 |
+
0.019102720260620116,
|
176 |
+
0.019146751403808594,
|
177 |
+
0.019172351837158205,
|
178 |
+
0.019347455978393553,
|
179 |
+
0.019137535095214844,
|
180 |
+
0.019056640625,
|
181 |
+
0.019139583587646485,
|
182 |
+
0.019149824142456053,
|
183 |
+
0.019135488510131835,
|
184 |
+
0.019128320693969726,
|
185 |
+
0.019143680572509765,
|
186 |
+
0.019103744506835937,
|
187 |
+
0.01916729545593262,
|
188 |
+
0.01911084747314453,
|
189 |
+
0.019163135528564454,
|
190 |
+
0.01925734329223633,
|
191 |
+
0.019171327590942384,
|
192 |
+
0.019280895233154297,
|
193 |
+
0.019150848388671874,
|
194 |
+
0.019136512756347656,
|
195 |
+
0.019166208267211913,
|
196 |
+
0.019161088943481445,
|
197 |
+
0.019143680572509765,
|
198 |
+
0.019156991958618166,
|
199 |
+
0.019079168319702147,
|
200 |
+
0.019150848388671874,
|
201 |
+
0.019156991958618166,
|
202 |
+
0.019133440017700197,
|
203 |
+
0.039002113342285157,
|
204 |
+
0.02024140739440918,
|
205 |
+
0.019364864349365234,
|
206 |
+
0.018981887817382814,
|
207 |
+
0.018959360122680666,
|
208 |
+
0.018965503692626954,
|
209 |
+
0.018970624923706055,
|
210 |
+
0.018982912063598634,
|
211 |
+
0.018959360122680666,
|
212 |
+
0.018967552185058592,
|
213 |
+
0.018976768493652343,
|
214 |
+
0.018976768493652343,
|
215 |
+
0.01899929618835449,
|
216 |
+
0.018993152618408202,
|
217 |
+
0.019017728805541992,
|
218 |
+
0.019149824142456053,
|
219 |
+
0.019535871505737306,
|
220 |
+
0.019092479705810548,
|
221 |
+
0.01904537582397461,
|
222 |
+
0.019140607833862306,
|
223 |
+
0.019134464263916014,
|
224 |
+
0.019148799896240236,
|
225 |
+
0.020141056060791016,
|
226 |
+
0.01947648048400879,
|
227 |
+
0.019133440017700197,
|
228 |
+
0.019109888076782225,
|
229 |
+
0.019132415771484376,
|
230 |
+
0.019281984329223633,
|
231 |
+
0.019113920211791993,
|
232 |
+
0.019136512756347656,
|
233 |
+
0.019092512130737305,
|
234 |
+
0.01907606315612793,
|
235 |
+
0.01895427131652832,
|
236 |
+
0.018996192932128907,
|
237 |
+
0.019023904800415038,
|
238 |
+
0.019006431579589842,
|
239 |
+
0.018950143814086915,
|
240 |
+
0.018957311630249024,
|
241 |
+
0.01902592086791992,
|
242 |
+
0.018990079879760743,
|
243 |
+
0.01902079963684082,
|
244 |
+
0.018980863571166993,
|
245 |
+
0.019124223709106446,
|
246 |
+
0.018998271942138673,
|
247 |
+
0.01898700714111328,
|
248 |
+
0.019050495147705078,
|
249 |
+
0.018993152618408202,
|
250 |
+
0.01902592086791992,
|
251 |
+
0.019072000503540038,
|
252 |
+
0.01904435157775879,
|
253 |
+
0.01923993682861328,
|
254 |
+
0.01898700714111328,
|
255 |
+
0.01898700714111328,
|
256 |
+
0.019009536743164062,
|
257 |
+
0.01903308868408203,
|
258 |
+
0.019083263397216797,
|
259 |
+
0.018993152618408202,
|
260 |
+
0.01918976020812988,
|
261 |
+
0.019142656326293944,
|
262 |
+
0.01923481559753418,
|
263 |
+
0.019150848388671874,
|
264 |
+
0.019158016204833983,
|
265 |
+
0.019521535873413084,
|
266 |
+
0.019915775299072267,
|
267 |
+
0.020349952697753908,
|
268 |
+
0.019561471939086913,
|
269 |
+
0.019305471420288087,
|
270 |
+
0.019290111541748048,
|
271 |
+
0.019110912322998046,
|
272 |
+
0.01942425537109375,
|
273 |
+
0.019296255111694336,
|
274 |
+
0.019311616897583008,
|
275 |
+
0.01921331214904785,
|
276 |
+
0.019129344940185547,
|
277 |
+
0.019169279098510742,
|
278 |
+
0.019142656326293944,
|
279 |
+
0.019100671768188478,
|
280 |
+
0.019119104385375976,
|
281 |
+
0.019139583587646485,
|
282 |
+
0.019302400588989257,
|
283 |
+
0.019137535095214844,
|
284 |
+
0.019130367279052735,
|
285 |
+
0.019155967712402345,
|
286 |
+
0.019147775650024415,
|
287 |
+
0.019190784454345702,
|
288 |
+
0.019122175216674805,
|
289 |
+
0.019117055892944337,
|
290 |
+
0.019190784454345702,
|
291 |
+
0.019168256759643554,
|
292 |
+
0.019129344940185547,
|
293 |
+
0.019081247329711913,
|
294 |
+
0.01917027282714844,
|
295 |
+
0.019125247955322267,
|
296 |
+
0.019141632080078123,
|
297 |
+
0.019148799896240236,
|
298 |
+
0.019148799896240236,
|
299 |
+
0.01919692802429199,
|
300 |
+
0.019121152877807617,
|
301 |
+
0.019149824142456053,
|
302 |
+
0.019147775650024415,
|
303 |
+
0.019194879531860352,
|
304 |
+
0.01906790351867676,
|
305 |
+
0.01923379135131836,
|
306 |
+
0.01918156814575195,
|
307 |
+
0.019140607833862306,
|
308 |
+
0.01921023941040039,
|
309 |
+
0.019188735961914064,
|
310 |
+
0.019168256759643554,
|
311 |
+
0.019174400329589843,
|
312 |
+
0.019112960815429687,
|
313 |
+
0.019159040451049804,
|
314 |
+
0.01909760093688965,
|
315 |
+
0.019224576950073242,
|
316 |
+
0.019091455459594727,
|
317 |
+
0.019135488510131835,
|
318 |
+
0.019135488510131835,
|
319 |
+
0.01923481559753418,
|
320 |
+
0.019146751403808594,
|
321 |
+
0.01918976020812988,
|
322 |
+
0.019120128631591796,
|
323 |
+
0.019204095840454103,
|
324 |
+
0.01925529670715332,
|
325 |
+
0.019178495407104493,
|
326 |
+
0.019424320220947266,
|
327 |
+
0.019182527542114258,
|
328 |
+
0.019204095840454103,
|
329 |
+
0.019192832946777344
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 52.13873906714781
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020395471572875974,
|
7 |
+
"prefill.throughput.value": 343.213442012752,
|
8 |
+
"decode.latency.mean": 2.4265584716796873,
|
9 |
+
"decode.throughput.value": 52.33749834682095,
|
10 |
+
"per_token.latency.mean": 0.019179596934865113,
|
11 |
+
"per_token.throughput.value": 52.13873906714781
|
12 |
+
}
|
13 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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: 348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
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/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
88 |
+
- hydra.run.dir=_benchmark/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-13 02:35:00,637[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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: 348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
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/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
88 |
+
- hydra.run.dir=_benchmark/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1761.554432,
|
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.04537446403503418,
|
118 |
+
"mean": 0.02268723201751709,
|
119 |
+
"stdev": 0.00026819133758545013,
|
120 |
+
"p50": 0.02268723201751709,
|
121 |
+
"p90": 0.02290178508758545,
|
122 |
+
"p95": 0.022928604221343993,
|
123 |
+
"p99": 0.02295005952835083,
|
124 |
+
"values": [
|
125 |
+
0.02241904067993164,
|
126 |
+
0.02295542335510254
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 308.54358938962736
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1761.570816,
|
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.188403076171875,
|
149 |
+
"mean": 2.5942015380859376,
|
150 |
+
"stdev": 0.01855603027343755,
|
151 |
+
"p50": 2.5942015380859376,
|
152 |
+
"p90": 2.6090463623046873,
|
153 |
+
"p95": 2.6109019653320313,
|
154 |
+
"p99": 2.6123864477539063,
|
155 |
+
"values": [
|
156 |
+
2.612757568359375,
|
157 |
+
2.5756455078125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.955332935969025
|
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.190375408172609,
|
173 |
+
"mean": 0.020515317818864065,
|
174 |
+
"stdev": 0.0015101034611190692,
|
175 |
+
"p50": 0.02026905632019043,
|
176 |
+
"p90": 0.020982989501953125,
|
177 |
+
"p95": 0.021206016540527343,
|
178 |
+
"p99": 0.02195400207519531,
|
179 |
+
"values": [
|
180 |
+
0.02088755226135254,
|
181 |
+
0.02086092758178711,
|
182 |
+
0.020995071411132812,
|
183 |
+
0.020777984619140624,
|
184 |
+
0.02088243293762207,
|
185 |
+
0.020772863388061523,
|
186 |
+
0.02082099151611328,
|
187 |
+
0.020489215850830078,
|
188 |
+
0.02068070411682129,
|
189 |
+
0.020774911880493165,
|
190 |
+
0.020985855102539062,
|
191 |
+
0.020992000579833983,
|
192 |
+
0.020745216369628908,
|
193 |
+
0.02106470489501953,
|
194 |
+
0.021145599365234375,
|
195 |
+
0.020984832763671874,
|
196 |
+
0.020923391342163086,
|
197 |
+
0.021763071060180664,
|
198 |
+
0.020815872192382814,
|
199 |
+
0.02086911964416504,
|
200 |
+
0.020509695053100584,
|
201 |
+
0.020546560287475587,
|
202 |
+
0.020780031204223632,
|
203 |
+
0.02065920066833496,
|
204 |
+
0.020694015502929687,
|
205 |
+
0.020738048553466795,
|
206 |
+
0.020954111099243163,
|
207 |
+
0.021008384704589843,
|
208 |
+
0.02143027114868164,
|
209 |
+
0.021407743453979493,
|
210 |
+
0.021626880645751953,
|
211 |
+
0.021527551651000978,
|
212 |
+
0.021227519989013673,
|
213 |
+
0.021181440353393553,
|
214 |
+
0.021780479431152345,
|
215 |
+
0.020547584533691408,
|
216 |
+
0.02125823974609375,
|
217 |
+
0.020718591690063477,
|
218 |
+
0.021425151824951173,
|
219 |
+
0.020950016021728517,
|
220 |
+
0.02103500747680664,
|
221 |
+
0.020516864776611327,
|
222 |
+
0.020521984100341797,
|
223 |
+
0.02063871955871582,
|
224 |
+
0.02087833595275879,
|
225 |
+
0.021011455535888672,
|
226 |
+
0.021191680908203125,
|
227 |
+
0.021105663299560547,
|
228 |
+
0.020975616455078124,
|
229 |
+
0.020147199630737304,
|
230 |
+
0.023710720062255858,
|
231 |
+
0.022141984939575195,
|
232 |
+
0.02065814399719238,
|
233 |
+
0.020307968139648438,
|
234 |
+
0.02026905632019043,
|
235 |
+
0.02032640075683594,
|
236 |
+
0.020273151397705077,
|
237 |
+
0.020254720687866212,
|
238 |
+
0.020288511276245116,
|
239 |
+
0.02025267219543457,
|
240 |
+
0.020354047775268554,
|
241 |
+
0.02023321533203125,
|
242 |
+
0.02046566390991211,
|
243 |
+
0.020195327758789062,
|
244 |
+
0.020221952438354493,
|
245 |
+
0.0202608642578125,
|
246 |
+
0.020502527236938475,
|
247 |
+
0.020313087463378905,
|
248 |
+
0.020214784622192384,
|
249 |
+
0.020176895141601564,
|
250 |
+
0.02024038314819336,
|
251 |
+
0.02024140739440918,
|
252 |
+
0.020205568313598633,
|
253 |
+
0.020221952438354493,
|
254 |
+
0.02025881576538086,
|
255 |
+
0.02017791938781738,
|
256 |
+
0.020148223876953125,
|
257 |
+
0.02007756805419922,
|
258 |
+
0.02023423957824707,
|
259 |
+
0.020336639404296874,
|
260 |
+
0.020404224395751954,
|
261 |
+
0.020311040878295897,
|
262 |
+
0.020329471588134765,
|
263 |
+
0.020152320861816408,
|
264 |
+
0.020347904205322266,
|
265 |
+
0.02017791938781738,
|
266 |
+
0.020323328018188477,
|
267 |
+
0.020205568313598633,
|
268 |
+
0.020183040618896485,
|
269 |
+
0.020220928192138672,
|
270 |
+
0.020172800064086914,
|
271 |
+
0.020290559768676757,
|
272 |
+
0.0202106876373291,
|
273 |
+
0.020238336563110353,
|
274 |
+
0.02022604751586914,
|
275 |
+
0.020154367446899413,
|
276 |
+
0.020271104812622072,
|
277 |
+
0.02025881576538086,
|
278 |
+
0.020222976684570314,
|
279 |
+
0.020403200149536133,
|
280 |
+
0.020273151397705077,
|
281 |
+
0.020208639144897463,
|
282 |
+
0.020084735870361328,
|
283 |
+
0.020176895141601564,
|
284 |
+
0.020110336303710938,
|
285 |
+
0.02021990394592285,
|
286 |
+
0.02021785545349121,
|
287 |
+
0.020131839752197265,
|
288 |
+
0.020207616806030275,
|
289 |
+
0.020398080825805662,
|
290 |
+
0.020303871154785155,
|
291 |
+
0.02022502326965332,
|
292 |
+
0.020199424743652345,
|
293 |
+
0.02008576011657715,
|
294 |
+
0.020145151138305666,
|
295 |
+
0.020496416091918945,
|
296 |
+
0.020588512420654296,
|
297 |
+
0.020332544326782227,
|
298 |
+
0.02029363250732422,
|
299 |
+
0.020205568313598633,
|
300 |
+
0.020212736129760742,
|
301 |
+
0.020145151138305666,
|
302 |
+
0.020101119995117187,
|
303 |
+
0.020129791259765627,
|
304 |
+
0.02024038314819336,
|
305 |
+
0.02011955261230469,
|
306 |
+
0.0436049919128418,
|
307 |
+
0.020188159942626953,
|
308 |
+
0.020158464431762696,
|
309 |
+
0.020455423355102538,
|
310 |
+
0.020157440185546875,
|
311 |
+
0.020215808868408205,
|
312 |
+
0.020131839752197265,
|
313 |
+
0.02023219108581543,
|
314 |
+
0.020311040878295897,
|
315 |
+
0.02023628807067871,
|
316 |
+
0.020140031814575195,
|
317 |
+
0.020380672454833985,
|
318 |
+
0.020196352005004883,
|
319 |
+
0.020257791519165038,
|
320 |
+
0.020185087203979494,
|
321 |
+
0.020307968139648438,
|
322 |
+
0.02026700782775879,
|
323 |
+
0.020176895141601564,
|
324 |
+
0.020221952438354493,
|
325 |
+
0.020262912750244142,
|
326 |
+
0.02040115165710449,
|
327 |
+
0.020172800064086914,
|
328 |
+
0.020455423355102538,
|
329 |
+
0.02047488021850586,
|
330 |
+
0.02022502326965332,
|
331 |
+
0.0202608642578125,
|
332 |
+
0.020414464950561522,
|
333 |
+
0.02046668815612793,
|
334 |
+
0.020460544586181642,
|
335 |
+
0.020123647689819335,
|
336 |
+
0.020158464431762696,
|
337 |
+
0.020213760375976563,
|
338 |
+
0.02017791938781738,
|
339 |
+
0.020296703338623046,
|
340 |
+
0.020190208435058594,
|
341 |
+
0.020238336563110353,
|
342 |
+
0.020254720687866212,
|
343 |
+
0.020330495834350586,
|
344 |
+
0.02063052749633789,
|
345 |
+
0.020354047775268554,
|
346 |
+
0.0204400634765625,
|
347 |
+
0.02025164794921875,
|
348 |
+
0.02021171188354492,
|
349 |
+
0.020168703079223634,
|
350 |
+
0.020180992126464844,
|
351 |
+
0.020264959335327147,
|
352 |
+
0.020339712142944336,
|
353 |
+
0.020264959335327147,
|
354 |
+
0.020148223876953125,
|
355 |
+
0.020331520080566406,
|
356 |
+
0.020337663650512695,
|
357 |
+
0.020175872802734376,
|
358 |
+
0.020561920166015626,
|
359 |
+
0.0202608642578125,
|
360 |
+
0.02023219108581543,
|
361 |
+
0.020538368225097657,
|
362 |
+
0.020187135696411132,
|
363 |
+
0.02025881576538086,
|
364 |
+
0.020271104812622072,
|
365 |
+
0.02023628807067871,
|
366 |
+
0.02026905632019043,
|
367 |
+
0.020221952438354493,
|
368 |
+
0.020134912490844727,
|
369 |
+
0.02025369644165039,
|
370 |
+
0.02020662307739258,
|
371 |
+
0.020387807846069337,
|
372 |
+
0.020324352264404297,
|
373 |
+
0.02023321533203125,
|
374 |
+
0.02030899238586426,
|
375 |
+
0.02021785545349121,
|
376 |
+
0.02020249557495117,
|
377 |
+
0.020114431381225584,
|
378 |
+
0.02023423957824707,
|
379 |
+
0.02033459281921387,
|
380 |
+
0.020149248123168945,
|
381 |
+
0.020147199630737304,
|
382 |
+
0.02023219108581543,
|
383 |
+
0.020139007568359374,
|
384 |
+
0.020191232681274415,
|
385 |
+
0.020298751831054687,
|
386 |
+
0.020168703079223634,
|
387 |
+
0.020157440185546875,
|
388 |
+
0.020178943634033202,
|
389 |
+
0.02025369644165039,
|
390 |
+
0.020414464950561522,
|
391 |
+
0.020322303771972656,
|
392 |
+
0.020150272369384766,
|
393 |
+
0.020289535522460937,
|
394 |
+
0.020153343200683595,
|
395 |
+
0.020311040878295897,
|
396 |
+
0.020121599197387697,
|
397 |
+
0.020273151397705077,
|
398 |
+
0.020200447082519533,
|
399 |
+
0.020163583755493163,
|
400 |
+
0.020100095748901366,
|
401 |
+
0.020178943634033202,
|
402 |
+
0.020125696182250977,
|
403 |
+
0.020166656494140626,
|
404 |
+
0.02048409652709961,
|
405 |
+
0.020147199630737304,
|
406 |
+
0.020330495834350586,
|
407 |
+
0.020502527236938475,
|
408 |
+
0.020354047775268554,
|
409 |
+
0.02027212715148926,
|
410 |
+
0.02025984001159668,
|
411 |
+
0.02032537651062012,
|
412 |
+
0.02025369644165039,
|
413 |
+
0.020249599456787108,
|
414 |
+
0.020165632247924805,
|
415 |
+
0.020163583755493163,
|
416 |
+
0.020221952438354493,
|
417 |
+
0.020281343460083007,
|
418 |
+
0.02016972732543945,
|
419 |
+
0.020141056060791016,
|
420 |
+
0.02030899238586426,
|
421 |
+
0.020340736389160157,
|
422 |
+
0.02042265510559082,
|
423 |
+
0.020364288330078126,
|
424 |
+
0.020220928192138672,
|
425 |
+
0.020154367446899413,
|
426 |
+
0.020501504898071288,
|
427 |
+
0.02011136054992676,
|
428 |
+
0.020328447341918944,
|
429 |
+
0.02106675148010254,
|
430 |
+
0.02124185562133789,
|
431 |
+
0.020370431900024414,
|
432 |
+
0.020488191604614257
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.74406571856707
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": 1761.554432,
|
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.04537446403503418,
|
15 |
+
"mean": 0.02268723201751709,
|
16 |
+
"stdev": 0.00026819133758545013,
|
17 |
+
"p50": 0.02268723201751709,
|
18 |
+
"p90": 0.02290178508758545,
|
19 |
+
"p95": 0.022928604221343993,
|
20 |
+
"p99": 0.02295005952835083,
|
21 |
+
"values": [
|
22 |
+
0.02241904067993164,
|
23 |
+
0.02295542335510254
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 308.54358938962736
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1761.570816,
|
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.188403076171875,
|
46 |
+
"mean": 2.5942015380859376,
|
47 |
+
"stdev": 0.01855603027343755,
|
48 |
+
"p50": 2.5942015380859376,
|
49 |
+
"p90": 2.6090463623046873,
|
50 |
+
"p95": 2.6109019653320313,
|
51 |
+
"p99": 2.6123864477539063,
|
52 |
+
"values": [
|
53 |
+
2.612757568359375,
|
54 |
+
2.5756455078125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.955332935969025
|
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.190375408172609,
|
70 |
+
"mean": 0.020515317818864065,
|
71 |
+
"stdev": 0.0015101034611190692,
|
72 |
+
"p50": 0.02026905632019043,
|
73 |
+
"p90": 0.020982989501953125,
|
74 |
+
"p95": 0.021206016540527343,
|
75 |
+
"p99": 0.02195400207519531,
|
76 |
+
"values": [
|
77 |
+
0.02088755226135254,
|
78 |
+
0.02086092758178711,
|
79 |
+
0.020995071411132812,
|
80 |
+
0.020777984619140624,
|
81 |
+
0.02088243293762207,
|
82 |
+
0.020772863388061523,
|
83 |
+
0.02082099151611328,
|
84 |
+
0.020489215850830078,
|
85 |
+
0.02068070411682129,
|
86 |
+
0.020774911880493165,
|
87 |
+
0.020985855102539062,
|
88 |
+
0.020992000579833983,
|
89 |
+
0.020745216369628908,
|
90 |
+
0.02106470489501953,
|
91 |
+
0.021145599365234375,
|
92 |
+
0.020984832763671874,
|
93 |
+
0.020923391342163086,
|
94 |
+
0.021763071060180664,
|
95 |
+
0.020815872192382814,
|
96 |
+
0.02086911964416504,
|
97 |
+
0.020509695053100584,
|
98 |
+
0.020546560287475587,
|
99 |
+
0.020780031204223632,
|
100 |
+
0.02065920066833496,
|
101 |
+
0.020694015502929687,
|
102 |
+
0.020738048553466795,
|
103 |
+
0.020954111099243163,
|
104 |
+
0.021008384704589843,
|
105 |
+
0.02143027114868164,
|
106 |
+
0.021407743453979493,
|
107 |
+
0.021626880645751953,
|
108 |
+
0.021527551651000978,
|
109 |
+
0.021227519989013673,
|
110 |
+
0.021181440353393553,
|
111 |
+
0.021780479431152345,
|
112 |
+
0.020547584533691408,
|
113 |
+
0.02125823974609375,
|
114 |
+
0.020718591690063477,
|
115 |
+
0.021425151824951173,
|
116 |
+
0.020950016021728517,
|
117 |
+
0.02103500747680664,
|
118 |
+
0.020516864776611327,
|
119 |
+
0.020521984100341797,
|
120 |
+
0.02063871955871582,
|
121 |
+
0.02087833595275879,
|
122 |
+
0.021011455535888672,
|
123 |
+
0.021191680908203125,
|
124 |
+
0.021105663299560547,
|
125 |
+
0.020975616455078124,
|
126 |
+
0.020147199630737304,
|
127 |
+
0.023710720062255858,
|
128 |
+
0.022141984939575195,
|
129 |
+
0.02065814399719238,
|
130 |
+
0.020307968139648438,
|
131 |
+
0.02026905632019043,
|
132 |
+
0.02032640075683594,
|
133 |
+
0.020273151397705077,
|
134 |
+
0.020254720687866212,
|
135 |
+
0.020288511276245116,
|
136 |
+
0.02025267219543457,
|
137 |
+
0.020354047775268554,
|
138 |
+
0.02023321533203125,
|
139 |
+
0.02046566390991211,
|
140 |
+
0.020195327758789062,
|
141 |
+
0.020221952438354493,
|
142 |
+
0.0202608642578125,
|
143 |
+
0.020502527236938475,
|
144 |
+
0.020313087463378905,
|
145 |
+
0.020214784622192384,
|
146 |
+
0.020176895141601564,
|
147 |
+
0.02024038314819336,
|
148 |
+
0.02024140739440918,
|
149 |
+
0.020205568313598633,
|
150 |
+
0.020221952438354493,
|
151 |
+
0.02025881576538086,
|
152 |
+
0.02017791938781738,
|
153 |
+
0.020148223876953125,
|
154 |
+
0.02007756805419922,
|
155 |
+
0.02023423957824707,
|
156 |
+
0.020336639404296874,
|
157 |
+
0.020404224395751954,
|
158 |
+
0.020311040878295897,
|
159 |
+
0.020329471588134765,
|
160 |
+
0.020152320861816408,
|
161 |
+
0.020347904205322266,
|
162 |
+
0.02017791938781738,
|
163 |
+
0.020323328018188477,
|
164 |
+
0.020205568313598633,
|
165 |
+
0.020183040618896485,
|
166 |
+
0.020220928192138672,
|
167 |
+
0.020172800064086914,
|
168 |
+
0.020290559768676757,
|
169 |
+
0.0202106876373291,
|
170 |
+
0.020238336563110353,
|
171 |
+
0.02022604751586914,
|
172 |
+
0.020154367446899413,
|
173 |
+
0.020271104812622072,
|
174 |
+
0.02025881576538086,
|
175 |
+
0.020222976684570314,
|
176 |
+
0.020403200149536133,
|
177 |
+
0.020273151397705077,
|
178 |
+
0.020208639144897463,
|
179 |
+
0.020084735870361328,
|
180 |
+
0.020176895141601564,
|
181 |
+
0.020110336303710938,
|
182 |
+
0.02021990394592285,
|
183 |
+
0.02021785545349121,
|
184 |
+
0.020131839752197265,
|
185 |
+
0.020207616806030275,
|
186 |
+
0.020398080825805662,
|
187 |
+
0.020303871154785155,
|
188 |
+
0.02022502326965332,
|
189 |
+
0.020199424743652345,
|
190 |
+
0.02008576011657715,
|
191 |
+
0.020145151138305666,
|
192 |
+
0.020496416091918945,
|
193 |
+
0.020588512420654296,
|
194 |
+
0.020332544326782227,
|
195 |
+
0.02029363250732422,
|
196 |
+
0.020205568313598633,
|
197 |
+
0.020212736129760742,
|
198 |
+
0.020145151138305666,
|
199 |
+
0.020101119995117187,
|
200 |
+
0.020129791259765627,
|
201 |
+
0.02024038314819336,
|
202 |
+
0.02011955261230469,
|
203 |
+
0.0436049919128418,
|
204 |
+
0.020188159942626953,
|
205 |
+
0.020158464431762696,
|
206 |
+
0.020455423355102538,
|
207 |
+
0.020157440185546875,
|
208 |
+
0.020215808868408205,
|
209 |
+
0.020131839752197265,
|
210 |
+
0.02023219108581543,
|
211 |
+
0.020311040878295897,
|
212 |
+
0.02023628807067871,
|
213 |
+
0.020140031814575195,
|
214 |
+
0.020380672454833985,
|
215 |
+
0.020196352005004883,
|
216 |
+
0.020257791519165038,
|
217 |
+
0.020185087203979494,
|
218 |
+
0.020307968139648438,
|
219 |
+
0.02026700782775879,
|
220 |
+
0.020176895141601564,
|
221 |
+
0.020221952438354493,
|
222 |
+
0.020262912750244142,
|
223 |
+
0.02040115165710449,
|
224 |
+
0.020172800064086914,
|
225 |
+
0.020455423355102538,
|
226 |
+
0.02047488021850586,
|
227 |
+
0.02022502326965332,
|
228 |
+
0.0202608642578125,
|
229 |
+
0.020414464950561522,
|
230 |
+
0.02046668815612793,
|
231 |
+
0.020460544586181642,
|
232 |
+
0.020123647689819335,
|
233 |
+
0.020158464431762696,
|
234 |
+
0.020213760375976563,
|
235 |
+
0.02017791938781738,
|
236 |
+
0.020296703338623046,
|
237 |
+
0.020190208435058594,
|
238 |
+
0.020238336563110353,
|
239 |
+
0.020254720687866212,
|
240 |
+
0.020330495834350586,
|
241 |
+
0.02063052749633789,
|
242 |
+
0.020354047775268554,
|
243 |
+
0.0204400634765625,
|
244 |
+
0.02025164794921875,
|
245 |
+
0.02021171188354492,
|
246 |
+
0.020168703079223634,
|
247 |
+
0.020180992126464844,
|
248 |
+
0.020264959335327147,
|
249 |
+
0.020339712142944336,
|
250 |
+
0.020264959335327147,
|
251 |
+
0.020148223876953125,
|
252 |
+
0.020331520080566406,
|
253 |
+
0.020337663650512695,
|
254 |
+
0.020175872802734376,
|
255 |
+
0.020561920166015626,
|
256 |
+
0.0202608642578125,
|
257 |
+
0.02023219108581543,
|
258 |
+
0.020538368225097657,
|
259 |
+
0.020187135696411132,
|
260 |
+
0.02025881576538086,
|
261 |
+
0.020271104812622072,
|
262 |
+
0.02023628807067871,
|
263 |
+
0.02026905632019043,
|
264 |
+
0.020221952438354493,
|
265 |
+
0.020134912490844727,
|
266 |
+
0.02025369644165039,
|
267 |
+
0.02020662307739258,
|
268 |
+
0.020387807846069337,
|
269 |
+
0.020324352264404297,
|
270 |
+
0.02023321533203125,
|
271 |
+
0.02030899238586426,
|
272 |
+
0.02021785545349121,
|
273 |
+
0.02020249557495117,
|
274 |
+
0.020114431381225584,
|
275 |
+
0.02023423957824707,
|
276 |
+
0.02033459281921387,
|
277 |
+
0.020149248123168945,
|
278 |
+
0.020147199630737304,
|
279 |
+
0.02023219108581543,
|
280 |
+
0.020139007568359374,
|
281 |
+
0.020191232681274415,
|
282 |
+
0.020298751831054687,
|
283 |
+
0.020168703079223634,
|
284 |
+
0.020157440185546875,
|
285 |
+
0.020178943634033202,
|
286 |
+
0.02025369644165039,
|
287 |
+
0.020414464950561522,
|
288 |
+
0.020322303771972656,
|
289 |
+
0.020150272369384766,
|
290 |
+
0.020289535522460937,
|
291 |
+
0.020153343200683595,
|
292 |
+
0.020311040878295897,
|
293 |
+
0.020121599197387697,
|
294 |
+
0.020273151397705077,
|
295 |
+
0.020200447082519533,
|
296 |
+
0.020163583755493163,
|
297 |
+
0.020100095748901366,
|
298 |
+
0.020178943634033202,
|
299 |
+
0.020125696182250977,
|
300 |
+
0.020166656494140626,
|
301 |
+
0.02048409652709961,
|
302 |
+
0.020147199630737304,
|
303 |
+
0.020330495834350586,
|
304 |
+
0.020502527236938475,
|
305 |
+
0.020354047775268554,
|
306 |
+
0.02027212715148926,
|
307 |
+
0.02025984001159668,
|
308 |
+
0.02032537651062012,
|
309 |
+
0.02025369644165039,
|
310 |
+
0.020249599456787108,
|
311 |
+
0.020165632247924805,
|
312 |
+
0.020163583755493163,
|
313 |
+
0.020221952438354493,
|
314 |
+
0.020281343460083007,
|
315 |
+
0.02016972732543945,
|
316 |
+
0.020141056060791016,
|
317 |
+
0.02030899238586426,
|
318 |
+
0.020340736389160157,
|
319 |
+
0.02042265510559082,
|
320 |
+
0.020364288330078126,
|
321 |
+
0.020220928192138672,
|
322 |
+
0.020154367446899413,
|
323 |
+
0.020501504898071288,
|
324 |
+
0.02011136054992676,
|
325 |
+
0.020328447341918944,
|
326 |
+
0.02106675148010254,
|
327 |
+
0.02124185562133789,
|
328 |
+
0.020370431900024414,
|
329 |
+
0.020488191604614257
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.74406571856707
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02268723201751709,
|
7 |
+
"prefill.throughput.value": 308.54358938962736,
|
8 |
+
"decode.latency.mean": 2.5942015380859376,
|
9 |
+
"decode.throughput.value": 48.955332935969025,
|
10 |
+
"per_token.latency.mean": 0.020515317818864065,
|
11 |
+
"per_token.throughput.value": 48.74406571856707
|
12 |
+
}
|
13 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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: 348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
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/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
88 |
+
- hydra.run.dir=_benchmark/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${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/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1925.40672,
|
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.028058783531188965,
|
118 |
+
"mean": 0.014029391765594482,
|
119 |
+
"stdev": 0.00011076784133911069,
|
120 |
+
"p50": 0.014029391765594482,
|
121 |
+
"p90": 0.014118006038665771,
|
122 |
+
"p95": 0.014129082822799682,
|
123 |
+
"p99": 0.014137944250106812,
|
124 |
+
"values": [
|
125 |
+
0.014140159606933593,
|
126 |
+
0.013918623924255372
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.95249323400594
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2269.097984,
|
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.1181380615234375,
|
149 |
+
"mean": 1.5590690307617188,
|
150 |
+
"stdev": 0.0022986450195312536,
|
151 |
+
"p50": 1.5590690307617188,
|
152 |
+
"p90": 1.5609079467773437,
|
153 |
+
"p95": 1.5611378112792968,
|
154 |
+
"p99": 1.5613217028808595,
|
155 |
+
"values": [
|
156 |
+
1.56136767578125,
|
157 |
+
1.5567703857421875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.4588690392697
|
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.1191654386520393,
|
173 |
+
"mean": 0.012328717148822287,
|
174 |
+
"stdev": 0.0008876340359825208,
|
175 |
+
"p50": 0.012267519950866699,
|
176 |
+
"p90": 0.012294963073730469,
|
177 |
+
"p95": 0.012329164886474609,
|
178 |
+
"p99": 0.01271787525177002,
|
179 |
+
"values": [
|
180 |
+
0.012667903900146485,
|
181 |
+
0.012712960243225097,
|
182 |
+
0.012737536430358886,
|
183 |
+
0.012723199844360352,
|
184 |
+
0.012684288024902344,
|
185 |
+
0.012530719757080078,
|
186 |
+
0.012270560264587402,
|
187 |
+
0.012304384231567383,
|
188 |
+
0.012273664474487305,
|
189 |
+
0.012282879829406738,
|
190 |
+
0.012263423919677734,
|
191 |
+
0.012286975860595703,
|
192 |
+
0.0122357759475708,
|
193 |
+
0.012280832290649414,
|
194 |
+
0.01223475170135498,
|
195 |
+
0.01239244842529297,
|
196 |
+
0.012240896224975586,
|
197 |
+
0.012285951614379884,
|
198 |
+
0.012266495704650878,
|
199 |
+
0.012324864387512208,
|
200 |
+
0.012248127937316895,
|
201 |
+
0.01227462387084961,
|
202 |
+
0.012244992256164551,
|
203 |
+
0.012283904075622559,
|
204 |
+
0.012246015548706055,
|
205 |
+
0.012285951614379884,
|
206 |
+
0.012275712013244629,
|
207 |
+
0.012283904075622559,
|
208 |
+
0.012248064041137695,
|
209 |
+
0.012283904075622559,
|
210 |
+
0.0122357759475708,
|
211 |
+
0.012278783798217773,
|
212 |
+
0.012240896224975586,
|
213 |
+
0.01229312038421631,
|
214 |
+
0.012270591735839843,
|
215 |
+
0.012286975860595703,
|
216 |
+
0.012257280349731446,
|
217 |
+
0.012278783798217773,
|
218 |
+
0.012254207611083985,
|
219 |
+
0.012275712013244629,
|
220 |
+
0.012236800193786621,
|
221 |
+
0.012271615982055664,
|
222 |
+
0.01224294376373291,
|
223 |
+
0.012273664474487305,
|
224 |
+
0.012281855583190919,
|
225 |
+
0.01228492832183838,
|
226 |
+
0.012240896224975586,
|
227 |
+
0.012283904075622559,
|
228 |
+
0.012257280349731446,
|
229 |
+
0.012291071891784668,
|
230 |
+
0.012432383537292481,
|
231 |
+
0.012274687767028808,
|
232 |
+
0.012238847732543945,
|
233 |
+
0.01226956844329834,
|
234 |
+
0.012262399673461915,
|
235 |
+
0.012290047645568849,
|
236 |
+
0.012231679916381836,
|
237 |
+
0.012285951614379884,
|
238 |
+
0.012230655670166016,
|
239 |
+
0.012270591735839843,
|
240 |
+
0.012244992256164551,
|
241 |
+
0.012270591735839843,
|
242 |
+
0.012248064041137695,
|
243 |
+
0.012294143676757812,
|
244 |
+
0.012238847732543945,
|
245 |
+
0.01229312038421631,
|
246 |
+
0.012230655670166016,
|
247 |
+
0.01227673625946045,
|
248 |
+
0.012239871978759765,
|
249 |
+
0.012282879829406738,
|
250 |
+
0.012246015548706055,
|
251 |
+
0.012277759552001954,
|
252 |
+
0.012238847732543945,
|
253 |
+
0.012274687767028808,
|
254 |
+
0.01224294376373291,
|
255 |
+
0.012267519950866699,
|
256 |
+
0.012238847732543945,
|
257 |
+
0.012285951614379884,
|
258 |
+
0.012239871978759765,
|
259 |
+
0.012294143676757812,
|
260 |
+
0.012265472412109376,
|
261 |
+
0.012303359985351562,
|
262 |
+
0.012327936172485352,
|
263 |
+
0.01235148811340332,
|
264 |
+
0.012360704421997071,
|
265 |
+
0.012337151527404786,
|
266 |
+
0.012267519950866699,
|
267 |
+
0.01227673625946045,
|
268 |
+
0.012228608131408691,
|
269 |
+
0.012283904075622559,
|
270 |
+
0.01224396800994873,
|
271 |
+
0.012288000106811523,
|
272 |
+
0.01226035213470459,
|
273 |
+
0.012294143676757812,
|
274 |
+
0.012237824440002442,
|
275 |
+
0.01228492832183838,
|
276 |
+
0.012271615982055664,
|
277 |
+
0.012282879829406738,
|
278 |
+
0.01222758388519287,
|
279 |
+
0.012267552375793456,
|
280 |
+
0.012236767768859864,
|
281 |
+
0.012274687767028808,
|
282 |
+
0.012225536346435547,
|
283 |
+
0.012274687767028808,
|
284 |
+
0.012231679916381836,
|
285 |
+
0.012257280349731446,
|
286 |
+
0.012222463607788087,
|
287 |
+
0.01232588768005371,
|
288 |
+
0.012263423919677734,
|
289 |
+
0.012291071891784668,
|
290 |
+
0.012237824440002442,
|
291 |
+
0.012270591735839843,
|
292 |
+
0.012216320037841797,
|
293 |
+
0.012271615982055664,
|
294 |
+
0.012228608131408691,
|
295 |
+
0.012263423919677734,
|
296 |
+
0.01222758388519287,
|
297 |
+
0.012272640228271485,
|
298 |
+
0.01224294376373291,
|
299 |
+
0.012275712013244629,
|
300 |
+
0.012280832290649414,
|
301 |
+
0.012295167922973632,
|
302 |
+
0.012262399673461915,
|
303 |
+
0.012291071891784668,
|
304 |
+
0.012238847732543945,
|
305 |
+
0.012290047645568849,
|
306 |
+
0.026375167846679686,
|
307 |
+
0.012232704162597656,
|
308 |
+
0.01227673625946045,
|
309 |
+
0.012231679916381836,
|
310 |
+
0.012292096138000488,
|
311 |
+
0.01225113582611084,
|
312 |
+
0.012275712013244629,
|
313 |
+
0.0122357759475708,
|
314 |
+
0.01228492832183838,
|
315 |
+
0.012236800193786621,
|
316 |
+
0.012275712013244629,
|
317 |
+
0.012247039794921874,
|
318 |
+
0.012280832290649414,
|
319 |
+
0.012237824440002442,
|
320 |
+
0.012267519950866699,
|
321 |
+
0.012225536346435547,
|
322 |
+
0.01226854419708252,
|
323 |
+
0.012222463607788087,
|
324 |
+
0.012271615982055664,
|
325 |
+
0.012248064041137695,
|
326 |
+
0.012299263954162597,
|
327 |
+
0.012247039794921874,
|
328 |
+
0.012281855583190919,
|
329 |
+
0.012233728408813477,
|
330 |
+
0.012288000106811523,
|
331 |
+
0.012236800193786621,
|
332 |
+
0.012275712013244629,
|
333 |
+
0.012238847732543945,
|
334 |
+
0.01227673625946045,
|
335 |
+
0.012230655670166016,
|
336 |
+
0.012281855583190919,
|
337 |
+
0.012241920471191407,
|
338 |
+
0.012281855583190919,
|
339 |
+
0.012225536346435547,
|
340 |
+
0.012301312446594239,
|
341 |
+
0.012254207611083985,
|
342 |
+
0.012294143676757812,
|
343 |
+
0.012239871978759765,
|
344 |
+
0.012275712013244629,
|
345 |
+
0.0122357759475708,
|
346 |
+
0.012297216415405274,
|
347 |
+
0.012231679916381836,
|
348 |
+
0.012277759552001954,
|
349 |
+
0.01224294376373291,
|
350 |
+
0.012257280349731446,
|
351 |
+
0.012226559638977052,
|
352 |
+
0.012277759552001954,
|
353 |
+
0.012221440315246582,
|
354 |
+
0.012300288200378418,
|
355 |
+
0.01225011157989502,
|
356 |
+
0.012292096138000488,
|
357 |
+
0.012231679916381836,
|
358 |
+
0.01226137638092041,
|
359 |
+
0.01224294376373291,
|
360 |
+
0.012270591735839843,
|
361 |
+
0.012238847732543945,
|
362 |
+
0.012283904075622559,
|
363 |
+
0.012216320037841797,
|
364 |
+
0.01228492832183838,
|
365 |
+
0.012225536346435547,
|
366 |
+
0.012266495704650878,
|
367 |
+
0.012228608131408691,
|
368 |
+
0.012296192169189453,
|
369 |
+
0.012220416069030762,
|
370 |
+
0.012288000106811523,
|
371 |
+
0.012247039794921874,
|
372 |
+
0.012288000106811523,
|
373 |
+
0.012224512100219726,
|
374 |
+
0.012274687767028808,
|
375 |
+
0.012224512100219726,
|
376 |
+
0.012331007957458496,
|
377 |
+
0.012253184318542481,
|
378 |
+
0.01229312038421631,
|
379 |
+
0.012233728408813477,
|
380 |
+
0.012270591735839843,
|
381 |
+
0.012214271545410157,
|
382 |
+
0.012305407524108887,
|
383 |
+
0.012228608131408691,
|
384 |
+
0.012265472412109376,
|
385 |
+
0.012239871978759765,
|
386 |
+
0.012277759552001954,
|
387 |
+
0.012283904075622559,
|
388 |
+
0.01226854419708252,
|
389 |
+
0.012238847732543945,
|
390 |
+
0.012273664474487305,
|
391 |
+
0.0122357759475708,
|
392 |
+
0.012317695617675782,
|
393 |
+
0.012236800193786621,
|
394 |
+
0.012272640228271485,
|
395 |
+
0.012253184318542481,
|
396 |
+
0.012283904075622559,
|
397 |
+
0.012286975860595703,
|
398 |
+
0.012275712013244629,
|
399 |
+
0.012228608131408691,
|
400 |
+
0.012265472412109376,
|
401 |
+
0.012217344284057617,
|
402 |
+
0.012289024353027344,
|
403 |
+
0.012237824440002442,
|
404 |
+
0.01226956844329834,
|
405 |
+
0.012240896224975586,
|
406 |
+
0.01226035213470459,
|
407 |
+
0.012225536346435547,
|
408 |
+
0.012254240036010743,
|
409 |
+
0.0122193603515625,
|
410 |
+
0.012264448165893555,
|
411 |
+
0.012222463607788087,
|
412 |
+
0.012264448165893555,
|
413 |
+
0.012225536346435547,
|
414 |
+
0.012262399673461915,
|
415 |
+
0.012220416069030762,
|
416 |
+
0.012259327888488769,
|
417 |
+
0.012223487854003906,
|
418 |
+
0.012279808044433594,
|
419 |
+
0.012230655670166016,
|
420 |
+
0.012262399673461915,
|
421 |
+
0.012226559638977052,
|
422 |
+
0.01225113582611084,
|
423 |
+
0.012216320037841797,
|
424 |
+
0.012267519950866699,
|
425 |
+
0.012223487854003906,
|
426 |
+
0.012272640228271485,
|
427 |
+
0.012239871978759765,
|
428 |
+
0.012267519950866699,
|
429 |
+
0.012238847732543945,
|
430 |
+
0.01226854419708252,
|
431 |
+
0.012225536346435547,
|
432 |
+
0.012277759552001954
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.11143989506856
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": 1925.40672,
|
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.028058783531188965,
|
15 |
+
"mean": 0.014029391765594482,
|
16 |
+
"stdev": 0.00011076784133911069,
|
17 |
+
"p50": 0.014029391765594482,
|
18 |
+
"p90": 0.014118006038665771,
|
19 |
+
"p95": 0.014129082822799682,
|
20 |
+
"p99": 0.014137944250106812,
|
21 |
+
"values": [
|
22 |
+
0.014140159606933593,
|
23 |
+
0.013918623924255372
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.95249323400594
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2269.097984,
|
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.1181380615234375,
|
46 |
+
"mean": 1.5590690307617188,
|
47 |
+
"stdev": 0.0022986450195312536,
|
48 |
+
"p50": 1.5590690307617188,
|
49 |
+
"p90": 1.5609079467773437,
|
50 |
+
"p95": 1.5611378112792968,
|
51 |
+
"p99": 1.5613217028808595,
|
52 |
+
"values": [
|
53 |
+
1.56136767578125,
|
54 |
+
1.5567703857421875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.4588690392697
|
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.1191654386520393,
|
70 |
+
"mean": 0.012328717148822287,
|
71 |
+
"stdev": 0.0008876340359825208,
|
72 |
+
"p50": 0.012267519950866699,
|
73 |
+
"p90": 0.012294963073730469,
|
74 |
+
"p95": 0.012329164886474609,
|
75 |
+
"p99": 0.01271787525177002,
|
76 |
+
"values": [
|
77 |
+
0.012667903900146485,
|
78 |
+
0.012712960243225097,
|
79 |
+
0.012737536430358886,
|
80 |
+
0.012723199844360352,
|
81 |
+
0.012684288024902344,
|
82 |
+
0.012530719757080078,
|
83 |
+
0.012270560264587402,
|
84 |
+
0.012304384231567383,
|
85 |
+
0.012273664474487305,
|
86 |
+
0.012282879829406738,
|
87 |
+
0.012263423919677734,
|
88 |
+
0.012286975860595703,
|
89 |
+
0.0122357759475708,
|
90 |
+
0.012280832290649414,
|
91 |
+
0.01223475170135498,
|
92 |
+
0.01239244842529297,
|
93 |
+
0.012240896224975586,
|
94 |
+
0.012285951614379884,
|
95 |
+
0.012266495704650878,
|
96 |
+
0.012324864387512208,
|
97 |
+
0.012248127937316895,
|
98 |
+
0.01227462387084961,
|
99 |
+
0.012244992256164551,
|
100 |
+
0.012283904075622559,
|
101 |
+
0.012246015548706055,
|
102 |
+
0.012285951614379884,
|
103 |
+
0.012275712013244629,
|
104 |
+
0.012283904075622559,
|
105 |
+
0.012248064041137695,
|
106 |
+
0.012283904075622559,
|
107 |
+
0.0122357759475708,
|
108 |
+
0.012278783798217773,
|
109 |
+
0.012240896224975586,
|
110 |
+
0.01229312038421631,
|
111 |
+
0.012270591735839843,
|
112 |
+
0.012286975860595703,
|
113 |
+
0.012257280349731446,
|
114 |
+
0.012278783798217773,
|
115 |
+
0.012254207611083985,
|
116 |
+
0.012275712013244629,
|
117 |
+
0.012236800193786621,
|
118 |
+
0.012271615982055664,
|
119 |
+
0.01224294376373291,
|
120 |
+
0.012273664474487305,
|
121 |
+
0.012281855583190919,
|
122 |
+
0.01228492832183838,
|
123 |
+
0.012240896224975586,
|
124 |
+
0.012283904075622559,
|
125 |
+
0.012257280349731446,
|
126 |
+
0.012291071891784668,
|
127 |
+
0.012432383537292481,
|
128 |
+
0.012274687767028808,
|
129 |
+
0.012238847732543945,
|
130 |
+
0.01226956844329834,
|
131 |
+
0.012262399673461915,
|
132 |
+
0.012290047645568849,
|
133 |
+
0.012231679916381836,
|
134 |
+
0.012285951614379884,
|
135 |
+
0.012230655670166016,
|
136 |
+
0.012270591735839843,
|
137 |
+
0.012244992256164551,
|
138 |
+
0.012270591735839843,
|
139 |
+
0.012248064041137695,
|
140 |
+
0.012294143676757812,
|
141 |
+
0.012238847732543945,
|
142 |
+
0.01229312038421631,
|
143 |
+
0.012230655670166016,
|
144 |
+
0.01227673625946045,
|
145 |
+
0.012239871978759765,
|
146 |
+
0.012282879829406738,
|
147 |
+
0.012246015548706055,
|
148 |
+
0.012277759552001954,
|
149 |
+
0.012238847732543945,
|
150 |
+
0.012274687767028808,
|
151 |
+
0.01224294376373291,
|
152 |
+
0.012267519950866699,
|
153 |
+
0.012238847732543945,
|
154 |
+
0.012285951614379884,
|
155 |
+
0.012239871978759765,
|
156 |
+
0.012294143676757812,
|
157 |
+
0.012265472412109376,
|
158 |
+
0.012303359985351562,
|
159 |
+
0.012327936172485352,
|
160 |
+
0.01235148811340332,
|
161 |
+
0.012360704421997071,
|
162 |
+
0.012337151527404786,
|
163 |
+
0.012267519950866699,
|
164 |
+
0.01227673625946045,
|
165 |
+
0.012228608131408691,
|
166 |
+
0.012283904075622559,
|
167 |
+
0.01224396800994873,
|
168 |
+
0.012288000106811523,
|
169 |
+
0.01226035213470459,
|
170 |
+
0.012294143676757812,
|
171 |
+
0.012237824440002442,
|
172 |
+
0.01228492832183838,
|
173 |
+
0.012271615982055664,
|
174 |
+
0.012282879829406738,
|
175 |
+
0.01222758388519287,
|
176 |
+
0.012267552375793456,
|
177 |
+
0.012236767768859864,
|
178 |
+
0.012274687767028808,
|
179 |
+
0.012225536346435547,
|
180 |
+
0.012274687767028808,
|
181 |
+
0.012231679916381836,
|
182 |
+
0.012257280349731446,
|
183 |
+
0.012222463607788087,
|
184 |
+
0.01232588768005371,
|
185 |
+
0.012263423919677734,
|
186 |
+
0.012291071891784668,
|
187 |
+
0.012237824440002442,
|
188 |
+
0.012270591735839843,
|
189 |
+
0.012216320037841797,
|
190 |
+
0.012271615982055664,
|
191 |
+
0.012228608131408691,
|
192 |
+
0.012263423919677734,
|
193 |
+
0.01222758388519287,
|
194 |
+
0.012272640228271485,
|
195 |
+
0.01224294376373291,
|
196 |
+
0.012275712013244629,
|
197 |
+
0.012280832290649414,
|
198 |
+
0.012295167922973632,
|
199 |
+
0.012262399673461915,
|
200 |
+
0.012291071891784668,
|
201 |
+
0.012238847732543945,
|
202 |
+
0.012290047645568849,
|
203 |
+
0.026375167846679686,
|
204 |
+
0.012232704162597656,
|
205 |
+
0.01227673625946045,
|
206 |
+
0.012231679916381836,
|
207 |
+
0.012292096138000488,
|
208 |
+
0.01225113582611084,
|
209 |
+
0.012275712013244629,
|
210 |
+
0.0122357759475708,
|
211 |
+
0.01228492832183838,
|
212 |
+
0.012236800193786621,
|
213 |
+
0.012275712013244629,
|
214 |
+
0.012247039794921874,
|
215 |
+
0.012280832290649414,
|
216 |
+
0.012237824440002442,
|
217 |
+
0.012267519950866699,
|
218 |
+
0.012225536346435547,
|
219 |
+
0.01226854419708252,
|
220 |
+
0.012222463607788087,
|
221 |
+
0.012271615982055664,
|
222 |
+
0.012248064041137695,
|
223 |
+
0.012299263954162597,
|
224 |
+
0.012247039794921874,
|
225 |
+
0.012281855583190919,
|
226 |
+
0.012233728408813477,
|
227 |
+
0.012288000106811523,
|
228 |
+
0.012236800193786621,
|
229 |
+
0.012275712013244629,
|
230 |
+
0.012238847732543945,
|
231 |
+
0.01227673625946045,
|
232 |
+
0.012230655670166016,
|
233 |
+
0.012281855583190919,
|
234 |
+
0.012241920471191407,
|
235 |
+
0.012281855583190919,
|
236 |
+
0.012225536346435547,
|
237 |
+
0.012301312446594239,
|
238 |
+
0.012254207611083985,
|
239 |
+
0.012294143676757812,
|
240 |
+
0.012239871978759765,
|
241 |
+
0.012275712013244629,
|
242 |
+
0.0122357759475708,
|
243 |
+
0.012297216415405274,
|
244 |
+
0.012231679916381836,
|
245 |
+
0.012277759552001954,
|
246 |
+
0.01224294376373291,
|
247 |
+
0.012257280349731446,
|
248 |
+
0.012226559638977052,
|
249 |
+
0.012277759552001954,
|
250 |
+
0.012221440315246582,
|
251 |
+
0.012300288200378418,
|
252 |
+
0.01225011157989502,
|
253 |
+
0.012292096138000488,
|
254 |
+
0.012231679916381836,
|
255 |
+
0.01226137638092041,
|
256 |
+
0.01224294376373291,
|
257 |
+
0.012270591735839843,
|
258 |
+
0.012238847732543945,
|
259 |
+
0.012283904075622559,
|
260 |
+
0.012216320037841797,
|
261 |
+
0.01228492832183838,
|
262 |
+
0.012225536346435547,
|
263 |
+
0.012266495704650878,
|
264 |
+
0.012228608131408691,
|
265 |
+
0.012296192169189453,
|
266 |
+
0.012220416069030762,
|
267 |
+
0.012288000106811523,
|
268 |
+
0.012247039794921874,
|
269 |
+
0.012288000106811523,
|
270 |
+
0.012224512100219726,
|
271 |
+
0.012274687767028808,
|
272 |
+
0.012224512100219726,
|
273 |
+
0.012331007957458496,
|
274 |
+
0.012253184318542481,
|
275 |
+
0.01229312038421631,
|
276 |
+
0.012233728408813477,
|
277 |
+
0.012270591735839843,
|
278 |
+
0.012214271545410157,
|
279 |
+
0.012305407524108887,
|
280 |
+
0.012228608131408691,
|
281 |
+
0.012265472412109376,
|
282 |
+
0.012239871978759765,
|
283 |
+
0.012277759552001954,
|
284 |
+
0.012283904075622559,
|
285 |
+
0.01226854419708252,
|
286 |
+
0.012238847732543945,
|
287 |
+
0.012273664474487305,
|
288 |
+
0.0122357759475708,
|
289 |
+
0.012317695617675782,
|
290 |
+
0.012236800193786621,
|
291 |
+
0.012272640228271485,
|
292 |
+
0.012253184318542481,
|
293 |
+
0.012283904075622559,
|
294 |
+
0.012286975860595703,
|
295 |
+
0.012275712013244629,
|
296 |
+
0.012228608131408691,
|
297 |
+
0.012265472412109376,
|
298 |
+
0.012217344284057617,
|
299 |
+
0.012289024353027344,
|
300 |
+
0.012237824440002442,
|
301 |
+
0.01226956844329834,
|
302 |
+
0.012240896224975586,
|
303 |
+
0.01226035213470459,
|
304 |
+
0.012225536346435547,
|
305 |
+
0.012254240036010743,
|
306 |
+
0.0122193603515625,
|
307 |
+
0.012264448165893555,
|
308 |
+
0.012222463607788087,
|
309 |
+
0.012264448165893555,
|
310 |
+
0.012225536346435547,
|
311 |
+
0.012262399673461915,
|
312 |
+
0.012220416069030762,
|
313 |
+
0.012259327888488769,
|
314 |
+
0.012223487854003906,
|
315 |
+
0.012279808044433594,
|
316 |
+
0.012230655670166016,
|
317 |
+
0.012262399673461915,
|
318 |
+
0.012226559638977052,
|
319 |
+
0.01225113582611084,
|
320 |
+
0.012216320037841797,
|
321 |
+
0.012267519950866699,
|
322 |
+
0.012223487854003906,
|
323 |
+
0.012272640228271485,
|
324 |
+
0.012239871978759765,
|
325 |
+
0.012267519950866699,
|
326 |
+
0.012238847732543945,
|
327 |
+
0.01226854419708252,
|
328 |
+
0.012225536346435547,
|
329 |
+
0.012277759552001954
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.11143989506856
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014029391765594482,
|
7 |
+
"prefill.throughput.value": 498.95249323400594,
|
8 |
+
"decode.latency.mean": 1.5590690307617188,
|
9 |
+
"decode.throughput.value": 81.4588690392697,
|
10 |
+
"per_token.latency.mean": 0.012328717148822287,
|
11 |
+
"per_token.throughput.value": 81.11143989506856
|
12 |
+
}
|
13 |
+
}
|
2024-06-13/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp2pjxzacf/commit=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
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/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
88 |
+
- hydra.run.dir=_benchmark/tmp2pjxzacf/commit\=348e2294ac1a3cc744a93f04ab1f886439ee90d3/${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: 348e2294ac1a3cc744a93f04ab1f886439ee90d3
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-06-13/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020395471572875974,
|
8 |
+
"prefill.throughput.value": 343.213442012752,
|
9 |
+
"decode.latency.mean": 2.4265584716796873,
|
10 |
+
"decode.throughput.value": 52.33749834682095,
|
11 |
+
"per_token.latency.mean": 0.019179596934865113,
|
12 |
+
"per_token.throughput.value": 52.13873906714781
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02268723201751709,
|
21 |
+
"prefill.throughput.value": 308.54358938962736,
|
22 |
+
"decode.latency.mean": 2.5942015380859376,
|
23 |
+
"decode.throughput.value": 48.955332935969025,
|
24 |
+
"per_token.latency.mean": 0.020515317818864065,
|
25 |
+
"per_token.throughput.value": 48.74406571856707
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014029391765594482,
|
34 |
+
"prefill.throughput.value": 498.95249323400594,
|
35 |
+
"decode.latency.mean": 1.5590690307617188,
|
36 |
+
"decode.throughput.value": 81.4588690392697,
|
37 |
+
"per_token.latency.mean": 0.012328717148822287,
|
38 |
+
"per_token.throughput.value": 81.11143989506856
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-13/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"348e2294ac1a3cc744a93f04ab1f886439ee90d3": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020395471572875974,
|
7 |
+
"prefill.throughput.value": 343.213442012752,
|
8 |
+
"decode.latency.mean": 2.4265584716796873,
|
9 |
+
"decode.throughput.value": 52.33749834682095,
|
10 |
+
"per_token.latency.mean": 0.019179596934865113,
|
11 |
+
"per_token.throughput.value": 52.13873906714781
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"348e2294ac1a3cc744a93f04ab1f886439ee90d3": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02268723201751709,
|
19 |
+
"prefill.throughput.value": 308.54358938962736,
|
20 |
+
"decode.latency.mean": 2.5942015380859376,
|
21 |
+
"decode.throughput.value": 48.955332935969025,
|
22 |
+
"per_token.latency.mean": 0.020515317818864065,
|
23 |
+
"per_token.throughput.value": 48.74406571856707
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"348e2294ac1a3cc744a93f04ab1f886439ee90d3": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014029391765594482,
|
31 |
+
"prefill.throughput.value": 498.95249323400594,
|
32 |
+
"decode.latency.mean": 1.5590690307617188,
|
33 |
+
"decode.throughput.value": 81.4588690392697,
|
34 |
+
"per_token.latency.mean": 0.012328717148822287,
|
35 |
+
"per_token.throughput.value": 81.11143989506856
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|