hf-transformers-bot
commited on
Upload folder using huggingface_hub
Browse files- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/multirun.yaml +232 -0
- 2024-07-02/summaries.json +41 -0
- 2024-07-02/summary.json +40 -0
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.43.0.dev0
|
81 |
+
transformers_commit: 3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
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/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
88 |
+
- hydra.run.dir=_benchmark/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.43.0.dev0",
|
91 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1711.857664,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5034.576896
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.04620659065246582,
|
118 |
+
"mean": 0.02310329532623291,
|
119 |
+
"stdev": 0.0035529279708862316,
|
120 |
+
"p50": 0.02310329532623291,
|
121 |
+
"p90": 0.025945637702941896,
|
122 |
+
"p95": 0.026300930500030517,
|
123 |
+
"p99": 0.026585164737701415,
|
124 |
+
"values": [
|
125 |
+
0.02665622329711914,
|
126 |
+
0.019550367355346678
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 302.9870804643079
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1711.931392,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5034.577408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.867532958984375,
|
149 |
+
"mean": 2.4337664794921876,
|
150 |
+
"stdev": 0.015480102539062512,
|
151 |
+
"p50": 2.4337664794921876,
|
152 |
+
"p90": 2.4461505615234374,
|
153 |
+
"p95": 2.4476985717773436,
|
154 |
+
"p99": 2.4489369799804686,
|
155 |
+
"values": [
|
156 |
+
2.44924658203125,
|
157 |
+
2.418286376953125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.18249206328905
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 4.867144712448121,
|
173 |
+
"mean": 0.019237726136158578,
|
174 |
+
"stdev": 0.0012564326890738364,
|
175 |
+
"p50": 0.0190699520111084,
|
176 |
+
"p90": 0.01954590721130371,
|
177 |
+
"p95": 0.01970728988647461,
|
178 |
+
"p99": 0.02013904914855957,
|
179 |
+
"values": [
|
180 |
+
0.021320703506469727,
|
181 |
+
0.02007859230041504,
|
182 |
+
0.02004582405090332,
|
183 |
+
0.01984614372253418,
|
184 |
+
0.01948569679260254,
|
185 |
+
0.019529727935791014,
|
186 |
+
0.019696640014648437,
|
187 |
+
0.019303455352783203,
|
188 |
+
0.019347423553466796,
|
189 |
+
0.01943756866455078,
|
190 |
+
0.01964339256286621,
|
191 |
+
0.019535871505737306,
|
192 |
+
0.019372032165527343,
|
193 |
+
0.019491840362548828,
|
194 |
+
0.01980723190307617,
|
195 |
+
0.01968639945983887,
|
196 |
+
0.019575807571411134,
|
197 |
+
0.019506175994873046,
|
198 |
+
0.019746816635131836,
|
199 |
+
0.019540992736816407,
|
200 |
+
0.019583999633789064,
|
201 |
+
0.019361791610717775,
|
202 |
+
0.01923174476623535,
|
203 |
+
0.019313663482666017,
|
204 |
+
0.019520511627197267,
|
205 |
+
0.019418111801147463,
|
206 |
+
0.019307519912719725,
|
207 |
+
0.019546112060546874,
|
208 |
+
0.019680255889892577,
|
209 |
+
0.01990553665161133,
|
210 |
+
0.019389440536499023,
|
211 |
+
0.019636224746704102,
|
212 |
+
0.01945919990539551,
|
213 |
+
0.01931046485900879,
|
214 |
+
0.019545087814331053,
|
215 |
+
0.019515392303466796,
|
216 |
+
0.019574783325195313,
|
217 |
+
0.01923072052001953,
|
218 |
+
0.019409919738769533,
|
219 |
+
0.019289087295532227,
|
220 |
+
0.019525632858276368,
|
221 |
+
0.019360767364501954,
|
222 |
+
0.019151872634887695,
|
223 |
+
0.0192225284576416,
|
224 |
+
0.01900748825073242,
|
225 |
+
0.019200000762939453,
|
226 |
+
0.019289087295532227,
|
227 |
+
0.019628032684326172,
|
228 |
+
0.01922764778137207,
|
229 |
+
0.0188272647857666,
|
230 |
+
0.018861055374145508,
|
231 |
+
0.019098623275756836,
|
232 |
+
0.01981439971923828,
|
233 |
+
0.019390464782714844,
|
234 |
+
0.01941094398498535,
|
235 |
+
0.019203071594238282,
|
236 |
+
0.01905356788635254,
|
237 |
+
0.019175424575805664,
|
238 |
+
0.0190515193939209,
|
239 |
+
0.019078144073486326,
|
240 |
+
0.01905561637878418,
|
241 |
+
0.019102720260620116,
|
242 |
+
0.019017728805541992,
|
243 |
+
0.018947071075439453,
|
244 |
+
0.01906585693359375,
|
245 |
+
0.019129344940185547,
|
246 |
+
0.018955263137817382,
|
247 |
+
0.019110912322998046,
|
248 |
+
0.019050495147705078,
|
249 |
+
0.01903411293029785,
|
250 |
+
0.018954240798950195,
|
251 |
+
0.019138559341430664,
|
252 |
+
0.019021823883056642,
|
253 |
+
0.018975744247436522,
|
254 |
+
0.01904640007019043,
|
255 |
+
0.018925567626953126,
|
256 |
+
0.01907711982727051,
|
257 |
+
0.01899622344970703,
|
258 |
+
0.018966527938842775,
|
259 |
+
0.019105791091918945,
|
260 |
+
0.019082239151000976,
|
261 |
+
0.0190382080078125,
|
262 |
+
0.019117055892944337,
|
263 |
+
0.019094528198242186,
|
264 |
+
0.01906790351867676,
|
265 |
+
0.019109024047851562,
|
266 |
+
0.018970464706420897,
|
267 |
+
0.018994176864624023,
|
268 |
+
0.01921843147277832,
|
269 |
+
0.019137535095214844,
|
270 |
+
0.019006464004516603,
|
271 |
+
0.019001344680786132,
|
272 |
+
0.01900851249694824,
|
273 |
+
0.019042303085327148,
|
274 |
+
0.019143680572509765,
|
275 |
+
0.019438592910766602,
|
276 |
+
0.019145727157592773,
|
277 |
+
0.01904332733154297,
|
278 |
+
0.019129344940185547,
|
279 |
+
0.018991104125976564,
|
280 |
+
0.018997247695922852,
|
281 |
+
0.01898700714111328,
|
282 |
+
0.01908940887451172,
|
283 |
+
0.019321855545043946,
|
284 |
+
0.020204544067382812,
|
285 |
+
0.01962291145324707,
|
286 |
+
0.019102720260620116,
|
287 |
+
0.01924812889099121,
|
288 |
+
0.019175424575805664,
|
289 |
+
0.01904025650024414,
|
290 |
+
0.019124223709106446,
|
291 |
+
0.0190699520111084,
|
292 |
+
0.01904332733154297,
|
293 |
+
0.018970624923706055,
|
294 |
+
0.018952192306518553,
|
295 |
+
0.01986867141723633,
|
296 |
+
0.01943244743347168,
|
297 |
+
0.01905766487121582,
|
298 |
+
0.019080192565917968,
|
299 |
+
0.01904844856262207,
|
300 |
+
0.019143680572509765,
|
301 |
+
0.01920512008666992,
|
302 |
+
0.019138559341430664,
|
303 |
+
0.019125247955322267,
|
304 |
+
0.01900748825073242,
|
305 |
+
0.018961408615112304,
|
306 |
+
0.03861708831787109,
|
307 |
+
0.018956287384033203,
|
308 |
+
0.018973888397216795,
|
309 |
+
0.018892608642578124,
|
310 |
+
0.01882931137084961,
|
311 |
+
0.018906112670898437,
|
312 |
+
0.018874368667602538,
|
313 |
+
0.01878835105895996,
|
314 |
+
0.018735103607177735,
|
315 |
+
0.018885631561279297,
|
316 |
+
0.019002368927001953,
|
317 |
+
0.01891334342956543,
|
318 |
+
0.019059648513793947,
|
319 |
+
0.0188221435546875,
|
320 |
+
0.01889587211608887,
|
321 |
+
0.018920448303222655,
|
322 |
+
0.018983936309814452,
|
323 |
+
0.018907136917114258,
|
324 |
+
0.018880512237548826,
|
325 |
+
0.01883033561706543,
|
326 |
+
0.019001344680786132,
|
327 |
+
0.01880166435241699,
|
328 |
+
0.01880575942993164,
|
329 |
+
0.01901260757446289,
|
330 |
+
0.018929664611816405,
|
331 |
+
0.018950143814086915,
|
332 |
+
0.018959360122680666,
|
333 |
+
0.018902015686035157,
|
334 |
+
0.018919424057006837,
|
335 |
+
0.01884979248046875,
|
336 |
+
0.019909631729125975,
|
337 |
+
0.01922355270385742,
|
338 |
+
0.01902796745300293,
|
339 |
+
0.018988031387329102,
|
340 |
+
0.01905766487121582,
|
341 |
+
0.018962432861328125,
|
342 |
+
0.01883750343322754,
|
343 |
+
0.01884979248046875,
|
344 |
+
0.0190382080078125,
|
345 |
+
0.018925567626953126,
|
346 |
+
0.01940787124633789,
|
347 |
+
0.01919385528564453,
|
348 |
+
0.0188723201751709,
|
349 |
+
0.018840576171875,
|
350 |
+
0.01879756736755371,
|
351 |
+
0.018973695755004884,
|
352 |
+
0.01900032043457031,
|
353 |
+
0.018832384109497072,
|
354 |
+
0.01885491180419922,
|
355 |
+
0.018892799377441406,
|
356 |
+
0.01880985641479492,
|
357 |
+
0.018856960296630858,
|
358 |
+
0.01887539291381836,
|
359 |
+
0.01886720085144043,
|
360 |
+
0.01904844856262207,
|
361 |
+
0.018873344421386717,
|
362 |
+
0.0190248966217041,
|
363 |
+
0.019164159774780275,
|
364 |
+
0.01927884864807129,
|
365 |
+
0.019169279098510742,
|
366 |
+
0.019092479705810548,
|
367 |
+
0.01903513526916504,
|
368 |
+
0.018985984802246093,
|
369 |
+
0.01897881507873535,
|
370 |
+
0.018994176864624023,
|
371 |
+
0.019151872634887695,
|
372 |
+
0.019142656326293944,
|
373 |
+
0.018955263137817382,
|
374 |
+
0.019082239151000976,
|
375 |
+
0.01902079963684082,
|
376 |
+
0.01924710464477539,
|
377 |
+
0.01919795227050781,
|
378 |
+
0.01899929618835449,
|
379 |
+
0.01904332733154297,
|
380 |
+
0.01906483268737793,
|
381 |
+
0.01903718376159668,
|
382 |
+
0.018989055633544923,
|
383 |
+
0.01920204734802246,
|
384 |
+
0.01899622344970703,
|
385 |
+
0.01902284812927246,
|
386 |
+
0.019208192825317383,
|
387 |
+
0.019161088943481445,
|
388 |
+
0.01941913604736328,
|
389 |
+
0.019215360641479492,
|
390 |
+
0.018754560470581053,
|
391 |
+
0.018981887817382814,
|
392 |
+
0.018966527938842775,
|
393 |
+
0.01924095916748047,
|
394 |
+
0.019149824142456053,
|
395 |
+
0.019056640625,
|
396 |
+
0.01924095916748047,
|
397 |
+
0.018966527938842775,
|
398 |
+
0.01965465545654297,
|
399 |
+
0.019284992218017577,
|
400 |
+
0.019388416290283202,
|
401 |
+
0.019723264694213868,
|
402 |
+
0.01962188720703125,
|
403 |
+
0.019538944244384765,
|
404 |
+
0.01924095916748047,
|
405 |
+
0.01903206443786621,
|
406 |
+
0.018953216552734374,
|
407 |
+
0.01904844856262207,
|
408 |
+
0.019175424575805664,
|
409 |
+
0.01904128074645996,
|
410 |
+
0.018927616119384767,
|
411 |
+
0.01904332733154297,
|
412 |
+
0.019128320693969726,
|
413 |
+
0.018949119567871094,
|
414 |
+
0.019130367279052735,
|
415 |
+
0.019145727157592773,
|
416 |
+
0.01919385528564453,
|
417 |
+
0.019056640625,
|
418 |
+
0.019098623275756836,
|
419 |
+
0.018928640365600585,
|
420 |
+
0.019079168319702147,
|
421 |
+
0.01920921516418457,
|
422 |
+
0.018920448303222655,
|
423 |
+
0.018968576431274413,
|
424 |
+
0.019138559341430664,
|
425 |
+
0.01903001594543457,
|
426 |
+
0.018994176864624023,
|
427 |
+
0.01904640007019043,
|
428 |
+
0.01905561637878418,
|
429 |
+
0.01900339126586914,
|
430 |
+
0.01901260757446289,
|
431 |
+
0.019162111282348633,
|
432 |
+
0.019075071334838867
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.98119533058712
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.43.0.dev0",
|
90 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1711.857664,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5034.576896
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.04620659065246582,
|
15 |
+
"mean": 0.02310329532623291,
|
16 |
+
"stdev": 0.0035529279708862316,
|
17 |
+
"p50": 0.02310329532623291,
|
18 |
+
"p90": 0.025945637702941896,
|
19 |
+
"p95": 0.026300930500030517,
|
20 |
+
"p99": 0.026585164737701415,
|
21 |
+
"values": [
|
22 |
+
0.02665622329711914,
|
23 |
+
0.019550367355346678
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 302.9870804643079
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1711.931392,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5034.577408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.867532958984375,
|
46 |
+
"mean": 2.4337664794921876,
|
47 |
+
"stdev": 0.015480102539062512,
|
48 |
+
"p50": 2.4337664794921876,
|
49 |
+
"p90": 2.4461505615234374,
|
50 |
+
"p95": 2.4476985717773436,
|
51 |
+
"p99": 2.4489369799804686,
|
52 |
+
"values": [
|
53 |
+
2.44924658203125,
|
54 |
+
2.418286376953125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.18249206328905
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 4.867144712448121,
|
70 |
+
"mean": 0.019237726136158578,
|
71 |
+
"stdev": 0.0012564326890738364,
|
72 |
+
"p50": 0.0190699520111084,
|
73 |
+
"p90": 0.01954590721130371,
|
74 |
+
"p95": 0.01970728988647461,
|
75 |
+
"p99": 0.02013904914855957,
|
76 |
+
"values": [
|
77 |
+
0.021320703506469727,
|
78 |
+
0.02007859230041504,
|
79 |
+
0.02004582405090332,
|
80 |
+
0.01984614372253418,
|
81 |
+
0.01948569679260254,
|
82 |
+
0.019529727935791014,
|
83 |
+
0.019696640014648437,
|
84 |
+
0.019303455352783203,
|
85 |
+
0.019347423553466796,
|
86 |
+
0.01943756866455078,
|
87 |
+
0.01964339256286621,
|
88 |
+
0.019535871505737306,
|
89 |
+
0.019372032165527343,
|
90 |
+
0.019491840362548828,
|
91 |
+
0.01980723190307617,
|
92 |
+
0.01968639945983887,
|
93 |
+
0.019575807571411134,
|
94 |
+
0.019506175994873046,
|
95 |
+
0.019746816635131836,
|
96 |
+
0.019540992736816407,
|
97 |
+
0.019583999633789064,
|
98 |
+
0.019361791610717775,
|
99 |
+
0.01923174476623535,
|
100 |
+
0.019313663482666017,
|
101 |
+
0.019520511627197267,
|
102 |
+
0.019418111801147463,
|
103 |
+
0.019307519912719725,
|
104 |
+
0.019546112060546874,
|
105 |
+
0.019680255889892577,
|
106 |
+
0.01990553665161133,
|
107 |
+
0.019389440536499023,
|
108 |
+
0.019636224746704102,
|
109 |
+
0.01945919990539551,
|
110 |
+
0.01931046485900879,
|
111 |
+
0.019545087814331053,
|
112 |
+
0.019515392303466796,
|
113 |
+
0.019574783325195313,
|
114 |
+
0.01923072052001953,
|
115 |
+
0.019409919738769533,
|
116 |
+
0.019289087295532227,
|
117 |
+
0.019525632858276368,
|
118 |
+
0.019360767364501954,
|
119 |
+
0.019151872634887695,
|
120 |
+
0.0192225284576416,
|
121 |
+
0.01900748825073242,
|
122 |
+
0.019200000762939453,
|
123 |
+
0.019289087295532227,
|
124 |
+
0.019628032684326172,
|
125 |
+
0.01922764778137207,
|
126 |
+
0.0188272647857666,
|
127 |
+
0.018861055374145508,
|
128 |
+
0.019098623275756836,
|
129 |
+
0.01981439971923828,
|
130 |
+
0.019390464782714844,
|
131 |
+
0.01941094398498535,
|
132 |
+
0.019203071594238282,
|
133 |
+
0.01905356788635254,
|
134 |
+
0.019175424575805664,
|
135 |
+
0.0190515193939209,
|
136 |
+
0.019078144073486326,
|
137 |
+
0.01905561637878418,
|
138 |
+
0.019102720260620116,
|
139 |
+
0.019017728805541992,
|
140 |
+
0.018947071075439453,
|
141 |
+
0.01906585693359375,
|
142 |
+
0.019129344940185547,
|
143 |
+
0.018955263137817382,
|
144 |
+
0.019110912322998046,
|
145 |
+
0.019050495147705078,
|
146 |
+
0.01903411293029785,
|
147 |
+
0.018954240798950195,
|
148 |
+
0.019138559341430664,
|
149 |
+
0.019021823883056642,
|
150 |
+
0.018975744247436522,
|
151 |
+
0.01904640007019043,
|
152 |
+
0.018925567626953126,
|
153 |
+
0.01907711982727051,
|
154 |
+
0.01899622344970703,
|
155 |
+
0.018966527938842775,
|
156 |
+
0.019105791091918945,
|
157 |
+
0.019082239151000976,
|
158 |
+
0.0190382080078125,
|
159 |
+
0.019117055892944337,
|
160 |
+
0.019094528198242186,
|
161 |
+
0.01906790351867676,
|
162 |
+
0.019109024047851562,
|
163 |
+
0.018970464706420897,
|
164 |
+
0.018994176864624023,
|
165 |
+
0.01921843147277832,
|
166 |
+
0.019137535095214844,
|
167 |
+
0.019006464004516603,
|
168 |
+
0.019001344680786132,
|
169 |
+
0.01900851249694824,
|
170 |
+
0.019042303085327148,
|
171 |
+
0.019143680572509765,
|
172 |
+
0.019438592910766602,
|
173 |
+
0.019145727157592773,
|
174 |
+
0.01904332733154297,
|
175 |
+
0.019129344940185547,
|
176 |
+
0.018991104125976564,
|
177 |
+
0.018997247695922852,
|
178 |
+
0.01898700714111328,
|
179 |
+
0.01908940887451172,
|
180 |
+
0.019321855545043946,
|
181 |
+
0.020204544067382812,
|
182 |
+
0.01962291145324707,
|
183 |
+
0.019102720260620116,
|
184 |
+
0.01924812889099121,
|
185 |
+
0.019175424575805664,
|
186 |
+
0.01904025650024414,
|
187 |
+
0.019124223709106446,
|
188 |
+
0.0190699520111084,
|
189 |
+
0.01904332733154297,
|
190 |
+
0.018970624923706055,
|
191 |
+
0.018952192306518553,
|
192 |
+
0.01986867141723633,
|
193 |
+
0.01943244743347168,
|
194 |
+
0.01905766487121582,
|
195 |
+
0.019080192565917968,
|
196 |
+
0.01904844856262207,
|
197 |
+
0.019143680572509765,
|
198 |
+
0.01920512008666992,
|
199 |
+
0.019138559341430664,
|
200 |
+
0.019125247955322267,
|
201 |
+
0.01900748825073242,
|
202 |
+
0.018961408615112304,
|
203 |
+
0.03861708831787109,
|
204 |
+
0.018956287384033203,
|
205 |
+
0.018973888397216795,
|
206 |
+
0.018892608642578124,
|
207 |
+
0.01882931137084961,
|
208 |
+
0.018906112670898437,
|
209 |
+
0.018874368667602538,
|
210 |
+
0.01878835105895996,
|
211 |
+
0.018735103607177735,
|
212 |
+
0.018885631561279297,
|
213 |
+
0.019002368927001953,
|
214 |
+
0.01891334342956543,
|
215 |
+
0.019059648513793947,
|
216 |
+
0.0188221435546875,
|
217 |
+
0.01889587211608887,
|
218 |
+
0.018920448303222655,
|
219 |
+
0.018983936309814452,
|
220 |
+
0.018907136917114258,
|
221 |
+
0.018880512237548826,
|
222 |
+
0.01883033561706543,
|
223 |
+
0.019001344680786132,
|
224 |
+
0.01880166435241699,
|
225 |
+
0.01880575942993164,
|
226 |
+
0.01901260757446289,
|
227 |
+
0.018929664611816405,
|
228 |
+
0.018950143814086915,
|
229 |
+
0.018959360122680666,
|
230 |
+
0.018902015686035157,
|
231 |
+
0.018919424057006837,
|
232 |
+
0.01884979248046875,
|
233 |
+
0.019909631729125975,
|
234 |
+
0.01922355270385742,
|
235 |
+
0.01902796745300293,
|
236 |
+
0.018988031387329102,
|
237 |
+
0.01905766487121582,
|
238 |
+
0.018962432861328125,
|
239 |
+
0.01883750343322754,
|
240 |
+
0.01884979248046875,
|
241 |
+
0.0190382080078125,
|
242 |
+
0.018925567626953126,
|
243 |
+
0.01940787124633789,
|
244 |
+
0.01919385528564453,
|
245 |
+
0.0188723201751709,
|
246 |
+
0.018840576171875,
|
247 |
+
0.01879756736755371,
|
248 |
+
0.018973695755004884,
|
249 |
+
0.01900032043457031,
|
250 |
+
0.018832384109497072,
|
251 |
+
0.01885491180419922,
|
252 |
+
0.018892799377441406,
|
253 |
+
0.01880985641479492,
|
254 |
+
0.018856960296630858,
|
255 |
+
0.01887539291381836,
|
256 |
+
0.01886720085144043,
|
257 |
+
0.01904844856262207,
|
258 |
+
0.018873344421386717,
|
259 |
+
0.0190248966217041,
|
260 |
+
0.019164159774780275,
|
261 |
+
0.01927884864807129,
|
262 |
+
0.019169279098510742,
|
263 |
+
0.019092479705810548,
|
264 |
+
0.01903513526916504,
|
265 |
+
0.018985984802246093,
|
266 |
+
0.01897881507873535,
|
267 |
+
0.018994176864624023,
|
268 |
+
0.019151872634887695,
|
269 |
+
0.019142656326293944,
|
270 |
+
0.018955263137817382,
|
271 |
+
0.019082239151000976,
|
272 |
+
0.01902079963684082,
|
273 |
+
0.01924710464477539,
|
274 |
+
0.01919795227050781,
|
275 |
+
0.01899929618835449,
|
276 |
+
0.01904332733154297,
|
277 |
+
0.01906483268737793,
|
278 |
+
0.01903718376159668,
|
279 |
+
0.018989055633544923,
|
280 |
+
0.01920204734802246,
|
281 |
+
0.01899622344970703,
|
282 |
+
0.01902284812927246,
|
283 |
+
0.019208192825317383,
|
284 |
+
0.019161088943481445,
|
285 |
+
0.01941913604736328,
|
286 |
+
0.019215360641479492,
|
287 |
+
0.018754560470581053,
|
288 |
+
0.018981887817382814,
|
289 |
+
0.018966527938842775,
|
290 |
+
0.01924095916748047,
|
291 |
+
0.019149824142456053,
|
292 |
+
0.019056640625,
|
293 |
+
0.01924095916748047,
|
294 |
+
0.018966527938842775,
|
295 |
+
0.01965465545654297,
|
296 |
+
0.019284992218017577,
|
297 |
+
0.019388416290283202,
|
298 |
+
0.019723264694213868,
|
299 |
+
0.01962188720703125,
|
300 |
+
0.019538944244384765,
|
301 |
+
0.01924095916748047,
|
302 |
+
0.01903206443786621,
|
303 |
+
0.018953216552734374,
|
304 |
+
0.01904844856262207,
|
305 |
+
0.019175424575805664,
|
306 |
+
0.01904128074645996,
|
307 |
+
0.018927616119384767,
|
308 |
+
0.01904332733154297,
|
309 |
+
0.019128320693969726,
|
310 |
+
0.018949119567871094,
|
311 |
+
0.019130367279052735,
|
312 |
+
0.019145727157592773,
|
313 |
+
0.01919385528564453,
|
314 |
+
0.019056640625,
|
315 |
+
0.019098623275756836,
|
316 |
+
0.018928640365600585,
|
317 |
+
0.019079168319702147,
|
318 |
+
0.01920921516418457,
|
319 |
+
0.018920448303222655,
|
320 |
+
0.018968576431274413,
|
321 |
+
0.019138559341430664,
|
322 |
+
0.01903001594543457,
|
323 |
+
0.018994176864624023,
|
324 |
+
0.01904640007019043,
|
325 |
+
0.01905561637878418,
|
326 |
+
0.01900339126586914,
|
327 |
+
0.01901260757446289,
|
328 |
+
0.019162111282348633,
|
329 |
+
0.019075071334838867
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.98119533058712
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02310329532623291,
|
7 |
+
"prefill.throughput.value": 302.9870804643079,
|
8 |
+
"decode.latency.mean": 2.4337664794921876,
|
9 |
+
"decode.throughput.value": 52.18249206328905,
|
10 |
+
"per_token.latency.mean": 0.019237726136158578,
|
11 |
+
"per_token.throughput.value": 51.98119533058712
|
12 |
+
}
|
13 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.43.0.dev0
|
81 |
+
transformers_commit: 3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
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/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
88 |
+
- hydra.run.dir=_benchmark/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-07-02 02:34:31,913[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.43.0.dev0",
|
90 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.43.0.dev0
|
81 |
+
transformers_commit: 3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
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/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
88 |
+
- hydra.run.dir=_benchmark/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.43.0.dev0",
|
91 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1769.930752,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5036.936192
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.04471359825134277,
|
118 |
+
"mean": 0.022356799125671387,
|
119 |
+
"stdev": 0.0005358400344848621,
|
120 |
+
"p50": 0.022356799125671387,
|
121 |
+
"p90": 0.022785471153259275,
|
122 |
+
"p95": 0.022839055156707762,
|
123 |
+
"p99": 0.022881922359466553,
|
124 |
+
"values": [
|
125 |
+
0.02289263916015625,
|
126 |
+
0.021820959091186524
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 313.10385537087865
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1769.947136,
|
140 |
+
"max_global_vram": 6793.199616,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6146.752512,
|
143 |
+
"max_allocated": 5036.936704
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 5.111156982421875,
|
149 |
+
"mean": 2.5555784912109374,
|
150 |
+
"stdev": 0.006947387695312557,
|
151 |
+
"p50": 2.5555784912109374,
|
152 |
+
"p90": 2.5611364013671873,
|
153 |
+
"p95": 2.561831140136719,
|
154 |
+
"p99": 2.5623869311523437,
|
155 |
+
"values": [
|
156 |
+
2.56252587890625,
|
157 |
+
2.548631103515625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.69520616829977
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 5.111660556793212,
|
173 |
+
"mean": 0.020204191924083844,
|
174 |
+
"stdev": 0.001451194910927155,
|
175 |
+
"p50": 0.020156415939331054,
|
176 |
+
"p90": 0.020541439819335938,
|
177 |
+
"p95": 0.02067845115661621,
|
178 |
+
"p99": 0.021679185562133788,
|
179 |
+
"values": [
|
180 |
+
0.021607423782348634,
|
181 |
+
0.02146201515197754,
|
182 |
+
0.019868703842163087,
|
183 |
+
0.019808223724365234,
|
184 |
+
0.01967513656616211,
|
185 |
+
0.0196628475189209,
|
186 |
+
0.01981439971923828,
|
187 |
+
0.01967820739746094,
|
188 |
+
0.020077632904052733,
|
189 |
+
0.01975904083251953,
|
190 |
+
0.019851264953613282,
|
191 |
+
0.019580928802490235,
|
192 |
+
0.01985024070739746,
|
193 |
+
0.019723264694213868,
|
194 |
+
0.02002943992614746,
|
195 |
+
0.01942323112487793,
|
196 |
+
0.019793920516967774,
|
197 |
+
0.02019327926635742,
|
198 |
+
0.02063564872741699,
|
199 |
+
0.02041651153564453,
|
200 |
+
0.020301952362060546,
|
201 |
+
0.020509567260742188,
|
202 |
+
0.020470783233642577,
|
203 |
+
0.020513792037963868,
|
204 |
+
0.02044211196899414,
|
205 |
+
0.020166656494140626,
|
206 |
+
0.020533248901367186,
|
207 |
+
0.020171775817871093,
|
208 |
+
0.020252799987792967,
|
209 |
+
0.019856256484985353,
|
210 |
+
0.019768320083618163,
|
211 |
+
0.019687423706054686,
|
212 |
+
0.020315135955810547,
|
213 |
+
0.020163583755493163,
|
214 |
+
0.02036956787109375,
|
215 |
+
0.020238176345825195,
|
216 |
+
0.020067327499389647,
|
217 |
+
0.02030499267578125,
|
218 |
+
0.02041334342956543,
|
219 |
+
0.02025574493408203,
|
220 |
+
0.02149273681640625,
|
221 |
+
0.020381696701049806,
|
222 |
+
0.020295679092407228,
|
223 |
+
0.02033459281921387,
|
224 |
+
0.019794944763183595,
|
225 |
+
0.019877887725830077,
|
226 |
+
0.02003660774230957,
|
227 |
+
0.02027519989013672,
|
228 |
+
0.02082611274719238,
|
229 |
+
0.020715520858764647,
|
230 |
+
0.02052403259277344,
|
231 |
+
0.02067148780822754,
|
232 |
+
0.02043391990661621,
|
233 |
+
0.020304895401000975,
|
234 |
+
0.019530847549438478,
|
235 |
+
0.019553184509277344,
|
236 |
+
0.01962291145324707,
|
237 |
+
0.020000768661499024,
|
238 |
+
0.020279296875,
|
239 |
+
0.020075584411621095,
|
240 |
+
0.020473791122436524,
|
241 |
+
0.01988096046447754,
|
242 |
+
0.02046668815612793,
|
243 |
+
0.02025164794921875,
|
244 |
+
0.020482175827026366,
|
245 |
+
0.0198787841796875,
|
246 |
+
0.019870719909667968,
|
247 |
+
0.02035916709899902,
|
248 |
+
0.02039091110229492,
|
249 |
+
0.020412416458129884,
|
250 |
+
0.02045132827758789,
|
251 |
+
0.020346879959106445,
|
252 |
+
0.020517887115478514,
|
253 |
+
0.020344831466674804,
|
254 |
+
0.02027519989013672,
|
255 |
+
0.020354047775268554,
|
256 |
+
0.019943424224853516,
|
257 |
+
0.02007756805419922,
|
258 |
+
0.020319232940673827,
|
259 |
+
0.02019430351257324,
|
260 |
+
0.019819520950317384,
|
261 |
+
0.019610624313354492,
|
262 |
+
0.02018611145019531,
|
263 |
+
0.020246528625488282,
|
264 |
+
0.02020249557495117,
|
265 |
+
0.019826688766479493,
|
266 |
+
0.019696640014648437,
|
267 |
+
0.020156415939331054,
|
268 |
+
0.020299776077270508,
|
269 |
+
0.020264959335327147,
|
270 |
+
0.019772415161132813,
|
271 |
+
0.02049228858947754,
|
272 |
+
0.020543487548828124,
|
273 |
+
0.02036735916137695,
|
274 |
+
0.02058137512207031,
|
275 |
+
0.02001203155517578,
|
276 |
+
0.019794944763183595,
|
277 |
+
0.019951616287231445,
|
278 |
+
0.020221952438354493,
|
279 |
+
0.02006937599182129,
|
280 |
+
0.01964236831665039,
|
281 |
+
0.02020351982116699,
|
282 |
+
0.020497407913208008,
|
283 |
+
0.020556800842285155,
|
284 |
+
0.020543487548828124,
|
285 |
+
0.019703807830810546,
|
286 |
+
0.019954687118530275,
|
287 |
+
0.020254720687866212,
|
288 |
+
0.02022809600830078,
|
289 |
+
0.01986867141723633,
|
290 |
+
0.02046771240234375,
|
291 |
+
0.01966598320007324,
|
292 |
+
0.020296640396118164,
|
293 |
+
0.020503551483154296,
|
294 |
+
0.019688447952270507,
|
295 |
+
0.019745792388916016,
|
296 |
+
0.019926015853881835,
|
297 |
+
0.02000383949279785,
|
298 |
+
0.020384767532348632,
|
299 |
+
0.020455423355102538,
|
300 |
+
0.01984614372253418,
|
301 |
+
0.01967103958129883,
|
302 |
+
0.02005504035949707,
|
303 |
+
0.020195327758789062,
|
304 |
+
0.020307968139648438,
|
305 |
+
0.02035916709899902,
|
306 |
+
0.04218675231933594,
|
307 |
+
0.02030899238586426,
|
308 |
+
0.020001792907714845,
|
309 |
+
0.020340736389160157,
|
310 |
+
0.01965875244140625,
|
311 |
+
0.020054176330566408,
|
312 |
+
0.020435808181762695,
|
313 |
+
0.019718143463134767,
|
314 |
+
0.020332544326782227,
|
315 |
+
0.019766271591186522,
|
316 |
+
0.02000486373901367,
|
317 |
+
0.02032134437561035,
|
318 |
+
0.019868608474731445,
|
319 |
+
0.019735551834106444,
|
320 |
+
0.019901439666748046,
|
321 |
+
0.020134912490844727,
|
322 |
+
0.02019327926635742,
|
323 |
+
0.019738624572753907,
|
324 |
+
0.019862527847290038,
|
325 |
+
0.019589120864868165,
|
326 |
+
0.020175872802734376,
|
327 |
+
0.02005299186706543,
|
328 |
+
0.02025062370300293,
|
329 |
+
0.020412416458129884,
|
330 |
+
0.019752960205078125,
|
331 |
+
0.020204544067382812,
|
332 |
+
0.02025984001159668,
|
333 |
+
0.020248575210571287,
|
334 |
+
0.01964134407043457,
|
335 |
+
0.019583999633789064,
|
336 |
+
0.020322303771972656,
|
337 |
+
0.020154367446899413,
|
338 |
+
0.01962598419189453,
|
339 |
+
0.01966694450378418,
|
340 |
+
0.01960857582092285,
|
341 |
+
0.019673088073730468,
|
342 |
+
0.020555776596069338,
|
343 |
+
0.020238336563110353,
|
344 |
+
0.01958502388000488,
|
345 |
+
0.020360191345214843,
|
346 |
+
0.020413440704345705,
|
347 |
+
0.019936256408691407,
|
348 |
+
0.020808704376220705,
|
349 |
+
0.02045337677001953,
|
350 |
+
0.020286527633666993,
|
351 |
+
0.020416543960571288,
|
352 |
+
0.020163488388061524,
|
353 |
+
0.01968435287475586,
|
354 |
+
0.019681280136108398,
|
355 |
+
0.019573759078979493,
|
356 |
+
0.01963929557800293,
|
357 |
+
0.020059200286865236,
|
358 |
+
0.02001299285888672,
|
359 |
+
0.01982259178161621,
|
360 |
+
0.019785728454589844,
|
361 |
+
0.01963417625427246,
|
362 |
+
0.019917823791503905,
|
363 |
+
0.01963827133178711,
|
364 |
+
0.019717119216918946,
|
365 |
+
0.02082713508605957,
|
366 |
+
0.021756927490234376,
|
367 |
+
0.020556800842285155,
|
368 |
+
0.020382720947265624,
|
369 |
+
0.020215808868408205,
|
370 |
+
0.02045747184753418,
|
371 |
+
0.02068889617919922,
|
372 |
+
0.020427776336669923,
|
373 |
+
0.019825664520263672,
|
374 |
+
0.022938623428344726,
|
375 |
+
0.021128192901611328,
|
376 |
+
0.01983283233642578,
|
377 |
+
0.019764223098754884,
|
378 |
+
0.019620864868164063,
|
379 |
+
0.019747840881347657,
|
380 |
+
0.01965875244140625,
|
381 |
+
0.019597312927246095,
|
382 |
+
0.019647487640380858,
|
383 |
+
0.01965977668762207,
|
384 |
+
0.019766271591186522,
|
385 |
+
0.0196977596282959,
|
386 |
+
0.01964944076538086,
|
387 |
+
0.019583999633789064,
|
388 |
+
0.019614719390869142,
|
389 |
+
0.01961676788330078,
|
390 |
+
0.019727359771728514,
|
391 |
+
0.019978239059448243,
|
392 |
+
0.019631103515625,
|
393 |
+
0.019397632598876953,
|
394 |
+
0.019523584365844726,
|
395 |
+
0.01983078384399414,
|
396 |
+
0.019794944763183595,
|
397 |
+
0.019744768142700195,
|
398 |
+
0.01957683181762695,
|
399 |
+
0.019919872283935547,
|
400 |
+
0.019768320083618163,
|
401 |
+
0.019715072631835938,
|
402 |
+
0.019571712493896484,
|
403 |
+
0.01963007926940918,
|
404 |
+
0.020404224395751954,
|
405 |
+
0.02063052749633789,
|
406 |
+
0.02041548728942871,
|
407 |
+
0.020405248641967775,
|
408 |
+
0.020404224395751954,
|
409 |
+
0.020364288330078126,
|
410 |
+
0.020337663650512695,
|
411 |
+
0.020252799987792967,
|
412 |
+
0.01994329643249512,
|
413 |
+
0.02061212730407715,
|
414 |
+
0.020164575576782227,
|
415 |
+
0.01966592025756836,
|
416 |
+
0.01993011283874512,
|
417 |
+
0.02028646469116211,
|
418 |
+
0.019597312927246095,
|
419 |
+
0.019521535873413084,
|
420 |
+
0.019704832077026366,
|
421 |
+
0.020026464462280274,
|
422 |
+
0.020561824798583983,
|
423 |
+
0.02045337677001953,
|
424 |
+
0.020543487548828124,
|
425 |
+
0.02026803207397461,
|
426 |
+
0.020156415939331054,
|
427 |
+
0.019963903427124022,
|
428 |
+
0.021312511444091797,
|
429 |
+
0.02061414337158203,
|
430 |
+
0.020436992645263673,
|
431 |
+
0.020477951049804686,
|
432 |
+
0.020380672454833985
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.494679309989024
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.43.0.dev0",
|
90 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1769.930752,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5036.936192
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.04471359825134277,
|
15 |
+
"mean": 0.022356799125671387,
|
16 |
+
"stdev": 0.0005358400344848621,
|
17 |
+
"p50": 0.022356799125671387,
|
18 |
+
"p90": 0.022785471153259275,
|
19 |
+
"p95": 0.022839055156707762,
|
20 |
+
"p99": 0.022881922359466553,
|
21 |
+
"values": [
|
22 |
+
0.02289263916015625,
|
23 |
+
0.021820959091186524
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 313.10385537087865
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1769.947136,
|
37 |
+
"max_global_vram": 6793.199616,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6146.752512,
|
40 |
+
"max_allocated": 5036.936704
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 5.111156982421875,
|
46 |
+
"mean": 2.5555784912109374,
|
47 |
+
"stdev": 0.006947387695312557,
|
48 |
+
"p50": 2.5555784912109374,
|
49 |
+
"p90": 2.5611364013671873,
|
50 |
+
"p95": 2.561831140136719,
|
51 |
+
"p99": 2.5623869311523437,
|
52 |
+
"values": [
|
53 |
+
2.56252587890625,
|
54 |
+
2.548631103515625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.69520616829977
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 5.111660556793212,
|
70 |
+
"mean": 0.020204191924083844,
|
71 |
+
"stdev": 0.001451194910927155,
|
72 |
+
"p50": 0.020156415939331054,
|
73 |
+
"p90": 0.020541439819335938,
|
74 |
+
"p95": 0.02067845115661621,
|
75 |
+
"p99": 0.021679185562133788,
|
76 |
+
"values": [
|
77 |
+
0.021607423782348634,
|
78 |
+
0.02146201515197754,
|
79 |
+
0.019868703842163087,
|
80 |
+
0.019808223724365234,
|
81 |
+
0.01967513656616211,
|
82 |
+
0.0196628475189209,
|
83 |
+
0.01981439971923828,
|
84 |
+
0.01967820739746094,
|
85 |
+
0.020077632904052733,
|
86 |
+
0.01975904083251953,
|
87 |
+
0.019851264953613282,
|
88 |
+
0.019580928802490235,
|
89 |
+
0.01985024070739746,
|
90 |
+
0.019723264694213868,
|
91 |
+
0.02002943992614746,
|
92 |
+
0.01942323112487793,
|
93 |
+
0.019793920516967774,
|
94 |
+
0.02019327926635742,
|
95 |
+
0.02063564872741699,
|
96 |
+
0.02041651153564453,
|
97 |
+
0.020301952362060546,
|
98 |
+
0.020509567260742188,
|
99 |
+
0.020470783233642577,
|
100 |
+
0.020513792037963868,
|
101 |
+
0.02044211196899414,
|
102 |
+
0.020166656494140626,
|
103 |
+
0.020533248901367186,
|
104 |
+
0.020171775817871093,
|
105 |
+
0.020252799987792967,
|
106 |
+
0.019856256484985353,
|
107 |
+
0.019768320083618163,
|
108 |
+
0.019687423706054686,
|
109 |
+
0.020315135955810547,
|
110 |
+
0.020163583755493163,
|
111 |
+
0.02036956787109375,
|
112 |
+
0.020238176345825195,
|
113 |
+
0.020067327499389647,
|
114 |
+
0.02030499267578125,
|
115 |
+
0.02041334342956543,
|
116 |
+
0.02025574493408203,
|
117 |
+
0.02149273681640625,
|
118 |
+
0.020381696701049806,
|
119 |
+
0.020295679092407228,
|
120 |
+
0.02033459281921387,
|
121 |
+
0.019794944763183595,
|
122 |
+
0.019877887725830077,
|
123 |
+
0.02003660774230957,
|
124 |
+
0.02027519989013672,
|
125 |
+
0.02082611274719238,
|
126 |
+
0.020715520858764647,
|
127 |
+
0.02052403259277344,
|
128 |
+
0.02067148780822754,
|
129 |
+
0.02043391990661621,
|
130 |
+
0.020304895401000975,
|
131 |
+
0.019530847549438478,
|
132 |
+
0.019553184509277344,
|
133 |
+
0.01962291145324707,
|
134 |
+
0.020000768661499024,
|
135 |
+
0.020279296875,
|
136 |
+
0.020075584411621095,
|
137 |
+
0.020473791122436524,
|
138 |
+
0.01988096046447754,
|
139 |
+
0.02046668815612793,
|
140 |
+
0.02025164794921875,
|
141 |
+
0.020482175827026366,
|
142 |
+
0.0198787841796875,
|
143 |
+
0.019870719909667968,
|
144 |
+
0.02035916709899902,
|
145 |
+
0.02039091110229492,
|
146 |
+
0.020412416458129884,
|
147 |
+
0.02045132827758789,
|
148 |
+
0.020346879959106445,
|
149 |
+
0.020517887115478514,
|
150 |
+
0.020344831466674804,
|
151 |
+
0.02027519989013672,
|
152 |
+
0.020354047775268554,
|
153 |
+
0.019943424224853516,
|
154 |
+
0.02007756805419922,
|
155 |
+
0.020319232940673827,
|
156 |
+
0.02019430351257324,
|
157 |
+
0.019819520950317384,
|
158 |
+
0.019610624313354492,
|
159 |
+
0.02018611145019531,
|
160 |
+
0.020246528625488282,
|
161 |
+
0.02020249557495117,
|
162 |
+
0.019826688766479493,
|
163 |
+
0.019696640014648437,
|
164 |
+
0.020156415939331054,
|
165 |
+
0.020299776077270508,
|
166 |
+
0.020264959335327147,
|
167 |
+
0.019772415161132813,
|
168 |
+
0.02049228858947754,
|
169 |
+
0.020543487548828124,
|
170 |
+
0.02036735916137695,
|
171 |
+
0.02058137512207031,
|
172 |
+
0.02001203155517578,
|
173 |
+
0.019794944763183595,
|
174 |
+
0.019951616287231445,
|
175 |
+
0.020221952438354493,
|
176 |
+
0.02006937599182129,
|
177 |
+
0.01964236831665039,
|
178 |
+
0.02020351982116699,
|
179 |
+
0.020497407913208008,
|
180 |
+
0.020556800842285155,
|
181 |
+
0.020543487548828124,
|
182 |
+
0.019703807830810546,
|
183 |
+
0.019954687118530275,
|
184 |
+
0.020254720687866212,
|
185 |
+
0.02022809600830078,
|
186 |
+
0.01986867141723633,
|
187 |
+
0.02046771240234375,
|
188 |
+
0.01966598320007324,
|
189 |
+
0.020296640396118164,
|
190 |
+
0.020503551483154296,
|
191 |
+
0.019688447952270507,
|
192 |
+
0.019745792388916016,
|
193 |
+
0.019926015853881835,
|
194 |
+
0.02000383949279785,
|
195 |
+
0.020384767532348632,
|
196 |
+
0.020455423355102538,
|
197 |
+
0.01984614372253418,
|
198 |
+
0.01967103958129883,
|
199 |
+
0.02005504035949707,
|
200 |
+
0.020195327758789062,
|
201 |
+
0.020307968139648438,
|
202 |
+
0.02035916709899902,
|
203 |
+
0.04218675231933594,
|
204 |
+
0.02030899238586426,
|
205 |
+
0.020001792907714845,
|
206 |
+
0.020340736389160157,
|
207 |
+
0.01965875244140625,
|
208 |
+
0.020054176330566408,
|
209 |
+
0.020435808181762695,
|
210 |
+
0.019718143463134767,
|
211 |
+
0.020332544326782227,
|
212 |
+
0.019766271591186522,
|
213 |
+
0.02000486373901367,
|
214 |
+
0.02032134437561035,
|
215 |
+
0.019868608474731445,
|
216 |
+
0.019735551834106444,
|
217 |
+
0.019901439666748046,
|
218 |
+
0.020134912490844727,
|
219 |
+
0.02019327926635742,
|
220 |
+
0.019738624572753907,
|
221 |
+
0.019862527847290038,
|
222 |
+
0.019589120864868165,
|
223 |
+
0.020175872802734376,
|
224 |
+
0.02005299186706543,
|
225 |
+
0.02025062370300293,
|
226 |
+
0.020412416458129884,
|
227 |
+
0.019752960205078125,
|
228 |
+
0.020204544067382812,
|
229 |
+
0.02025984001159668,
|
230 |
+
0.020248575210571287,
|
231 |
+
0.01964134407043457,
|
232 |
+
0.019583999633789064,
|
233 |
+
0.020322303771972656,
|
234 |
+
0.020154367446899413,
|
235 |
+
0.01962598419189453,
|
236 |
+
0.01966694450378418,
|
237 |
+
0.01960857582092285,
|
238 |
+
0.019673088073730468,
|
239 |
+
0.020555776596069338,
|
240 |
+
0.020238336563110353,
|
241 |
+
0.01958502388000488,
|
242 |
+
0.020360191345214843,
|
243 |
+
0.020413440704345705,
|
244 |
+
0.019936256408691407,
|
245 |
+
0.020808704376220705,
|
246 |
+
0.02045337677001953,
|
247 |
+
0.020286527633666993,
|
248 |
+
0.020416543960571288,
|
249 |
+
0.020163488388061524,
|
250 |
+
0.01968435287475586,
|
251 |
+
0.019681280136108398,
|
252 |
+
0.019573759078979493,
|
253 |
+
0.01963929557800293,
|
254 |
+
0.020059200286865236,
|
255 |
+
0.02001299285888672,
|
256 |
+
0.01982259178161621,
|
257 |
+
0.019785728454589844,
|
258 |
+
0.01963417625427246,
|
259 |
+
0.019917823791503905,
|
260 |
+
0.01963827133178711,
|
261 |
+
0.019717119216918946,
|
262 |
+
0.02082713508605957,
|
263 |
+
0.021756927490234376,
|
264 |
+
0.020556800842285155,
|
265 |
+
0.020382720947265624,
|
266 |
+
0.020215808868408205,
|
267 |
+
0.02045747184753418,
|
268 |
+
0.02068889617919922,
|
269 |
+
0.020427776336669923,
|
270 |
+
0.019825664520263672,
|
271 |
+
0.022938623428344726,
|
272 |
+
0.021128192901611328,
|
273 |
+
0.01983283233642578,
|
274 |
+
0.019764223098754884,
|
275 |
+
0.019620864868164063,
|
276 |
+
0.019747840881347657,
|
277 |
+
0.01965875244140625,
|
278 |
+
0.019597312927246095,
|
279 |
+
0.019647487640380858,
|
280 |
+
0.01965977668762207,
|
281 |
+
0.019766271591186522,
|
282 |
+
0.0196977596282959,
|
283 |
+
0.01964944076538086,
|
284 |
+
0.019583999633789064,
|
285 |
+
0.019614719390869142,
|
286 |
+
0.01961676788330078,
|
287 |
+
0.019727359771728514,
|
288 |
+
0.019978239059448243,
|
289 |
+
0.019631103515625,
|
290 |
+
0.019397632598876953,
|
291 |
+
0.019523584365844726,
|
292 |
+
0.01983078384399414,
|
293 |
+
0.019794944763183595,
|
294 |
+
0.019744768142700195,
|
295 |
+
0.01957683181762695,
|
296 |
+
0.019919872283935547,
|
297 |
+
0.019768320083618163,
|
298 |
+
0.019715072631835938,
|
299 |
+
0.019571712493896484,
|
300 |
+
0.01963007926940918,
|
301 |
+
0.020404224395751954,
|
302 |
+
0.02063052749633789,
|
303 |
+
0.02041548728942871,
|
304 |
+
0.020405248641967775,
|
305 |
+
0.020404224395751954,
|
306 |
+
0.020364288330078126,
|
307 |
+
0.020337663650512695,
|
308 |
+
0.020252799987792967,
|
309 |
+
0.01994329643249512,
|
310 |
+
0.02061212730407715,
|
311 |
+
0.020164575576782227,
|
312 |
+
0.01966592025756836,
|
313 |
+
0.01993011283874512,
|
314 |
+
0.02028646469116211,
|
315 |
+
0.019597312927246095,
|
316 |
+
0.019521535873413084,
|
317 |
+
0.019704832077026366,
|
318 |
+
0.020026464462280274,
|
319 |
+
0.020561824798583983,
|
320 |
+
0.02045337677001953,
|
321 |
+
0.020543487548828124,
|
322 |
+
0.02026803207397461,
|
323 |
+
0.020156415939331054,
|
324 |
+
0.019963903427124022,
|
325 |
+
0.021312511444091797,
|
326 |
+
0.02061414337158203,
|
327 |
+
0.020436992645263673,
|
328 |
+
0.020477951049804686,
|
329 |
+
0.020380672454833985
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.494679309989024
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022356799125671387,
|
7 |
+
"prefill.throughput.value": 313.10385537087865,
|
8 |
+
"decode.latency.mean": 2.5555784912109374,
|
9 |
+
"decode.throughput.value": 49.69520616829977,
|
10 |
+
"per_token.latency.mean": 0.020204191924083844,
|
11 |
+
"per_token.throughput.value": 49.494679309989024
|
12 |
+
}
|
13 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.43.0.dev0
|
81 |
+
transformers_commit: 3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
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/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
88 |
+
- hydra.run.dir=_benchmark/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${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/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.43.0.dev0",
|
91 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1910.12864,
|
109 |
+
"max_global_vram": 6094.848,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 5379.19488,
|
112 |
+
"max_allocated": 5021.251584
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.028100192070007322,
|
118 |
+
"mean": 0.014050096035003661,
|
119 |
+
"stdev": 0.00011041593551635708,
|
120 |
+
"p50": 0.014050096035003661,
|
121 |
+
"p90": 0.014138428783416748,
|
122 |
+
"p95": 0.014149470376968383,
|
123 |
+
"p99": 0.014158303651809692,
|
124 |
+
"values": [
|
125 |
+
0.01416051197052002,
|
126 |
+
0.013939680099487305
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.21723513921705
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2254.00832,
|
140 |
+
"max_global_vram": 8907.128832,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 5379.19488,
|
143 |
+
"max_allocated": 5027.089408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 3.1145816650390623,
|
149 |
+
"mean": 1.5572908325195312,
|
150 |
+
"stdev": 0.0017056274414063433,
|
151 |
+
"p50": 1.5572908325195312,
|
152 |
+
"p90": 1.5586553344726564,
|
153 |
+
"p95": 1.558825897216797,
|
154 |
+
"p99": 1.5589623474121095,
|
155 |
+
"values": [
|
156 |
+
1.5589964599609376,
|
157 |
+
1.555585205078125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.55188314730364
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 3.1156469745635995,
|
173 |
+
"mean": 0.012314810176140707,
|
174 |
+
"stdev": 0.000889533945655596,
|
175 |
+
"p50": 0.01225113582611084,
|
176 |
+
"p90": 0.012283897590637208,
|
177 |
+
"p95": 0.01234160614013672,
|
178 |
+
"p99": 0.012682793235778807,
|
179 |
+
"values": [
|
180 |
+
0.01265766429901123,
|
181 |
+
0.012734463691711426,
|
182 |
+
0.012710016250610351,
|
183 |
+
0.012342144012451171,
|
184 |
+
0.012244992256164551,
|
185 |
+
0.01227785587310791,
|
186 |
+
0.01223465633392334,
|
187 |
+
0.012270591735839843,
|
188 |
+
0.012236800193786621,
|
189 |
+
0.01225334358215332,
|
190 |
+
0.012228480339050293,
|
191 |
+
0.012261343955993651,
|
192 |
+
0.012231679916381836,
|
193 |
+
0.01226854419708252,
|
194 |
+
0.01221939182281494,
|
195 |
+
0.01227673625946045,
|
196 |
+
0.012207103729248046,
|
197 |
+
0.012274687767028808,
|
198 |
+
0.012223520278930665,
|
199 |
+
0.012283871650695801,
|
200 |
+
0.012237824440002442,
|
201 |
+
0.012278783798217773,
|
202 |
+
0.01223475170135498,
|
203 |
+
0.012272640228271485,
|
204 |
+
0.01223475170135498,
|
205 |
+
0.012253184318542481,
|
206 |
+
0.012231679916381836,
|
207 |
+
0.012253184318542481,
|
208 |
+
0.012222463607788087,
|
209 |
+
0.012253184318542481,
|
210 |
+
0.012217344284057617,
|
211 |
+
0.012281855583190919,
|
212 |
+
0.012231871604919434,
|
213 |
+
0.012264255523681641,
|
214 |
+
0.012228608131408691,
|
215 |
+
0.012304384231567383,
|
216 |
+
0.012244992256164551,
|
217 |
+
0.012289024353027344,
|
218 |
+
0.012213312149047851,
|
219 |
+
0.012252096176147462,
|
220 |
+
0.012217344284057617,
|
221 |
+
0.012278783798217773,
|
222 |
+
0.012215295791625976,
|
223 |
+
0.01225216007232666,
|
224 |
+
0.012216320037841797,
|
225 |
+
0.012266495704650878,
|
226 |
+
0.012229632377624512,
|
227 |
+
0.012272640228271485,
|
228 |
+
0.012222463607788087,
|
229 |
+
0.012271615982055664,
|
230 |
+
0.012230655670166016,
|
231 |
+
0.012283904075622559,
|
232 |
+
0.012230655670166016,
|
233 |
+
0.01226035213470459,
|
234 |
+
0.012244992256164551,
|
235 |
+
0.01227673625946045,
|
236 |
+
0.012223487854003906,
|
237 |
+
0.012270591735839843,
|
238 |
+
0.012233728408813477,
|
239 |
+
0.01225011157989502,
|
240 |
+
0.012214271545410157,
|
241 |
+
0.01226137638092041,
|
242 |
+
0.012214271545410157,
|
243 |
+
0.01225830364227295,
|
244 |
+
0.012217344284057617,
|
245 |
+
0.01225830364227295,
|
246 |
+
0.012220416069030762,
|
247 |
+
0.012324864387512208,
|
248 |
+
0.012230655670166016,
|
249 |
+
0.012272831916809081,
|
250 |
+
0.012226367950439453,
|
251 |
+
0.012265472412109376,
|
252 |
+
0.012230655670166016,
|
253 |
+
0.012253184318542481,
|
254 |
+
0.012224512100219726,
|
255 |
+
0.012271615982055664,
|
256 |
+
0.012210176467895508,
|
257 |
+
0.012470272064208985,
|
258 |
+
0.012239871978759765,
|
259 |
+
0.012288000106811523,
|
260 |
+
0.01234124755859375,
|
261 |
+
0.012447744369506837,
|
262 |
+
0.012506112098693848,
|
263 |
+
0.012497920036315918,
|
264 |
+
0.012489727973937988,
|
265 |
+
0.012422143936157226,
|
266 |
+
0.012259327888488769,
|
267 |
+
0.012272640228271485,
|
268 |
+
0.012225536346435547,
|
269 |
+
0.01225216007232666,
|
270 |
+
0.012218367576599122,
|
271 |
+
0.012267519950866699,
|
272 |
+
0.012218367576599122,
|
273 |
+
0.012278783798217773,
|
274 |
+
0.012228608131408691,
|
275 |
+
0.012319744110107422,
|
276 |
+
0.01225830364227295,
|
277 |
+
0.012264448165893555,
|
278 |
+
0.01222758388519287,
|
279 |
+
0.012265472412109376,
|
280 |
+
0.012226559638977052,
|
281 |
+
0.012244992256164551,
|
282 |
+
0.01221235179901123,
|
283 |
+
0.012258175849914552,
|
284 |
+
0.01223475170135498,
|
285 |
+
0.01224294376373291,
|
286 |
+
0.012205056190490723,
|
287 |
+
0.012256256103515625,
|
288 |
+
0.012217344284057617,
|
289 |
+
0.012262528419494628,
|
290 |
+
0.012237695693969727,
|
291 |
+
0.012265472412109376,
|
292 |
+
0.01223475170135498,
|
293 |
+
0.012283904075622559,
|
294 |
+
0.01221939182281494,
|
295 |
+
0.012247039794921874,
|
296 |
+
0.012200960159301758,
|
297 |
+
0.01226035213470459,
|
298 |
+
0.012218367576599122,
|
299 |
+
0.012282879829406738,
|
300 |
+
0.012226559638977052,
|
301 |
+
0.012265472412109376,
|
302 |
+
0.012222463607788087,
|
303 |
+
0.012275712013244629,
|
304 |
+
0.012233728408813477,
|
305 |
+
0.012256256103515625,
|
306 |
+
0.026396671295166017,
|
307 |
+
0.012229632377624512,
|
308 |
+
0.012256256103515625,
|
309 |
+
0.012217344284057617,
|
310 |
+
0.01226137638092041,
|
311 |
+
0.012241920471191407,
|
312 |
+
0.012269760131835937,
|
313 |
+
0.012221247673034667,
|
314 |
+
0.012316672325134278,
|
315 |
+
0.01224294376373291,
|
316 |
+
0.012265472412109376,
|
317 |
+
0.012231679916381836,
|
318 |
+
0.012266495704650878,
|
319 |
+
0.012211199760437011,
|
320 |
+
0.01226854419708252,
|
321 |
+
0.012212224006652832,
|
322 |
+
0.012262399673461915,
|
323 |
+
0.012223584175109863,
|
324 |
+
0.012274592399597169,
|
325 |
+
0.012226559638977052,
|
326 |
+
0.012255231857299804,
|
327 |
+
0.01221939182281494,
|
328 |
+
0.012396544456481933,
|
329 |
+
0.012265472412109376,
|
330 |
+
0.012282879829406738,
|
331 |
+
0.012233728408813477,
|
332 |
+
0.012282015800476075,
|
333 |
+
0.01223356819152832,
|
334 |
+
0.012264448165893555,
|
335 |
+
0.012211199760437011,
|
336 |
+
0.012240063667297364,
|
337 |
+
0.012213055610656737,
|
338 |
+
0.012271615982055664,
|
339 |
+
0.012223487854003906,
|
340 |
+
0.012254207611083985,
|
341 |
+
0.012215295791625976,
|
342 |
+
0.012247039794921874,
|
343 |
+
0.012225536346435547,
|
344 |
+
0.01226956844329834,
|
345 |
+
0.012239871978759765,
|
346 |
+
0.012267519950866699,
|
347 |
+
0.012237824440002442,
|
348 |
+
0.012282879829406738,
|
349 |
+
0.012212224006652832,
|
350 |
+
0.01225113582611084,
|
351 |
+
0.012208127975463867,
|
352 |
+
0.01226854419708252,
|
353 |
+
0.012256256103515625,
|
354 |
+
0.012265472412109376,
|
355 |
+
0.01223475170135498,
|
356 |
+
0.012257280349731446,
|
357 |
+
0.012217344284057617,
|
358 |
+
0.012286975860595703,
|
359 |
+
0.012225536346435547,
|
360 |
+
0.012256256103515625,
|
361 |
+
0.012230655670166016,
|
362 |
+
0.012283904075622559,
|
363 |
+
0.012218367576599122,
|
364 |
+
0.01226956844329834,
|
365 |
+
0.012217344284057617,
|
366 |
+
0.012247039794921874,
|
367 |
+
0.012211199760437011,
|
368 |
+
0.01226137638092041,
|
369 |
+
0.01223475170135498,
|
370 |
+
0.01225216007232666,
|
371 |
+
0.012218367576599122,
|
372 |
+
0.012262399673461915,
|
373 |
+
0.012209152221679688,
|
374 |
+
0.012254207611083985,
|
375 |
+
0.012223487854003906,
|
376 |
+
0.012275712013244629,
|
377 |
+
0.012212224006652832,
|
378 |
+
0.012267519950866699,
|
379 |
+
0.012228608131408691,
|
380 |
+
0.012262399673461915,
|
381 |
+
0.012224512100219726,
|
382 |
+
0.012264448165893555,
|
383 |
+
0.01221939182281494,
|
384 |
+
0.01225011157989502,
|
385 |
+
0.012390399932861328,
|
386 |
+
0.012271615982055664,
|
387 |
+
0.012226559638977052,
|
388 |
+
0.01226956844329834,
|
389 |
+
0.012208127975463867,
|
390 |
+
0.012272640228271485,
|
391 |
+
0.012238847732543945,
|
392 |
+
0.01226854419708252,
|
393 |
+
0.012236800193786621,
|
394 |
+
0.012275712013244629,
|
395 |
+
0.012230655670166016,
|
396 |
+
0.012257280349731446,
|
397 |
+
0.012232704162597656,
|
398 |
+
0.012270591735839843,
|
399 |
+
0.012206080436706544,
|
400 |
+
0.012238847732543945,
|
401 |
+
0.012228608131408691,
|
402 |
+
0.012262399673461915,
|
403 |
+
0.012222463607788087,
|
404 |
+
0.01226854419708252,
|
405 |
+
0.012209152221679688,
|
406 |
+
0.012270591735839843,
|
407 |
+
0.012218367576599122,
|
408 |
+
0.01225830364227295,
|
409 |
+
0.012220416069030762,
|
410 |
+
0.012271615982055664,
|
411 |
+
0.01223475170135498,
|
412 |
+
0.01225011157989502,
|
413 |
+
0.012223487854003906,
|
414 |
+
0.012255231857299804,
|
415 |
+
0.01224294376373291,
|
416 |
+
0.012255231857299804,
|
417 |
+
0.012222463607788087,
|
418 |
+
0.012263423919677734,
|
419 |
+
0.012216320037841797,
|
420 |
+
0.012256256103515625,
|
421 |
+
0.012208127975463867,
|
422 |
+
0.012253184318542481,
|
423 |
+
0.012200960159301758,
|
424 |
+
0.01225113582611084,
|
425 |
+
0.012207103729248046,
|
426 |
+
0.01226956844329834,
|
427 |
+
0.01229312038421631,
|
428 |
+
0.012308480262756348,
|
429 |
+
0.012206080436706544,
|
430 |
+
0.012267519950866699,
|
431 |
+
0.012224512100219726,
|
432 |
+
0.01225113582611084
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.2030381058936
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.43.0.dev0",
|
90 |
+
"transformers_commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1910.12864,
|
6 |
+
"max_global_vram": 6094.848,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 5379.19488,
|
9 |
+
"max_allocated": 5021.251584
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.028100192070007322,
|
15 |
+
"mean": 0.014050096035003661,
|
16 |
+
"stdev": 0.00011041593551635708,
|
17 |
+
"p50": 0.014050096035003661,
|
18 |
+
"p90": 0.014138428783416748,
|
19 |
+
"p95": 0.014149470376968383,
|
20 |
+
"p99": 0.014158303651809692,
|
21 |
+
"values": [
|
22 |
+
0.01416051197052002,
|
23 |
+
0.013939680099487305
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.21723513921705
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2254.00832,
|
37 |
+
"max_global_vram": 8907.128832,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 5379.19488,
|
40 |
+
"max_allocated": 5027.089408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 3.1145816650390623,
|
46 |
+
"mean": 1.5572908325195312,
|
47 |
+
"stdev": 0.0017056274414063433,
|
48 |
+
"p50": 1.5572908325195312,
|
49 |
+
"p90": 1.5586553344726564,
|
50 |
+
"p95": 1.558825897216797,
|
51 |
+
"p99": 1.5589623474121095,
|
52 |
+
"values": [
|
53 |
+
1.5589964599609376,
|
54 |
+
1.555585205078125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.55188314730364
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 3.1156469745635995,
|
70 |
+
"mean": 0.012314810176140707,
|
71 |
+
"stdev": 0.000889533945655596,
|
72 |
+
"p50": 0.01225113582611084,
|
73 |
+
"p90": 0.012283897590637208,
|
74 |
+
"p95": 0.01234160614013672,
|
75 |
+
"p99": 0.012682793235778807,
|
76 |
+
"values": [
|
77 |
+
0.01265766429901123,
|
78 |
+
0.012734463691711426,
|
79 |
+
0.012710016250610351,
|
80 |
+
0.012342144012451171,
|
81 |
+
0.012244992256164551,
|
82 |
+
0.01227785587310791,
|
83 |
+
0.01223465633392334,
|
84 |
+
0.012270591735839843,
|
85 |
+
0.012236800193786621,
|
86 |
+
0.01225334358215332,
|
87 |
+
0.012228480339050293,
|
88 |
+
0.012261343955993651,
|
89 |
+
0.012231679916381836,
|
90 |
+
0.01226854419708252,
|
91 |
+
0.01221939182281494,
|
92 |
+
0.01227673625946045,
|
93 |
+
0.012207103729248046,
|
94 |
+
0.012274687767028808,
|
95 |
+
0.012223520278930665,
|
96 |
+
0.012283871650695801,
|
97 |
+
0.012237824440002442,
|
98 |
+
0.012278783798217773,
|
99 |
+
0.01223475170135498,
|
100 |
+
0.012272640228271485,
|
101 |
+
0.01223475170135498,
|
102 |
+
0.012253184318542481,
|
103 |
+
0.012231679916381836,
|
104 |
+
0.012253184318542481,
|
105 |
+
0.012222463607788087,
|
106 |
+
0.012253184318542481,
|
107 |
+
0.012217344284057617,
|
108 |
+
0.012281855583190919,
|
109 |
+
0.012231871604919434,
|
110 |
+
0.012264255523681641,
|
111 |
+
0.012228608131408691,
|
112 |
+
0.012304384231567383,
|
113 |
+
0.012244992256164551,
|
114 |
+
0.012289024353027344,
|
115 |
+
0.012213312149047851,
|
116 |
+
0.012252096176147462,
|
117 |
+
0.012217344284057617,
|
118 |
+
0.012278783798217773,
|
119 |
+
0.012215295791625976,
|
120 |
+
0.01225216007232666,
|
121 |
+
0.012216320037841797,
|
122 |
+
0.012266495704650878,
|
123 |
+
0.012229632377624512,
|
124 |
+
0.012272640228271485,
|
125 |
+
0.012222463607788087,
|
126 |
+
0.012271615982055664,
|
127 |
+
0.012230655670166016,
|
128 |
+
0.012283904075622559,
|
129 |
+
0.012230655670166016,
|
130 |
+
0.01226035213470459,
|
131 |
+
0.012244992256164551,
|
132 |
+
0.01227673625946045,
|
133 |
+
0.012223487854003906,
|
134 |
+
0.012270591735839843,
|
135 |
+
0.012233728408813477,
|
136 |
+
0.01225011157989502,
|
137 |
+
0.012214271545410157,
|
138 |
+
0.01226137638092041,
|
139 |
+
0.012214271545410157,
|
140 |
+
0.01225830364227295,
|
141 |
+
0.012217344284057617,
|
142 |
+
0.01225830364227295,
|
143 |
+
0.012220416069030762,
|
144 |
+
0.012324864387512208,
|
145 |
+
0.012230655670166016,
|
146 |
+
0.012272831916809081,
|
147 |
+
0.012226367950439453,
|
148 |
+
0.012265472412109376,
|
149 |
+
0.012230655670166016,
|
150 |
+
0.012253184318542481,
|
151 |
+
0.012224512100219726,
|
152 |
+
0.012271615982055664,
|
153 |
+
0.012210176467895508,
|
154 |
+
0.012470272064208985,
|
155 |
+
0.012239871978759765,
|
156 |
+
0.012288000106811523,
|
157 |
+
0.01234124755859375,
|
158 |
+
0.012447744369506837,
|
159 |
+
0.012506112098693848,
|
160 |
+
0.012497920036315918,
|
161 |
+
0.012489727973937988,
|
162 |
+
0.012422143936157226,
|
163 |
+
0.012259327888488769,
|
164 |
+
0.012272640228271485,
|
165 |
+
0.012225536346435547,
|
166 |
+
0.01225216007232666,
|
167 |
+
0.012218367576599122,
|
168 |
+
0.012267519950866699,
|
169 |
+
0.012218367576599122,
|
170 |
+
0.012278783798217773,
|
171 |
+
0.012228608131408691,
|
172 |
+
0.012319744110107422,
|
173 |
+
0.01225830364227295,
|
174 |
+
0.012264448165893555,
|
175 |
+
0.01222758388519287,
|
176 |
+
0.012265472412109376,
|
177 |
+
0.012226559638977052,
|
178 |
+
0.012244992256164551,
|
179 |
+
0.01221235179901123,
|
180 |
+
0.012258175849914552,
|
181 |
+
0.01223475170135498,
|
182 |
+
0.01224294376373291,
|
183 |
+
0.012205056190490723,
|
184 |
+
0.012256256103515625,
|
185 |
+
0.012217344284057617,
|
186 |
+
0.012262528419494628,
|
187 |
+
0.012237695693969727,
|
188 |
+
0.012265472412109376,
|
189 |
+
0.01223475170135498,
|
190 |
+
0.012283904075622559,
|
191 |
+
0.01221939182281494,
|
192 |
+
0.012247039794921874,
|
193 |
+
0.012200960159301758,
|
194 |
+
0.01226035213470459,
|
195 |
+
0.012218367576599122,
|
196 |
+
0.012282879829406738,
|
197 |
+
0.012226559638977052,
|
198 |
+
0.012265472412109376,
|
199 |
+
0.012222463607788087,
|
200 |
+
0.012275712013244629,
|
201 |
+
0.012233728408813477,
|
202 |
+
0.012256256103515625,
|
203 |
+
0.026396671295166017,
|
204 |
+
0.012229632377624512,
|
205 |
+
0.012256256103515625,
|
206 |
+
0.012217344284057617,
|
207 |
+
0.01226137638092041,
|
208 |
+
0.012241920471191407,
|
209 |
+
0.012269760131835937,
|
210 |
+
0.012221247673034667,
|
211 |
+
0.012316672325134278,
|
212 |
+
0.01224294376373291,
|
213 |
+
0.012265472412109376,
|
214 |
+
0.012231679916381836,
|
215 |
+
0.012266495704650878,
|
216 |
+
0.012211199760437011,
|
217 |
+
0.01226854419708252,
|
218 |
+
0.012212224006652832,
|
219 |
+
0.012262399673461915,
|
220 |
+
0.012223584175109863,
|
221 |
+
0.012274592399597169,
|
222 |
+
0.012226559638977052,
|
223 |
+
0.012255231857299804,
|
224 |
+
0.01221939182281494,
|
225 |
+
0.012396544456481933,
|
226 |
+
0.012265472412109376,
|
227 |
+
0.012282879829406738,
|
228 |
+
0.012233728408813477,
|
229 |
+
0.012282015800476075,
|
230 |
+
0.01223356819152832,
|
231 |
+
0.012264448165893555,
|
232 |
+
0.012211199760437011,
|
233 |
+
0.012240063667297364,
|
234 |
+
0.012213055610656737,
|
235 |
+
0.012271615982055664,
|
236 |
+
0.012223487854003906,
|
237 |
+
0.012254207611083985,
|
238 |
+
0.012215295791625976,
|
239 |
+
0.012247039794921874,
|
240 |
+
0.012225536346435547,
|
241 |
+
0.01226956844329834,
|
242 |
+
0.012239871978759765,
|
243 |
+
0.012267519950866699,
|
244 |
+
0.012237824440002442,
|
245 |
+
0.012282879829406738,
|
246 |
+
0.012212224006652832,
|
247 |
+
0.01225113582611084,
|
248 |
+
0.012208127975463867,
|
249 |
+
0.01226854419708252,
|
250 |
+
0.012256256103515625,
|
251 |
+
0.012265472412109376,
|
252 |
+
0.01223475170135498,
|
253 |
+
0.012257280349731446,
|
254 |
+
0.012217344284057617,
|
255 |
+
0.012286975860595703,
|
256 |
+
0.012225536346435547,
|
257 |
+
0.012256256103515625,
|
258 |
+
0.012230655670166016,
|
259 |
+
0.012283904075622559,
|
260 |
+
0.012218367576599122,
|
261 |
+
0.01226956844329834,
|
262 |
+
0.012217344284057617,
|
263 |
+
0.012247039794921874,
|
264 |
+
0.012211199760437011,
|
265 |
+
0.01226137638092041,
|
266 |
+
0.01223475170135498,
|
267 |
+
0.01225216007232666,
|
268 |
+
0.012218367576599122,
|
269 |
+
0.012262399673461915,
|
270 |
+
0.012209152221679688,
|
271 |
+
0.012254207611083985,
|
272 |
+
0.012223487854003906,
|
273 |
+
0.012275712013244629,
|
274 |
+
0.012212224006652832,
|
275 |
+
0.012267519950866699,
|
276 |
+
0.012228608131408691,
|
277 |
+
0.012262399673461915,
|
278 |
+
0.012224512100219726,
|
279 |
+
0.012264448165893555,
|
280 |
+
0.01221939182281494,
|
281 |
+
0.01225011157989502,
|
282 |
+
0.012390399932861328,
|
283 |
+
0.012271615982055664,
|
284 |
+
0.012226559638977052,
|
285 |
+
0.01226956844329834,
|
286 |
+
0.012208127975463867,
|
287 |
+
0.012272640228271485,
|
288 |
+
0.012238847732543945,
|
289 |
+
0.01226854419708252,
|
290 |
+
0.012236800193786621,
|
291 |
+
0.012275712013244629,
|
292 |
+
0.012230655670166016,
|
293 |
+
0.012257280349731446,
|
294 |
+
0.012232704162597656,
|
295 |
+
0.012270591735839843,
|
296 |
+
0.012206080436706544,
|
297 |
+
0.012238847732543945,
|
298 |
+
0.012228608131408691,
|
299 |
+
0.012262399673461915,
|
300 |
+
0.012222463607788087,
|
301 |
+
0.01226854419708252,
|
302 |
+
0.012209152221679688,
|
303 |
+
0.012270591735839843,
|
304 |
+
0.012218367576599122,
|
305 |
+
0.01225830364227295,
|
306 |
+
0.012220416069030762,
|
307 |
+
0.012271615982055664,
|
308 |
+
0.01223475170135498,
|
309 |
+
0.01225011157989502,
|
310 |
+
0.012223487854003906,
|
311 |
+
0.012255231857299804,
|
312 |
+
0.01224294376373291,
|
313 |
+
0.012255231857299804,
|
314 |
+
0.012222463607788087,
|
315 |
+
0.012263423919677734,
|
316 |
+
0.012216320037841797,
|
317 |
+
0.012256256103515625,
|
318 |
+
0.012208127975463867,
|
319 |
+
0.012253184318542481,
|
320 |
+
0.012200960159301758,
|
321 |
+
0.01225113582611084,
|
322 |
+
0.012207103729248046,
|
323 |
+
0.01226956844329834,
|
324 |
+
0.01229312038421631,
|
325 |
+
0.012308480262756348,
|
326 |
+
0.012206080436706544,
|
327 |
+
0.012267519950866699,
|
328 |
+
0.012224512100219726,
|
329 |
+
0.01225113582611084
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.2030381058936
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/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": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014050096035003661,
|
7 |
+
"prefill.throughput.value": 498.21723513921705,
|
8 |
+
"decode.latency.mean": 1.5572908325195312,
|
9 |
+
"decode.throughput.value": 81.55188314730364,
|
10 |
+
"per_token.latency.mean": 0.012314810176140707,
|
11 |
+
"per_token.throughput.value": 81.2030381058936
|
12 |
+
}
|
13 |
+
}
|
2024-07-02/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpv5w5mwdx/commit=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
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/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
88 |
+
- hydra.run.dir=_benchmark/tmpv5w5mwdx/commit\=3345ae733b6f4aeb7204a0f3e646a3cdbaad0023/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.293824
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.43.0.dev0
|
222 |
+
transformers_commit: 3345ae733b6f4aeb7204a0f3e646a3cdbaad0023
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-07-02/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02310329532623291,
|
8 |
+
"prefill.throughput.value": 302.9870804643079,
|
9 |
+
"decode.latency.mean": 2.4337664794921876,
|
10 |
+
"decode.throughput.value": 52.18249206328905,
|
11 |
+
"per_token.latency.mean": 0.019237726136158578,
|
12 |
+
"per_token.throughput.value": 51.98119533058712
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022356799125671387,
|
21 |
+
"prefill.throughput.value": 313.10385537087865,
|
22 |
+
"decode.latency.mean": 2.5555784912109374,
|
23 |
+
"decode.throughput.value": 49.69520616829977,
|
24 |
+
"per_token.latency.mean": 0.020204191924083844,
|
25 |
+
"per_token.throughput.value": 49.494679309989024
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "3345ae733b6f4aeb7204a0f3e646a3cdbaad0023",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014050096035003661,
|
34 |
+
"prefill.throughput.value": 498.21723513921705,
|
35 |
+
"decode.latency.mean": 1.5572908325195312,
|
36 |
+
"decode.throughput.value": 81.55188314730364,
|
37 |
+
"per_token.latency.mean": 0.012314810176140707,
|
38 |
+
"per_token.throughput.value": 81.2030381058936
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-07-02/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"3345ae733b6f4aeb7204a0f3e646a3cdbaad0023": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02310329532623291,
|
7 |
+
"prefill.throughput.value": 302.9870804643079,
|
8 |
+
"decode.latency.mean": 2.4337664794921876,
|
9 |
+
"decode.throughput.value": 52.18249206328905,
|
10 |
+
"per_token.latency.mean": 0.019237726136158578,
|
11 |
+
"per_token.throughput.value": 51.98119533058712
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"3345ae733b6f4aeb7204a0f3e646a3cdbaad0023": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022356799125671387,
|
19 |
+
"prefill.throughput.value": 313.10385537087865,
|
20 |
+
"decode.latency.mean": 2.5555784912109374,
|
21 |
+
"decode.throughput.value": 49.69520616829977,
|
22 |
+
"per_token.latency.mean": 0.020204191924083844,
|
23 |
+
"per_token.throughput.value": 49.494679309989024
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"3345ae733b6f4aeb7204a0f3e646a3cdbaad0023": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014050096035003661,
|
31 |
+
"prefill.throughput.value": 498.21723513921705,
|
32 |
+
"decode.latency.mean": 1.5572908325195312,
|
33 |
+
"decode.throughput.value": 81.55188314730364,
|
34 |
+
"per_token.latency.mean": 0.012314810176140707,
|
35 |
+
"per_token.throughput.value": 81.2030381058936
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|