hf-transformers-bot
commited on
Commit
•
9e9713d
1
Parent(s):
3d96c30
Upload folder using huggingface_hub
Browse files- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml +232 -0
- 2024-06-29/summaries.json +41 -0
- 2024-06-29/summary.json +40 -0
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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: e65502951593a76844e872fee9c56b805598538a
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a
|
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/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a
|
88 |
+
- hydra.run.dir=_benchmark/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
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": 1706.323968,
|
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.03991440010070801,
|
118 |
+
"mean": 0.019957200050354004,
|
119 |
+
"stdev": 0.0005659360885620114,
|
120 |
+
"p50": 0.019957200050354004,
|
121 |
+
"p90": 0.020409948921203614,
|
122 |
+
"p95": 0.020466542530059813,
|
123 |
+
"p99": 0.020511817417144775,
|
124 |
+
"values": [
|
125 |
+
0.020523136138916015,
|
126 |
+
0.019391263961791992
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 350.75060541249786
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1706.41408,
|
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.7911008300781255,
|
149 |
+
"mean": 2.3955504150390627,
|
150 |
+
"stdev": 0.013366821289062303,
|
151 |
+
"p50": 2.3955504150390627,
|
152 |
+
"p90": 2.4062438720703123,
|
153 |
+
"p95": 2.407580554199219,
|
154 |
+
"p99": 2.408649899902344,
|
155 |
+
"values": [
|
156 |
+
2.408917236328125,
|
157 |
+
2.38218359375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 53.014956063001115
|
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.7906600875854455,
|
173 |
+
"mean": 0.018935415365950392,
|
174 |
+
"stdev": 0.0012366286068722508,
|
175 |
+
"p50": 0.018754560470581053,
|
176 |
+
"p90": 0.01928151092529297,
|
177 |
+
"p95": 0.019413811111450196,
|
178 |
+
"p99": 0.019783474807739256,
|
179 |
+
"values": [
|
180 |
+
0.01962495994567871,
|
181 |
+
0.01942425537109375,
|
182 |
+
0.01926348876953125,
|
183 |
+
0.01923583984375,
|
184 |
+
0.019217439651489258,
|
185 |
+
0.019110879898071288,
|
186 |
+
0.01924095916748047,
|
187 |
+
0.019083263397216797,
|
188 |
+
0.019056640625,
|
189 |
+
0.019066879272460938,
|
190 |
+
0.019471359252929688,
|
191 |
+
0.019381248474121093,
|
192 |
+
0.01921433639526367,
|
193 |
+
0.019110912322998046,
|
194 |
+
0.01946214485168457,
|
195 |
+
0.019353599548339845,
|
196 |
+
0.019316736221313476,
|
197 |
+
0.019054592132568358,
|
198 |
+
0.01918156814575195,
|
199 |
+
0.0192225284576416,
|
200 |
+
0.01919795227050781,
|
201 |
+
0.018985984802246093,
|
202 |
+
0.01903411293029785,
|
203 |
+
0.019149824142456053,
|
204 |
+
0.01901260757446289,
|
205 |
+
0.01899622344970703,
|
206 |
+
0.01901158332824707,
|
207 |
+
0.019140607833862306,
|
208 |
+
0.01943756866455078,
|
209 |
+
0.01941094398498535,
|
210 |
+
0.01921023941040039,
|
211 |
+
0.019180543899536134,
|
212 |
+
0.019381248474121093,
|
213 |
+
0.019072000503540038,
|
214 |
+
0.019134464263916014,
|
215 |
+
0.019153919219970703,
|
216 |
+
0.01941094398498535,
|
217 |
+
0.01897881507873535,
|
218 |
+
0.019076095581054688,
|
219 |
+
0.018993152618408202,
|
220 |
+
0.01905356788635254,
|
221 |
+
0.01903923225402832,
|
222 |
+
0.018990079879760743,
|
223 |
+
0.018960384368896483,
|
224 |
+
0.018994176864624023,
|
225 |
+
0.018868223190307617,
|
226 |
+
0.018902015686035157,
|
227 |
+
0.018990079879760743,
|
228 |
+
0.01889587211608887,
|
229 |
+
0.018553855895996094,
|
230 |
+
0.018911231994628908,
|
231 |
+
0.019292160034179686,
|
232 |
+
0.01924710464477539,
|
233 |
+
0.019108863830566408,
|
234 |
+
0.019192832946777344,
|
235 |
+
0.019123199462890626,
|
236 |
+
0.018724863052368163,
|
237 |
+
0.01869004821777344,
|
238 |
+
0.018728960037231446,
|
239 |
+
0.018753536224365236,
|
240 |
+
0.018736127853393555,
|
241 |
+
0.018733055114746093,
|
242 |
+
0.018723840713500976,
|
243 |
+
0.018683904647827147,
|
244 |
+
0.018757631301879883,
|
245 |
+
0.018733055114746093,
|
246 |
+
0.018909183502197266,
|
247 |
+
0.018751487731933594,
|
248 |
+
0.018708480834960937,
|
249 |
+
0.018749439239501953,
|
250 |
+
0.018705408096313478,
|
251 |
+
0.018694143295288086,
|
252 |
+
0.018699264526367186,
|
253 |
+
0.018741247177124023,
|
254 |
+
0.018667520523071288,
|
255 |
+
0.018683904647827147,
|
256 |
+
0.018715648651123046,
|
257 |
+
0.01881497573852539,
|
258 |
+
0.018737152099609376,
|
259 |
+
0.018701311111450195,
|
260 |
+
0.018766847610473633,
|
261 |
+
0.018707456588745116,
|
262 |
+
0.0187064323425293,
|
263 |
+
0.018737152099609376,
|
264 |
+
0.018782207489013672,
|
265 |
+
0.01880575942993164,
|
266 |
+
0.018737152099609376,
|
267 |
+
0.018707456588745116,
|
268 |
+
0.018722816467285155,
|
269 |
+
0.018739200592041014,
|
270 |
+
0.018695167541503906,
|
271 |
+
0.018762752532958983,
|
272 |
+
0.01878835105895996,
|
273 |
+
0.018709503173828124,
|
274 |
+
0.018771968841552734,
|
275 |
+
0.018695167541503906,
|
276 |
+
0.018721792221069337,
|
277 |
+
0.018701311111450195,
|
278 |
+
0.018883583068847656,
|
279 |
+
0.018762752532958983,
|
280 |
+
0.019603456497192383,
|
281 |
+
0.01985536003112793,
|
282 |
+
0.019717119216918946,
|
283 |
+
0.019418111801147463,
|
284 |
+
0.019382272720336914,
|
285 |
+
0.018775039672851563,
|
286 |
+
0.018683904647827147,
|
287 |
+
0.018727935791015626,
|
288 |
+
0.01876479911804199,
|
289 |
+
0.018708480834960937,
|
290 |
+
0.018733055114746093,
|
291 |
+
0.019575904846191407,
|
292 |
+
0.01880361557006836,
|
293 |
+
0.01878937530517578,
|
294 |
+
0.018808832168579103,
|
295 |
+
0.018783296585083008,
|
296 |
+
0.018760639190673827,
|
297 |
+
0.01864806365966797,
|
298 |
+
0.018769920349121092,
|
299 |
+
0.018714624404907225,
|
300 |
+
0.018758655548095703,
|
301 |
+
0.018753536224365236,
|
302 |
+
0.018689023971557618,
|
303 |
+
0.018721792221069337,
|
304 |
+
0.018731008529663085,
|
305 |
+
0.018752511978149415,
|
306 |
+
0.0381030387878418,
|
307 |
+
0.018576383590698242,
|
308 |
+
0.018555904388427736,
|
309 |
+
0.018647039413452148,
|
310 |
+
0.018552831649780274,
|
311 |
+
0.018586624145507814,
|
312 |
+
0.018619392395019533,
|
313 |
+
0.018573312759399413,
|
314 |
+
0.018543615341186523,
|
315 |
+
0.01863270378112793,
|
316 |
+
0.01861427116394043,
|
317 |
+
0.018597888946533202,
|
318 |
+
0.018431999206542968,
|
319 |
+
0.018447391510009764,
|
320 |
+
0.01845039939880371,
|
321 |
+
0.01865830421447754,
|
322 |
+
0.01862758445739746,
|
323 |
+
0.01864396858215332,
|
324 |
+
0.018611200332641603,
|
325 |
+
0.018723840713500976,
|
326 |
+
0.018637823104858398,
|
327 |
+
0.01860505676269531,
|
328 |
+
0.018597888946533202,
|
329 |
+
0.018663423538208008,
|
330 |
+
0.018753536224365236,
|
331 |
+
0.01859174346923828,
|
332 |
+
0.01862041664123535,
|
333 |
+
0.018611200332641603,
|
334 |
+
0.018817024230957033,
|
335 |
+
0.018646015167236327,
|
336 |
+
0.01948876762390137,
|
337 |
+
0.019286016464233398,
|
338 |
+
0.01904435157775879,
|
339 |
+
0.01919385528564453,
|
340 |
+
0.019286016464233398,
|
341 |
+
0.018646015167236327,
|
342 |
+
0.01862553596496582,
|
343 |
+
0.01867263984680176,
|
344 |
+
0.018726911544799805,
|
345 |
+
0.018663423538208008,
|
346 |
+
0.01868083190917969,
|
347 |
+
0.018663423538208008,
|
348 |
+
0.01866649627685547,
|
349 |
+
0.018634752273559572,
|
350 |
+
0.01860812759399414,
|
351 |
+
0.01860710334777832,
|
352 |
+
0.019366912841796875,
|
353 |
+
0.01867263984680176,
|
354 |
+
0.01863577651977539,
|
355 |
+
0.018671615600585938,
|
356 |
+
0.01862758445739746,
|
357 |
+
0.01863577651977539,
|
358 |
+
0.018663423538208008,
|
359 |
+
0.01862860870361328,
|
360 |
+
0.018659328460693358,
|
361 |
+
0.01862758445739746,
|
362 |
+
0.01860812759399414,
|
363 |
+
0.01879347229003906,
|
364 |
+
0.018791423797607423,
|
365 |
+
0.01880575942993164,
|
366 |
+
0.01901055908203125,
|
367 |
+
0.018790399551391602,
|
368 |
+
0.01880985641479492,
|
369 |
+
0.018761728286743166,
|
370 |
+
0.018741247177124023,
|
371 |
+
0.018876415252685547,
|
372 |
+
0.018753536224365236,
|
373 |
+
0.018771968841552734,
|
374 |
+
0.018767871856689454,
|
375 |
+
0.018744319915771485,
|
376 |
+
0.01925119972229004,
|
377 |
+
0.019324928283691405,
|
378 |
+
0.019338239669799806,
|
379 |
+
0.018784255981445314,
|
380 |
+
0.018777088165283205,
|
381 |
+
0.018739200592041014,
|
382 |
+
0.018824192047119142,
|
383 |
+
0.019021823883056642,
|
384 |
+
0.018783231735229493,
|
385 |
+
0.018800640106201173,
|
386 |
+
0.01879654312133789,
|
387 |
+
0.018785280227661134,
|
388 |
+
0.01878835105895996,
|
389 |
+
0.018738176345825194,
|
390 |
+
0.01880473518371582,
|
391 |
+
0.018777151107788086,
|
392 |
+
0.01874937629699707,
|
393 |
+
0.0186060791015625,
|
394 |
+
0.018573312759399413,
|
395 |
+
0.018729984283447267,
|
396 |
+
0.018754560470581053,
|
397 |
+
0.018751487731933594,
|
398 |
+
0.01925324821472168,
|
399 |
+
0.018840576171875,
|
400 |
+
0.018588672637939452,
|
401 |
+
0.018733055114746093,
|
402 |
+
0.018791423797607423,
|
403 |
+
0.018760704040527345,
|
404 |
+
0.018714624404907225,
|
405 |
+
0.01875660705566406,
|
406 |
+
0.018746368408203123,
|
407 |
+
0.01864908790588379,
|
408 |
+
0.018747392654418944,
|
409 |
+
0.018745344161987306,
|
410 |
+
0.018727935791015626,
|
411 |
+
0.018792448043823243,
|
412 |
+
0.018754560470581053,
|
413 |
+
0.018709503173828124,
|
414 |
+
0.018723840713500976,
|
415 |
+
0.018748416900634765,
|
416 |
+
0.018714624404907225,
|
417 |
+
0.018749439239501953,
|
418 |
+
0.018762752532958983,
|
419 |
+
0.018678783416748047,
|
420 |
+
0.018735103607177735,
|
421 |
+
0.018684959411621092,
|
422 |
+
0.01870025634765625,
|
423 |
+
0.018696191787719727,
|
424 |
+
0.018787328720092773,
|
425 |
+
0.01879859161376953,
|
426 |
+
0.018784255981445314,
|
427 |
+
0.018769920349121092,
|
428 |
+
0.018731008529663085,
|
429 |
+
0.018670591354370117,
|
430 |
+
0.018719743728637696,
|
431 |
+
0.018915327072143554,
|
432 |
+
0.019960832595825196
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 52.811093956681674
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": 1706.323968,
|
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.03991440010070801,
|
15 |
+
"mean": 0.019957200050354004,
|
16 |
+
"stdev": 0.0005659360885620114,
|
17 |
+
"p50": 0.019957200050354004,
|
18 |
+
"p90": 0.020409948921203614,
|
19 |
+
"p95": 0.020466542530059813,
|
20 |
+
"p99": 0.020511817417144775,
|
21 |
+
"values": [
|
22 |
+
0.020523136138916015,
|
23 |
+
0.019391263961791992
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 350.75060541249786
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1706.41408,
|
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.7911008300781255,
|
46 |
+
"mean": 2.3955504150390627,
|
47 |
+
"stdev": 0.013366821289062303,
|
48 |
+
"p50": 2.3955504150390627,
|
49 |
+
"p90": 2.4062438720703123,
|
50 |
+
"p95": 2.407580554199219,
|
51 |
+
"p99": 2.408649899902344,
|
52 |
+
"values": [
|
53 |
+
2.408917236328125,
|
54 |
+
2.38218359375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 53.014956063001115
|
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.7906600875854455,
|
70 |
+
"mean": 0.018935415365950392,
|
71 |
+
"stdev": 0.0012366286068722508,
|
72 |
+
"p50": 0.018754560470581053,
|
73 |
+
"p90": 0.01928151092529297,
|
74 |
+
"p95": 0.019413811111450196,
|
75 |
+
"p99": 0.019783474807739256,
|
76 |
+
"values": [
|
77 |
+
0.01962495994567871,
|
78 |
+
0.01942425537109375,
|
79 |
+
0.01926348876953125,
|
80 |
+
0.01923583984375,
|
81 |
+
0.019217439651489258,
|
82 |
+
0.019110879898071288,
|
83 |
+
0.01924095916748047,
|
84 |
+
0.019083263397216797,
|
85 |
+
0.019056640625,
|
86 |
+
0.019066879272460938,
|
87 |
+
0.019471359252929688,
|
88 |
+
0.019381248474121093,
|
89 |
+
0.01921433639526367,
|
90 |
+
0.019110912322998046,
|
91 |
+
0.01946214485168457,
|
92 |
+
0.019353599548339845,
|
93 |
+
0.019316736221313476,
|
94 |
+
0.019054592132568358,
|
95 |
+
0.01918156814575195,
|
96 |
+
0.0192225284576416,
|
97 |
+
0.01919795227050781,
|
98 |
+
0.018985984802246093,
|
99 |
+
0.01903411293029785,
|
100 |
+
0.019149824142456053,
|
101 |
+
0.01901260757446289,
|
102 |
+
0.01899622344970703,
|
103 |
+
0.01901158332824707,
|
104 |
+
0.019140607833862306,
|
105 |
+
0.01943756866455078,
|
106 |
+
0.01941094398498535,
|
107 |
+
0.01921023941040039,
|
108 |
+
0.019180543899536134,
|
109 |
+
0.019381248474121093,
|
110 |
+
0.019072000503540038,
|
111 |
+
0.019134464263916014,
|
112 |
+
0.019153919219970703,
|
113 |
+
0.01941094398498535,
|
114 |
+
0.01897881507873535,
|
115 |
+
0.019076095581054688,
|
116 |
+
0.018993152618408202,
|
117 |
+
0.01905356788635254,
|
118 |
+
0.01903923225402832,
|
119 |
+
0.018990079879760743,
|
120 |
+
0.018960384368896483,
|
121 |
+
0.018994176864624023,
|
122 |
+
0.018868223190307617,
|
123 |
+
0.018902015686035157,
|
124 |
+
0.018990079879760743,
|
125 |
+
0.01889587211608887,
|
126 |
+
0.018553855895996094,
|
127 |
+
0.018911231994628908,
|
128 |
+
0.019292160034179686,
|
129 |
+
0.01924710464477539,
|
130 |
+
0.019108863830566408,
|
131 |
+
0.019192832946777344,
|
132 |
+
0.019123199462890626,
|
133 |
+
0.018724863052368163,
|
134 |
+
0.01869004821777344,
|
135 |
+
0.018728960037231446,
|
136 |
+
0.018753536224365236,
|
137 |
+
0.018736127853393555,
|
138 |
+
0.018733055114746093,
|
139 |
+
0.018723840713500976,
|
140 |
+
0.018683904647827147,
|
141 |
+
0.018757631301879883,
|
142 |
+
0.018733055114746093,
|
143 |
+
0.018909183502197266,
|
144 |
+
0.018751487731933594,
|
145 |
+
0.018708480834960937,
|
146 |
+
0.018749439239501953,
|
147 |
+
0.018705408096313478,
|
148 |
+
0.018694143295288086,
|
149 |
+
0.018699264526367186,
|
150 |
+
0.018741247177124023,
|
151 |
+
0.018667520523071288,
|
152 |
+
0.018683904647827147,
|
153 |
+
0.018715648651123046,
|
154 |
+
0.01881497573852539,
|
155 |
+
0.018737152099609376,
|
156 |
+
0.018701311111450195,
|
157 |
+
0.018766847610473633,
|
158 |
+
0.018707456588745116,
|
159 |
+
0.0187064323425293,
|
160 |
+
0.018737152099609376,
|
161 |
+
0.018782207489013672,
|
162 |
+
0.01880575942993164,
|
163 |
+
0.018737152099609376,
|
164 |
+
0.018707456588745116,
|
165 |
+
0.018722816467285155,
|
166 |
+
0.018739200592041014,
|
167 |
+
0.018695167541503906,
|
168 |
+
0.018762752532958983,
|
169 |
+
0.01878835105895996,
|
170 |
+
0.018709503173828124,
|
171 |
+
0.018771968841552734,
|
172 |
+
0.018695167541503906,
|
173 |
+
0.018721792221069337,
|
174 |
+
0.018701311111450195,
|
175 |
+
0.018883583068847656,
|
176 |
+
0.018762752532958983,
|
177 |
+
0.019603456497192383,
|
178 |
+
0.01985536003112793,
|
179 |
+
0.019717119216918946,
|
180 |
+
0.019418111801147463,
|
181 |
+
0.019382272720336914,
|
182 |
+
0.018775039672851563,
|
183 |
+
0.018683904647827147,
|
184 |
+
0.018727935791015626,
|
185 |
+
0.01876479911804199,
|
186 |
+
0.018708480834960937,
|
187 |
+
0.018733055114746093,
|
188 |
+
0.019575904846191407,
|
189 |
+
0.01880361557006836,
|
190 |
+
0.01878937530517578,
|
191 |
+
0.018808832168579103,
|
192 |
+
0.018783296585083008,
|
193 |
+
0.018760639190673827,
|
194 |
+
0.01864806365966797,
|
195 |
+
0.018769920349121092,
|
196 |
+
0.018714624404907225,
|
197 |
+
0.018758655548095703,
|
198 |
+
0.018753536224365236,
|
199 |
+
0.018689023971557618,
|
200 |
+
0.018721792221069337,
|
201 |
+
0.018731008529663085,
|
202 |
+
0.018752511978149415,
|
203 |
+
0.0381030387878418,
|
204 |
+
0.018576383590698242,
|
205 |
+
0.018555904388427736,
|
206 |
+
0.018647039413452148,
|
207 |
+
0.018552831649780274,
|
208 |
+
0.018586624145507814,
|
209 |
+
0.018619392395019533,
|
210 |
+
0.018573312759399413,
|
211 |
+
0.018543615341186523,
|
212 |
+
0.01863270378112793,
|
213 |
+
0.01861427116394043,
|
214 |
+
0.018597888946533202,
|
215 |
+
0.018431999206542968,
|
216 |
+
0.018447391510009764,
|
217 |
+
0.01845039939880371,
|
218 |
+
0.01865830421447754,
|
219 |
+
0.01862758445739746,
|
220 |
+
0.01864396858215332,
|
221 |
+
0.018611200332641603,
|
222 |
+
0.018723840713500976,
|
223 |
+
0.018637823104858398,
|
224 |
+
0.01860505676269531,
|
225 |
+
0.018597888946533202,
|
226 |
+
0.018663423538208008,
|
227 |
+
0.018753536224365236,
|
228 |
+
0.01859174346923828,
|
229 |
+
0.01862041664123535,
|
230 |
+
0.018611200332641603,
|
231 |
+
0.018817024230957033,
|
232 |
+
0.018646015167236327,
|
233 |
+
0.01948876762390137,
|
234 |
+
0.019286016464233398,
|
235 |
+
0.01904435157775879,
|
236 |
+
0.01919385528564453,
|
237 |
+
0.019286016464233398,
|
238 |
+
0.018646015167236327,
|
239 |
+
0.01862553596496582,
|
240 |
+
0.01867263984680176,
|
241 |
+
0.018726911544799805,
|
242 |
+
0.018663423538208008,
|
243 |
+
0.01868083190917969,
|
244 |
+
0.018663423538208008,
|
245 |
+
0.01866649627685547,
|
246 |
+
0.018634752273559572,
|
247 |
+
0.01860812759399414,
|
248 |
+
0.01860710334777832,
|
249 |
+
0.019366912841796875,
|
250 |
+
0.01867263984680176,
|
251 |
+
0.01863577651977539,
|
252 |
+
0.018671615600585938,
|
253 |
+
0.01862758445739746,
|
254 |
+
0.01863577651977539,
|
255 |
+
0.018663423538208008,
|
256 |
+
0.01862860870361328,
|
257 |
+
0.018659328460693358,
|
258 |
+
0.01862758445739746,
|
259 |
+
0.01860812759399414,
|
260 |
+
0.01879347229003906,
|
261 |
+
0.018791423797607423,
|
262 |
+
0.01880575942993164,
|
263 |
+
0.01901055908203125,
|
264 |
+
0.018790399551391602,
|
265 |
+
0.01880985641479492,
|
266 |
+
0.018761728286743166,
|
267 |
+
0.018741247177124023,
|
268 |
+
0.018876415252685547,
|
269 |
+
0.018753536224365236,
|
270 |
+
0.018771968841552734,
|
271 |
+
0.018767871856689454,
|
272 |
+
0.018744319915771485,
|
273 |
+
0.01925119972229004,
|
274 |
+
0.019324928283691405,
|
275 |
+
0.019338239669799806,
|
276 |
+
0.018784255981445314,
|
277 |
+
0.018777088165283205,
|
278 |
+
0.018739200592041014,
|
279 |
+
0.018824192047119142,
|
280 |
+
0.019021823883056642,
|
281 |
+
0.018783231735229493,
|
282 |
+
0.018800640106201173,
|
283 |
+
0.01879654312133789,
|
284 |
+
0.018785280227661134,
|
285 |
+
0.01878835105895996,
|
286 |
+
0.018738176345825194,
|
287 |
+
0.01880473518371582,
|
288 |
+
0.018777151107788086,
|
289 |
+
0.01874937629699707,
|
290 |
+
0.0186060791015625,
|
291 |
+
0.018573312759399413,
|
292 |
+
0.018729984283447267,
|
293 |
+
0.018754560470581053,
|
294 |
+
0.018751487731933594,
|
295 |
+
0.01925324821472168,
|
296 |
+
0.018840576171875,
|
297 |
+
0.018588672637939452,
|
298 |
+
0.018733055114746093,
|
299 |
+
0.018791423797607423,
|
300 |
+
0.018760704040527345,
|
301 |
+
0.018714624404907225,
|
302 |
+
0.01875660705566406,
|
303 |
+
0.018746368408203123,
|
304 |
+
0.01864908790588379,
|
305 |
+
0.018747392654418944,
|
306 |
+
0.018745344161987306,
|
307 |
+
0.018727935791015626,
|
308 |
+
0.018792448043823243,
|
309 |
+
0.018754560470581053,
|
310 |
+
0.018709503173828124,
|
311 |
+
0.018723840713500976,
|
312 |
+
0.018748416900634765,
|
313 |
+
0.018714624404907225,
|
314 |
+
0.018749439239501953,
|
315 |
+
0.018762752532958983,
|
316 |
+
0.018678783416748047,
|
317 |
+
0.018735103607177735,
|
318 |
+
0.018684959411621092,
|
319 |
+
0.01870025634765625,
|
320 |
+
0.018696191787719727,
|
321 |
+
0.018787328720092773,
|
322 |
+
0.01879859161376953,
|
323 |
+
0.018784255981445314,
|
324 |
+
0.018769920349121092,
|
325 |
+
0.018731008529663085,
|
326 |
+
0.018670591354370117,
|
327 |
+
0.018719743728637696,
|
328 |
+
0.018915327072143554,
|
329 |
+
0.019960832595825196
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 52.811093956681674
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.019957200050354004,
|
7 |
+
"prefill.throughput.value": 350.75060541249786,
|
8 |
+
"decode.latency.mean": 2.3955504150390627,
|
9 |
+
"decode.throughput.value": 53.014956063001115,
|
10 |
+
"per_token.latency.mean": 0.018935415365950392,
|
11 |
+
"per_token.throughput.value": 52.811093956681674
|
12 |
+
}
|
13 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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: e65502951593a76844e872fee9c56b805598538a
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a
|
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/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a
|
88 |
+
- hydra.run.dir=_benchmark/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-29 02:34:00,560[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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: e65502951593a76844e872fee9c56b805598538a
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a
|
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/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a
|
88 |
+
- hydra.run.dir=_benchmark/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
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": 1785.061376,
|
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.05127644920349121,
|
118 |
+
"mean": 0.025638224601745606,
|
119 |
+
"stdev": 0.0037950239181518547,
|
120 |
+
"p50": 0.025638224601745606,
|
121 |
+
"p90": 0.02867424373626709,
|
122 |
+
"p95": 0.029053746128082276,
|
123 |
+
"p99": 0.029357348041534424,
|
124 |
+
"values": [
|
125 |
+
0.02943324851989746,
|
126 |
+
0.02184320068359375
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 273.02982592341425
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1785.073664,
|
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.213842529296875,
|
149 |
+
"mean": 2.6069212646484377,
|
150 |
+
"stdev": 0.022105346679687443,
|
151 |
+
"p50": 2.6069212646484377,
|
152 |
+
"p90": 2.6246055419921874,
|
153 |
+
"p95": 2.6268160766601563,
|
154 |
+
"p99": 2.6285845043945315,
|
155 |
+
"values": [
|
156 |
+
2.629026611328125,
|
157 |
+
2.58481591796875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.71646939330439
|
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.213787134170534,
|
173 |
+
"mean": 0.020607854285259023,
|
174 |
+
"stdev": 0.0014440588866297017,
|
175 |
+
"p50": 0.020575231552124023,
|
176 |
+
"p90": 0.021163007736206055,
|
177 |
+
"p95": 0.021507277297973634,
|
178 |
+
"p99": 0.022305013656616208,
|
179 |
+
"values": [
|
180 |
+
0.02265190315246582,
|
181 |
+
0.020952064514160155,
|
182 |
+
0.020988927841186524,
|
183 |
+
0.020789247512817383,
|
184 |
+
0.02190028762817383,
|
185 |
+
0.020669439315795898,
|
186 |
+
0.02067353630065918,
|
187 |
+
0.021380096435546874,
|
188 |
+
0.021111808776855468,
|
189 |
+
0.021570560455322265,
|
190 |
+
0.02147430419921875,
|
191 |
+
0.020575231552124023,
|
192 |
+
0.021234687805175782,
|
193 |
+
0.022188032150268554,
|
194 |
+
0.02168627166748047,
|
195 |
+
0.021307392120361326,
|
196 |
+
0.021356544494628905,
|
197 |
+
0.021515264511108398,
|
198 |
+
0.021643264770507813,
|
199 |
+
0.02046668815612793,
|
200 |
+
0.020710399627685547,
|
201 |
+
0.02126028823852539,
|
202 |
+
0.021053440093994142,
|
203 |
+
0.02060492706298828,
|
204 |
+
0.02122547149658203,
|
205 |
+
0.02243174362182617,
|
206 |
+
0.02168115234375,
|
207 |
+
0.021552127838134767,
|
208 |
+
0.02150912094116211,
|
209 |
+
0.02067967987060547,
|
210 |
+
0.020668415069580077,
|
211 |
+
0.02068889617919922,
|
212 |
+
0.02081996726989746,
|
213 |
+
0.020764671325683593,
|
214 |
+
0.021098495483398438,
|
215 |
+
0.020934656143188478,
|
216 |
+
0.020559871673583984,
|
217 |
+
0.020966400146484376,
|
218 |
+
0.02044108772277832,
|
219 |
+
0.02038374328613281,
|
220 |
+
0.020479999542236327,
|
221 |
+
0.021024768829345702,
|
222 |
+
0.020518911361694335,
|
223 |
+
0.02064588737487793,
|
224 |
+
0.020579328536987306,
|
225 |
+
0.020739072799682616,
|
226 |
+
0.019964927673339843,
|
227 |
+
0.01993011283874512,
|
228 |
+
0.02064896011352539,
|
229 |
+
0.019961856842041017,
|
230 |
+
0.019961856842041017,
|
231 |
+
0.020222976684570314,
|
232 |
+
0.020634624481201173,
|
233 |
+
0.02070528030395508,
|
234 |
+
0.020711423873901368,
|
235 |
+
0.020745216369628908,
|
236 |
+
0.02005504035949707,
|
237 |
+
0.020068351745605468,
|
238 |
+
0.02067046356201172,
|
239 |
+
0.020980735778808594,
|
240 |
+
0.020880384445190428,
|
241 |
+
0.02083328056335449,
|
242 |
+
0.020755456924438476,
|
243 |
+
0.02008883285522461,
|
244 |
+
0.02008064079284668,
|
245 |
+
0.020504575729370117,
|
246 |
+
0.02007244873046875,
|
247 |
+
0.02007347106933594,
|
248 |
+
0.020690944671630858,
|
249 |
+
0.020884479522705078,
|
250 |
+
0.02082611274719238,
|
251 |
+
0.020479999542236327,
|
252 |
+
0.02083020782470703,
|
253 |
+
0.0200949764251709,
|
254 |
+
0.021393407821655275,
|
255 |
+
0.020853759765625,
|
256 |
+
0.02083020782470703,
|
257 |
+
0.02009600067138672,
|
258 |
+
0.02001817512512207,
|
259 |
+
0.020584447860717774,
|
260 |
+
0.020074495315551756,
|
261 |
+
0.02007961654663086,
|
262 |
+
0.020166656494140626,
|
263 |
+
0.020641792297363282,
|
264 |
+
0.02003865623474121,
|
265 |
+
0.02008780860900879,
|
266 |
+
0.020590591430664062,
|
267 |
+
0.02079641532897949,
|
268 |
+
0.020756479263305663,
|
269 |
+
0.020808704376220705,
|
270 |
+
0.020075519561767577,
|
271 |
+
0.02006220817565918,
|
272 |
+
0.02003558349609375,
|
273 |
+
0.02059775924682617,
|
274 |
+
0.020738048553466795,
|
275 |
+
0.020797439575195312,
|
276 |
+
0.020786176681518553,
|
277 |
+
0.02004377555847168,
|
278 |
+
0.02003558349609375,
|
279 |
+
0.02004172706604004,
|
280 |
+
0.02087424087524414,
|
281 |
+
0.020809728622436522,
|
282 |
+
0.020757503509521484,
|
283 |
+
0.020768768310546876,
|
284 |
+
0.020908031463623047,
|
285 |
+
0.020057088851928712,
|
286 |
+
0.02002841567993164,
|
287 |
+
0.02067353630065918,
|
288 |
+
0.020701183319091796,
|
289 |
+
0.020758527755737305,
|
290 |
+
0.02084556770324707,
|
291 |
+
0.020751359939575196,
|
292 |
+
0.020765695571899414,
|
293 |
+
0.020093952178955078,
|
294 |
+
0.020780031204223632,
|
295 |
+
0.02032640075683594,
|
296 |
+
0.020063232421875,
|
297 |
+
0.020102144241333008,
|
298 |
+
0.02012876892089844,
|
299 |
+
0.020129791259765627,
|
300 |
+
0.020121599197387697,
|
301 |
+
0.02011238479614258,
|
302 |
+
0.020108287811279296,
|
303 |
+
0.021357568740844726,
|
304 |
+
0.0208035831451416,
|
305 |
+
0.020722688674926756,
|
306 |
+
0.04204748916625976,
|
307 |
+
0.020084735870361328,
|
308 |
+
0.02005299186706543,
|
309 |
+
0.02004684829711914,
|
310 |
+
0.02002739143371582,
|
311 |
+
0.02004991912841797,
|
312 |
+
0.019998720169067383,
|
313 |
+
0.020108287811279296,
|
314 |
+
0.02002022361755371,
|
315 |
+
0.02001408004760742,
|
316 |
+
0.020000768661499024,
|
317 |
+
0.020530176162719727,
|
318 |
+
0.020157440185546875,
|
319 |
+
0.01987481689453125,
|
320 |
+
0.02002841567993164,
|
321 |
+
0.02005606460571289,
|
322 |
+
0.019990528106689453,
|
323 |
+
0.020016128540039063,
|
324 |
+
0.02004172706604004,
|
325 |
+
0.020090879440307616,
|
326 |
+
0.02066227149963379,
|
327 |
+
0.02103603172302246,
|
328 |
+
0.02083020782470703,
|
329 |
+
0.020773887634277344,
|
330 |
+
0.020051967620849608,
|
331 |
+
0.020403200149536133,
|
332 |
+
0.020784128189086915,
|
333 |
+
0.02008576011657715,
|
334 |
+
0.020001792907714845,
|
335 |
+
0.020017152786254884,
|
336 |
+
0.01998847961425781,
|
337 |
+
0.02002943992614746,
|
338 |
+
0.02000486373901367,
|
339 |
+
0.020001792907714845,
|
340 |
+
0.020059135437011717,
|
341 |
+
0.020000768661499024,
|
342 |
+
0.020000768661499024,
|
343 |
+
0.020009983062744142,
|
344 |
+
0.02000588798522949,
|
345 |
+
0.020031488418579102,
|
346 |
+
0.02001203155517578,
|
347 |
+
0.019975168228149414,
|
348 |
+
0.020139007568359374,
|
349 |
+
0.020146175384521483,
|
350 |
+
0.02006937599182129,
|
351 |
+
0.02083635139465332,
|
352 |
+
0.02091007995605469,
|
353 |
+
0.02082918357849121,
|
354 |
+
0.020742143630981445,
|
355 |
+
0.02007040023803711,
|
356 |
+
0.020051967620849608,
|
357 |
+
0.020024320602416993,
|
358 |
+
0.019987455368041994,
|
359 |
+
0.019997695922851562,
|
360 |
+
0.02004684829711914,
|
361 |
+
0.020331520080566406,
|
362 |
+
0.02083737564086914,
|
363 |
+
0.02086911964416504,
|
364 |
+
0.020764671325683593,
|
365 |
+
0.02004684829711914,
|
366 |
+
0.020024320602416993,
|
367 |
+
0.02002739143371582,
|
368 |
+
0.02004172706604004,
|
369 |
+
0.020560895919799805,
|
370 |
+
0.020405248641967775,
|
371 |
+
0.01983590316772461,
|
372 |
+
0.019982336044311523,
|
373 |
+
0.020011007308959963,
|
374 |
+
0.02002022361755371,
|
375 |
+
0.02003455924987793,
|
376 |
+
0.020007936477661133,
|
377 |
+
0.020966400146484376,
|
378 |
+
0.021130239486694336,
|
379 |
+
0.020167680740356447,
|
380 |
+
0.02082713508605957,
|
381 |
+
0.020789247512817383,
|
382 |
+
0.02125312042236328,
|
383 |
+
0.02081279945373535,
|
384 |
+
0.020847616195678712,
|
385 |
+
0.020099071502685546,
|
386 |
+
0.02082918357849121,
|
387 |
+
0.020771839141845702,
|
388 |
+
0.020808704376220705,
|
389 |
+
0.020771839141845702,
|
390 |
+
0.020695039749145508,
|
391 |
+
0.020340736389160157,
|
392 |
+
0.020952064514160155,
|
393 |
+
0.02086195182800293,
|
394 |
+
0.02079539108276367,
|
395 |
+
0.020769792556762694,
|
396 |
+
0.02004787254333496,
|
397 |
+
0.02006118392944336,
|
398 |
+
0.02003763198852539,
|
399 |
+
0.020291584014892578,
|
400 |
+
0.020525056838989256,
|
401 |
+
0.0208353271484375,
|
402 |
+
0.020752384185791017,
|
403 |
+
0.020775936126708985,
|
404 |
+
0.020722688674926756,
|
405 |
+
0.02007347106933594,
|
406 |
+
0.020006912231445313,
|
407 |
+
0.020941823959350587,
|
408 |
+
0.020797439575195312,
|
409 |
+
0.02086809539794922,
|
410 |
+
0.020707328796386718,
|
411 |
+
0.020710399627685547,
|
412 |
+
0.02001408004760742,
|
413 |
+
0.020068351745605468,
|
414 |
+
0.020414464950561522,
|
415 |
+
0.020624383926391602,
|
416 |
+
0.019834880828857423,
|
417 |
+
0.01985740852355957,
|
418 |
+
0.019811328887939454,
|
419 |
+
0.01984511947631836,
|
420 |
+
0.01980723190307617,
|
421 |
+
0.019795967102050782,
|
422 |
+
0.020316160202026368,
|
423 |
+
0.021506048202514647,
|
424 |
+
0.021679103851318358,
|
425 |
+
0.02144767951965332,
|
426 |
+
0.02083328056335449,
|
427 |
+
0.021171199798583985,
|
428 |
+
0.0209039363861084,
|
429 |
+
0.020065280914306642,
|
430 |
+
0.02027008056640625,
|
431 |
+
0.020092927932739257,
|
432 |
+
0.02003046417236328
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.525187831675844
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": 1785.061376,
|
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.05127644920349121,
|
15 |
+
"mean": 0.025638224601745606,
|
16 |
+
"stdev": 0.0037950239181518547,
|
17 |
+
"p50": 0.025638224601745606,
|
18 |
+
"p90": 0.02867424373626709,
|
19 |
+
"p95": 0.029053746128082276,
|
20 |
+
"p99": 0.029357348041534424,
|
21 |
+
"values": [
|
22 |
+
0.02943324851989746,
|
23 |
+
0.02184320068359375
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 273.02982592341425
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1785.073664,
|
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.213842529296875,
|
46 |
+
"mean": 2.6069212646484377,
|
47 |
+
"stdev": 0.022105346679687443,
|
48 |
+
"p50": 2.6069212646484377,
|
49 |
+
"p90": 2.6246055419921874,
|
50 |
+
"p95": 2.6268160766601563,
|
51 |
+
"p99": 2.6285845043945315,
|
52 |
+
"values": [
|
53 |
+
2.629026611328125,
|
54 |
+
2.58481591796875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.71646939330439
|
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.213787134170534,
|
70 |
+
"mean": 0.020607854285259023,
|
71 |
+
"stdev": 0.0014440588866297017,
|
72 |
+
"p50": 0.020575231552124023,
|
73 |
+
"p90": 0.021163007736206055,
|
74 |
+
"p95": 0.021507277297973634,
|
75 |
+
"p99": 0.022305013656616208,
|
76 |
+
"values": [
|
77 |
+
0.02265190315246582,
|
78 |
+
0.020952064514160155,
|
79 |
+
0.020988927841186524,
|
80 |
+
0.020789247512817383,
|
81 |
+
0.02190028762817383,
|
82 |
+
0.020669439315795898,
|
83 |
+
0.02067353630065918,
|
84 |
+
0.021380096435546874,
|
85 |
+
0.021111808776855468,
|
86 |
+
0.021570560455322265,
|
87 |
+
0.02147430419921875,
|
88 |
+
0.020575231552124023,
|
89 |
+
0.021234687805175782,
|
90 |
+
0.022188032150268554,
|
91 |
+
0.02168627166748047,
|
92 |
+
0.021307392120361326,
|
93 |
+
0.021356544494628905,
|
94 |
+
0.021515264511108398,
|
95 |
+
0.021643264770507813,
|
96 |
+
0.02046668815612793,
|
97 |
+
0.020710399627685547,
|
98 |
+
0.02126028823852539,
|
99 |
+
0.021053440093994142,
|
100 |
+
0.02060492706298828,
|
101 |
+
0.02122547149658203,
|
102 |
+
0.02243174362182617,
|
103 |
+
0.02168115234375,
|
104 |
+
0.021552127838134767,
|
105 |
+
0.02150912094116211,
|
106 |
+
0.02067967987060547,
|
107 |
+
0.020668415069580077,
|
108 |
+
0.02068889617919922,
|
109 |
+
0.02081996726989746,
|
110 |
+
0.020764671325683593,
|
111 |
+
0.021098495483398438,
|
112 |
+
0.020934656143188478,
|
113 |
+
0.020559871673583984,
|
114 |
+
0.020966400146484376,
|
115 |
+
0.02044108772277832,
|
116 |
+
0.02038374328613281,
|
117 |
+
0.020479999542236327,
|
118 |
+
0.021024768829345702,
|
119 |
+
0.020518911361694335,
|
120 |
+
0.02064588737487793,
|
121 |
+
0.020579328536987306,
|
122 |
+
0.020739072799682616,
|
123 |
+
0.019964927673339843,
|
124 |
+
0.01993011283874512,
|
125 |
+
0.02064896011352539,
|
126 |
+
0.019961856842041017,
|
127 |
+
0.019961856842041017,
|
128 |
+
0.020222976684570314,
|
129 |
+
0.020634624481201173,
|
130 |
+
0.02070528030395508,
|
131 |
+
0.020711423873901368,
|
132 |
+
0.020745216369628908,
|
133 |
+
0.02005504035949707,
|
134 |
+
0.020068351745605468,
|
135 |
+
0.02067046356201172,
|
136 |
+
0.020980735778808594,
|
137 |
+
0.020880384445190428,
|
138 |
+
0.02083328056335449,
|
139 |
+
0.020755456924438476,
|
140 |
+
0.02008883285522461,
|
141 |
+
0.02008064079284668,
|
142 |
+
0.020504575729370117,
|
143 |
+
0.02007244873046875,
|
144 |
+
0.02007347106933594,
|
145 |
+
0.020690944671630858,
|
146 |
+
0.020884479522705078,
|
147 |
+
0.02082611274719238,
|
148 |
+
0.020479999542236327,
|
149 |
+
0.02083020782470703,
|
150 |
+
0.0200949764251709,
|
151 |
+
0.021393407821655275,
|
152 |
+
0.020853759765625,
|
153 |
+
0.02083020782470703,
|
154 |
+
0.02009600067138672,
|
155 |
+
0.02001817512512207,
|
156 |
+
0.020584447860717774,
|
157 |
+
0.020074495315551756,
|
158 |
+
0.02007961654663086,
|
159 |
+
0.020166656494140626,
|
160 |
+
0.020641792297363282,
|
161 |
+
0.02003865623474121,
|
162 |
+
0.02008780860900879,
|
163 |
+
0.020590591430664062,
|
164 |
+
0.02079641532897949,
|
165 |
+
0.020756479263305663,
|
166 |
+
0.020808704376220705,
|
167 |
+
0.020075519561767577,
|
168 |
+
0.02006220817565918,
|
169 |
+
0.02003558349609375,
|
170 |
+
0.02059775924682617,
|
171 |
+
0.020738048553466795,
|
172 |
+
0.020797439575195312,
|
173 |
+
0.020786176681518553,
|
174 |
+
0.02004377555847168,
|
175 |
+
0.02003558349609375,
|
176 |
+
0.02004172706604004,
|
177 |
+
0.02087424087524414,
|
178 |
+
0.020809728622436522,
|
179 |
+
0.020757503509521484,
|
180 |
+
0.020768768310546876,
|
181 |
+
0.020908031463623047,
|
182 |
+
0.020057088851928712,
|
183 |
+
0.02002841567993164,
|
184 |
+
0.02067353630065918,
|
185 |
+
0.020701183319091796,
|
186 |
+
0.020758527755737305,
|
187 |
+
0.02084556770324707,
|
188 |
+
0.020751359939575196,
|
189 |
+
0.020765695571899414,
|
190 |
+
0.020093952178955078,
|
191 |
+
0.020780031204223632,
|
192 |
+
0.02032640075683594,
|
193 |
+
0.020063232421875,
|
194 |
+
0.020102144241333008,
|
195 |
+
0.02012876892089844,
|
196 |
+
0.020129791259765627,
|
197 |
+
0.020121599197387697,
|
198 |
+
0.02011238479614258,
|
199 |
+
0.020108287811279296,
|
200 |
+
0.021357568740844726,
|
201 |
+
0.0208035831451416,
|
202 |
+
0.020722688674926756,
|
203 |
+
0.04204748916625976,
|
204 |
+
0.020084735870361328,
|
205 |
+
0.02005299186706543,
|
206 |
+
0.02004684829711914,
|
207 |
+
0.02002739143371582,
|
208 |
+
0.02004991912841797,
|
209 |
+
0.019998720169067383,
|
210 |
+
0.020108287811279296,
|
211 |
+
0.02002022361755371,
|
212 |
+
0.02001408004760742,
|
213 |
+
0.020000768661499024,
|
214 |
+
0.020530176162719727,
|
215 |
+
0.020157440185546875,
|
216 |
+
0.01987481689453125,
|
217 |
+
0.02002841567993164,
|
218 |
+
0.02005606460571289,
|
219 |
+
0.019990528106689453,
|
220 |
+
0.020016128540039063,
|
221 |
+
0.02004172706604004,
|
222 |
+
0.020090879440307616,
|
223 |
+
0.02066227149963379,
|
224 |
+
0.02103603172302246,
|
225 |
+
0.02083020782470703,
|
226 |
+
0.020773887634277344,
|
227 |
+
0.020051967620849608,
|
228 |
+
0.020403200149536133,
|
229 |
+
0.020784128189086915,
|
230 |
+
0.02008576011657715,
|
231 |
+
0.020001792907714845,
|
232 |
+
0.020017152786254884,
|
233 |
+
0.01998847961425781,
|
234 |
+
0.02002943992614746,
|
235 |
+
0.02000486373901367,
|
236 |
+
0.020001792907714845,
|
237 |
+
0.020059135437011717,
|
238 |
+
0.020000768661499024,
|
239 |
+
0.020000768661499024,
|
240 |
+
0.020009983062744142,
|
241 |
+
0.02000588798522949,
|
242 |
+
0.020031488418579102,
|
243 |
+
0.02001203155517578,
|
244 |
+
0.019975168228149414,
|
245 |
+
0.020139007568359374,
|
246 |
+
0.020146175384521483,
|
247 |
+
0.02006937599182129,
|
248 |
+
0.02083635139465332,
|
249 |
+
0.02091007995605469,
|
250 |
+
0.02082918357849121,
|
251 |
+
0.020742143630981445,
|
252 |
+
0.02007040023803711,
|
253 |
+
0.020051967620849608,
|
254 |
+
0.020024320602416993,
|
255 |
+
0.019987455368041994,
|
256 |
+
0.019997695922851562,
|
257 |
+
0.02004684829711914,
|
258 |
+
0.020331520080566406,
|
259 |
+
0.02083737564086914,
|
260 |
+
0.02086911964416504,
|
261 |
+
0.020764671325683593,
|
262 |
+
0.02004684829711914,
|
263 |
+
0.020024320602416993,
|
264 |
+
0.02002739143371582,
|
265 |
+
0.02004172706604004,
|
266 |
+
0.020560895919799805,
|
267 |
+
0.020405248641967775,
|
268 |
+
0.01983590316772461,
|
269 |
+
0.019982336044311523,
|
270 |
+
0.020011007308959963,
|
271 |
+
0.02002022361755371,
|
272 |
+
0.02003455924987793,
|
273 |
+
0.020007936477661133,
|
274 |
+
0.020966400146484376,
|
275 |
+
0.021130239486694336,
|
276 |
+
0.020167680740356447,
|
277 |
+
0.02082713508605957,
|
278 |
+
0.020789247512817383,
|
279 |
+
0.02125312042236328,
|
280 |
+
0.02081279945373535,
|
281 |
+
0.020847616195678712,
|
282 |
+
0.020099071502685546,
|
283 |
+
0.02082918357849121,
|
284 |
+
0.020771839141845702,
|
285 |
+
0.020808704376220705,
|
286 |
+
0.020771839141845702,
|
287 |
+
0.020695039749145508,
|
288 |
+
0.020340736389160157,
|
289 |
+
0.020952064514160155,
|
290 |
+
0.02086195182800293,
|
291 |
+
0.02079539108276367,
|
292 |
+
0.020769792556762694,
|
293 |
+
0.02004787254333496,
|
294 |
+
0.02006118392944336,
|
295 |
+
0.02003763198852539,
|
296 |
+
0.020291584014892578,
|
297 |
+
0.020525056838989256,
|
298 |
+
0.0208353271484375,
|
299 |
+
0.020752384185791017,
|
300 |
+
0.020775936126708985,
|
301 |
+
0.020722688674926756,
|
302 |
+
0.02007347106933594,
|
303 |
+
0.020006912231445313,
|
304 |
+
0.020941823959350587,
|
305 |
+
0.020797439575195312,
|
306 |
+
0.02086809539794922,
|
307 |
+
0.020707328796386718,
|
308 |
+
0.020710399627685547,
|
309 |
+
0.02001408004760742,
|
310 |
+
0.020068351745605468,
|
311 |
+
0.020414464950561522,
|
312 |
+
0.020624383926391602,
|
313 |
+
0.019834880828857423,
|
314 |
+
0.01985740852355957,
|
315 |
+
0.019811328887939454,
|
316 |
+
0.01984511947631836,
|
317 |
+
0.01980723190307617,
|
318 |
+
0.019795967102050782,
|
319 |
+
0.020316160202026368,
|
320 |
+
0.021506048202514647,
|
321 |
+
0.021679103851318358,
|
322 |
+
0.02144767951965332,
|
323 |
+
0.02083328056335449,
|
324 |
+
0.021171199798583985,
|
325 |
+
0.0209039363861084,
|
326 |
+
0.020065280914306642,
|
327 |
+
0.02027008056640625,
|
328 |
+
0.020092927932739257,
|
329 |
+
0.02003046417236328
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.525187831675844
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.025638224601745606,
|
7 |
+
"prefill.throughput.value": 273.02982592341425,
|
8 |
+
"decode.latency.mean": 2.6069212646484377,
|
9 |
+
"decode.throughput.value": 48.71646939330439,
|
10 |
+
"per_token.latency.mean": 0.020607854285259023,
|
11 |
+
"per_token.throughput.value": 48.525187831675844
|
12 |
+
}
|
13 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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: e65502951593a76844e872fee9c56b805598538a
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a
|
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/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a
|
88 |
+
- hydra.run.dir=_benchmark/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
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": 1914.806272,
|
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.028222463607788087,
|
118 |
+
"mean": 0.014111231803894043,
|
119 |
+
"stdev": 0.00015260791778564427,
|
120 |
+
"p50": 0.014111231803894043,
|
121 |
+
"p90": 0.014233318138122559,
|
122 |
+
"p95": 0.014248578929901123,
|
123 |
+
"p99": 0.014260787563323975,
|
124 |
+
"values": [
|
125 |
+
0.014263839721679687,
|
126 |
+
0.013958623886108398
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 496.05874931969623
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2258.735104,
|
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.148799926757812,
|
149 |
+
"mean": 1.574399963378906,
|
150 |
+
"stdev": 0.017521789550781208,
|
151 |
+
"p50": 1.574399963378906,
|
152 |
+
"p90": 1.5884173950195313,
|
153 |
+
"p95": 1.5901695739746093,
|
154 |
+
"p99": 1.5915713171386718,
|
155 |
+
"values": [
|
156 |
+
1.5919217529296874,
|
157 |
+
1.556878173828125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.66565228281532
|
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.1498588151931752,
|
173 |
+
"mean": 0.012450034842660775,
|
174 |
+
"stdev": 0.0009077030708089724,
|
175 |
+
"p50": 0.012275712013244629,
|
176 |
+
"p90": 0.012739583969116211,
|
177 |
+
"p95": 0.012771737861633301,
|
178 |
+
"p99": 0.012814745559692382,
|
179 |
+
"values": [
|
180 |
+
0.012695551872253418,
|
181 |
+
0.012795904159545898,
|
182 |
+
0.012724224090576173,
|
183 |
+
0.012752896308898925,
|
184 |
+
0.012720128059387208,
|
185 |
+
0.01276313591003418,
|
186 |
+
0.012711935997009278,
|
187 |
+
0.013198335647583008,
|
188 |
+
0.012687423706054687,
|
189 |
+
0.012736448287963867,
|
190 |
+
0.012718079566955566,
|
191 |
+
0.012784640312194824,
|
192 |
+
0.01274060821533203,
|
193 |
+
0.012728320121765137,
|
194 |
+
0.012682239532470703,
|
195 |
+
0.012760064125061036,
|
196 |
+
0.012705792427062988,
|
197 |
+
0.012817407608032226,
|
198 |
+
0.012727295875549317,
|
199 |
+
0.012812288284301757,
|
200 |
+
0.012699647903442383,
|
201 |
+
0.012736512184143066,
|
202 |
+
0.012775424003601075,
|
203 |
+
0.012801024436950683,
|
204 |
+
0.01276211166381836,
|
205 |
+
0.012769280433654785,
|
206 |
+
0.012704768180847169,
|
207 |
+
0.012768256187438964,
|
208 |
+
0.012726271629333496,
|
209 |
+
0.01273855972290039,
|
210 |
+
0.012701696395874023,
|
211 |
+
0.012739583969116211,
|
212 |
+
0.012678144454956054,
|
213 |
+
0.0127457275390625,
|
214 |
+
0.012660736083984376,
|
215 |
+
0.012686335563659668,
|
216 |
+
0.012667903900146485,
|
217 |
+
0.012731391906738282,
|
218 |
+
0.012679167747497559,
|
219 |
+
0.012722175598144531,
|
220 |
+
0.012684288024902344,
|
221 |
+
0.012742655754089355,
|
222 |
+
0.01274880027770996,
|
223 |
+
0.012791808128356934,
|
224 |
+
0.012777471542358398,
|
225 |
+
0.012791808128356934,
|
226 |
+
0.012693504333496093,
|
227 |
+
0.012739583969116211,
|
228 |
+
0.012693504333496093,
|
229 |
+
0.012761088371276855,
|
230 |
+
0.012718079566955566,
|
231 |
+
0.012732416152954102,
|
232 |
+
0.012708864212036132,
|
233 |
+
0.012749823570251465,
|
234 |
+
0.012724224090576173,
|
235 |
+
0.012783616065979005,
|
236 |
+
0.012689408302307128,
|
237 |
+
0.012726271629333496,
|
238 |
+
0.01267404842376709,
|
239 |
+
0.012719103813171387,
|
240 |
+
0.01267404842376709,
|
241 |
+
0.012803135871887207,
|
242 |
+
0.012702655792236329,
|
243 |
+
0.012650495529174804,
|
244 |
+
0.01256761646270752,
|
245 |
+
0.012483519554138183,
|
246 |
+
0.01266380786895752,
|
247 |
+
0.012352512359619141,
|
248 |
+
0.012423168182373047,
|
249 |
+
0.012568575859069824,
|
250 |
+
0.012436479568481444,
|
251 |
+
0.012731391906738282,
|
252 |
+
0.012546048164367676,
|
253 |
+
0.012396544456481933,
|
254 |
+
0.012311552047729492,
|
255 |
+
0.01237606430053711,
|
256 |
+
0.012385279655456542,
|
257 |
+
0.012310527801513671,
|
258 |
+
0.012248064041137695,
|
259 |
+
0.01228492832183838,
|
260 |
+
0.012246015548706055,
|
261 |
+
0.012289024353027344,
|
262 |
+
0.012238847732543945,
|
263 |
+
0.012285951614379884,
|
264 |
+
0.012255231857299804,
|
265 |
+
0.01227673625946045,
|
266 |
+
0.01226956844329834,
|
267 |
+
0.012266495704650878,
|
268 |
+
0.0122357759475708,
|
269 |
+
0.01229312038421631,
|
270 |
+
0.012247039794921874,
|
271 |
+
0.012282879829406738,
|
272 |
+
0.01225113582611084,
|
273 |
+
0.012361727714538574,
|
274 |
+
0.012404735565185548,
|
275 |
+
0.012374015808105468,
|
276 |
+
0.012248064041137695,
|
277 |
+
0.012286975860595703,
|
278 |
+
0.012259327888488769,
|
279 |
+
0.012274687767028808,
|
280 |
+
0.01224294376373291,
|
281 |
+
0.012294143676757812,
|
282 |
+
0.012229632377624512,
|
283 |
+
0.012271615982055664,
|
284 |
+
0.01226035213470459,
|
285 |
+
0.012298239707946777,
|
286 |
+
0.01224396800994873,
|
287 |
+
0.01228492832183838,
|
288 |
+
0.01222764778137207,
|
289 |
+
0.012293055534362793,
|
290 |
+
0.012232704162597656,
|
291 |
+
0.01228492832183838,
|
292 |
+
0.012220416069030762,
|
293 |
+
0.012280832290649414,
|
294 |
+
0.012421119689941406,
|
295 |
+
0.012282879829406738,
|
296 |
+
0.012240896224975586,
|
297 |
+
0.012290047645568849,
|
298 |
+
0.012228639602661132,
|
299 |
+
0.012306400299072266,
|
300 |
+
0.012240896224975586,
|
301 |
+
0.012280832290649414,
|
302 |
+
0.01225113582611084,
|
303 |
+
0.012271615982055664,
|
304 |
+
0.012262399673461915,
|
305 |
+
0.012275712013244629,
|
306 |
+
0.026459135055541993,
|
307 |
+
0.012231679916381836,
|
308 |
+
0.012286975860595703,
|
309 |
+
0.012240896224975586,
|
310 |
+
0.012266495704650878,
|
311 |
+
0.012224512100219726,
|
312 |
+
0.01227673625946045,
|
313 |
+
0.012238847732543945,
|
314 |
+
0.012266495704650878,
|
315 |
+
0.012220416069030762,
|
316 |
+
0.012272640228271485,
|
317 |
+
0.012226559638977052,
|
318 |
+
0.012267519950866699,
|
319 |
+
0.012240896224975586,
|
320 |
+
0.012271615982055664,
|
321 |
+
0.012253184318542481,
|
322 |
+
0.012295167922973632,
|
323 |
+
0.012239871978759765,
|
324 |
+
0.012272640228271485,
|
325 |
+
0.012228608131408691,
|
326 |
+
0.01226854419708252,
|
327 |
+
0.012237824440002442,
|
328 |
+
0.012266495704650878,
|
329 |
+
0.01223475170135498,
|
330 |
+
0.012323840141296387,
|
331 |
+
0.012246015548706055,
|
332 |
+
0.012277759552001954,
|
333 |
+
0.012239871978759765,
|
334 |
+
0.01226137638092041,
|
335 |
+
0.01222758388519287,
|
336 |
+
0.012274687767028808,
|
337 |
+
0.012270591735839843,
|
338 |
+
0.012267519950866699,
|
339 |
+
0.012246015548706055,
|
340 |
+
0.012279808044433594,
|
341 |
+
0.012224512100219726,
|
342 |
+
0.012265472412109376,
|
343 |
+
0.012237824440002442,
|
344 |
+
0.012270591735839843,
|
345 |
+
0.01226137638092041,
|
346 |
+
0.01228492832183838,
|
347 |
+
0.012236800193786621,
|
348 |
+
0.012283904075622559,
|
349 |
+
0.012223487854003906,
|
350 |
+
0.012279808044433594,
|
351 |
+
0.012230655670166016,
|
352 |
+
0.012298239707946777,
|
353 |
+
0.012239871978759765,
|
354 |
+
0.012304384231567383,
|
355 |
+
0.012248064041137695,
|
356 |
+
0.012263423919677734,
|
357 |
+
0.012223487854003906,
|
358 |
+
0.012364800453186036,
|
359 |
+
0.012237824440002442,
|
360 |
+
0.012274687767028808,
|
361 |
+
0.012264448165893555,
|
362 |
+
0.012280832290649414,
|
363 |
+
0.01224403190612793,
|
364 |
+
0.01226643180847168,
|
365 |
+
0.012236800193786621,
|
366 |
+
0.01226956844329834,
|
367 |
+
0.01225011157989502,
|
368 |
+
0.012275712013244629,
|
369 |
+
0.012246015548706055,
|
370 |
+
0.012279808044433594,
|
371 |
+
0.012229632377624512,
|
372 |
+
0.01226854419708252,
|
373 |
+
0.012223487854003906,
|
374 |
+
0.01226956844329834,
|
375 |
+
0.012229632377624512,
|
376 |
+
0.012265472412109376,
|
377 |
+
0.01224294376373291,
|
378 |
+
0.012270591735839843,
|
379 |
+
0.012229632377624512,
|
380 |
+
0.012266495704650878,
|
381 |
+
0.012230655670166016,
|
382 |
+
0.012265472412109376,
|
383 |
+
0.01225113582611084,
|
384 |
+
0.012282879829406738,
|
385 |
+
0.012233728408813477,
|
386 |
+
0.012289024353027344,
|
387 |
+
0.012244992256164551,
|
388 |
+
0.01227673625946045,
|
389 |
+
0.012230655670166016,
|
390 |
+
0.012283904075622559,
|
391 |
+
0.012223487854003906,
|
392 |
+
0.01225830364227295,
|
393 |
+
0.0122357759475708,
|
394 |
+
0.012267552375793456,
|
395 |
+
0.01222755241394043,
|
396 |
+
0.012277759552001954,
|
397 |
+
0.012238847732543945,
|
398 |
+
0.012281855583190919,
|
399 |
+
0.012253184318542481,
|
400 |
+
0.01225830364227295,
|
401 |
+
0.012229632377624512,
|
402 |
+
0.012259327888488769,
|
403 |
+
0.01222758388519287,
|
404 |
+
0.012272640228271485,
|
405 |
+
0.01221939182281494,
|
406 |
+
0.012259327888488769,
|
407 |
+
0.012224512100219726,
|
408 |
+
0.012430335998535156,
|
409 |
+
0.012226559638977052,
|
410 |
+
0.012262399673461915,
|
411 |
+
0.012225536346435547,
|
412 |
+
0.01228492832183838,
|
413 |
+
0.012239871978759765,
|
414 |
+
0.012312576293945313,
|
415 |
+
0.012229632377624512,
|
416 |
+
0.012289024353027344,
|
417 |
+
0.012225536346435547,
|
418 |
+
0.01226854419708252,
|
419 |
+
0.012215295791625976,
|
420 |
+
0.012270591735839843,
|
421 |
+
0.012218367576599122,
|
422 |
+
0.012262399673461915,
|
423 |
+
0.012221440315246582,
|
424 |
+
0.012263423919677734,
|
425 |
+
0.012240896224975586,
|
426 |
+
0.012262399673461915,
|
427 |
+
0.01224294376373291,
|
428 |
+
0.01226035213470459,
|
429 |
+
0.012229632377624512,
|
430 |
+
0.012285951614379884,
|
431 |
+
0.012259327888488769,
|
432 |
+
0.01226956844329834
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.32106035345711
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": 1914.806272,
|
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.028222463607788087,
|
15 |
+
"mean": 0.014111231803894043,
|
16 |
+
"stdev": 0.00015260791778564427,
|
17 |
+
"p50": 0.014111231803894043,
|
18 |
+
"p90": 0.014233318138122559,
|
19 |
+
"p95": 0.014248578929901123,
|
20 |
+
"p99": 0.014260787563323975,
|
21 |
+
"values": [
|
22 |
+
0.014263839721679687,
|
23 |
+
0.013958623886108398
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 496.05874931969623
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2258.735104,
|
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.148799926757812,
|
46 |
+
"mean": 1.574399963378906,
|
47 |
+
"stdev": 0.017521789550781208,
|
48 |
+
"p50": 1.574399963378906,
|
49 |
+
"p90": 1.5884173950195313,
|
50 |
+
"p95": 1.5901695739746093,
|
51 |
+
"p99": 1.5915713171386718,
|
52 |
+
"values": [
|
53 |
+
1.5919217529296874,
|
54 |
+
1.556878173828125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.66565228281532
|
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.1498588151931752,
|
70 |
+
"mean": 0.012450034842660775,
|
71 |
+
"stdev": 0.0009077030708089724,
|
72 |
+
"p50": 0.012275712013244629,
|
73 |
+
"p90": 0.012739583969116211,
|
74 |
+
"p95": 0.012771737861633301,
|
75 |
+
"p99": 0.012814745559692382,
|
76 |
+
"values": [
|
77 |
+
0.012695551872253418,
|
78 |
+
0.012795904159545898,
|
79 |
+
0.012724224090576173,
|
80 |
+
0.012752896308898925,
|
81 |
+
0.012720128059387208,
|
82 |
+
0.01276313591003418,
|
83 |
+
0.012711935997009278,
|
84 |
+
0.013198335647583008,
|
85 |
+
0.012687423706054687,
|
86 |
+
0.012736448287963867,
|
87 |
+
0.012718079566955566,
|
88 |
+
0.012784640312194824,
|
89 |
+
0.01274060821533203,
|
90 |
+
0.012728320121765137,
|
91 |
+
0.012682239532470703,
|
92 |
+
0.012760064125061036,
|
93 |
+
0.012705792427062988,
|
94 |
+
0.012817407608032226,
|
95 |
+
0.012727295875549317,
|
96 |
+
0.012812288284301757,
|
97 |
+
0.012699647903442383,
|
98 |
+
0.012736512184143066,
|
99 |
+
0.012775424003601075,
|
100 |
+
0.012801024436950683,
|
101 |
+
0.01276211166381836,
|
102 |
+
0.012769280433654785,
|
103 |
+
0.012704768180847169,
|
104 |
+
0.012768256187438964,
|
105 |
+
0.012726271629333496,
|
106 |
+
0.01273855972290039,
|
107 |
+
0.012701696395874023,
|
108 |
+
0.012739583969116211,
|
109 |
+
0.012678144454956054,
|
110 |
+
0.0127457275390625,
|
111 |
+
0.012660736083984376,
|
112 |
+
0.012686335563659668,
|
113 |
+
0.012667903900146485,
|
114 |
+
0.012731391906738282,
|
115 |
+
0.012679167747497559,
|
116 |
+
0.012722175598144531,
|
117 |
+
0.012684288024902344,
|
118 |
+
0.012742655754089355,
|
119 |
+
0.01274880027770996,
|
120 |
+
0.012791808128356934,
|
121 |
+
0.012777471542358398,
|
122 |
+
0.012791808128356934,
|
123 |
+
0.012693504333496093,
|
124 |
+
0.012739583969116211,
|
125 |
+
0.012693504333496093,
|
126 |
+
0.012761088371276855,
|
127 |
+
0.012718079566955566,
|
128 |
+
0.012732416152954102,
|
129 |
+
0.012708864212036132,
|
130 |
+
0.012749823570251465,
|
131 |
+
0.012724224090576173,
|
132 |
+
0.012783616065979005,
|
133 |
+
0.012689408302307128,
|
134 |
+
0.012726271629333496,
|
135 |
+
0.01267404842376709,
|
136 |
+
0.012719103813171387,
|
137 |
+
0.01267404842376709,
|
138 |
+
0.012803135871887207,
|
139 |
+
0.012702655792236329,
|
140 |
+
0.012650495529174804,
|
141 |
+
0.01256761646270752,
|
142 |
+
0.012483519554138183,
|
143 |
+
0.01266380786895752,
|
144 |
+
0.012352512359619141,
|
145 |
+
0.012423168182373047,
|
146 |
+
0.012568575859069824,
|
147 |
+
0.012436479568481444,
|
148 |
+
0.012731391906738282,
|
149 |
+
0.012546048164367676,
|
150 |
+
0.012396544456481933,
|
151 |
+
0.012311552047729492,
|
152 |
+
0.01237606430053711,
|
153 |
+
0.012385279655456542,
|
154 |
+
0.012310527801513671,
|
155 |
+
0.012248064041137695,
|
156 |
+
0.01228492832183838,
|
157 |
+
0.012246015548706055,
|
158 |
+
0.012289024353027344,
|
159 |
+
0.012238847732543945,
|
160 |
+
0.012285951614379884,
|
161 |
+
0.012255231857299804,
|
162 |
+
0.01227673625946045,
|
163 |
+
0.01226956844329834,
|
164 |
+
0.012266495704650878,
|
165 |
+
0.0122357759475708,
|
166 |
+
0.01229312038421631,
|
167 |
+
0.012247039794921874,
|
168 |
+
0.012282879829406738,
|
169 |
+
0.01225113582611084,
|
170 |
+
0.012361727714538574,
|
171 |
+
0.012404735565185548,
|
172 |
+
0.012374015808105468,
|
173 |
+
0.012248064041137695,
|
174 |
+
0.012286975860595703,
|
175 |
+
0.012259327888488769,
|
176 |
+
0.012274687767028808,
|
177 |
+
0.01224294376373291,
|
178 |
+
0.012294143676757812,
|
179 |
+
0.012229632377624512,
|
180 |
+
0.012271615982055664,
|
181 |
+
0.01226035213470459,
|
182 |
+
0.012298239707946777,
|
183 |
+
0.01224396800994873,
|
184 |
+
0.01228492832183838,
|
185 |
+
0.01222764778137207,
|
186 |
+
0.012293055534362793,
|
187 |
+
0.012232704162597656,
|
188 |
+
0.01228492832183838,
|
189 |
+
0.012220416069030762,
|
190 |
+
0.012280832290649414,
|
191 |
+
0.012421119689941406,
|
192 |
+
0.012282879829406738,
|
193 |
+
0.012240896224975586,
|
194 |
+
0.012290047645568849,
|
195 |
+
0.012228639602661132,
|
196 |
+
0.012306400299072266,
|
197 |
+
0.012240896224975586,
|
198 |
+
0.012280832290649414,
|
199 |
+
0.01225113582611084,
|
200 |
+
0.012271615982055664,
|
201 |
+
0.012262399673461915,
|
202 |
+
0.012275712013244629,
|
203 |
+
0.026459135055541993,
|
204 |
+
0.012231679916381836,
|
205 |
+
0.012286975860595703,
|
206 |
+
0.012240896224975586,
|
207 |
+
0.012266495704650878,
|
208 |
+
0.012224512100219726,
|
209 |
+
0.01227673625946045,
|
210 |
+
0.012238847732543945,
|
211 |
+
0.012266495704650878,
|
212 |
+
0.012220416069030762,
|
213 |
+
0.012272640228271485,
|
214 |
+
0.012226559638977052,
|
215 |
+
0.012267519950866699,
|
216 |
+
0.012240896224975586,
|
217 |
+
0.012271615982055664,
|
218 |
+
0.012253184318542481,
|
219 |
+
0.012295167922973632,
|
220 |
+
0.012239871978759765,
|
221 |
+
0.012272640228271485,
|
222 |
+
0.012228608131408691,
|
223 |
+
0.01226854419708252,
|
224 |
+
0.012237824440002442,
|
225 |
+
0.012266495704650878,
|
226 |
+
0.01223475170135498,
|
227 |
+
0.012323840141296387,
|
228 |
+
0.012246015548706055,
|
229 |
+
0.012277759552001954,
|
230 |
+
0.012239871978759765,
|
231 |
+
0.01226137638092041,
|
232 |
+
0.01222758388519287,
|
233 |
+
0.012274687767028808,
|
234 |
+
0.012270591735839843,
|
235 |
+
0.012267519950866699,
|
236 |
+
0.012246015548706055,
|
237 |
+
0.012279808044433594,
|
238 |
+
0.012224512100219726,
|
239 |
+
0.012265472412109376,
|
240 |
+
0.012237824440002442,
|
241 |
+
0.012270591735839843,
|
242 |
+
0.01226137638092041,
|
243 |
+
0.01228492832183838,
|
244 |
+
0.012236800193786621,
|
245 |
+
0.012283904075622559,
|
246 |
+
0.012223487854003906,
|
247 |
+
0.012279808044433594,
|
248 |
+
0.012230655670166016,
|
249 |
+
0.012298239707946777,
|
250 |
+
0.012239871978759765,
|
251 |
+
0.012304384231567383,
|
252 |
+
0.012248064041137695,
|
253 |
+
0.012263423919677734,
|
254 |
+
0.012223487854003906,
|
255 |
+
0.012364800453186036,
|
256 |
+
0.012237824440002442,
|
257 |
+
0.012274687767028808,
|
258 |
+
0.012264448165893555,
|
259 |
+
0.012280832290649414,
|
260 |
+
0.01224403190612793,
|
261 |
+
0.01226643180847168,
|
262 |
+
0.012236800193786621,
|
263 |
+
0.01226956844329834,
|
264 |
+
0.01225011157989502,
|
265 |
+
0.012275712013244629,
|
266 |
+
0.012246015548706055,
|
267 |
+
0.012279808044433594,
|
268 |
+
0.012229632377624512,
|
269 |
+
0.01226854419708252,
|
270 |
+
0.012223487854003906,
|
271 |
+
0.01226956844329834,
|
272 |
+
0.012229632377624512,
|
273 |
+
0.012265472412109376,
|
274 |
+
0.01224294376373291,
|
275 |
+
0.012270591735839843,
|
276 |
+
0.012229632377624512,
|
277 |
+
0.012266495704650878,
|
278 |
+
0.012230655670166016,
|
279 |
+
0.012265472412109376,
|
280 |
+
0.01225113582611084,
|
281 |
+
0.012282879829406738,
|
282 |
+
0.012233728408813477,
|
283 |
+
0.012289024353027344,
|
284 |
+
0.012244992256164551,
|
285 |
+
0.01227673625946045,
|
286 |
+
0.012230655670166016,
|
287 |
+
0.012283904075622559,
|
288 |
+
0.012223487854003906,
|
289 |
+
0.01225830364227295,
|
290 |
+
0.0122357759475708,
|
291 |
+
0.012267552375793456,
|
292 |
+
0.01222755241394043,
|
293 |
+
0.012277759552001954,
|
294 |
+
0.012238847732543945,
|
295 |
+
0.012281855583190919,
|
296 |
+
0.012253184318542481,
|
297 |
+
0.01225830364227295,
|
298 |
+
0.012229632377624512,
|
299 |
+
0.012259327888488769,
|
300 |
+
0.01222758388519287,
|
301 |
+
0.012272640228271485,
|
302 |
+
0.01221939182281494,
|
303 |
+
0.012259327888488769,
|
304 |
+
0.012224512100219726,
|
305 |
+
0.012430335998535156,
|
306 |
+
0.012226559638977052,
|
307 |
+
0.012262399673461915,
|
308 |
+
0.012225536346435547,
|
309 |
+
0.01228492832183838,
|
310 |
+
0.012239871978759765,
|
311 |
+
0.012312576293945313,
|
312 |
+
0.012229632377624512,
|
313 |
+
0.012289024353027344,
|
314 |
+
0.012225536346435547,
|
315 |
+
0.01226854419708252,
|
316 |
+
0.012215295791625976,
|
317 |
+
0.012270591735839843,
|
318 |
+
0.012218367576599122,
|
319 |
+
0.012262399673461915,
|
320 |
+
0.012221440315246582,
|
321 |
+
0.012263423919677734,
|
322 |
+
0.012240896224975586,
|
323 |
+
0.012262399673461915,
|
324 |
+
0.01224294376373291,
|
325 |
+
0.01226035213470459,
|
326 |
+
0.012229632377624512,
|
327 |
+
0.012285951614379884,
|
328 |
+
0.012259327888488769,
|
329 |
+
0.01226956844329834
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.32106035345711
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014111231803894043,
|
7 |
+
"prefill.throughput.value": 496.05874931969623,
|
8 |
+
"decode.latency.mean": 1.574399963378906,
|
9 |
+
"decode.throughput.value": 80.66565228281532,
|
10 |
+
"per_token.latency.mean": 0.012450034842660775,
|
11 |
+
"per_token.throughput.value": 80.32106035345711
|
12 |
+
}
|
13 |
+
}
|
2024-06-29/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp1eo3oq0s/commit=e65502951593a76844e872fee9c56b805598538a
|
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/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a
|
88 |
+
- hydra.run.dir=_benchmark/tmp1eo3oq0s/commit\=e65502951593a76844e872fee9c56b805598538a/${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: e65502951593a76844e872fee9c56b805598538a
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-06-29/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.019957200050354004,
|
8 |
+
"prefill.throughput.value": 350.75060541249786,
|
9 |
+
"decode.latency.mean": 2.3955504150390627,
|
10 |
+
"decode.throughput.value": 53.014956063001115,
|
11 |
+
"per_token.latency.mean": 0.018935415365950392,
|
12 |
+
"per_token.throughput.value": 52.811093956681674
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.025638224601745606,
|
21 |
+
"prefill.throughput.value": 273.02982592341425,
|
22 |
+
"decode.latency.mean": 2.6069212646484377,
|
23 |
+
"decode.throughput.value": 48.71646939330439,
|
24 |
+
"per_token.latency.mean": 0.020607854285259023,
|
25 |
+
"per_token.throughput.value": 48.525187831675844
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014111231803894043,
|
34 |
+
"prefill.throughput.value": 496.05874931969623,
|
35 |
+
"decode.latency.mean": 1.574399963378906,
|
36 |
+
"decode.throughput.value": 80.66565228281532,
|
37 |
+
"per_token.latency.mean": 0.012450034842660775,
|
38 |
+
"per_token.throughput.value": 80.32106035345711
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-29/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.019957200050354004,
|
7 |
+
"prefill.throughput.value": 350.75060541249786,
|
8 |
+
"decode.latency.mean": 2.3955504150390627,
|
9 |
+
"decode.throughput.value": 53.014956063001115,
|
10 |
+
"per_token.latency.mean": 0.018935415365950392,
|
11 |
+
"per_token.throughput.value": 52.811093956681674
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.025638224601745606,
|
19 |
+
"prefill.throughput.value": 273.02982592341425,
|
20 |
+
"decode.latency.mean": 2.6069212646484377,
|
21 |
+
"decode.throughput.value": 48.71646939330439,
|
22 |
+
"per_token.latency.mean": 0.020607854285259023,
|
23 |
+
"per_token.throughput.value": 48.525187831675844
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014111231803894043,
|
31 |
+
"prefill.throughput.value": 496.05874931969623,
|
32 |
+
"decode.latency.mean": 1.574399963378906,
|
33 |
+
"decode.throughput.value": 80.66565228281532,
|
34 |
+
"per_token.latency.mean": 0.012450034842660775,
|
35 |
+
"per_token.throughput.value": 80.32106035345711
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|