hf-transformers-bot
commited on
Commit
•
c89d585
1
Parent(s):
a15f9b8
Upload folder using huggingface_hub
Browse files- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/multirun.yaml +234 -0
- 2024-09-02/summaries.json +41 -0
- 2024-09-02/summary.json +40 -0
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
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/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
88 |
+
- hydra.run.dir=_benchmark/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1320.77568,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 12.4255439453125,
|
120 |
+
"mean": 12.4255439453125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.4255439453125,
|
123 |
+
"p90": 12.4255439453125,
|
124 |
+
"p95": 12.4255439453125,
|
125 |
+
"p99": 12.4255439453125,
|
126 |
+
"values": [
|
127 |
+
12.4255439453125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1714.454528,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.431872
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04163740730285645,
|
147 |
+
"mean": 0.020818703651428225,
|
148 |
+
"stdev": 3.752040863037008e-05,
|
149 |
+
"p50": 0.020818703651428225,
|
150 |
+
"p90": 0.02084871997833252,
|
151 |
+
"p95": 0.020852472019195555,
|
152 |
+
"p99": 0.020855473651885986,
|
153 |
+
"values": [
|
154 |
+
0.020781183242797853,
|
155 |
+
0.020856224060058593
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 336.2361133143744
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1768.648704,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.801344
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.049633544921875,
|
178 |
+
"mean": 2.5248167724609374,
|
179 |
+
"stdev": 0.01136755371093745,
|
180 |
+
"p50": 2.5248167724609374,
|
181 |
+
"p90": 2.5339108154296874,
|
182 |
+
"p95": 2.535047570800781,
|
183 |
+
"p99": 2.535956975097656,
|
184 |
+
"values": [
|
185 |
+
2.51344921875,
|
186 |
+
2.536184326171875
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 50.30067979000836
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 5.049304073333741,
|
202 |
+
"mean": 0.019879149895014724,
|
203 |
+
"stdev": 0.0004637663211632311,
|
204 |
+
"p50": 0.019951616287231445,
|
205 |
+
"p90": 0.02035619869232178,
|
206 |
+
"p95": 0.020477820682525634,
|
207 |
+
"p99": 0.020779878921508788,
|
208 |
+
"values": [
|
209 |
+
0.018944000244140623,
|
210 |
+
0.018990079879760743,
|
211 |
+
0.01904435157775879,
|
212 |
+
0.01903308868408203,
|
213 |
+
0.01964339256286621,
|
214 |
+
0.019891199111938478,
|
215 |
+
0.01978982353210449,
|
216 |
+
0.020339712142944336,
|
217 |
+
0.019926015853881835,
|
218 |
+
0.019752960205078125,
|
219 |
+
0.019826688766479493,
|
220 |
+
0.019736576080322265,
|
221 |
+
0.02019327926635742,
|
222 |
+
0.019909664154052733,
|
223 |
+
0.019700704574584962,
|
224 |
+
0.02022707176208496,
|
225 |
+
0.02003763198852539,
|
226 |
+
0.019749887466430666,
|
227 |
+
0.019945472717285157,
|
228 |
+
0.02008576011657715,
|
229 |
+
0.019743743896484374,
|
230 |
+
0.01986662483215332,
|
231 |
+
0.019826688766479493,
|
232 |
+
0.019965951919555663,
|
233 |
+
0.020239360809326173,
|
234 |
+
0.020048896789550782,
|
235 |
+
0.020207616806030275,
|
236 |
+
0.02000383949279785,
|
237 |
+
0.02004172706604004,
|
238 |
+
0.0200581111907959,
|
239 |
+
0.019791872024536132,
|
240 |
+
0.019809280395507813,
|
241 |
+
0.02004275131225586,
|
242 |
+
0.01990553665161133,
|
243 |
+
0.02022809600830078,
|
244 |
+
0.020100095748901366,
|
245 |
+
0.020137983322143553,
|
246 |
+
0.020454399108886717,
|
247 |
+
0.019839040756225584,
|
248 |
+
0.019974079132080078,
|
249 |
+
0.020249599456787108,
|
250 |
+
0.020584447860717774,
|
251 |
+
0.020732927322387695,
|
252 |
+
0.020124671936035156,
|
253 |
+
0.020354047775268554,
|
254 |
+
0.020237312316894532,
|
255 |
+
0.020008960723876954,
|
256 |
+
0.019748863220214845,
|
257 |
+
0.019524608612060547,
|
258 |
+
0.019923967361450197,
|
259 |
+
0.01980723190307617,
|
260 |
+
0.019752960205078125,
|
261 |
+
0.019735551834106444,
|
262 |
+
0.019753984451293945,
|
263 |
+
0.019776512145996093,
|
264 |
+
0.020040704727172853,
|
265 |
+
0.019792896270751953,
|
266 |
+
0.020376575469970702,
|
267 |
+
0.020191232681274415,
|
268 |
+
0.02008700752258301,
|
269 |
+
0.020517663955688478,
|
270 |
+
0.020298751831054687,
|
271 |
+
0.02020153617858887,
|
272 |
+
0.020123584747314453,
|
273 |
+
0.01984819221496582,
|
274 |
+
0.020168703079223634,
|
275 |
+
0.020288511276245116,
|
276 |
+
0.020230144500732423,
|
277 |
+
0.01986764717102051,
|
278 |
+
0.02006630325317383,
|
279 |
+
0.02021785545349121,
|
280 |
+
0.02049228858947754,
|
281 |
+
0.02025574493408203,
|
282 |
+
0.020200447082519533,
|
283 |
+
0.02007347106933594,
|
284 |
+
0.02011238479614258,
|
285 |
+
0.020596736907958983,
|
286 |
+
0.019977216720581056,
|
287 |
+
0.02005401611328125,
|
288 |
+
0.02011238479614258,
|
289 |
+
0.020324352264404297,
|
290 |
+
0.019679231643676756,
|
291 |
+
0.019438592910766602,
|
292 |
+
0.01941196823120117,
|
293 |
+
0.019378175735473634,
|
294 |
+
0.019327999114990235,
|
295 |
+
0.01925324821472168,
|
296 |
+
0.019405824661254883,
|
297 |
+
0.019334144592285156,
|
298 |
+
0.01926144027709961,
|
299 |
+
0.019417087554931642,
|
300 |
+
0.01966796875,
|
301 |
+
0.02002841567993164,
|
302 |
+
0.02039091110229492,
|
303 |
+
0.020145151138305666,
|
304 |
+
0.019513343811035155,
|
305 |
+
0.019356672286987304,
|
306 |
+
0.01946009635925293,
|
307 |
+
0.019331071853637697,
|
308 |
+
0.019614719390869142,
|
309 |
+
0.019329023361206055,
|
310 |
+
0.019141632080078123,
|
311 |
+
0.019126272201538085,
|
312 |
+
0.01924710464477539,
|
313 |
+
0.0194334716796875,
|
314 |
+
0.01940275192260742,
|
315 |
+
0.01948569679260254,
|
316 |
+
0.019302400588989257,
|
317 |
+
0.019381248474121093,
|
318 |
+
0.01946316719055176,
|
319 |
+
0.01939148712158203,
|
320 |
+
0.019308544158935546,
|
321 |
+
0.019526655197143555,
|
322 |
+
0.019514368057250975,
|
323 |
+
0.019369983673095705,
|
324 |
+
0.01943449592590332,
|
325 |
+
0.01921433639526367,
|
326 |
+
0.01920512008666992,
|
327 |
+
0.019520511627197267,
|
328 |
+
0.019134464263916014,
|
329 |
+
0.019333120346069335,
|
330 |
+
0.01941094398498535,
|
331 |
+
0.01946214485168457,
|
332 |
+
0.019175424575805664,
|
333 |
+
0.019148799896240236,
|
334 |
+
0.019164159774780275,
|
335 |
+
0.019362815856933592,
|
336 |
+
0.01899519920349121,
|
337 |
+
0.018937856674194335,
|
338 |
+
0.0189737606048584,
|
339 |
+
0.01919379234313965,
|
340 |
+
0.018997247695922852,
|
341 |
+
0.019143680572509765,
|
342 |
+
0.019120128631591796,
|
343 |
+
0.01904332733154297,
|
344 |
+
0.019369056701660156,
|
345 |
+
0.019746719360351564,
|
346 |
+
0.020204544067382812,
|
347 |
+
0.019949567794799804,
|
348 |
+
0.020132863998413086,
|
349 |
+
0.01943356704711914,
|
350 |
+
0.019362720489501953,
|
351 |
+
0.02011955261230469,
|
352 |
+
0.020164608001708984,
|
353 |
+
0.020130815505981444,
|
354 |
+
0.02013910484313965,
|
355 |
+
0.020095903396606444,
|
356 |
+
0.020149248123168945,
|
357 |
+
0.01940275192260742,
|
358 |
+
0.0194201602935791,
|
359 |
+
0.01989017677307129,
|
360 |
+
0.01978982353210449,
|
361 |
+
0.019998720169067383,
|
362 |
+
0.01986457633972168,
|
363 |
+
0.01994361686706543,
|
364 |
+
0.020102975845336914,
|
365 |
+
0.02004172706604004,
|
366 |
+
0.020271104812622072,
|
367 |
+
0.020030527114868163,
|
368 |
+
0.01993414306640625,
|
369 |
+
0.020176895141601564,
|
370 |
+
0.020008960723876954,
|
371 |
+
0.02006425666809082,
|
372 |
+
0.019985408782958985,
|
373 |
+
0.01979801559448242,
|
374 |
+
0.019910655975341796,
|
375 |
+
0.020248575210571287,
|
376 |
+
0.02005606460571289,
|
377 |
+
0.019950592041015625,
|
378 |
+
0.02007961654663086,
|
379 |
+
0.020155391693115234,
|
380 |
+
0.02017791938781738,
|
381 |
+
0.02003865623474121,
|
382 |
+
0.02012876892089844,
|
383 |
+
0.019940383911132814,
|
384 |
+
0.019956703186035155,
|
385 |
+
0.019965951919555663,
|
386 |
+
0.019952640533447266,
|
387 |
+
0.02024345588684082,
|
388 |
+
0.01927475166320801,
|
389 |
+
0.019286016464233398,
|
390 |
+
0.01963212776184082,
|
391 |
+
0.019955711364746095,
|
392 |
+
0.020485183715820313,
|
393 |
+
0.019875776290893554,
|
394 |
+
0.01992192077636719,
|
395 |
+
0.020753408432006838,
|
396 |
+
0.020237312316894532,
|
397 |
+
0.02042163276672363,
|
398 |
+
0.020208703994750978,
|
399 |
+
0.01935660743713379,
|
400 |
+
0.01922777557373047,
|
401 |
+
0.01943846321105957,
|
402 |
+
0.01925529670715332,
|
403 |
+
0.01923891258239746,
|
404 |
+
0.019818496704101563,
|
405 |
+
0.01964031982421875,
|
406 |
+
0.01944576072692871,
|
407 |
+
0.0194201602935791,
|
408 |
+
0.019507200241088866,
|
409 |
+
0.019361791610717775,
|
410 |
+
0.019378175735473634,
|
411 |
+
0.019172351837158205,
|
412 |
+
0.019290111541748048,
|
413 |
+
0.019589120864868165,
|
414 |
+
0.019489791870117186,
|
415 |
+
0.01946316719055176,
|
416 |
+
0.02019327926635742,
|
417 |
+
0.020330495834350586,
|
418 |
+
0.020238336563110353,
|
419 |
+
0.020577280044555665,
|
420 |
+
0.020997119903564454,
|
421 |
+
0.020583423614501953,
|
422 |
+
0.019896320343017578,
|
423 |
+
0.019929088592529298,
|
424 |
+
0.020237312316894532,
|
425 |
+
0.02025267219543457,
|
426 |
+
0.020338687896728515,
|
427 |
+
0.020357120513916017,
|
428 |
+
0.020264959335327147,
|
429 |
+
0.020105215072631837,
|
430 |
+
0.020145151138305666,
|
431 |
+
0.02038796806335449,
|
432 |
+
0.02030886459350586,
|
433 |
+
0.0204902400970459,
|
434 |
+
0.020363296508789062,
|
435 |
+
0.0202589111328125,
|
436 |
+
0.02024844741821289,
|
437 |
+
0.020297824859619142,
|
438 |
+
0.020458400726318358,
|
439 |
+
0.019973119735717772,
|
440 |
+
0.01984102439880371,
|
441 |
+
0.02022400093078613,
|
442 |
+
0.02020249557495117,
|
443 |
+
0.02035916709899902,
|
444 |
+
0.01990553665161133,
|
445 |
+
0.020158464431762696,
|
446 |
+
0.02045337677001953,
|
447 |
+
0.022759424209594727,
|
448 |
+
0.020290559768676757,
|
449 |
+
0.020059135437011717,
|
450 |
+
0.020310047149658204,
|
451 |
+
0.020215776443481444,
|
452 |
+
0.020182016372680665,
|
453 |
+
0.020809728622436522,
|
454 |
+
0.02045337677001953,
|
455 |
+
0.020184064865112306,
|
456 |
+
0.020370431900024414,
|
457 |
+
0.02009600067138672,
|
458 |
+
0.01984409523010254,
|
459 |
+
0.020197376251220703,
|
460 |
+
0.02047385597229004,
|
461 |
+
0.02008883285522461,
|
462 |
+
0.020221952438354493
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 50.303961954166816
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1320.77568,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 12.4255439453125,
|
15 |
+
"mean": 12.4255439453125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.4255439453125,
|
18 |
+
"p90": 12.4255439453125,
|
19 |
+
"p95": 12.4255439453125,
|
20 |
+
"p99": 12.4255439453125,
|
21 |
+
"values": [
|
22 |
+
12.4255439453125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1714.454528,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.431872
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04163740730285645,
|
42 |
+
"mean": 0.020818703651428225,
|
43 |
+
"stdev": 3.752040863037008e-05,
|
44 |
+
"p50": 0.020818703651428225,
|
45 |
+
"p90": 0.02084871997833252,
|
46 |
+
"p95": 0.020852472019195555,
|
47 |
+
"p99": 0.020855473651885986,
|
48 |
+
"values": [
|
49 |
+
0.020781183242797853,
|
50 |
+
0.020856224060058593
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 336.2361133143744
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1768.648704,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.801344
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.049633544921875,
|
73 |
+
"mean": 2.5248167724609374,
|
74 |
+
"stdev": 0.01136755371093745,
|
75 |
+
"p50": 2.5248167724609374,
|
76 |
+
"p90": 2.5339108154296874,
|
77 |
+
"p95": 2.535047570800781,
|
78 |
+
"p99": 2.535956975097656,
|
79 |
+
"values": [
|
80 |
+
2.51344921875,
|
81 |
+
2.536184326171875
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 50.30067979000836
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 5.049304073333741,
|
97 |
+
"mean": 0.019879149895014724,
|
98 |
+
"stdev": 0.0004637663211632311,
|
99 |
+
"p50": 0.019951616287231445,
|
100 |
+
"p90": 0.02035619869232178,
|
101 |
+
"p95": 0.020477820682525634,
|
102 |
+
"p99": 0.020779878921508788,
|
103 |
+
"values": [
|
104 |
+
0.018944000244140623,
|
105 |
+
0.018990079879760743,
|
106 |
+
0.01904435157775879,
|
107 |
+
0.01903308868408203,
|
108 |
+
0.01964339256286621,
|
109 |
+
0.019891199111938478,
|
110 |
+
0.01978982353210449,
|
111 |
+
0.020339712142944336,
|
112 |
+
0.019926015853881835,
|
113 |
+
0.019752960205078125,
|
114 |
+
0.019826688766479493,
|
115 |
+
0.019736576080322265,
|
116 |
+
0.02019327926635742,
|
117 |
+
0.019909664154052733,
|
118 |
+
0.019700704574584962,
|
119 |
+
0.02022707176208496,
|
120 |
+
0.02003763198852539,
|
121 |
+
0.019749887466430666,
|
122 |
+
0.019945472717285157,
|
123 |
+
0.02008576011657715,
|
124 |
+
0.019743743896484374,
|
125 |
+
0.01986662483215332,
|
126 |
+
0.019826688766479493,
|
127 |
+
0.019965951919555663,
|
128 |
+
0.020239360809326173,
|
129 |
+
0.020048896789550782,
|
130 |
+
0.020207616806030275,
|
131 |
+
0.02000383949279785,
|
132 |
+
0.02004172706604004,
|
133 |
+
0.0200581111907959,
|
134 |
+
0.019791872024536132,
|
135 |
+
0.019809280395507813,
|
136 |
+
0.02004275131225586,
|
137 |
+
0.01990553665161133,
|
138 |
+
0.02022809600830078,
|
139 |
+
0.020100095748901366,
|
140 |
+
0.020137983322143553,
|
141 |
+
0.020454399108886717,
|
142 |
+
0.019839040756225584,
|
143 |
+
0.019974079132080078,
|
144 |
+
0.020249599456787108,
|
145 |
+
0.020584447860717774,
|
146 |
+
0.020732927322387695,
|
147 |
+
0.020124671936035156,
|
148 |
+
0.020354047775268554,
|
149 |
+
0.020237312316894532,
|
150 |
+
0.020008960723876954,
|
151 |
+
0.019748863220214845,
|
152 |
+
0.019524608612060547,
|
153 |
+
0.019923967361450197,
|
154 |
+
0.01980723190307617,
|
155 |
+
0.019752960205078125,
|
156 |
+
0.019735551834106444,
|
157 |
+
0.019753984451293945,
|
158 |
+
0.019776512145996093,
|
159 |
+
0.020040704727172853,
|
160 |
+
0.019792896270751953,
|
161 |
+
0.020376575469970702,
|
162 |
+
0.020191232681274415,
|
163 |
+
0.02008700752258301,
|
164 |
+
0.020517663955688478,
|
165 |
+
0.020298751831054687,
|
166 |
+
0.02020153617858887,
|
167 |
+
0.020123584747314453,
|
168 |
+
0.01984819221496582,
|
169 |
+
0.020168703079223634,
|
170 |
+
0.020288511276245116,
|
171 |
+
0.020230144500732423,
|
172 |
+
0.01986764717102051,
|
173 |
+
0.02006630325317383,
|
174 |
+
0.02021785545349121,
|
175 |
+
0.02049228858947754,
|
176 |
+
0.02025574493408203,
|
177 |
+
0.020200447082519533,
|
178 |
+
0.02007347106933594,
|
179 |
+
0.02011238479614258,
|
180 |
+
0.020596736907958983,
|
181 |
+
0.019977216720581056,
|
182 |
+
0.02005401611328125,
|
183 |
+
0.02011238479614258,
|
184 |
+
0.020324352264404297,
|
185 |
+
0.019679231643676756,
|
186 |
+
0.019438592910766602,
|
187 |
+
0.01941196823120117,
|
188 |
+
0.019378175735473634,
|
189 |
+
0.019327999114990235,
|
190 |
+
0.01925324821472168,
|
191 |
+
0.019405824661254883,
|
192 |
+
0.019334144592285156,
|
193 |
+
0.01926144027709961,
|
194 |
+
0.019417087554931642,
|
195 |
+
0.01966796875,
|
196 |
+
0.02002841567993164,
|
197 |
+
0.02039091110229492,
|
198 |
+
0.020145151138305666,
|
199 |
+
0.019513343811035155,
|
200 |
+
0.019356672286987304,
|
201 |
+
0.01946009635925293,
|
202 |
+
0.019331071853637697,
|
203 |
+
0.019614719390869142,
|
204 |
+
0.019329023361206055,
|
205 |
+
0.019141632080078123,
|
206 |
+
0.019126272201538085,
|
207 |
+
0.01924710464477539,
|
208 |
+
0.0194334716796875,
|
209 |
+
0.01940275192260742,
|
210 |
+
0.01948569679260254,
|
211 |
+
0.019302400588989257,
|
212 |
+
0.019381248474121093,
|
213 |
+
0.01946316719055176,
|
214 |
+
0.01939148712158203,
|
215 |
+
0.019308544158935546,
|
216 |
+
0.019526655197143555,
|
217 |
+
0.019514368057250975,
|
218 |
+
0.019369983673095705,
|
219 |
+
0.01943449592590332,
|
220 |
+
0.01921433639526367,
|
221 |
+
0.01920512008666992,
|
222 |
+
0.019520511627197267,
|
223 |
+
0.019134464263916014,
|
224 |
+
0.019333120346069335,
|
225 |
+
0.01941094398498535,
|
226 |
+
0.01946214485168457,
|
227 |
+
0.019175424575805664,
|
228 |
+
0.019148799896240236,
|
229 |
+
0.019164159774780275,
|
230 |
+
0.019362815856933592,
|
231 |
+
0.01899519920349121,
|
232 |
+
0.018937856674194335,
|
233 |
+
0.0189737606048584,
|
234 |
+
0.01919379234313965,
|
235 |
+
0.018997247695922852,
|
236 |
+
0.019143680572509765,
|
237 |
+
0.019120128631591796,
|
238 |
+
0.01904332733154297,
|
239 |
+
0.019369056701660156,
|
240 |
+
0.019746719360351564,
|
241 |
+
0.020204544067382812,
|
242 |
+
0.019949567794799804,
|
243 |
+
0.020132863998413086,
|
244 |
+
0.01943356704711914,
|
245 |
+
0.019362720489501953,
|
246 |
+
0.02011955261230469,
|
247 |
+
0.020164608001708984,
|
248 |
+
0.020130815505981444,
|
249 |
+
0.02013910484313965,
|
250 |
+
0.020095903396606444,
|
251 |
+
0.020149248123168945,
|
252 |
+
0.01940275192260742,
|
253 |
+
0.0194201602935791,
|
254 |
+
0.01989017677307129,
|
255 |
+
0.01978982353210449,
|
256 |
+
0.019998720169067383,
|
257 |
+
0.01986457633972168,
|
258 |
+
0.01994361686706543,
|
259 |
+
0.020102975845336914,
|
260 |
+
0.02004172706604004,
|
261 |
+
0.020271104812622072,
|
262 |
+
0.020030527114868163,
|
263 |
+
0.01993414306640625,
|
264 |
+
0.020176895141601564,
|
265 |
+
0.020008960723876954,
|
266 |
+
0.02006425666809082,
|
267 |
+
0.019985408782958985,
|
268 |
+
0.01979801559448242,
|
269 |
+
0.019910655975341796,
|
270 |
+
0.020248575210571287,
|
271 |
+
0.02005606460571289,
|
272 |
+
0.019950592041015625,
|
273 |
+
0.02007961654663086,
|
274 |
+
0.020155391693115234,
|
275 |
+
0.02017791938781738,
|
276 |
+
0.02003865623474121,
|
277 |
+
0.02012876892089844,
|
278 |
+
0.019940383911132814,
|
279 |
+
0.019956703186035155,
|
280 |
+
0.019965951919555663,
|
281 |
+
0.019952640533447266,
|
282 |
+
0.02024345588684082,
|
283 |
+
0.01927475166320801,
|
284 |
+
0.019286016464233398,
|
285 |
+
0.01963212776184082,
|
286 |
+
0.019955711364746095,
|
287 |
+
0.020485183715820313,
|
288 |
+
0.019875776290893554,
|
289 |
+
0.01992192077636719,
|
290 |
+
0.020753408432006838,
|
291 |
+
0.020237312316894532,
|
292 |
+
0.02042163276672363,
|
293 |
+
0.020208703994750978,
|
294 |
+
0.01935660743713379,
|
295 |
+
0.01922777557373047,
|
296 |
+
0.01943846321105957,
|
297 |
+
0.01925529670715332,
|
298 |
+
0.01923891258239746,
|
299 |
+
0.019818496704101563,
|
300 |
+
0.01964031982421875,
|
301 |
+
0.01944576072692871,
|
302 |
+
0.0194201602935791,
|
303 |
+
0.019507200241088866,
|
304 |
+
0.019361791610717775,
|
305 |
+
0.019378175735473634,
|
306 |
+
0.019172351837158205,
|
307 |
+
0.019290111541748048,
|
308 |
+
0.019589120864868165,
|
309 |
+
0.019489791870117186,
|
310 |
+
0.01946316719055176,
|
311 |
+
0.02019327926635742,
|
312 |
+
0.020330495834350586,
|
313 |
+
0.020238336563110353,
|
314 |
+
0.020577280044555665,
|
315 |
+
0.020997119903564454,
|
316 |
+
0.020583423614501953,
|
317 |
+
0.019896320343017578,
|
318 |
+
0.019929088592529298,
|
319 |
+
0.020237312316894532,
|
320 |
+
0.02025267219543457,
|
321 |
+
0.020338687896728515,
|
322 |
+
0.020357120513916017,
|
323 |
+
0.020264959335327147,
|
324 |
+
0.020105215072631837,
|
325 |
+
0.020145151138305666,
|
326 |
+
0.02038796806335449,
|
327 |
+
0.02030886459350586,
|
328 |
+
0.0204902400970459,
|
329 |
+
0.020363296508789062,
|
330 |
+
0.0202589111328125,
|
331 |
+
0.02024844741821289,
|
332 |
+
0.020297824859619142,
|
333 |
+
0.020458400726318358,
|
334 |
+
0.019973119735717772,
|
335 |
+
0.01984102439880371,
|
336 |
+
0.02022400093078613,
|
337 |
+
0.02020249557495117,
|
338 |
+
0.02035916709899902,
|
339 |
+
0.01990553665161133,
|
340 |
+
0.020158464431762696,
|
341 |
+
0.02045337677001953,
|
342 |
+
0.022759424209594727,
|
343 |
+
0.020290559768676757,
|
344 |
+
0.020059135437011717,
|
345 |
+
0.020310047149658204,
|
346 |
+
0.020215776443481444,
|
347 |
+
0.020182016372680665,
|
348 |
+
0.020809728622436522,
|
349 |
+
0.02045337677001953,
|
350 |
+
0.020184064865112306,
|
351 |
+
0.020370431900024414,
|
352 |
+
0.02009600067138672,
|
353 |
+
0.01984409523010254,
|
354 |
+
0.020197376251220703,
|
355 |
+
0.02047385597229004,
|
356 |
+
0.02008883285522461,
|
357 |
+
0.020221952438354493
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 50.303961954166816
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020818703651428225,
|
7 |
+
"prefill.throughput.value": 336.2361133143744,
|
8 |
+
"decode.latency.mean": 2.5248167724609374,
|
9 |
+
"decode.throughput.value": 50.30067979000836,
|
10 |
+
"per_token.latency.mean": 0.019879149895014724,
|
11 |
+
"per_token.throughput.value": 50.303961954166816
|
12 |
+
}
|
13 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
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/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
88 |
+
- hydra.run.dir=_benchmark/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-09-02 02:44:27,528[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2 |
+
[MAIN-PROCESS][[36m2024-09-02 02:44:30,096[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
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/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
88 |
+
- hydra.run.dir=_benchmark/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1320.886272,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 12.100828125,
|
120 |
+
"mean": 12.100828125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.100828125,
|
123 |
+
"p90": 12.100828125,
|
124 |
+
"p95": 12.100828125,
|
125 |
+
"p99": 12.100828125,
|
126 |
+
"values": [
|
127 |
+
12.100828125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1764.220928,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6142.558208,
|
141 |
+
"max_allocated": 5028.450816
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.04432889556884766,
|
147 |
+
"mean": 0.02216444778442383,
|
148 |
+
"stdev": 0.0005190086364746105,
|
149 |
+
"p50": 0.02216444778442383,
|
150 |
+
"p90": 0.022579654693603516,
|
151 |
+
"p95": 0.02263155555725098,
|
152 |
+
"p99": 0.022673076248168948,
|
153 |
+
"values": [
|
154 |
+
0.021645439147949218,
|
155 |
+
0.02268345642089844
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 315.8210873595183
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 1788.575744,
|
169 |
+
"max_global_vram": 6793.199616,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 6146.752512,
|
172 |
+
"max_allocated": 5031.820288
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 5.182965576171875,
|
178 |
+
"mean": 2.5914827880859375,
|
179 |
+
"stdev": 0.007712036132812461,
|
180 |
+
"p50": 2.5914827880859375,
|
181 |
+
"p90": 2.5976524169921875,
|
182 |
+
"p95": 2.5984236206054687,
|
183 |
+
"p99": 2.5990405834960937,
|
184 |
+
"values": [
|
185 |
+
2.583770751953125,
|
186 |
+
2.59919482421875
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 49.00669245571254
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 5.182701566696171,
|
202 |
+
"mean": 0.020404336876756562,
|
203 |
+
"stdev": 0.0005085949116201209,
|
204 |
+
"p50": 0.020154848098754882,
|
205 |
+
"p90": 0.021154099273681642,
|
206 |
+
"p95": 0.021270783519744874,
|
207 |
+
"p99": 0.02152579065322876,
|
208 |
+
"values": [
|
209 |
+
0.020099071502685546,
|
210 |
+
0.01987583923339844,
|
211 |
+
0.01985740852355957,
|
212 |
+
0.02001408004760742,
|
213 |
+
0.019803136825561524,
|
214 |
+
0.020113407135009767,
|
215 |
+
0.02001203155517578,
|
216 |
+
0.020098047256469728,
|
217 |
+
0.01999667167663574,
|
218 |
+
0.019846176147460936,
|
219 |
+
0.01992803192138672,
|
220 |
+
0.02122854423522949,
|
221 |
+
0.021761024475097656,
|
222 |
+
0.020909055709838868,
|
223 |
+
0.02126335906982422,
|
224 |
+
0.020982784271240236,
|
225 |
+
0.021028863906860353,
|
226 |
+
0.019853311538696287,
|
227 |
+
0.02024345588684082,
|
228 |
+
0.020699296951293945,
|
229 |
+
0.020846431732177734,
|
230 |
+
0.02083328056335449,
|
231 |
+
0.020876287460327148,
|
232 |
+
0.021334016799926758,
|
233 |
+
0.021180416107177736,
|
234 |
+
0.02105855941772461,
|
235 |
+
0.021098495483398438,
|
236 |
+
0.020130815505981444,
|
237 |
+
0.02025369644165039,
|
238 |
+
0.02017791938781738,
|
239 |
+
0.020781055450439453,
|
240 |
+
0.020658176422119142,
|
241 |
+
0.02081177520751953,
|
242 |
+
0.021218303680419923,
|
243 |
+
0.020133888244628906,
|
244 |
+
0.020039680480957032,
|
245 |
+
0.02000383949279785,
|
246 |
+
0.021353471755981446,
|
247 |
+
0.02121625518798828,
|
248 |
+
0.02110873603820801,
|
249 |
+
0.021135360717773437,
|
250 |
+
0.020733951568603515,
|
251 |
+
0.020810752868652343,
|
252 |
+
0.020802560806274413,
|
253 |
+
0.02071049690246582,
|
254 |
+
0.02082908821105957,
|
255 |
+
0.020914176940917968,
|
256 |
+
0.021166080474853514,
|
257 |
+
0.02104319953918457,
|
258 |
+
0.02104319953918457,
|
259 |
+
0.02126540756225586,
|
260 |
+
0.021196800231933592,
|
261 |
+
0.02002841567993164,
|
262 |
+
0.02021990394592285,
|
263 |
+
0.020324352264404297,
|
264 |
+
0.02030080032348633,
|
265 |
+
0.020161535263061522,
|
266 |
+
0.01998028755187988,
|
267 |
+
0.019960832595825196,
|
268 |
+
0.020141056060791016,
|
269 |
+
0.02006425666809082,
|
270 |
+
0.020943872451782225,
|
271 |
+
0.020867071151733398,
|
272 |
+
0.02101043128967285,
|
273 |
+
0.02059878349304199,
|
274 |
+
0.02021887969970703,
|
275 |
+
0.02026188850402832,
|
276 |
+
0.020068351745605468,
|
277 |
+
0.02006630325317383,
|
278 |
+
0.01999564743041992,
|
279 |
+
0.019876863479614256,
|
280 |
+
0.02024140739440918,
|
281 |
+
0.020110336303710938,
|
282 |
+
0.02006118392944336,
|
283 |
+
0.019944543838500976,
|
284 |
+
0.019938207626342772,
|
285 |
+
0.02007961654663086,
|
286 |
+
0.01989232063293457,
|
287 |
+
0.019933088302612305,
|
288 |
+
0.02006937599182129,
|
289 |
+
0.019876863479614256,
|
290 |
+
0.019965951919555663,
|
291 |
+
0.019976192474365235,
|
292 |
+
0.01988403129577637,
|
293 |
+
0.019919872283935547,
|
294 |
+
0.020884479522705078,
|
295 |
+
0.02083737564086914,
|
296 |
+
0.02068377685546875,
|
297 |
+
0.019904512405395508,
|
298 |
+
0.019936256408691407,
|
299 |
+
0.020189184188842774,
|
300 |
+
0.020139007568359374,
|
301 |
+
0.020016128540039063,
|
302 |
+
0.01999564743041992,
|
303 |
+
0.02006118392944336,
|
304 |
+
0.02040934371948242,
|
305 |
+
0.020151296615600587,
|
306 |
+
0.020117504119873047,
|
307 |
+
0.020064384460449218,
|
308 |
+
0.019964799880981446,
|
309 |
+
0.01992192077636719,
|
310 |
+
0.019902463912963866,
|
311 |
+
0.01987993621826172,
|
312 |
+
0.020536319732666015,
|
313 |
+
0.020005983352661134,
|
314 |
+
0.01983990478515625,
|
315 |
+
0.019986431121826173,
|
316 |
+
0.019909631729125975,
|
317 |
+
0.0198287353515625,
|
318 |
+
0.020007936477661133,
|
319 |
+
0.020183040618896485,
|
320 |
+
0.019929088592529298,
|
321 |
+
0.020075519561767577,
|
322 |
+
0.01991372871398926,
|
323 |
+
0.01985651206970215,
|
324 |
+
0.02009280014038086,
|
325 |
+
0.019887104034423828,
|
326 |
+
0.02009718322753906,
|
327 |
+
0.020009824752807617,
|
328 |
+
0.019891199111938478,
|
329 |
+
0.019924032211303712,
|
330 |
+
0.020096960067749022,
|
331 |
+
0.02011136054992676,
|
332 |
+
0.02011238479614258,
|
333 |
+
0.02004991912841797,
|
334 |
+
0.019993600845336915,
|
335 |
+
0.020876287460327148,
|
336 |
+
0.020292703628540038,
|
337 |
+
0.019912607192993165,
|
338 |
+
0.019834911346435547,
|
339 |
+
0.020008928298950197,
|
340 |
+
0.019943424224853516,
|
341 |
+
0.019943424224853516,
|
342 |
+
0.019861503601074217,
|
343 |
+
0.020564992904663085,
|
344 |
+
0.020762624740600585,
|
345 |
+
0.021011455535888672,
|
346 |
+
0.021156864166259767,
|
347 |
+
0.02038374328613281,
|
348 |
+
0.020972543716430665,
|
349 |
+
0.020197376251220703,
|
350 |
+
0.020109312057495117,
|
351 |
+
0.02000383949279785,
|
352 |
+
0.020102144241333008,
|
353 |
+
0.02003763198852539,
|
354 |
+
0.020157440185546875,
|
355 |
+
0.019877887725830077,
|
356 |
+
0.020840448379516603,
|
357 |
+
0.021086208343505858,
|
358 |
+
0.020976640701293944,
|
359 |
+
0.0212807674407959,
|
360 |
+
0.020914176940917968,
|
361 |
+
0.021300224304199217,
|
362 |
+
0.021000192642211913,
|
363 |
+
0.021348352432250976,
|
364 |
+
0.02103193664550781,
|
365 |
+
0.021147647857666017,
|
366 |
+
0.020488191604614257,
|
367 |
+
0.020958208084106447,
|
368 |
+
0.021344255447387696,
|
369 |
+
0.021659648895263672,
|
370 |
+
0.021086208343505858,
|
371 |
+
0.02102579116821289,
|
372 |
+
0.020990976333618162,
|
373 |
+
0.02030899238586426,
|
374 |
+
0.020133888244628906,
|
375 |
+
0.02046156883239746,
|
376 |
+
0.02141798400878906,
|
377 |
+
0.021135360717773437,
|
378 |
+
0.021168224334716795,
|
379 |
+
0.021107616424560546,
|
380 |
+
0.02128179168701172,
|
381 |
+
0.02104319953918457,
|
382 |
+
0.020747264862060546,
|
383 |
+
0.020993024826049804,
|
384 |
+
0.02103500747680664,
|
385 |
+
0.021354496002197267,
|
386 |
+
0.020098047256469728,
|
387 |
+
0.020144128799438478,
|
388 |
+
0.019985408782958985,
|
389 |
+
0.019981311798095702,
|
390 |
+
0.02008678436279297,
|
391 |
+
0.02040115165710449,
|
392 |
+
0.020716543197631835,
|
393 |
+
0.020677631378173827,
|
394 |
+
0.02067353630065918,
|
395 |
+
0.020669439315795898,
|
396 |
+
0.021235712051391603,
|
397 |
+
0.01981644821166992,
|
398 |
+
0.019928064346313477,
|
399 |
+
0.019894271850585937,
|
400 |
+
0.019950592041015625,
|
401 |
+
0.020248575210571287,
|
402 |
+
0.019911680221557617,
|
403 |
+
0.02004684829711914,
|
404 |
+
0.02006118392944336,
|
405 |
+
0.020234304428100584,
|
406 |
+
0.02015225601196289,
|
407 |
+
0.01988198471069336,
|
408 |
+
0.019803136825561524,
|
409 |
+
0.019901504516601564,
|
410 |
+
0.020051904678344726,
|
411 |
+
0.019994623184204103,
|
412 |
+
0.019932159423828123,
|
413 |
+
0.021115903854370118,
|
414 |
+
0.020727807998657227,
|
415 |
+
0.02107904052734375,
|
416 |
+
0.021164031982421876,
|
417 |
+
0.019912704467773438,
|
418 |
+
0.020171775817871093,
|
419 |
+
0.020273151397705077,
|
420 |
+
0.01983795166015625,
|
421 |
+
0.02007142448425293,
|
422 |
+
0.02042367935180664,
|
423 |
+
0.021329919815063478,
|
424 |
+
0.021097471237182617,
|
425 |
+
0.020883455276489257,
|
426 |
+
0.021111808776855468,
|
427 |
+
0.021164031982421876,
|
428 |
+
0.021118976593017577,
|
429 |
+
0.02164735984802246,
|
430 |
+
0.020934656143188478,
|
431 |
+
0.02070742416381836,
|
432 |
+
0.021055391311645508,
|
433 |
+
0.02005504035949707,
|
434 |
+
0.02028339195251465,
|
435 |
+
0.020333696365356445,
|
436 |
+
0.020423551559448243,
|
437 |
+
0.02023423957824707,
|
438 |
+
0.02008166313171387,
|
439 |
+
0.02012774467468262,
|
440 |
+
0.02110054397583008,
|
441 |
+
0.020728832244873048,
|
442 |
+
0.020090879440307616,
|
443 |
+
0.01988915252685547,
|
444 |
+
0.019786752700805665,
|
445 |
+
0.020176895141601564,
|
446 |
+
0.019956735610961913,
|
447 |
+
0.01984921646118164,
|
448 |
+
0.01986764717102051,
|
449 |
+
0.019781631469726564,
|
450 |
+
0.020137983322143553,
|
451 |
+
0.02007347106933594,
|
452 |
+
0.01985536003112793,
|
453 |
+
0.019959808349609375,
|
454 |
+
0.01988915252685547,
|
455 |
+
0.020008031845092773,
|
456 |
+
0.020264863967895508,
|
457 |
+
0.02026700782775879,
|
458 |
+
0.019963903427124022,
|
459 |
+
0.0198922233581543,
|
460 |
+
0.019916799545288084,
|
461 |
+
0.019886240005493164,
|
462 |
+
0.020071264266967773
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 49.00918888175886
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1320.886272,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 12.100828125,
|
15 |
+
"mean": 12.100828125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.100828125,
|
18 |
+
"p90": 12.100828125,
|
19 |
+
"p95": 12.100828125,
|
20 |
+
"p99": 12.100828125,
|
21 |
+
"values": [
|
22 |
+
12.100828125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1764.220928,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6142.558208,
|
36 |
+
"max_allocated": 5028.450816
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.04432889556884766,
|
42 |
+
"mean": 0.02216444778442383,
|
43 |
+
"stdev": 0.0005190086364746105,
|
44 |
+
"p50": 0.02216444778442383,
|
45 |
+
"p90": 0.022579654693603516,
|
46 |
+
"p95": 0.02263155555725098,
|
47 |
+
"p99": 0.022673076248168948,
|
48 |
+
"values": [
|
49 |
+
0.021645439147949218,
|
50 |
+
0.02268345642089844
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 315.8210873595183
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 1788.575744,
|
64 |
+
"max_global_vram": 6793.199616,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 6146.752512,
|
67 |
+
"max_allocated": 5031.820288
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 5.182965576171875,
|
73 |
+
"mean": 2.5914827880859375,
|
74 |
+
"stdev": 0.007712036132812461,
|
75 |
+
"p50": 2.5914827880859375,
|
76 |
+
"p90": 2.5976524169921875,
|
77 |
+
"p95": 2.5984236206054687,
|
78 |
+
"p99": 2.5990405834960937,
|
79 |
+
"values": [
|
80 |
+
2.583770751953125,
|
81 |
+
2.59919482421875
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 49.00669245571254
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 5.182701566696171,
|
97 |
+
"mean": 0.020404336876756562,
|
98 |
+
"stdev": 0.0005085949116201209,
|
99 |
+
"p50": 0.020154848098754882,
|
100 |
+
"p90": 0.021154099273681642,
|
101 |
+
"p95": 0.021270783519744874,
|
102 |
+
"p99": 0.02152579065322876,
|
103 |
+
"values": [
|
104 |
+
0.020099071502685546,
|
105 |
+
0.01987583923339844,
|
106 |
+
0.01985740852355957,
|
107 |
+
0.02001408004760742,
|
108 |
+
0.019803136825561524,
|
109 |
+
0.020113407135009767,
|
110 |
+
0.02001203155517578,
|
111 |
+
0.020098047256469728,
|
112 |
+
0.01999667167663574,
|
113 |
+
0.019846176147460936,
|
114 |
+
0.01992803192138672,
|
115 |
+
0.02122854423522949,
|
116 |
+
0.021761024475097656,
|
117 |
+
0.020909055709838868,
|
118 |
+
0.02126335906982422,
|
119 |
+
0.020982784271240236,
|
120 |
+
0.021028863906860353,
|
121 |
+
0.019853311538696287,
|
122 |
+
0.02024345588684082,
|
123 |
+
0.020699296951293945,
|
124 |
+
0.020846431732177734,
|
125 |
+
0.02083328056335449,
|
126 |
+
0.020876287460327148,
|
127 |
+
0.021334016799926758,
|
128 |
+
0.021180416107177736,
|
129 |
+
0.02105855941772461,
|
130 |
+
0.021098495483398438,
|
131 |
+
0.020130815505981444,
|
132 |
+
0.02025369644165039,
|
133 |
+
0.02017791938781738,
|
134 |
+
0.020781055450439453,
|
135 |
+
0.020658176422119142,
|
136 |
+
0.02081177520751953,
|
137 |
+
0.021218303680419923,
|
138 |
+
0.020133888244628906,
|
139 |
+
0.020039680480957032,
|
140 |
+
0.02000383949279785,
|
141 |
+
0.021353471755981446,
|
142 |
+
0.02121625518798828,
|
143 |
+
0.02110873603820801,
|
144 |
+
0.021135360717773437,
|
145 |
+
0.020733951568603515,
|
146 |
+
0.020810752868652343,
|
147 |
+
0.020802560806274413,
|
148 |
+
0.02071049690246582,
|
149 |
+
0.02082908821105957,
|
150 |
+
0.020914176940917968,
|
151 |
+
0.021166080474853514,
|
152 |
+
0.02104319953918457,
|
153 |
+
0.02104319953918457,
|
154 |
+
0.02126540756225586,
|
155 |
+
0.021196800231933592,
|
156 |
+
0.02002841567993164,
|
157 |
+
0.02021990394592285,
|
158 |
+
0.020324352264404297,
|
159 |
+
0.02030080032348633,
|
160 |
+
0.020161535263061522,
|
161 |
+
0.01998028755187988,
|
162 |
+
0.019960832595825196,
|
163 |
+
0.020141056060791016,
|
164 |
+
0.02006425666809082,
|
165 |
+
0.020943872451782225,
|
166 |
+
0.020867071151733398,
|
167 |
+
0.02101043128967285,
|
168 |
+
0.02059878349304199,
|
169 |
+
0.02021887969970703,
|
170 |
+
0.02026188850402832,
|
171 |
+
0.020068351745605468,
|
172 |
+
0.02006630325317383,
|
173 |
+
0.01999564743041992,
|
174 |
+
0.019876863479614256,
|
175 |
+
0.02024140739440918,
|
176 |
+
0.020110336303710938,
|
177 |
+
0.02006118392944336,
|
178 |
+
0.019944543838500976,
|
179 |
+
0.019938207626342772,
|
180 |
+
0.02007961654663086,
|
181 |
+
0.01989232063293457,
|
182 |
+
0.019933088302612305,
|
183 |
+
0.02006937599182129,
|
184 |
+
0.019876863479614256,
|
185 |
+
0.019965951919555663,
|
186 |
+
0.019976192474365235,
|
187 |
+
0.01988403129577637,
|
188 |
+
0.019919872283935547,
|
189 |
+
0.020884479522705078,
|
190 |
+
0.02083737564086914,
|
191 |
+
0.02068377685546875,
|
192 |
+
0.019904512405395508,
|
193 |
+
0.019936256408691407,
|
194 |
+
0.020189184188842774,
|
195 |
+
0.020139007568359374,
|
196 |
+
0.020016128540039063,
|
197 |
+
0.01999564743041992,
|
198 |
+
0.02006118392944336,
|
199 |
+
0.02040934371948242,
|
200 |
+
0.020151296615600587,
|
201 |
+
0.020117504119873047,
|
202 |
+
0.020064384460449218,
|
203 |
+
0.019964799880981446,
|
204 |
+
0.01992192077636719,
|
205 |
+
0.019902463912963866,
|
206 |
+
0.01987993621826172,
|
207 |
+
0.020536319732666015,
|
208 |
+
0.020005983352661134,
|
209 |
+
0.01983990478515625,
|
210 |
+
0.019986431121826173,
|
211 |
+
0.019909631729125975,
|
212 |
+
0.0198287353515625,
|
213 |
+
0.020007936477661133,
|
214 |
+
0.020183040618896485,
|
215 |
+
0.019929088592529298,
|
216 |
+
0.020075519561767577,
|
217 |
+
0.01991372871398926,
|
218 |
+
0.01985651206970215,
|
219 |
+
0.02009280014038086,
|
220 |
+
0.019887104034423828,
|
221 |
+
0.02009718322753906,
|
222 |
+
0.020009824752807617,
|
223 |
+
0.019891199111938478,
|
224 |
+
0.019924032211303712,
|
225 |
+
0.020096960067749022,
|
226 |
+
0.02011136054992676,
|
227 |
+
0.02011238479614258,
|
228 |
+
0.02004991912841797,
|
229 |
+
0.019993600845336915,
|
230 |
+
0.020876287460327148,
|
231 |
+
0.020292703628540038,
|
232 |
+
0.019912607192993165,
|
233 |
+
0.019834911346435547,
|
234 |
+
0.020008928298950197,
|
235 |
+
0.019943424224853516,
|
236 |
+
0.019943424224853516,
|
237 |
+
0.019861503601074217,
|
238 |
+
0.020564992904663085,
|
239 |
+
0.020762624740600585,
|
240 |
+
0.021011455535888672,
|
241 |
+
0.021156864166259767,
|
242 |
+
0.02038374328613281,
|
243 |
+
0.020972543716430665,
|
244 |
+
0.020197376251220703,
|
245 |
+
0.020109312057495117,
|
246 |
+
0.02000383949279785,
|
247 |
+
0.020102144241333008,
|
248 |
+
0.02003763198852539,
|
249 |
+
0.020157440185546875,
|
250 |
+
0.019877887725830077,
|
251 |
+
0.020840448379516603,
|
252 |
+
0.021086208343505858,
|
253 |
+
0.020976640701293944,
|
254 |
+
0.0212807674407959,
|
255 |
+
0.020914176940917968,
|
256 |
+
0.021300224304199217,
|
257 |
+
0.021000192642211913,
|
258 |
+
0.021348352432250976,
|
259 |
+
0.02103193664550781,
|
260 |
+
0.021147647857666017,
|
261 |
+
0.020488191604614257,
|
262 |
+
0.020958208084106447,
|
263 |
+
0.021344255447387696,
|
264 |
+
0.021659648895263672,
|
265 |
+
0.021086208343505858,
|
266 |
+
0.02102579116821289,
|
267 |
+
0.020990976333618162,
|
268 |
+
0.02030899238586426,
|
269 |
+
0.020133888244628906,
|
270 |
+
0.02046156883239746,
|
271 |
+
0.02141798400878906,
|
272 |
+
0.021135360717773437,
|
273 |
+
0.021168224334716795,
|
274 |
+
0.021107616424560546,
|
275 |
+
0.02128179168701172,
|
276 |
+
0.02104319953918457,
|
277 |
+
0.020747264862060546,
|
278 |
+
0.020993024826049804,
|
279 |
+
0.02103500747680664,
|
280 |
+
0.021354496002197267,
|
281 |
+
0.020098047256469728,
|
282 |
+
0.020144128799438478,
|
283 |
+
0.019985408782958985,
|
284 |
+
0.019981311798095702,
|
285 |
+
0.02008678436279297,
|
286 |
+
0.02040115165710449,
|
287 |
+
0.020716543197631835,
|
288 |
+
0.020677631378173827,
|
289 |
+
0.02067353630065918,
|
290 |
+
0.020669439315795898,
|
291 |
+
0.021235712051391603,
|
292 |
+
0.01981644821166992,
|
293 |
+
0.019928064346313477,
|
294 |
+
0.019894271850585937,
|
295 |
+
0.019950592041015625,
|
296 |
+
0.020248575210571287,
|
297 |
+
0.019911680221557617,
|
298 |
+
0.02004684829711914,
|
299 |
+
0.02006118392944336,
|
300 |
+
0.020234304428100584,
|
301 |
+
0.02015225601196289,
|
302 |
+
0.01988198471069336,
|
303 |
+
0.019803136825561524,
|
304 |
+
0.019901504516601564,
|
305 |
+
0.020051904678344726,
|
306 |
+
0.019994623184204103,
|
307 |
+
0.019932159423828123,
|
308 |
+
0.021115903854370118,
|
309 |
+
0.020727807998657227,
|
310 |
+
0.02107904052734375,
|
311 |
+
0.021164031982421876,
|
312 |
+
0.019912704467773438,
|
313 |
+
0.020171775817871093,
|
314 |
+
0.020273151397705077,
|
315 |
+
0.01983795166015625,
|
316 |
+
0.02007142448425293,
|
317 |
+
0.02042367935180664,
|
318 |
+
0.021329919815063478,
|
319 |
+
0.021097471237182617,
|
320 |
+
0.020883455276489257,
|
321 |
+
0.021111808776855468,
|
322 |
+
0.021164031982421876,
|
323 |
+
0.021118976593017577,
|
324 |
+
0.02164735984802246,
|
325 |
+
0.020934656143188478,
|
326 |
+
0.02070742416381836,
|
327 |
+
0.021055391311645508,
|
328 |
+
0.02005504035949707,
|
329 |
+
0.02028339195251465,
|
330 |
+
0.020333696365356445,
|
331 |
+
0.020423551559448243,
|
332 |
+
0.02023423957824707,
|
333 |
+
0.02008166313171387,
|
334 |
+
0.02012774467468262,
|
335 |
+
0.02110054397583008,
|
336 |
+
0.020728832244873048,
|
337 |
+
0.020090879440307616,
|
338 |
+
0.01988915252685547,
|
339 |
+
0.019786752700805665,
|
340 |
+
0.020176895141601564,
|
341 |
+
0.019956735610961913,
|
342 |
+
0.01984921646118164,
|
343 |
+
0.01986764717102051,
|
344 |
+
0.019781631469726564,
|
345 |
+
0.020137983322143553,
|
346 |
+
0.02007347106933594,
|
347 |
+
0.01985536003112793,
|
348 |
+
0.019959808349609375,
|
349 |
+
0.01988915252685547,
|
350 |
+
0.020008031845092773,
|
351 |
+
0.020264863967895508,
|
352 |
+
0.02026700782775879,
|
353 |
+
0.019963903427124022,
|
354 |
+
0.0198922233581543,
|
355 |
+
0.019916799545288084,
|
356 |
+
0.019886240005493164,
|
357 |
+
0.020071264266967773
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 49.00918888175886
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02216444778442383,
|
7 |
+
"prefill.throughput.value": 315.8210873595183,
|
8 |
+
"decode.latency.mean": 2.5914827880859375,
|
9 |
+
"decode.throughput.value": 49.00669245571254,
|
10 |
+
"per_token.latency.mean": 0.020404336876756562,
|
11 |
+
"per_token.throughput.value": 49.00918888175886
|
12 |
+
}
|
13 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.4.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model_type: null
|
9 |
+
model: google/gemma-2b
|
10 |
+
processor: null
|
11 |
+
device: cuda
|
12 |
+
device_ids: '0'
|
13 |
+
seed: 42
|
14 |
+
inter_op_num_threads: null
|
15 |
+
intra_op_num_threads: null
|
16 |
+
model_kwargs: {}
|
17 |
+
processor_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
memory: true
|
51 |
+
latency: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
numactl: false
|
65 |
+
numactl_kwargs: {}
|
66 |
+
start_method: spawn
|
67 |
+
environment:
|
68 |
+
cpu: ' AMD EPYC 7R32'
|
69 |
+
cpu_count: 16
|
70 |
+
cpu_ram_mb: 66697.261056
|
71 |
+
system: Linux
|
72 |
+
machine: x86_64
|
73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
74 |
+
processor: x86_64
|
75 |
+
python_version: 3.8.10
|
76 |
+
gpu:
|
77 |
+
- NVIDIA A10G
|
78 |
+
gpu_count: 1
|
79 |
+
gpu_vram_mb: 24146608128
|
80 |
+
optimum_benchmark_version: 0.4.0
|
81 |
+
optimum_benchmark_commit: null
|
82 |
+
transformers_version: 4.45.0.dev0
|
83 |
+
transformers_commit: 2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
84 |
+
accelerate_version: 0.34.0.dev0
|
85 |
+
accelerate_commit: null
|
86 |
+
diffusers_version: null
|
87 |
+
diffusers_commit: null
|
88 |
+
optimum_version: 1.22.0.dev0
|
89 |
+
optimum_commit: null
|
90 |
+
timm_version: 0.9.16
|
91 |
+
timm_commit: null
|
92 |
+
peft_version: 0.12.1.dev0
|
93 |
+
peft_commit: null
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
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/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
88 |
+
- hydra.run.dir=_benchmark/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${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/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gemma",
|
11 |
+
"model": "google/gemma-2b",
|
12 |
+
"processor": "google/gemma-2b",
|
13 |
+
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"memory": true,
|
57 |
+
"latency": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"numactl": false,
|
73 |
+
"numactl_kwargs": {},
|
74 |
+
"start_method": "spawn"
|
75 |
+
},
|
76 |
+
"environment": {
|
77 |
+
"cpu": " AMD EPYC 7R32",
|
78 |
+
"cpu_count": 16,
|
79 |
+
"cpu_ram_mb": 66697.261056,
|
80 |
+
"system": "Linux",
|
81 |
+
"machine": "x86_64",
|
82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
83 |
+
"processor": "x86_64",
|
84 |
+
"python_version": "3.8.10",
|
85 |
+
"gpu": [
|
86 |
+
"NVIDIA A10G"
|
87 |
+
],
|
88 |
+
"gpu_count": 1,
|
89 |
+
"gpu_vram_mb": 24146608128,
|
90 |
+
"optimum_benchmark_version": "0.4.0",
|
91 |
+
"optimum_benchmark_commit": null,
|
92 |
+
"transformers_version": "4.45.0.dev0",
|
93 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
94 |
+
"accelerate_version": "0.34.0.dev0",
|
95 |
+
"accelerate_commit": null,
|
96 |
+
"diffusers_version": null,
|
97 |
+
"diffusers_commit": null,
|
98 |
+
"optimum_version": "1.22.0.dev0",
|
99 |
+
"optimum_commit": null,
|
100 |
+
"timm_version": "0.9.16",
|
101 |
+
"timm_commit": null,
|
102 |
+
"peft_version": "0.12.1.dev0",
|
103 |
+
"peft_commit": null
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"report": {
|
107 |
+
"load": {
|
108 |
+
"memory": {
|
109 |
+
"unit": "MB",
|
110 |
+
"max_ram": 1338.7776,
|
111 |
+
"max_global_vram": 6768.033792,
|
112 |
+
"max_process_vram": 0.0,
|
113 |
+
"max_reserved": 6138.363904,
|
114 |
+
"max_allocated": 6060.931072
|
115 |
+
},
|
116 |
+
"latency": {
|
117 |
+
"unit": "s",
|
118 |
+
"count": 1,
|
119 |
+
"total": 12.8823095703125,
|
120 |
+
"mean": 12.8823095703125,
|
121 |
+
"stdev": 0.0,
|
122 |
+
"p50": 12.8823095703125,
|
123 |
+
"p90": 12.8823095703125,
|
124 |
+
"p95": 12.8823095703125,
|
125 |
+
"p99": 12.8823095703125,
|
126 |
+
"values": [
|
127 |
+
12.8823095703125
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"throughput": null,
|
131 |
+
"energy": null,
|
132 |
+
"efficiency": null
|
133 |
+
},
|
134 |
+
"prefill": {
|
135 |
+
"memory": {
|
136 |
+
"unit": "MB",
|
137 |
+
"max_ram": 1873.952768,
|
138 |
+
"max_global_vram": 6789.005312,
|
139 |
+
"max_process_vram": 0.0,
|
140 |
+
"max_reserved": 6138.363904,
|
141 |
+
"max_allocated": 5278.596608
|
142 |
+
},
|
143 |
+
"latency": {
|
144 |
+
"unit": "s",
|
145 |
+
"count": 2,
|
146 |
+
"total": 0.028340928077697752,
|
147 |
+
"mean": 0.014170464038848876,
|
148 |
+
"stdev": 0.00021305608749389634,
|
149 |
+
"p50": 0.014170464038848876,
|
150 |
+
"p90": 0.014340908908843994,
|
151 |
+
"p95": 0.014362214517593383,
|
152 |
+
"p99": 0.014379259004592896,
|
153 |
+
"values": [
|
154 |
+
0.01395740795135498,
|
155 |
+
0.014383520126342773
|
156 |
+
]
|
157 |
+
},
|
158 |
+
"throughput": {
|
159 |
+
"unit": "tokens/s",
|
160 |
+
"value": 493.98523441499367
|
161 |
+
},
|
162 |
+
"energy": null,
|
163 |
+
"efficiency": null
|
164 |
+
},
|
165 |
+
"decode": {
|
166 |
+
"memory": {
|
167 |
+
"unit": "MB",
|
168 |
+
"max_ram": 2043.879424,
|
169 |
+
"max_global_vram": 6071.779328,
|
170 |
+
"max_process_vram": 0.0,
|
171 |
+
"max_reserved": 5381.292032,
|
172 |
+
"max_allocated": 5282.647552
|
173 |
+
},
|
174 |
+
"latency": {
|
175 |
+
"unit": "s",
|
176 |
+
"count": 2,
|
177 |
+
"total": 3.13424609375,
|
178 |
+
"mean": 1.567123046875,
|
179 |
+
"stdev": 0.0002655029296875222,
|
180 |
+
"p50": 1.567123046875,
|
181 |
+
"p90": 1.5673354492187501,
|
182 |
+
"p95": 1.5673619995117187,
|
183 |
+
"p99": 1.5673832397460938,
|
184 |
+
"values": [
|
185 |
+
1.5673885498046876,
|
186 |
+
1.5668575439453125
|
187 |
+
]
|
188 |
+
},
|
189 |
+
"throughput": {
|
190 |
+
"unit": "tokens/s",
|
191 |
+
"value": 81.04022224244018
|
192 |
+
},
|
193 |
+
"energy": null,
|
194 |
+
"efficiency": null
|
195 |
+
},
|
196 |
+
"per_token": {
|
197 |
+
"memory": null,
|
198 |
+
"latency": {
|
199 |
+
"unit": "s",
|
200 |
+
"count": 254,
|
201 |
+
"total": 3.1339489192962664,
|
202 |
+
"mean": 0.012338381572032537,
|
203 |
+
"stdev": 8.663162427211916e-05,
|
204 |
+
"p50": 0.01231712007522583,
|
205 |
+
"p90": 0.012379545783996582,
|
206 |
+
"p95": 0.012446764850616455,
|
207 |
+
"p99": 0.012739040908813476,
|
208 |
+
"values": [
|
209 |
+
0.012309503555297852,
|
210 |
+
0.012309503555297852,
|
211 |
+
0.012385279655456542,
|
212 |
+
0.012306431770324706,
|
213 |
+
0.012336128234863282,
|
214 |
+
0.012332032203674317,
|
215 |
+
0.012309503555297852,
|
216 |
+
0.012303359985351562,
|
217 |
+
0.012318719863891601,
|
218 |
+
0.012312576293945313,
|
219 |
+
0.012310527801513671,
|
220 |
+
0.012301312446594239,
|
221 |
+
0.012313599586486817,
|
222 |
+
0.01247539234161377,
|
223 |
+
0.012326911926269531,
|
224 |
+
0.012390399932861328,
|
225 |
+
0.012513279914855957,
|
226 |
+
0.012552191734313965,
|
227 |
+
0.012812288284301757,
|
228 |
+
0.012370944023132324,
|
229 |
+
0.012333056449890138,
|
230 |
+
0.012447744369506837,
|
231 |
+
0.012304384231567383,
|
232 |
+
0.012309503555297852,
|
233 |
+
0.012481535911560059,
|
234 |
+
0.01234124755859375,
|
235 |
+
0.012311552047729492,
|
236 |
+
0.012300288200378418,
|
237 |
+
0.0123189115524292,
|
238 |
+
0.012316479682922363,
|
239 |
+
0.012344320297241211,
|
240 |
+
0.01232588768005371,
|
241 |
+
0.012446720123291016,
|
242 |
+
0.012313599586486817,
|
243 |
+
0.012305407524108887,
|
244 |
+
0.012304384231567383,
|
245 |
+
0.01234227180480957,
|
246 |
+
0.012331007957458496,
|
247 |
+
0.012299455642700196,
|
248 |
+
0.012299072265625,
|
249 |
+
0.012306431770324706,
|
250 |
+
0.012296192169189453,
|
251 |
+
0.012311552047729492,
|
252 |
+
0.012323840141296387,
|
253 |
+
0.01232588768005371,
|
254 |
+
0.012306431770324706,
|
255 |
+
0.012316672325134278,
|
256 |
+
0.012314656257629394,
|
257 |
+
0.012287967681884766,
|
258 |
+
0.012316672325134278,
|
259 |
+
0.012380160331726075,
|
260 |
+
0.012318719863891601,
|
261 |
+
0.012321791648864745,
|
262 |
+
0.01236787223815918,
|
263 |
+
0.012312576293945313,
|
264 |
+
0.012310527801513671,
|
265 |
+
0.012363776206970215,
|
266 |
+
0.012306495666503907,
|
267 |
+
0.012446847915649414,
|
268 |
+
0.012311360359191895,
|
269 |
+
0.012307456016540527,
|
270 |
+
0.01237299156188965,
|
271 |
+
0.012308480262756348,
|
272 |
+
0.012300288200378418,
|
273 |
+
0.01238425636291504,
|
274 |
+
0.012318719863891601,
|
275 |
+
0.012307456016540527,
|
276 |
+
0.012326911926269531,
|
277 |
+
0.012306431770324706,
|
278 |
+
0.012338175773620605,
|
279 |
+
0.012317695617675782,
|
280 |
+
0.012306431770324706,
|
281 |
+
0.012298239707946777,
|
282 |
+
0.0123504638671875,
|
283 |
+
0.012356639862060547,
|
284 |
+
0.012321760177612304,
|
285 |
+
0.012314623832702636,
|
286 |
+
0.012319744110107422,
|
287 |
+
0.012315648078918457,
|
288 |
+
0.012319744110107422,
|
289 |
+
0.012336223602294923,
|
290 |
+
0.012301216125488281,
|
291 |
+
0.012383232116699219,
|
292 |
+
0.012331007957458496,
|
293 |
+
0.01230038356781006,
|
294 |
+
0.012335007667541503,
|
295 |
+
0.012327936172485352,
|
296 |
+
0.012310527801513671,
|
297 |
+
0.012303359985351562,
|
298 |
+
0.01229312038421631,
|
299 |
+
0.012314623832702636,
|
300 |
+
0.012311552047729492,
|
301 |
+
0.012310527801513671,
|
302 |
+
0.012315648078918457,
|
303 |
+
0.012363776206970215,
|
304 |
+
0.012354559898376465,
|
305 |
+
0.012340224266052247,
|
306 |
+
0.012331007957458496,
|
307 |
+
0.0123504638671875,
|
308 |
+
0.012307456016540527,
|
309 |
+
0.012322815895080566,
|
310 |
+
0.012344320297241211,
|
311 |
+
0.012453887939453125,
|
312 |
+
0.012329983711242675,
|
313 |
+
0.012320768356323243,
|
314 |
+
0.012292096138000488,
|
315 |
+
0.012300352096557617,
|
316 |
+
0.012307392120361329,
|
317 |
+
0.012307456016540527,
|
318 |
+
0.012312576293945313,
|
319 |
+
0.012333056449890138,
|
320 |
+
0.012322815895080566,
|
321 |
+
0.012305407524108887,
|
322 |
+
0.012346367835998535,
|
323 |
+
0.012317695617675782,
|
324 |
+
0.012316672325134278,
|
325 |
+
0.01231372833251953,
|
326 |
+
0.012317567825317384,
|
327 |
+
0.012313599586486817,
|
328 |
+
0.012318719863891601,
|
329 |
+
0.012346367835998535,
|
330 |
+
0.012346367835998535,
|
331 |
+
0.012793855667114258,
|
332 |
+
0.012370944023132324,
|
333 |
+
0.012317695617675782,
|
334 |
+
0.012316672325134278,
|
335 |
+
0.012321791648864745,
|
336 |
+
0.012378111839294433,
|
337 |
+
0.012307456016540527,
|
338 |
+
0.012304384231567383,
|
339 |
+
0.01233510398864746,
|
340 |
+
0.012317695617675782,
|
341 |
+
0.012303359985351562,
|
342 |
+
0.012314623832702636,
|
343 |
+
0.012303359985351562,
|
344 |
+
0.012308480262756348,
|
345 |
+
0.012299263954162597,
|
346 |
+
0.012319744110107422,
|
347 |
+
0.01234233570098877,
|
348 |
+
0.012404671669006348,
|
349 |
+
0.012298239707946777,
|
350 |
+
0.012422143936157226,
|
351 |
+
0.012309503555297852,
|
352 |
+
0.012326911926269531,
|
353 |
+
0.012307456016540527,
|
354 |
+
0.012305407524108887,
|
355 |
+
0.012312576293945313,
|
356 |
+
0.012298239707946777,
|
357 |
+
0.012309503555297852,
|
358 |
+
0.012295167922973632,
|
359 |
+
0.012336128234863282,
|
360 |
+
0.012317695617675782,
|
361 |
+
0.012295167922973632,
|
362 |
+
0.012323840141296387,
|
363 |
+
0.012407808303833008,
|
364 |
+
0.012310527801513671,
|
365 |
+
0.012323840141296387,
|
366 |
+
0.012311552047729492,
|
367 |
+
0.012307456016540527,
|
368 |
+
0.012313599586486817,
|
369 |
+
0.012428288459777831,
|
370 |
+
0.012305407524108887,
|
371 |
+
0.01234124755859375,
|
372 |
+
0.012328960418701173,
|
373 |
+
0.012304384231567383,
|
374 |
+
0.012308480262756348,
|
375 |
+
0.01263923168182373,
|
376 |
+
0.012346367835998535,
|
377 |
+
0.012315648078918457,
|
378 |
+
0.012312576293945313,
|
379 |
+
0.012309503555297852,
|
380 |
+
0.012302335739135742,
|
381 |
+
0.012292096138000488,
|
382 |
+
0.012300288200378418,
|
383 |
+
0.012340224266052247,
|
384 |
+
0.012308480262756348,
|
385 |
+
0.012326911926269531,
|
386 |
+
0.01234329605102539,
|
387 |
+
0.012299263954162597,
|
388 |
+
0.012297216415405274,
|
389 |
+
0.012311552047729492,
|
390 |
+
0.012301312446594239,
|
391 |
+
0.012320768356323243,
|
392 |
+
0.012309503555297852,
|
393 |
+
0.012322815895080566,
|
394 |
+
0.012311552047729492,
|
395 |
+
0.012463104248046876,
|
396 |
+
0.01232588768005371,
|
397 |
+
0.012296192169189453,
|
398 |
+
0.012307456016540527,
|
399 |
+
0.012315648078918457,
|
400 |
+
0.012297216415405274,
|
401 |
+
0.012320768356323243,
|
402 |
+
0.012313599586486817,
|
403 |
+
0.012300288200378418,
|
404 |
+
0.01232588768005371,
|
405 |
+
0.012301312446594239,
|
406 |
+
0.012311552047729492,
|
407 |
+
0.012329983711242675,
|
408 |
+
0.012318719863891601,
|
409 |
+
0.012299263954162597,
|
410 |
+
0.012301312446594239,
|
411 |
+
0.012306431770324706,
|
412 |
+
0.012309503555297852,
|
413 |
+
0.012300288200378418,
|
414 |
+
0.012324864387512208,
|
415 |
+
0.012319744110107422,
|
416 |
+
0.012301376342773437,
|
417 |
+
0.012321727752685547,
|
418 |
+
0.012307456016540527,
|
419 |
+
0.012317695617675782,
|
420 |
+
0.012383232116699219,
|
421 |
+
0.01234227180480957,
|
422 |
+
0.012307456016540527,
|
423 |
+
0.012313599586486817,
|
424 |
+
0.012316672325134278,
|
425 |
+
0.012310527801513671,
|
426 |
+
0.012313664436340332,
|
427 |
+
0.012317631721496582,
|
428 |
+
0.012308480262756348,
|
429 |
+
0.012301312446594239,
|
430 |
+
0.012302335739135742,
|
431 |
+
0.012310591697692871,
|
432 |
+
0.012324799537658691,
|
433 |
+
0.01233510398864746,
|
434 |
+
0.012405759811401367,
|
435 |
+
0.012313599586486817,
|
436 |
+
0.012332032203674317,
|
437 |
+
0.01239244842529297,
|
438 |
+
0.012305407524108887,
|
439 |
+
0.012323840141296387,
|
440 |
+
0.012321791648864745,
|
441 |
+
0.012331007957458496,
|
442 |
+
0.012312576293945313,
|
443 |
+
0.012323840141296387,
|
444 |
+
0.012349439620971679,
|
445 |
+
0.012331007957458496,
|
446 |
+
0.012316672325134278,
|
447 |
+
0.012310527801513671,
|
448 |
+
0.012361727714538574,
|
449 |
+
0.012690431594848632,
|
450 |
+
0.01327616024017334,
|
451 |
+
0.012371968269348145,
|
452 |
+
0.012368895530700684,
|
453 |
+
0.012349439620971679,
|
454 |
+
0.012321791648864745,
|
455 |
+
0.012323840141296387,
|
456 |
+
0.012331007957458496,
|
457 |
+
0.012322815895080566,
|
458 |
+
0.012322815895080566,
|
459 |
+
0.012323840141296387,
|
460 |
+
0.012307456016540527,
|
461 |
+
0.012310527801513671,
|
462 |
+
0.01233407974243164
|
463 |
+
]
|
464 |
+
},
|
465 |
+
"throughput": {
|
466 |
+
"unit": "tokens/s",
|
467 |
+
"value": 81.04790682326639
|
468 |
+
},
|
469 |
+
"energy": null,
|
470 |
+
"efficiency": null
|
471 |
+
}
|
472 |
+
}
|
473 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.4.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model_type": "gemma",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"memory": true,
|
56 |
+
"latency": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"numactl": false,
|
72 |
+
"numactl_kwargs": {},
|
73 |
+
"start_method": "spawn"
|
74 |
+
},
|
75 |
+
"environment": {
|
76 |
+
"cpu": " AMD EPYC 7R32",
|
77 |
+
"cpu_count": 16,
|
78 |
+
"cpu_ram_mb": 66697.261056,
|
79 |
+
"system": "Linux",
|
80 |
+
"machine": "x86_64",
|
81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
82 |
+
"processor": "x86_64",
|
83 |
+
"python_version": "3.8.10",
|
84 |
+
"gpu": [
|
85 |
+
"NVIDIA A10G"
|
86 |
+
],
|
87 |
+
"gpu_count": 1,
|
88 |
+
"gpu_vram_mb": 24146608128,
|
89 |
+
"optimum_benchmark_version": "0.4.0",
|
90 |
+
"optimum_benchmark_commit": null,
|
91 |
+
"transformers_version": "4.45.0.dev0",
|
92 |
+
"transformers_commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
93 |
+
"accelerate_version": "0.34.0.dev0",
|
94 |
+
"accelerate_commit": null,
|
95 |
+
"diffusers_version": null,
|
96 |
+
"diffusers_commit": null,
|
97 |
+
"optimum_version": "1.22.0.dev0",
|
98 |
+
"optimum_commit": null,
|
99 |
+
"timm_version": "0.9.16",
|
100 |
+
"timm_commit": null,
|
101 |
+
"peft_version": "0.12.1.dev0",
|
102 |
+
"peft_commit": null
|
103 |
+
}
|
104 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"load": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1338.7776,
|
6 |
+
"max_global_vram": 6768.033792,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6138.363904,
|
9 |
+
"max_allocated": 6060.931072
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 1,
|
14 |
+
"total": 12.8823095703125,
|
15 |
+
"mean": 12.8823095703125,
|
16 |
+
"stdev": 0.0,
|
17 |
+
"p50": 12.8823095703125,
|
18 |
+
"p90": 12.8823095703125,
|
19 |
+
"p95": 12.8823095703125,
|
20 |
+
"p99": 12.8823095703125,
|
21 |
+
"values": [
|
22 |
+
12.8823095703125
|
23 |
+
]
|
24 |
+
},
|
25 |
+
"throughput": null,
|
26 |
+
"energy": null,
|
27 |
+
"efficiency": null
|
28 |
+
},
|
29 |
+
"prefill": {
|
30 |
+
"memory": {
|
31 |
+
"unit": "MB",
|
32 |
+
"max_ram": 1873.952768,
|
33 |
+
"max_global_vram": 6789.005312,
|
34 |
+
"max_process_vram": 0.0,
|
35 |
+
"max_reserved": 6138.363904,
|
36 |
+
"max_allocated": 5278.596608
|
37 |
+
},
|
38 |
+
"latency": {
|
39 |
+
"unit": "s",
|
40 |
+
"count": 2,
|
41 |
+
"total": 0.028340928077697752,
|
42 |
+
"mean": 0.014170464038848876,
|
43 |
+
"stdev": 0.00021305608749389634,
|
44 |
+
"p50": 0.014170464038848876,
|
45 |
+
"p90": 0.014340908908843994,
|
46 |
+
"p95": 0.014362214517593383,
|
47 |
+
"p99": 0.014379259004592896,
|
48 |
+
"values": [
|
49 |
+
0.01395740795135498,
|
50 |
+
0.014383520126342773
|
51 |
+
]
|
52 |
+
},
|
53 |
+
"throughput": {
|
54 |
+
"unit": "tokens/s",
|
55 |
+
"value": 493.98523441499367
|
56 |
+
},
|
57 |
+
"energy": null,
|
58 |
+
"efficiency": null
|
59 |
+
},
|
60 |
+
"decode": {
|
61 |
+
"memory": {
|
62 |
+
"unit": "MB",
|
63 |
+
"max_ram": 2043.879424,
|
64 |
+
"max_global_vram": 6071.779328,
|
65 |
+
"max_process_vram": 0.0,
|
66 |
+
"max_reserved": 5381.292032,
|
67 |
+
"max_allocated": 5282.647552
|
68 |
+
},
|
69 |
+
"latency": {
|
70 |
+
"unit": "s",
|
71 |
+
"count": 2,
|
72 |
+
"total": 3.13424609375,
|
73 |
+
"mean": 1.567123046875,
|
74 |
+
"stdev": 0.0002655029296875222,
|
75 |
+
"p50": 1.567123046875,
|
76 |
+
"p90": 1.5673354492187501,
|
77 |
+
"p95": 1.5673619995117187,
|
78 |
+
"p99": 1.5673832397460938,
|
79 |
+
"values": [
|
80 |
+
1.5673885498046876,
|
81 |
+
1.5668575439453125
|
82 |
+
]
|
83 |
+
},
|
84 |
+
"throughput": {
|
85 |
+
"unit": "tokens/s",
|
86 |
+
"value": 81.04022224244018
|
87 |
+
},
|
88 |
+
"energy": null,
|
89 |
+
"efficiency": null
|
90 |
+
},
|
91 |
+
"per_token": {
|
92 |
+
"memory": null,
|
93 |
+
"latency": {
|
94 |
+
"unit": "s",
|
95 |
+
"count": 254,
|
96 |
+
"total": 3.1339489192962664,
|
97 |
+
"mean": 0.012338381572032537,
|
98 |
+
"stdev": 8.663162427211916e-05,
|
99 |
+
"p50": 0.01231712007522583,
|
100 |
+
"p90": 0.012379545783996582,
|
101 |
+
"p95": 0.012446764850616455,
|
102 |
+
"p99": 0.012739040908813476,
|
103 |
+
"values": [
|
104 |
+
0.012309503555297852,
|
105 |
+
0.012309503555297852,
|
106 |
+
0.012385279655456542,
|
107 |
+
0.012306431770324706,
|
108 |
+
0.012336128234863282,
|
109 |
+
0.012332032203674317,
|
110 |
+
0.012309503555297852,
|
111 |
+
0.012303359985351562,
|
112 |
+
0.012318719863891601,
|
113 |
+
0.012312576293945313,
|
114 |
+
0.012310527801513671,
|
115 |
+
0.012301312446594239,
|
116 |
+
0.012313599586486817,
|
117 |
+
0.01247539234161377,
|
118 |
+
0.012326911926269531,
|
119 |
+
0.012390399932861328,
|
120 |
+
0.012513279914855957,
|
121 |
+
0.012552191734313965,
|
122 |
+
0.012812288284301757,
|
123 |
+
0.012370944023132324,
|
124 |
+
0.012333056449890138,
|
125 |
+
0.012447744369506837,
|
126 |
+
0.012304384231567383,
|
127 |
+
0.012309503555297852,
|
128 |
+
0.012481535911560059,
|
129 |
+
0.01234124755859375,
|
130 |
+
0.012311552047729492,
|
131 |
+
0.012300288200378418,
|
132 |
+
0.0123189115524292,
|
133 |
+
0.012316479682922363,
|
134 |
+
0.012344320297241211,
|
135 |
+
0.01232588768005371,
|
136 |
+
0.012446720123291016,
|
137 |
+
0.012313599586486817,
|
138 |
+
0.012305407524108887,
|
139 |
+
0.012304384231567383,
|
140 |
+
0.01234227180480957,
|
141 |
+
0.012331007957458496,
|
142 |
+
0.012299455642700196,
|
143 |
+
0.012299072265625,
|
144 |
+
0.012306431770324706,
|
145 |
+
0.012296192169189453,
|
146 |
+
0.012311552047729492,
|
147 |
+
0.012323840141296387,
|
148 |
+
0.01232588768005371,
|
149 |
+
0.012306431770324706,
|
150 |
+
0.012316672325134278,
|
151 |
+
0.012314656257629394,
|
152 |
+
0.012287967681884766,
|
153 |
+
0.012316672325134278,
|
154 |
+
0.012380160331726075,
|
155 |
+
0.012318719863891601,
|
156 |
+
0.012321791648864745,
|
157 |
+
0.01236787223815918,
|
158 |
+
0.012312576293945313,
|
159 |
+
0.012310527801513671,
|
160 |
+
0.012363776206970215,
|
161 |
+
0.012306495666503907,
|
162 |
+
0.012446847915649414,
|
163 |
+
0.012311360359191895,
|
164 |
+
0.012307456016540527,
|
165 |
+
0.01237299156188965,
|
166 |
+
0.012308480262756348,
|
167 |
+
0.012300288200378418,
|
168 |
+
0.01238425636291504,
|
169 |
+
0.012318719863891601,
|
170 |
+
0.012307456016540527,
|
171 |
+
0.012326911926269531,
|
172 |
+
0.012306431770324706,
|
173 |
+
0.012338175773620605,
|
174 |
+
0.012317695617675782,
|
175 |
+
0.012306431770324706,
|
176 |
+
0.012298239707946777,
|
177 |
+
0.0123504638671875,
|
178 |
+
0.012356639862060547,
|
179 |
+
0.012321760177612304,
|
180 |
+
0.012314623832702636,
|
181 |
+
0.012319744110107422,
|
182 |
+
0.012315648078918457,
|
183 |
+
0.012319744110107422,
|
184 |
+
0.012336223602294923,
|
185 |
+
0.012301216125488281,
|
186 |
+
0.012383232116699219,
|
187 |
+
0.012331007957458496,
|
188 |
+
0.01230038356781006,
|
189 |
+
0.012335007667541503,
|
190 |
+
0.012327936172485352,
|
191 |
+
0.012310527801513671,
|
192 |
+
0.012303359985351562,
|
193 |
+
0.01229312038421631,
|
194 |
+
0.012314623832702636,
|
195 |
+
0.012311552047729492,
|
196 |
+
0.012310527801513671,
|
197 |
+
0.012315648078918457,
|
198 |
+
0.012363776206970215,
|
199 |
+
0.012354559898376465,
|
200 |
+
0.012340224266052247,
|
201 |
+
0.012331007957458496,
|
202 |
+
0.0123504638671875,
|
203 |
+
0.012307456016540527,
|
204 |
+
0.012322815895080566,
|
205 |
+
0.012344320297241211,
|
206 |
+
0.012453887939453125,
|
207 |
+
0.012329983711242675,
|
208 |
+
0.012320768356323243,
|
209 |
+
0.012292096138000488,
|
210 |
+
0.012300352096557617,
|
211 |
+
0.012307392120361329,
|
212 |
+
0.012307456016540527,
|
213 |
+
0.012312576293945313,
|
214 |
+
0.012333056449890138,
|
215 |
+
0.012322815895080566,
|
216 |
+
0.012305407524108887,
|
217 |
+
0.012346367835998535,
|
218 |
+
0.012317695617675782,
|
219 |
+
0.012316672325134278,
|
220 |
+
0.01231372833251953,
|
221 |
+
0.012317567825317384,
|
222 |
+
0.012313599586486817,
|
223 |
+
0.012318719863891601,
|
224 |
+
0.012346367835998535,
|
225 |
+
0.012346367835998535,
|
226 |
+
0.012793855667114258,
|
227 |
+
0.012370944023132324,
|
228 |
+
0.012317695617675782,
|
229 |
+
0.012316672325134278,
|
230 |
+
0.012321791648864745,
|
231 |
+
0.012378111839294433,
|
232 |
+
0.012307456016540527,
|
233 |
+
0.012304384231567383,
|
234 |
+
0.01233510398864746,
|
235 |
+
0.012317695617675782,
|
236 |
+
0.012303359985351562,
|
237 |
+
0.012314623832702636,
|
238 |
+
0.012303359985351562,
|
239 |
+
0.012308480262756348,
|
240 |
+
0.012299263954162597,
|
241 |
+
0.012319744110107422,
|
242 |
+
0.01234233570098877,
|
243 |
+
0.012404671669006348,
|
244 |
+
0.012298239707946777,
|
245 |
+
0.012422143936157226,
|
246 |
+
0.012309503555297852,
|
247 |
+
0.012326911926269531,
|
248 |
+
0.012307456016540527,
|
249 |
+
0.012305407524108887,
|
250 |
+
0.012312576293945313,
|
251 |
+
0.012298239707946777,
|
252 |
+
0.012309503555297852,
|
253 |
+
0.012295167922973632,
|
254 |
+
0.012336128234863282,
|
255 |
+
0.012317695617675782,
|
256 |
+
0.012295167922973632,
|
257 |
+
0.012323840141296387,
|
258 |
+
0.012407808303833008,
|
259 |
+
0.012310527801513671,
|
260 |
+
0.012323840141296387,
|
261 |
+
0.012311552047729492,
|
262 |
+
0.012307456016540527,
|
263 |
+
0.012313599586486817,
|
264 |
+
0.012428288459777831,
|
265 |
+
0.012305407524108887,
|
266 |
+
0.01234124755859375,
|
267 |
+
0.012328960418701173,
|
268 |
+
0.012304384231567383,
|
269 |
+
0.012308480262756348,
|
270 |
+
0.01263923168182373,
|
271 |
+
0.012346367835998535,
|
272 |
+
0.012315648078918457,
|
273 |
+
0.012312576293945313,
|
274 |
+
0.012309503555297852,
|
275 |
+
0.012302335739135742,
|
276 |
+
0.012292096138000488,
|
277 |
+
0.012300288200378418,
|
278 |
+
0.012340224266052247,
|
279 |
+
0.012308480262756348,
|
280 |
+
0.012326911926269531,
|
281 |
+
0.01234329605102539,
|
282 |
+
0.012299263954162597,
|
283 |
+
0.012297216415405274,
|
284 |
+
0.012311552047729492,
|
285 |
+
0.012301312446594239,
|
286 |
+
0.012320768356323243,
|
287 |
+
0.012309503555297852,
|
288 |
+
0.012322815895080566,
|
289 |
+
0.012311552047729492,
|
290 |
+
0.012463104248046876,
|
291 |
+
0.01232588768005371,
|
292 |
+
0.012296192169189453,
|
293 |
+
0.012307456016540527,
|
294 |
+
0.012315648078918457,
|
295 |
+
0.012297216415405274,
|
296 |
+
0.012320768356323243,
|
297 |
+
0.012313599586486817,
|
298 |
+
0.012300288200378418,
|
299 |
+
0.01232588768005371,
|
300 |
+
0.012301312446594239,
|
301 |
+
0.012311552047729492,
|
302 |
+
0.012329983711242675,
|
303 |
+
0.012318719863891601,
|
304 |
+
0.012299263954162597,
|
305 |
+
0.012301312446594239,
|
306 |
+
0.012306431770324706,
|
307 |
+
0.012309503555297852,
|
308 |
+
0.012300288200378418,
|
309 |
+
0.012324864387512208,
|
310 |
+
0.012319744110107422,
|
311 |
+
0.012301376342773437,
|
312 |
+
0.012321727752685547,
|
313 |
+
0.012307456016540527,
|
314 |
+
0.012317695617675782,
|
315 |
+
0.012383232116699219,
|
316 |
+
0.01234227180480957,
|
317 |
+
0.012307456016540527,
|
318 |
+
0.012313599586486817,
|
319 |
+
0.012316672325134278,
|
320 |
+
0.012310527801513671,
|
321 |
+
0.012313664436340332,
|
322 |
+
0.012317631721496582,
|
323 |
+
0.012308480262756348,
|
324 |
+
0.012301312446594239,
|
325 |
+
0.012302335739135742,
|
326 |
+
0.012310591697692871,
|
327 |
+
0.012324799537658691,
|
328 |
+
0.01233510398864746,
|
329 |
+
0.012405759811401367,
|
330 |
+
0.012313599586486817,
|
331 |
+
0.012332032203674317,
|
332 |
+
0.01239244842529297,
|
333 |
+
0.012305407524108887,
|
334 |
+
0.012323840141296387,
|
335 |
+
0.012321791648864745,
|
336 |
+
0.012331007957458496,
|
337 |
+
0.012312576293945313,
|
338 |
+
0.012323840141296387,
|
339 |
+
0.012349439620971679,
|
340 |
+
0.012331007957458496,
|
341 |
+
0.012316672325134278,
|
342 |
+
0.012310527801513671,
|
343 |
+
0.012361727714538574,
|
344 |
+
0.012690431594848632,
|
345 |
+
0.01327616024017334,
|
346 |
+
0.012371968269348145,
|
347 |
+
0.012368895530700684,
|
348 |
+
0.012349439620971679,
|
349 |
+
0.012321791648864745,
|
350 |
+
0.012323840141296387,
|
351 |
+
0.012331007957458496,
|
352 |
+
0.012322815895080566,
|
353 |
+
0.012322815895080566,
|
354 |
+
0.012323840141296387,
|
355 |
+
0.012307456016540527,
|
356 |
+
0.012310527801513671,
|
357 |
+
0.01233407974243164
|
358 |
+
]
|
359 |
+
},
|
360 |
+
"throughput": {
|
361 |
+
"unit": "tokens/s",
|
362 |
+
"value": 81.04790682326639
|
363 |
+
},
|
364 |
+
"energy": null,
|
365 |
+
"efficiency": null
|
366 |
+
}
|
367 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/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": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014170464038848876,
|
7 |
+
"prefill.throughput.value": 493.98523441499367,
|
8 |
+
"decode.latency.mean": 1.567123046875,
|
9 |
+
"decode.throughput.value": 81.04022224244018,
|
10 |
+
"per_token.latency.mean": 0.012338381572032537,
|
11 |
+
"per_token.throughput.value": 81.04790682326639
|
12 |
+
}
|
13 |
+
}
|
2024-09-02/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/multirun.yaml
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpk5v1b6pj/commit=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
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/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
88 |
+
- hydra.run.dir=_benchmark/tmpk5v1b6pj/commit\=2e3f8f74747deeeead6cf1f0c12cf01bd7169b82/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.4.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model_type: null
|
150 |
+
model: google/gemma-2b
|
151 |
+
processor: null
|
152 |
+
device: cuda
|
153 |
+
device_ids: '0'
|
154 |
+
seed: 42
|
155 |
+
inter_op_num_threads: null
|
156 |
+
intra_op_num_threads: null
|
157 |
+
model_kwargs: {}
|
158 |
+
processor_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
memory: true
|
192 |
+
latency: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
numactl: false
|
206 |
+
numactl_kwargs: {}
|
207 |
+
start_method: spawn
|
208 |
+
environment:
|
209 |
+
cpu: ' AMD EPYC 7R32'
|
210 |
+
cpu_count: 16
|
211 |
+
cpu_ram_mb: 66697.261056
|
212 |
+
system: Linux
|
213 |
+
machine: x86_64
|
214 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
215 |
+
processor: x86_64
|
216 |
+
python_version: 3.8.10
|
217 |
+
gpu:
|
218 |
+
- NVIDIA A10G
|
219 |
+
gpu_count: 1
|
220 |
+
gpu_vram_mb: 24146608128
|
221 |
+
optimum_benchmark_version: 0.4.0
|
222 |
+
optimum_benchmark_commit: null
|
223 |
+
transformers_version: 4.45.0.dev0
|
224 |
+
transformers_commit: 2e3f8f74747deeeead6cf1f0c12cf01bd7169b82
|
225 |
+
accelerate_version: 0.34.0.dev0
|
226 |
+
accelerate_commit: null
|
227 |
+
diffusers_version: null
|
228 |
+
diffusers_commit: null
|
229 |
+
optimum_version: 1.22.0.dev0
|
230 |
+
optimum_commit: null
|
231 |
+
timm_version: 0.9.16
|
232 |
+
timm_commit: null
|
233 |
+
peft_version: 0.12.1.dev0
|
234 |
+
peft_commit: null
|
2024-09-02/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020818703651428225,
|
8 |
+
"prefill.throughput.value": 336.2361133143744,
|
9 |
+
"decode.latency.mean": 2.5248167724609374,
|
10 |
+
"decode.throughput.value": 50.30067979000836,
|
11 |
+
"per_token.latency.mean": 0.019879149895014724,
|
12 |
+
"per_token.throughput.value": 50.303961954166816
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02216444778442383,
|
21 |
+
"prefill.throughput.value": 315.8210873595183,
|
22 |
+
"decode.latency.mean": 2.5914827880859375,
|
23 |
+
"decode.throughput.value": 49.00669245571254,
|
24 |
+
"per_token.latency.mean": 0.020404336876756562,
|
25 |
+
"per_token.throughput.value": 49.00918888175886
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "2e3f8f74747deeeead6cf1f0c12cf01bd7169b82",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014170464038848876,
|
34 |
+
"prefill.throughput.value": 493.98523441499367,
|
35 |
+
"decode.latency.mean": 1.567123046875,
|
36 |
+
"decode.throughput.value": 81.04022224244018,
|
37 |
+
"per_token.latency.mean": 0.012338381572032537,
|
38 |
+
"per_token.throughput.value": 81.04790682326639
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-09-02/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"2e3f8f74747deeeead6cf1f0c12cf01bd7169b82": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020818703651428225,
|
7 |
+
"prefill.throughput.value": 336.2361133143744,
|
8 |
+
"decode.latency.mean": 2.5248167724609374,
|
9 |
+
"decode.throughput.value": 50.30067979000836,
|
10 |
+
"per_token.latency.mean": 0.019879149895014724,
|
11 |
+
"per_token.throughput.value": 50.303961954166816
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"2e3f8f74747deeeead6cf1f0c12cf01bd7169b82": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02216444778442383,
|
19 |
+
"prefill.throughput.value": 315.8210873595183,
|
20 |
+
"decode.latency.mean": 2.5914827880859375,
|
21 |
+
"decode.throughput.value": 49.00669245571254,
|
22 |
+
"per_token.latency.mean": 0.020404336876756562,
|
23 |
+
"per_token.throughput.value": 49.00918888175886
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"2e3f8f74747deeeead6cf1f0c12cf01bd7169b82": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014170464038848876,
|
31 |
+
"prefill.throughput.value": 493.98523441499367,
|
32 |
+
"decode.latency.mean": 1.567123046875,
|
33 |
+
"decode.throughput.value": 81.04022224244018,
|
34 |
+
"per_token.latency.mean": 0.012338381572032537,
|
35 |
+
"per_token.throughput.value": 81.04790682326639
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|