hf-transformers-bot
commited on
Commit
•
d2e612d
1
Parent(s):
754823f
Upload folder using huggingface_hub
Browse files- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/multirun.yaml +232 -0
- 2024-06-11/summaries.json +41 -0
- 2024-06-11/summary.json +40 -0
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
88 |
+
- hydra.run.dir=_benchmark/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27/${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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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.463232,
|
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.040116800308227535,
|
118 |
+
"mean": 0.020058400154113767,
|
119 |
+
"stdev": 6.358432769775456e-05,
|
120 |
+
"p50": 0.020058400154113767,
|
121 |
+
"p90": 0.020109267616271975,
|
122 |
+
"p95": 0.020115626049041747,
|
123 |
+
"p99": 0.020120712795257567,
|
124 |
+
"values": [
|
125 |
+
0.019994815826416015,
|
126 |
+
0.020121984481811524
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 348.98097287008073
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1706.545152,
|
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.874611083984375,
|
149 |
+
"mean": 2.4373055419921874,
|
150 |
+
"stdev": 0.011967163085937482,
|
151 |
+
"p50": 2.4373055419921874,
|
152 |
+
"p90": 2.4468792724609374,
|
153 |
+
"p95": 2.448075988769531,
|
154 |
+
"p99": 2.449033361816406,
|
155 |
+
"values": [
|
156 |
+
2.449272705078125,
|
157 |
+
2.42533837890625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 52.10672105401839
|
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.875438068389895,
|
173 |
+
"mean": 0.019270506199169538,
|
174 |
+
"stdev": 0.0013522692406783404,
|
175 |
+
"p50": 0.01924710464477539,
|
176 |
+
"p90": 0.019725107192993162,
|
177 |
+
"p95": 0.019841639328002928,
|
178 |
+
"p99": 0.020832665100097653,
|
179 |
+
"values": [
|
180 |
+
0.01969152069091797,
|
181 |
+
0.01998028755187988,
|
182 |
+
0.01879449653625488,
|
183 |
+
0.018746368408203123,
|
184 |
+
0.018733055114746093,
|
185 |
+
0.018687999725341797,
|
186 |
+
0.018728960037231446,
|
187 |
+
0.018717695236206054,
|
188 |
+
0.018677759170532226,
|
189 |
+
0.018682880401611326,
|
190 |
+
0.018694143295288086,
|
191 |
+
0.018924543380737305,
|
192 |
+
0.019581951141357423,
|
193 |
+
0.01927475166320801,
|
194 |
+
0.019273727416992188,
|
195 |
+
0.018998271942138673,
|
196 |
+
0.018824192047119142,
|
197 |
+
0.019326976776123047,
|
198 |
+
0.019404800415039062,
|
199 |
+
0.019347455978393553,
|
200 |
+
0.018699264526367186,
|
201 |
+
0.018815999984741212,
|
202 |
+
0.019366912841796875,
|
203 |
+
0.01929113578796387,
|
204 |
+
0.0187064323425293,
|
205 |
+
0.0186746883392334,
|
206 |
+
0.018694143295288086,
|
207 |
+
0.019113983154296875,
|
208 |
+
0.019159040451049804,
|
209 |
+
0.019742719650268553,
|
210 |
+
0.01979084777832031,
|
211 |
+
0.01944268798828125,
|
212 |
+
0.01944576072692871,
|
213 |
+
0.019316736221313476,
|
214 |
+
0.019341312408447265,
|
215 |
+
0.019277824401855468,
|
216 |
+
0.01927065658569336,
|
217 |
+
0.019562496185302734,
|
218 |
+
0.01878937530517578,
|
219 |
+
0.019507200241088866,
|
220 |
+
0.018759679794311524,
|
221 |
+
0.01863987159729004,
|
222 |
+
0.019110912322998046,
|
223 |
+
0.019393535614013673,
|
224 |
+
0.019490816116333007,
|
225 |
+
0.018711551666259766,
|
226 |
+
0.01878118324279785,
|
227 |
+
0.018759679794311524,
|
228 |
+
0.018873344421386717,
|
229 |
+
0.019602432250976562,
|
230 |
+
0.02165760040283203,
|
231 |
+
0.020941823959350587,
|
232 |
+
0.019998720169067383,
|
233 |
+
0.019876863479614256,
|
234 |
+
0.019745792388916016,
|
235 |
+
0.01877299118041992,
|
236 |
+
0.01882316780090332,
|
237 |
+
0.01881804847717285,
|
238 |
+
0.018824192047119142,
|
239 |
+
0.01881395149230957,
|
240 |
+
0.01884876823425293,
|
241 |
+
0.01883545684814453,
|
242 |
+
0.018811904907226562,
|
243 |
+
0.018940927505493164,
|
244 |
+
0.018939903259277344,
|
245 |
+
0.01876479911804199,
|
246 |
+
0.018587648391723634,
|
247 |
+
0.01880268859863281,
|
248 |
+
0.018780160903930664,
|
249 |
+
0.01881395149230957,
|
250 |
+
0.01879654312133789,
|
251 |
+
0.018766847610473633,
|
252 |
+
0.018552831649780274,
|
253 |
+
0.018758655548095703,
|
254 |
+
0.01884979248046875,
|
255 |
+
0.018955263137817382,
|
256 |
+
0.01970790481567383,
|
257 |
+
0.01971609687805176,
|
258 |
+
0.019727359771728514,
|
259 |
+
0.01964646339416504,
|
260 |
+
0.019738624572753907,
|
261 |
+
0.020007936477661133,
|
262 |
+
0.019878911972045898,
|
263 |
+
0.019819520950317384,
|
264 |
+
0.019728384017944335,
|
265 |
+
0.01965465545654297,
|
266 |
+
0.019668991088867188,
|
267 |
+
0.01968639945983887,
|
268 |
+
0.018876415252685547,
|
269 |
+
0.01964646339416504,
|
270 |
+
0.019746816635131836,
|
271 |
+
0.019733503341674806,
|
272 |
+
0.02012774467468262,
|
273 |
+
0.01966080093383789,
|
274 |
+
0.019737600326538086,
|
275 |
+
0.01966592025756836,
|
276 |
+
0.02042265510559082,
|
277 |
+
0.01987481689453125,
|
278 |
+
0.01967616081237793,
|
279 |
+
0.01965670394897461,
|
280 |
+
0.01967103958129883,
|
281 |
+
0.019733503341674806,
|
282 |
+
0.01963724708557129,
|
283 |
+
0.01962393569946289,
|
284 |
+
0.0196628475189209,
|
285 |
+
0.019705856323242187,
|
286 |
+
0.019764223098754884,
|
287 |
+
0.019581951141357423,
|
288 |
+
0.01939148712158203,
|
289 |
+
0.01965465545654297,
|
290 |
+
0.01963315200805664,
|
291 |
+
0.019749887466430666,
|
292 |
+
0.01939558410644531,
|
293 |
+
0.01944063949584961,
|
294 |
+
0.0192174072265625,
|
295 |
+
0.0195020809173584,
|
296 |
+
0.01948569679260254,
|
297 |
+
0.019398656845092774,
|
298 |
+
0.019438592910766602,
|
299 |
+
0.019398656845092774,
|
300 |
+
0.018807807922363282,
|
301 |
+
0.018792448043823243,
|
302 |
+
0.018745344161987306,
|
303 |
+
0.01879756736755371,
|
304 |
+
0.01882009506225586,
|
305 |
+
0.018783231735229493,
|
306 |
+
0.039465984344482424,
|
307 |
+
0.01845248031616211,
|
308 |
+
0.018491392135620118,
|
309 |
+
0.018713600158691408,
|
310 |
+
0.018651136398315428,
|
311 |
+
0.018689023971557618,
|
312 |
+
0.018718719482421875,
|
313 |
+
0.018661376953125,
|
314 |
+
0.018683904647827147,
|
315 |
+
0.0187064323425293,
|
316 |
+
0.018682880401611326,
|
317 |
+
0.018693119049072265,
|
318 |
+
0.018742271423339844,
|
319 |
+
0.018725887298583984,
|
320 |
+
0.018733055114746093,
|
321 |
+
0.018705408096313478,
|
322 |
+
0.018687999725341797,
|
323 |
+
0.01880166435241699,
|
324 |
+
0.018699264526367186,
|
325 |
+
0.018765823364257812,
|
326 |
+
0.01868185615539551,
|
327 |
+
0.018691072463989256,
|
328 |
+
0.01884569549560547,
|
329 |
+
0.018704383850097657,
|
330 |
+
0.018705472946166993,
|
331 |
+
0.01888969612121582,
|
332 |
+
0.01871254348754883,
|
333 |
+
0.018685951232910156,
|
334 |
+
0.018754560470581053,
|
335 |
+
0.0187064323425293,
|
336 |
+
0.018475040435791016,
|
337 |
+
0.019187679290771486,
|
338 |
+
0.019092479705810548,
|
339 |
+
0.019091455459594727,
|
340 |
+
0.019336191177368164,
|
341 |
+
0.019280895233154297,
|
342 |
+
0.01926144027709961,
|
343 |
+
0.019361791610717775,
|
344 |
+
0.01924710464477539,
|
345 |
+
0.018682880401611326,
|
346 |
+
0.01902079963684082,
|
347 |
+
0.018550783157348632,
|
348 |
+
0.01858355140686035,
|
349 |
+
0.01904742431640625,
|
350 |
+
0.019146751403808594,
|
351 |
+
0.019364864349365234,
|
352 |
+
0.019330047607421876,
|
353 |
+
0.01942630386352539,
|
354 |
+
0.019352575302124024,
|
355 |
+
0.019305471420288087,
|
356 |
+
0.019356672286987304,
|
357 |
+
0.0188221435546875,
|
358 |
+
0.019317760467529296,
|
359 |
+
0.019523584365844726,
|
360 |
+
0.019418111801147463,
|
361 |
+
0.019302400588989257,
|
362 |
+
0.01867366409301758,
|
363 |
+
0.018786304473876952,
|
364 |
+
0.01881804847717285,
|
365 |
+
0.01883443260192871,
|
366 |
+
0.01884979248046875,
|
367 |
+
0.01883033561706543,
|
368 |
+
0.018689023971557618,
|
369 |
+
0.01863987159729004,
|
370 |
+
0.018579456329345705,
|
371 |
+
0.01865011215209961,
|
372 |
+
0.01881907272338867,
|
373 |
+
0.019219455718994142,
|
374 |
+
0.01918976020812988,
|
375 |
+
0.019376127243041993,
|
376 |
+
0.018898944854736328,
|
377 |
+
0.018808832168579103,
|
378 |
+
0.019050495147705078,
|
379 |
+
0.019166208267211913,
|
380 |
+
0.019636224746704102,
|
381 |
+
0.019575807571411134,
|
382 |
+
0.019514368057250975,
|
383 |
+
0.019503103256225587,
|
384 |
+
0.019478527069091797,
|
385 |
+
0.019557376861572266,
|
386 |
+
0.019400703430175782,
|
387 |
+
0.01944166374206543,
|
388 |
+
0.01884569549560547,
|
389 |
+
0.01884160041809082,
|
390 |
+
0.01883647918701172,
|
391 |
+
0.018844671249389648,
|
392 |
+
0.01883340835571289,
|
393 |
+
0.018923519134521484,
|
394 |
+
0.01883033561706543,
|
395 |
+
0.01881395149230957,
|
396 |
+
0.019478527069091797,
|
397 |
+
0.01949286460876465,
|
398 |
+
0.01944780731201172,
|
399 |
+
0.01949286460876465,
|
400 |
+
0.019479551315307618,
|
401 |
+
0.01943552017211914,
|
402 |
+
0.018896896362304686,
|
403 |
+
0.019366912841796875,
|
404 |
+
0.01942118453979492,
|
405 |
+
0.01949388885498047,
|
406 |
+
0.019386367797851564,
|
407 |
+
0.01922150421142578,
|
408 |
+
0.019491840362548828,
|
409 |
+
0.018939903259277344,
|
410 |
+
0.01944473648071289,
|
411 |
+
0.020731903076171874,
|
412 |
+
0.019615743637084963,
|
413 |
+
0.019386367797851564,
|
414 |
+
0.019408895492553712,
|
415 |
+
0.01988812828063965,
|
416 |
+
0.0194652156829834,
|
417 |
+
0.01966694450378418,
|
418 |
+
0.01945292854309082,
|
419 |
+
0.01942425537109375,
|
420 |
+
0.019362815856933592,
|
421 |
+
0.01943552017211914,
|
422 |
+
0.0195020809173584,
|
423 |
+
0.01945599937438965,
|
424 |
+
0.01944576072692871,
|
425 |
+
0.01886207962036133,
|
426 |
+
0.019374080657958984,
|
427 |
+
0.01945088005065918,
|
428 |
+
0.019438592910766602,
|
429 |
+
0.019393535614013673,
|
430 |
+
0.018916351318359375,
|
431 |
+
0.019510271072387696,
|
432 |
+
0.019322879791259767
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.89277280339916
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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.463232,
|
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.040116800308227535,
|
15 |
+
"mean": 0.020058400154113767,
|
16 |
+
"stdev": 6.358432769775456e-05,
|
17 |
+
"p50": 0.020058400154113767,
|
18 |
+
"p90": 0.020109267616271975,
|
19 |
+
"p95": 0.020115626049041747,
|
20 |
+
"p99": 0.020120712795257567,
|
21 |
+
"values": [
|
22 |
+
0.019994815826416015,
|
23 |
+
0.020121984481811524
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 348.98097287008073
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1706.545152,
|
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.874611083984375,
|
46 |
+
"mean": 2.4373055419921874,
|
47 |
+
"stdev": 0.011967163085937482,
|
48 |
+
"p50": 2.4373055419921874,
|
49 |
+
"p90": 2.4468792724609374,
|
50 |
+
"p95": 2.448075988769531,
|
51 |
+
"p99": 2.449033361816406,
|
52 |
+
"values": [
|
53 |
+
2.449272705078125,
|
54 |
+
2.42533837890625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 52.10672105401839
|
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.875438068389895,
|
70 |
+
"mean": 0.019270506199169538,
|
71 |
+
"stdev": 0.0013522692406783404,
|
72 |
+
"p50": 0.01924710464477539,
|
73 |
+
"p90": 0.019725107192993162,
|
74 |
+
"p95": 0.019841639328002928,
|
75 |
+
"p99": 0.020832665100097653,
|
76 |
+
"values": [
|
77 |
+
0.01969152069091797,
|
78 |
+
0.01998028755187988,
|
79 |
+
0.01879449653625488,
|
80 |
+
0.018746368408203123,
|
81 |
+
0.018733055114746093,
|
82 |
+
0.018687999725341797,
|
83 |
+
0.018728960037231446,
|
84 |
+
0.018717695236206054,
|
85 |
+
0.018677759170532226,
|
86 |
+
0.018682880401611326,
|
87 |
+
0.018694143295288086,
|
88 |
+
0.018924543380737305,
|
89 |
+
0.019581951141357423,
|
90 |
+
0.01927475166320801,
|
91 |
+
0.019273727416992188,
|
92 |
+
0.018998271942138673,
|
93 |
+
0.018824192047119142,
|
94 |
+
0.019326976776123047,
|
95 |
+
0.019404800415039062,
|
96 |
+
0.019347455978393553,
|
97 |
+
0.018699264526367186,
|
98 |
+
0.018815999984741212,
|
99 |
+
0.019366912841796875,
|
100 |
+
0.01929113578796387,
|
101 |
+
0.0187064323425293,
|
102 |
+
0.0186746883392334,
|
103 |
+
0.018694143295288086,
|
104 |
+
0.019113983154296875,
|
105 |
+
0.019159040451049804,
|
106 |
+
0.019742719650268553,
|
107 |
+
0.01979084777832031,
|
108 |
+
0.01944268798828125,
|
109 |
+
0.01944576072692871,
|
110 |
+
0.019316736221313476,
|
111 |
+
0.019341312408447265,
|
112 |
+
0.019277824401855468,
|
113 |
+
0.01927065658569336,
|
114 |
+
0.019562496185302734,
|
115 |
+
0.01878937530517578,
|
116 |
+
0.019507200241088866,
|
117 |
+
0.018759679794311524,
|
118 |
+
0.01863987159729004,
|
119 |
+
0.019110912322998046,
|
120 |
+
0.019393535614013673,
|
121 |
+
0.019490816116333007,
|
122 |
+
0.018711551666259766,
|
123 |
+
0.01878118324279785,
|
124 |
+
0.018759679794311524,
|
125 |
+
0.018873344421386717,
|
126 |
+
0.019602432250976562,
|
127 |
+
0.02165760040283203,
|
128 |
+
0.020941823959350587,
|
129 |
+
0.019998720169067383,
|
130 |
+
0.019876863479614256,
|
131 |
+
0.019745792388916016,
|
132 |
+
0.01877299118041992,
|
133 |
+
0.01882316780090332,
|
134 |
+
0.01881804847717285,
|
135 |
+
0.018824192047119142,
|
136 |
+
0.01881395149230957,
|
137 |
+
0.01884876823425293,
|
138 |
+
0.01883545684814453,
|
139 |
+
0.018811904907226562,
|
140 |
+
0.018940927505493164,
|
141 |
+
0.018939903259277344,
|
142 |
+
0.01876479911804199,
|
143 |
+
0.018587648391723634,
|
144 |
+
0.01880268859863281,
|
145 |
+
0.018780160903930664,
|
146 |
+
0.01881395149230957,
|
147 |
+
0.01879654312133789,
|
148 |
+
0.018766847610473633,
|
149 |
+
0.018552831649780274,
|
150 |
+
0.018758655548095703,
|
151 |
+
0.01884979248046875,
|
152 |
+
0.018955263137817382,
|
153 |
+
0.01970790481567383,
|
154 |
+
0.01971609687805176,
|
155 |
+
0.019727359771728514,
|
156 |
+
0.01964646339416504,
|
157 |
+
0.019738624572753907,
|
158 |
+
0.020007936477661133,
|
159 |
+
0.019878911972045898,
|
160 |
+
0.019819520950317384,
|
161 |
+
0.019728384017944335,
|
162 |
+
0.01965465545654297,
|
163 |
+
0.019668991088867188,
|
164 |
+
0.01968639945983887,
|
165 |
+
0.018876415252685547,
|
166 |
+
0.01964646339416504,
|
167 |
+
0.019746816635131836,
|
168 |
+
0.019733503341674806,
|
169 |
+
0.02012774467468262,
|
170 |
+
0.01966080093383789,
|
171 |
+
0.019737600326538086,
|
172 |
+
0.01966592025756836,
|
173 |
+
0.02042265510559082,
|
174 |
+
0.01987481689453125,
|
175 |
+
0.01967616081237793,
|
176 |
+
0.01965670394897461,
|
177 |
+
0.01967103958129883,
|
178 |
+
0.019733503341674806,
|
179 |
+
0.01963724708557129,
|
180 |
+
0.01962393569946289,
|
181 |
+
0.0196628475189209,
|
182 |
+
0.019705856323242187,
|
183 |
+
0.019764223098754884,
|
184 |
+
0.019581951141357423,
|
185 |
+
0.01939148712158203,
|
186 |
+
0.01965465545654297,
|
187 |
+
0.01963315200805664,
|
188 |
+
0.019749887466430666,
|
189 |
+
0.01939558410644531,
|
190 |
+
0.01944063949584961,
|
191 |
+
0.0192174072265625,
|
192 |
+
0.0195020809173584,
|
193 |
+
0.01948569679260254,
|
194 |
+
0.019398656845092774,
|
195 |
+
0.019438592910766602,
|
196 |
+
0.019398656845092774,
|
197 |
+
0.018807807922363282,
|
198 |
+
0.018792448043823243,
|
199 |
+
0.018745344161987306,
|
200 |
+
0.01879756736755371,
|
201 |
+
0.01882009506225586,
|
202 |
+
0.018783231735229493,
|
203 |
+
0.039465984344482424,
|
204 |
+
0.01845248031616211,
|
205 |
+
0.018491392135620118,
|
206 |
+
0.018713600158691408,
|
207 |
+
0.018651136398315428,
|
208 |
+
0.018689023971557618,
|
209 |
+
0.018718719482421875,
|
210 |
+
0.018661376953125,
|
211 |
+
0.018683904647827147,
|
212 |
+
0.0187064323425293,
|
213 |
+
0.018682880401611326,
|
214 |
+
0.018693119049072265,
|
215 |
+
0.018742271423339844,
|
216 |
+
0.018725887298583984,
|
217 |
+
0.018733055114746093,
|
218 |
+
0.018705408096313478,
|
219 |
+
0.018687999725341797,
|
220 |
+
0.01880166435241699,
|
221 |
+
0.018699264526367186,
|
222 |
+
0.018765823364257812,
|
223 |
+
0.01868185615539551,
|
224 |
+
0.018691072463989256,
|
225 |
+
0.01884569549560547,
|
226 |
+
0.018704383850097657,
|
227 |
+
0.018705472946166993,
|
228 |
+
0.01888969612121582,
|
229 |
+
0.01871254348754883,
|
230 |
+
0.018685951232910156,
|
231 |
+
0.018754560470581053,
|
232 |
+
0.0187064323425293,
|
233 |
+
0.018475040435791016,
|
234 |
+
0.019187679290771486,
|
235 |
+
0.019092479705810548,
|
236 |
+
0.019091455459594727,
|
237 |
+
0.019336191177368164,
|
238 |
+
0.019280895233154297,
|
239 |
+
0.01926144027709961,
|
240 |
+
0.019361791610717775,
|
241 |
+
0.01924710464477539,
|
242 |
+
0.018682880401611326,
|
243 |
+
0.01902079963684082,
|
244 |
+
0.018550783157348632,
|
245 |
+
0.01858355140686035,
|
246 |
+
0.01904742431640625,
|
247 |
+
0.019146751403808594,
|
248 |
+
0.019364864349365234,
|
249 |
+
0.019330047607421876,
|
250 |
+
0.01942630386352539,
|
251 |
+
0.019352575302124024,
|
252 |
+
0.019305471420288087,
|
253 |
+
0.019356672286987304,
|
254 |
+
0.0188221435546875,
|
255 |
+
0.019317760467529296,
|
256 |
+
0.019523584365844726,
|
257 |
+
0.019418111801147463,
|
258 |
+
0.019302400588989257,
|
259 |
+
0.01867366409301758,
|
260 |
+
0.018786304473876952,
|
261 |
+
0.01881804847717285,
|
262 |
+
0.01883443260192871,
|
263 |
+
0.01884979248046875,
|
264 |
+
0.01883033561706543,
|
265 |
+
0.018689023971557618,
|
266 |
+
0.01863987159729004,
|
267 |
+
0.018579456329345705,
|
268 |
+
0.01865011215209961,
|
269 |
+
0.01881907272338867,
|
270 |
+
0.019219455718994142,
|
271 |
+
0.01918976020812988,
|
272 |
+
0.019376127243041993,
|
273 |
+
0.018898944854736328,
|
274 |
+
0.018808832168579103,
|
275 |
+
0.019050495147705078,
|
276 |
+
0.019166208267211913,
|
277 |
+
0.019636224746704102,
|
278 |
+
0.019575807571411134,
|
279 |
+
0.019514368057250975,
|
280 |
+
0.019503103256225587,
|
281 |
+
0.019478527069091797,
|
282 |
+
0.019557376861572266,
|
283 |
+
0.019400703430175782,
|
284 |
+
0.01944166374206543,
|
285 |
+
0.01884569549560547,
|
286 |
+
0.01884160041809082,
|
287 |
+
0.01883647918701172,
|
288 |
+
0.018844671249389648,
|
289 |
+
0.01883340835571289,
|
290 |
+
0.018923519134521484,
|
291 |
+
0.01883033561706543,
|
292 |
+
0.01881395149230957,
|
293 |
+
0.019478527069091797,
|
294 |
+
0.01949286460876465,
|
295 |
+
0.01944780731201172,
|
296 |
+
0.01949286460876465,
|
297 |
+
0.019479551315307618,
|
298 |
+
0.01943552017211914,
|
299 |
+
0.018896896362304686,
|
300 |
+
0.019366912841796875,
|
301 |
+
0.01942118453979492,
|
302 |
+
0.01949388885498047,
|
303 |
+
0.019386367797851564,
|
304 |
+
0.01922150421142578,
|
305 |
+
0.019491840362548828,
|
306 |
+
0.018939903259277344,
|
307 |
+
0.01944473648071289,
|
308 |
+
0.020731903076171874,
|
309 |
+
0.019615743637084963,
|
310 |
+
0.019386367797851564,
|
311 |
+
0.019408895492553712,
|
312 |
+
0.01988812828063965,
|
313 |
+
0.0194652156829834,
|
314 |
+
0.01966694450378418,
|
315 |
+
0.01945292854309082,
|
316 |
+
0.01942425537109375,
|
317 |
+
0.019362815856933592,
|
318 |
+
0.01943552017211914,
|
319 |
+
0.0195020809173584,
|
320 |
+
0.01945599937438965,
|
321 |
+
0.01944576072692871,
|
322 |
+
0.01886207962036133,
|
323 |
+
0.019374080657958984,
|
324 |
+
0.01945088005065918,
|
325 |
+
0.019438592910766602,
|
326 |
+
0.019393535614013673,
|
327 |
+
0.018916351318359375,
|
328 |
+
0.019510271072387696,
|
329 |
+
0.019322879791259767
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.89277280339916
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020058400154113767,
|
7 |
+
"prefill.throughput.value": 348.98097287008073,
|
8 |
+
"decode.latency.mean": 2.4373055419921874,
|
9 |
+
"decode.throughput.value": 52.10672105401839,
|
10 |
+
"per_token.latency.mean": 0.019270506199169538,
|
11 |
+
"per_token.throughput.value": 51.89277280339916
|
12 |
+
}
|
13 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
88 |
+
- hydra.run.dir=_benchmark/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27/${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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-11 02:34:40,501[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
88 |
+
- hydra.run.dir=_benchmark/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27/${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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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": 1755.07456,
|
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.043486080169677734,
|
118 |
+
"mean": 0.021743040084838867,
|
119 |
+
"stdev": 0.00020393562316894584,
|
120 |
+
"p50": 0.021743040084838867,
|
121 |
+
"p90": 0.021906188583374023,
|
122 |
+
"p95": 0.021926582145690918,
|
123 |
+
"p99": 0.021942896995544435,
|
124 |
+
"values": [
|
125 |
+
0.021946975708007813,
|
126 |
+
0.02153910446166992
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 321.9421006762071
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1755.09504,
|
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.081382080078125,
|
149 |
+
"mean": 2.5406910400390625,
|
150 |
+
"stdev": 0.017279418945312486,
|
151 |
+
"p50": 2.5406910400390625,
|
152 |
+
"p90": 2.5545145751953124,
|
153 |
+
"p95": 2.556242517089844,
|
154 |
+
"p99": 2.5576248706054687,
|
155 |
+
"values": [
|
156 |
+
2.557970458984375,
|
157 |
+
2.52341162109375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.98640054953215
|
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.0824058990478544,
|
173 |
+
"mean": 0.02008856086580179,
|
174 |
+
"stdev": 0.0013935931823058378,
|
175 |
+
"p50": 0.0198154239654541,
|
176 |
+
"p90": 0.02061311912536621,
|
177 |
+
"p95": 0.02069729309082031,
|
178 |
+
"p99": 0.02134241310119629,
|
179 |
+
"values": [
|
180 |
+
0.021737472534179687,
|
181 |
+
0.019982336044311523,
|
182 |
+
0.020807680130004884,
|
183 |
+
0.020725759506225586,
|
184 |
+
0.020682752609252928,
|
185 |
+
0.019793920516967774,
|
186 |
+
0.019762176513671875,
|
187 |
+
0.019717119216918946,
|
188 |
+
0.019720191955566405,
|
189 |
+
0.019722240447998047,
|
190 |
+
0.019935232162475586,
|
191 |
+
0.01986355209350586,
|
192 |
+
0.01978982353210449,
|
193 |
+
0.019715072631835938,
|
194 |
+
0.019728384017944335,
|
195 |
+
0.019715072631835938,
|
196 |
+
0.0214835205078125,
|
197 |
+
0.020708351135253905,
|
198 |
+
0.020674560546875,
|
199 |
+
0.020632575988769532,
|
200 |
+
0.02062335968017578,
|
201 |
+
0.020617216110229493,
|
202 |
+
0.020699136734008788,
|
203 |
+
0.02067865562438965,
|
204 |
+
0.020641792297363282,
|
205 |
+
0.02063155174255371,
|
206 |
+
0.020572160720825194,
|
207 |
+
0.020547584533691408,
|
208 |
+
0.02061311912536621,
|
209 |
+
0.020579328536987306,
|
210 |
+
0.020616191864013672,
|
211 |
+
0.020544511795043945,
|
212 |
+
0.020537343978881836,
|
213 |
+
0.019787776947021486,
|
214 |
+
0.01982259178161621,
|
215 |
+
0.019819520950317384,
|
216 |
+
0.01987276840209961,
|
217 |
+
0.0198604793548584,
|
218 |
+
0.01984511947631836,
|
219 |
+
0.0198922233581543,
|
220 |
+
0.02032640075683594,
|
221 |
+
0.019883007049560548,
|
222 |
+
0.019993600845336915,
|
223 |
+
0.019914751052856446,
|
224 |
+
0.01982975959777832,
|
225 |
+
0.01984716796875,
|
226 |
+
0.01987379264831543,
|
227 |
+
0.020588544845581053,
|
228 |
+
0.020686847686767578,
|
229 |
+
0.020590591430664062,
|
230 |
+
0.020717567443847656,
|
231 |
+
0.020385791778564453,
|
232 |
+
0.019938304901123048,
|
233 |
+
0.019869695663452147,
|
234 |
+
0.01979084777832031,
|
235 |
+
0.019738624572753907,
|
236 |
+
0.019761152267456054,
|
237 |
+
0.019780607223510743,
|
238 |
+
0.019767295837402343,
|
239 |
+
0.019811328887939454,
|
240 |
+
0.019907583236694337,
|
241 |
+
0.019907583236694337,
|
242 |
+
0.019862527847290038,
|
243 |
+
0.019753984451293945,
|
244 |
+
0.01984000015258789,
|
245 |
+
0.020153343200683595,
|
246 |
+
0.01983283233642578,
|
247 |
+
0.019796991348266603,
|
248 |
+
0.020414464950561522,
|
249 |
+
0.020136959075927736,
|
250 |
+
0.019785728454589844,
|
251 |
+
0.019825664520263672,
|
252 |
+
0.019799072265625,
|
253 |
+
0.020015071868896485,
|
254 |
+
0.01963417625427246,
|
255 |
+
0.019919872283935547,
|
256 |
+
0.020107263565063475,
|
257 |
+
0.019781631469726564,
|
258 |
+
0.020418560028076172,
|
259 |
+
0.020695039749145508,
|
260 |
+
0.019958784103393554,
|
261 |
+
0.01977446365356445,
|
262 |
+
0.020966400146484376,
|
263 |
+
0.02045132827758789,
|
264 |
+
0.02030284881591797,
|
265 |
+
0.020254720687866212,
|
266 |
+
0.020273151397705077,
|
267 |
+
0.02025574493408203,
|
268 |
+
0.020311040878295897,
|
269 |
+
0.02047590446472168,
|
270 |
+
0.020155391693115234,
|
271 |
+
0.019810304641723633,
|
272 |
+
0.020393983840942383,
|
273 |
+
0.020355072021484375,
|
274 |
+
0.02028441619873047,
|
275 |
+
0.020198400497436524,
|
276 |
+
0.020117504119873047,
|
277 |
+
0.020017152786254884,
|
278 |
+
0.020360191345214843,
|
279 |
+
0.020435968399047853,
|
280 |
+
0.020328447341918944,
|
281 |
+
0.020785152435302736,
|
282 |
+
0.02030182456970215,
|
283 |
+
0.020262912750244142,
|
284 |
+
0.01989017677307129,
|
285 |
+
0.019729408264160156,
|
286 |
+
0.019735551834106444,
|
287 |
+
0.019765247344970704,
|
288 |
+
0.019997695922851562,
|
289 |
+
0.020993024826049804,
|
290 |
+
0.02045337677001953,
|
291 |
+
0.019768320083618163,
|
292 |
+
0.019762176513671875,
|
293 |
+
0.01978265571594238,
|
294 |
+
0.019733503341674806,
|
295 |
+
0.019725311279296876,
|
296 |
+
0.019723264694213868,
|
297 |
+
0.02017791938781738,
|
298 |
+
0.020346879959106445,
|
299 |
+
0.01986662483215332,
|
300 |
+
0.019788799285888673,
|
301 |
+
0.019800064086914062,
|
302 |
+
0.0198287353515625,
|
303 |
+
0.019773439407348634,
|
304 |
+
0.019780607223510743,
|
305 |
+
0.019785728454589844,
|
306 |
+
0.04143718338012695,
|
307 |
+
0.020131839752197265,
|
308 |
+
0.019771392822265626,
|
309 |
+
0.019810304641723633,
|
310 |
+
0.019721216201782226,
|
311 |
+
0.019757055282592775,
|
312 |
+
0.019723264694213868,
|
313 |
+
0.019778560638427735,
|
314 |
+
0.01982975959777832,
|
315 |
+
0.019746816635131836,
|
316 |
+
0.019745792388916016,
|
317 |
+
0.019715072631835938,
|
318 |
+
0.019757055282592775,
|
319 |
+
0.01983692741394043,
|
320 |
+
0.019818496704101563,
|
321 |
+
0.019842048645019532,
|
322 |
+
0.019800064086914062,
|
323 |
+
0.019758079528808595,
|
324 |
+
0.01978982353210449,
|
325 |
+
0.019756032943725587,
|
326 |
+
0.019713024139404296,
|
327 |
+
0.019726335525512697,
|
328 |
+
0.019733503341674806,
|
329 |
+
0.019762176513671875,
|
330 |
+
0.019740671157836915,
|
331 |
+
0.019731456756591798,
|
332 |
+
0.019893247604370116,
|
333 |
+
0.02024550437927246,
|
334 |
+
0.019711999893188475,
|
335 |
+
0.019794944763183595,
|
336 |
+
0.019778560638427735,
|
337 |
+
0.019813375473022463,
|
338 |
+
0.01966080093383789,
|
339 |
+
0.019786752700805665,
|
340 |
+
0.019756032943725587,
|
341 |
+
0.019770368576049805,
|
342 |
+
0.019736576080322265,
|
343 |
+
0.019728384017944335,
|
344 |
+
0.019749887466430666,
|
345 |
+
0.01979084777832031,
|
346 |
+
0.019725311279296876,
|
347 |
+
0.019783679962158202,
|
348 |
+
0.01988403129577637,
|
349 |
+
0.021212160110473634,
|
350 |
+
0.02069606399536133,
|
351 |
+
0.02007961654663086,
|
352 |
+
0.019941375732421874,
|
353 |
+
0.019805183410644533,
|
354 |
+
0.019553279876708983,
|
355 |
+
0.019545087814331053,
|
356 |
+
0.019737600326538086,
|
357 |
+
0.020133888244628906,
|
358 |
+
0.019748863220214845,
|
359 |
+
0.019834880828857423,
|
360 |
+
0.019730432510375977,
|
361 |
+
0.02061311912536621,
|
362 |
+
0.02101043128967285,
|
363 |
+
0.020601856231689454,
|
364 |
+
0.020419584274291993,
|
365 |
+
0.020378623962402344,
|
366 |
+
0.020340736389160157,
|
367 |
+
0.019943424224853516,
|
368 |
+
0.019793920516967774,
|
369 |
+
0.019787776947021486,
|
370 |
+
0.019758079528808595,
|
371 |
+
0.020139007568359374,
|
372 |
+
0.019817472457885742,
|
373 |
+
0.019755008697509766,
|
374 |
+
0.01970790481567383,
|
375 |
+
0.019931135177612306,
|
376 |
+
0.019922943115234376,
|
377 |
+
0.01980620765686035,
|
378 |
+
0.019795967102050782,
|
379 |
+
0.019803136825561524,
|
380 |
+
0.02043187141418457,
|
381 |
+
0.020537343978881836,
|
382 |
+
0.01999667167663574,
|
383 |
+
0.019781631469726564,
|
384 |
+
0.0198154239654541,
|
385 |
+
0.01983795166015625,
|
386 |
+
0.01978265571594238,
|
387 |
+
0.01982054328918457,
|
388 |
+
0.019808256149291992,
|
389 |
+
0.019764223098754884,
|
390 |
+
0.01983078384399414,
|
391 |
+
0.019786752700805665,
|
392 |
+
0.019720191955566405,
|
393 |
+
0.019793920516967774,
|
394 |
+
0.019729408264160156,
|
395 |
+
0.019770368576049805,
|
396 |
+
0.019749887466430666,
|
397 |
+
0.019796991348266603,
|
398 |
+
0.019755104064941405,
|
399 |
+
0.019798944473266602,
|
400 |
+
0.019751935958862304,
|
401 |
+
0.019769344329833984,
|
402 |
+
0.019792896270751953,
|
403 |
+
0.019776512145996093,
|
404 |
+
0.019784704208374023,
|
405 |
+
0.019763200759887696,
|
406 |
+
0.019760128021240234,
|
407 |
+
0.020158464431762696,
|
408 |
+
0.019772415161132813,
|
409 |
+
0.019801088333129883,
|
410 |
+
0.019714048385620117,
|
411 |
+
0.019773439407348634,
|
412 |
+
0.019792896270751953,
|
413 |
+
0.01980620765686035,
|
414 |
+
0.019730432510375977,
|
415 |
+
0.019803136825561524,
|
416 |
+
0.019759103775024413,
|
417 |
+
0.019765247344970704,
|
418 |
+
0.019785728454589844,
|
419 |
+
0.019804159164428712,
|
420 |
+
0.019776512145996093,
|
421 |
+
0.01982054328918457,
|
422 |
+
0.020113407135009767,
|
423 |
+
0.019819520950317384,
|
424 |
+
0.019746816635131836,
|
425 |
+
0.019810304641723633,
|
426 |
+
0.019741695404052736,
|
427 |
+
0.019779584884643556,
|
428 |
+
0.019735551834106444,
|
429 |
+
0.019743743896484374,
|
430 |
+
0.019750911712646483,
|
431 |
+
0.02004377555847168,
|
432 |
+
0.02003660774230957
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.779573891844706
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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": 1755.07456,
|
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.043486080169677734,
|
15 |
+
"mean": 0.021743040084838867,
|
16 |
+
"stdev": 0.00020393562316894584,
|
17 |
+
"p50": 0.021743040084838867,
|
18 |
+
"p90": 0.021906188583374023,
|
19 |
+
"p95": 0.021926582145690918,
|
20 |
+
"p99": 0.021942896995544435,
|
21 |
+
"values": [
|
22 |
+
0.021946975708007813,
|
23 |
+
0.02153910446166992
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 321.9421006762071
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1755.09504,
|
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.081382080078125,
|
46 |
+
"mean": 2.5406910400390625,
|
47 |
+
"stdev": 0.017279418945312486,
|
48 |
+
"p50": 2.5406910400390625,
|
49 |
+
"p90": 2.5545145751953124,
|
50 |
+
"p95": 2.556242517089844,
|
51 |
+
"p99": 2.5576248706054687,
|
52 |
+
"values": [
|
53 |
+
2.557970458984375,
|
54 |
+
2.52341162109375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.98640054953215
|
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.0824058990478544,
|
70 |
+
"mean": 0.02008856086580179,
|
71 |
+
"stdev": 0.0013935931823058378,
|
72 |
+
"p50": 0.0198154239654541,
|
73 |
+
"p90": 0.02061311912536621,
|
74 |
+
"p95": 0.02069729309082031,
|
75 |
+
"p99": 0.02134241310119629,
|
76 |
+
"values": [
|
77 |
+
0.021737472534179687,
|
78 |
+
0.019982336044311523,
|
79 |
+
0.020807680130004884,
|
80 |
+
0.020725759506225586,
|
81 |
+
0.020682752609252928,
|
82 |
+
0.019793920516967774,
|
83 |
+
0.019762176513671875,
|
84 |
+
0.019717119216918946,
|
85 |
+
0.019720191955566405,
|
86 |
+
0.019722240447998047,
|
87 |
+
0.019935232162475586,
|
88 |
+
0.01986355209350586,
|
89 |
+
0.01978982353210449,
|
90 |
+
0.019715072631835938,
|
91 |
+
0.019728384017944335,
|
92 |
+
0.019715072631835938,
|
93 |
+
0.0214835205078125,
|
94 |
+
0.020708351135253905,
|
95 |
+
0.020674560546875,
|
96 |
+
0.020632575988769532,
|
97 |
+
0.02062335968017578,
|
98 |
+
0.020617216110229493,
|
99 |
+
0.020699136734008788,
|
100 |
+
0.02067865562438965,
|
101 |
+
0.020641792297363282,
|
102 |
+
0.02063155174255371,
|
103 |
+
0.020572160720825194,
|
104 |
+
0.020547584533691408,
|
105 |
+
0.02061311912536621,
|
106 |
+
0.020579328536987306,
|
107 |
+
0.020616191864013672,
|
108 |
+
0.020544511795043945,
|
109 |
+
0.020537343978881836,
|
110 |
+
0.019787776947021486,
|
111 |
+
0.01982259178161621,
|
112 |
+
0.019819520950317384,
|
113 |
+
0.01987276840209961,
|
114 |
+
0.0198604793548584,
|
115 |
+
0.01984511947631836,
|
116 |
+
0.0198922233581543,
|
117 |
+
0.02032640075683594,
|
118 |
+
0.019883007049560548,
|
119 |
+
0.019993600845336915,
|
120 |
+
0.019914751052856446,
|
121 |
+
0.01982975959777832,
|
122 |
+
0.01984716796875,
|
123 |
+
0.01987379264831543,
|
124 |
+
0.020588544845581053,
|
125 |
+
0.020686847686767578,
|
126 |
+
0.020590591430664062,
|
127 |
+
0.020717567443847656,
|
128 |
+
0.020385791778564453,
|
129 |
+
0.019938304901123048,
|
130 |
+
0.019869695663452147,
|
131 |
+
0.01979084777832031,
|
132 |
+
0.019738624572753907,
|
133 |
+
0.019761152267456054,
|
134 |
+
0.019780607223510743,
|
135 |
+
0.019767295837402343,
|
136 |
+
0.019811328887939454,
|
137 |
+
0.019907583236694337,
|
138 |
+
0.019907583236694337,
|
139 |
+
0.019862527847290038,
|
140 |
+
0.019753984451293945,
|
141 |
+
0.01984000015258789,
|
142 |
+
0.020153343200683595,
|
143 |
+
0.01983283233642578,
|
144 |
+
0.019796991348266603,
|
145 |
+
0.020414464950561522,
|
146 |
+
0.020136959075927736,
|
147 |
+
0.019785728454589844,
|
148 |
+
0.019825664520263672,
|
149 |
+
0.019799072265625,
|
150 |
+
0.020015071868896485,
|
151 |
+
0.01963417625427246,
|
152 |
+
0.019919872283935547,
|
153 |
+
0.020107263565063475,
|
154 |
+
0.019781631469726564,
|
155 |
+
0.020418560028076172,
|
156 |
+
0.020695039749145508,
|
157 |
+
0.019958784103393554,
|
158 |
+
0.01977446365356445,
|
159 |
+
0.020966400146484376,
|
160 |
+
0.02045132827758789,
|
161 |
+
0.02030284881591797,
|
162 |
+
0.020254720687866212,
|
163 |
+
0.020273151397705077,
|
164 |
+
0.02025574493408203,
|
165 |
+
0.020311040878295897,
|
166 |
+
0.02047590446472168,
|
167 |
+
0.020155391693115234,
|
168 |
+
0.019810304641723633,
|
169 |
+
0.020393983840942383,
|
170 |
+
0.020355072021484375,
|
171 |
+
0.02028441619873047,
|
172 |
+
0.020198400497436524,
|
173 |
+
0.020117504119873047,
|
174 |
+
0.020017152786254884,
|
175 |
+
0.020360191345214843,
|
176 |
+
0.020435968399047853,
|
177 |
+
0.020328447341918944,
|
178 |
+
0.020785152435302736,
|
179 |
+
0.02030182456970215,
|
180 |
+
0.020262912750244142,
|
181 |
+
0.01989017677307129,
|
182 |
+
0.019729408264160156,
|
183 |
+
0.019735551834106444,
|
184 |
+
0.019765247344970704,
|
185 |
+
0.019997695922851562,
|
186 |
+
0.020993024826049804,
|
187 |
+
0.02045337677001953,
|
188 |
+
0.019768320083618163,
|
189 |
+
0.019762176513671875,
|
190 |
+
0.01978265571594238,
|
191 |
+
0.019733503341674806,
|
192 |
+
0.019725311279296876,
|
193 |
+
0.019723264694213868,
|
194 |
+
0.02017791938781738,
|
195 |
+
0.020346879959106445,
|
196 |
+
0.01986662483215332,
|
197 |
+
0.019788799285888673,
|
198 |
+
0.019800064086914062,
|
199 |
+
0.0198287353515625,
|
200 |
+
0.019773439407348634,
|
201 |
+
0.019780607223510743,
|
202 |
+
0.019785728454589844,
|
203 |
+
0.04143718338012695,
|
204 |
+
0.020131839752197265,
|
205 |
+
0.019771392822265626,
|
206 |
+
0.019810304641723633,
|
207 |
+
0.019721216201782226,
|
208 |
+
0.019757055282592775,
|
209 |
+
0.019723264694213868,
|
210 |
+
0.019778560638427735,
|
211 |
+
0.01982975959777832,
|
212 |
+
0.019746816635131836,
|
213 |
+
0.019745792388916016,
|
214 |
+
0.019715072631835938,
|
215 |
+
0.019757055282592775,
|
216 |
+
0.01983692741394043,
|
217 |
+
0.019818496704101563,
|
218 |
+
0.019842048645019532,
|
219 |
+
0.019800064086914062,
|
220 |
+
0.019758079528808595,
|
221 |
+
0.01978982353210449,
|
222 |
+
0.019756032943725587,
|
223 |
+
0.019713024139404296,
|
224 |
+
0.019726335525512697,
|
225 |
+
0.019733503341674806,
|
226 |
+
0.019762176513671875,
|
227 |
+
0.019740671157836915,
|
228 |
+
0.019731456756591798,
|
229 |
+
0.019893247604370116,
|
230 |
+
0.02024550437927246,
|
231 |
+
0.019711999893188475,
|
232 |
+
0.019794944763183595,
|
233 |
+
0.019778560638427735,
|
234 |
+
0.019813375473022463,
|
235 |
+
0.01966080093383789,
|
236 |
+
0.019786752700805665,
|
237 |
+
0.019756032943725587,
|
238 |
+
0.019770368576049805,
|
239 |
+
0.019736576080322265,
|
240 |
+
0.019728384017944335,
|
241 |
+
0.019749887466430666,
|
242 |
+
0.01979084777832031,
|
243 |
+
0.019725311279296876,
|
244 |
+
0.019783679962158202,
|
245 |
+
0.01988403129577637,
|
246 |
+
0.021212160110473634,
|
247 |
+
0.02069606399536133,
|
248 |
+
0.02007961654663086,
|
249 |
+
0.019941375732421874,
|
250 |
+
0.019805183410644533,
|
251 |
+
0.019553279876708983,
|
252 |
+
0.019545087814331053,
|
253 |
+
0.019737600326538086,
|
254 |
+
0.020133888244628906,
|
255 |
+
0.019748863220214845,
|
256 |
+
0.019834880828857423,
|
257 |
+
0.019730432510375977,
|
258 |
+
0.02061311912536621,
|
259 |
+
0.02101043128967285,
|
260 |
+
0.020601856231689454,
|
261 |
+
0.020419584274291993,
|
262 |
+
0.020378623962402344,
|
263 |
+
0.020340736389160157,
|
264 |
+
0.019943424224853516,
|
265 |
+
0.019793920516967774,
|
266 |
+
0.019787776947021486,
|
267 |
+
0.019758079528808595,
|
268 |
+
0.020139007568359374,
|
269 |
+
0.019817472457885742,
|
270 |
+
0.019755008697509766,
|
271 |
+
0.01970790481567383,
|
272 |
+
0.019931135177612306,
|
273 |
+
0.019922943115234376,
|
274 |
+
0.01980620765686035,
|
275 |
+
0.019795967102050782,
|
276 |
+
0.019803136825561524,
|
277 |
+
0.02043187141418457,
|
278 |
+
0.020537343978881836,
|
279 |
+
0.01999667167663574,
|
280 |
+
0.019781631469726564,
|
281 |
+
0.0198154239654541,
|
282 |
+
0.01983795166015625,
|
283 |
+
0.01978265571594238,
|
284 |
+
0.01982054328918457,
|
285 |
+
0.019808256149291992,
|
286 |
+
0.019764223098754884,
|
287 |
+
0.01983078384399414,
|
288 |
+
0.019786752700805665,
|
289 |
+
0.019720191955566405,
|
290 |
+
0.019793920516967774,
|
291 |
+
0.019729408264160156,
|
292 |
+
0.019770368576049805,
|
293 |
+
0.019749887466430666,
|
294 |
+
0.019796991348266603,
|
295 |
+
0.019755104064941405,
|
296 |
+
0.019798944473266602,
|
297 |
+
0.019751935958862304,
|
298 |
+
0.019769344329833984,
|
299 |
+
0.019792896270751953,
|
300 |
+
0.019776512145996093,
|
301 |
+
0.019784704208374023,
|
302 |
+
0.019763200759887696,
|
303 |
+
0.019760128021240234,
|
304 |
+
0.020158464431762696,
|
305 |
+
0.019772415161132813,
|
306 |
+
0.019801088333129883,
|
307 |
+
0.019714048385620117,
|
308 |
+
0.019773439407348634,
|
309 |
+
0.019792896270751953,
|
310 |
+
0.01980620765686035,
|
311 |
+
0.019730432510375977,
|
312 |
+
0.019803136825561524,
|
313 |
+
0.019759103775024413,
|
314 |
+
0.019765247344970704,
|
315 |
+
0.019785728454589844,
|
316 |
+
0.019804159164428712,
|
317 |
+
0.019776512145996093,
|
318 |
+
0.01982054328918457,
|
319 |
+
0.020113407135009767,
|
320 |
+
0.019819520950317384,
|
321 |
+
0.019746816635131836,
|
322 |
+
0.019810304641723633,
|
323 |
+
0.019741695404052736,
|
324 |
+
0.019779584884643556,
|
325 |
+
0.019735551834106444,
|
326 |
+
0.019743743896484374,
|
327 |
+
0.019750911712646483,
|
328 |
+
0.02004377555847168,
|
329 |
+
0.02003660774230957
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.779573891844706
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021743040084838867,
|
7 |
+
"prefill.throughput.value": 321.9421006762071,
|
8 |
+
"decode.latency.mean": 2.5406910400390625,
|
9 |
+
"decode.throughput.value": 49.98640054953215,
|
10 |
+
"per_token.latency.mean": 0.02008856086580179,
|
11 |
+
"per_token.throughput.value": 49.779573891844706
|
12 |
+
}
|
13 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
88 |
+
- hydra.run.dir=_benchmark/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27/${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/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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": 1941.93408,
|
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.028233247756958006,
|
118 |
+
"mean": 0.014116623878479003,
|
119 |
+
"stdev": 0.00018327999114990234,
|
120 |
+
"p50": 0.014116623878479003,
|
121 |
+
"p90": 0.014263247871398927,
|
122 |
+
"p95": 0.014281575870513916,
|
123 |
+
"p99": 0.014296238269805908,
|
124 |
+
"values": [
|
125 |
+
0.014299903869628906,
|
126 |
+
0.013933343887329102
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 495.86927159486066
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2285.735936,
|
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.146983642578125,
|
149 |
+
"mean": 1.5734918212890625,
|
150 |
+
"stdev": 0.01630004882812508,
|
151 |
+
"p50": 1.5734918212890625,
|
152 |
+
"p90": 1.5865318603515626,
|
153 |
+
"p95": 1.588161865234375,
|
154 |
+
"p99": 1.5894658691406252,
|
155 |
+
"values": [
|
156 |
+
1.5897918701171876,
|
157 |
+
1.5571917724609374
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.71220852991591
|
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.1480279083251954,
|
173 |
+
"mean": 0.012442798056621324,
|
174 |
+
"stdev": 0.0009014963210041338,
|
175 |
+
"p50": 0.01227673625946045,
|
176 |
+
"p90": 0.012727295875549317,
|
177 |
+
"p95": 0.01275002899169922,
|
178 |
+
"p99": 0.012789719161987305,
|
179 |
+
"values": [
|
180 |
+
0.012722175598144531,
|
181 |
+
0.01277952003479004,
|
182 |
+
0.012677120208740235,
|
183 |
+
0.012819456100463868,
|
184 |
+
0.012790783882141114,
|
185 |
+
0.012788736343383789,
|
186 |
+
0.012755968093872071,
|
187 |
+
0.012782591819763184,
|
188 |
+
0.01266483211517334,
|
189 |
+
0.012727295875549317,
|
190 |
+
0.012693504333496093,
|
191 |
+
0.012729344367980957,
|
192 |
+
0.01274880027770996,
|
193 |
+
0.012729344367980957,
|
194 |
+
0.012686335563659668,
|
195 |
+
0.012702719688415527,
|
196 |
+
0.012681216239929198,
|
197 |
+
0.012727295875549317,
|
198 |
+
0.0127457275390625,
|
199 |
+
0.012721152305603027,
|
200 |
+
0.012694527626037597,
|
201 |
+
0.012709888458251953,
|
202 |
+
0.012704768180847169,
|
203 |
+
0.012760064125061036,
|
204 |
+
0.01266483211517334,
|
205 |
+
0.012766207695007324,
|
206 |
+
0.012653568267822265,
|
207 |
+
0.012729344367980957,
|
208 |
+
0.012652544021606446,
|
209 |
+
0.012709888458251953,
|
210 |
+
0.012676095962524414,
|
211 |
+
0.012780544281005859,
|
212 |
+
0.012698623657226562,
|
213 |
+
0.012734463691711426,
|
214 |
+
0.012646400451660156,
|
215 |
+
0.012607487678527832,
|
216 |
+
0.012642304420471191,
|
217 |
+
0.012751872062683106,
|
218 |
+
0.012747776031494141,
|
219 |
+
0.012759039878845215,
|
220 |
+
0.01262284755706787,
|
221 |
+
0.012719103813171387,
|
222 |
+
0.012660736083984376,
|
223 |
+
0.012760064125061036,
|
224 |
+
0.012686335563659668,
|
225 |
+
0.012733440399169921,
|
226 |
+
0.012702719688415527,
|
227 |
+
0.012702719688415527,
|
228 |
+
0.01267302417755127,
|
229 |
+
0.012709888458251953,
|
230 |
+
0.012681216239929198,
|
231 |
+
0.012707839965820313,
|
232 |
+
0.012703743934631348,
|
233 |
+
0.012729344367980957,
|
234 |
+
0.01267404842376709,
|
235 |
+
0.01273036766052246,
|
236 |
+
0.012659711837768555,
|
237 |
+
0.012744704246520995,
|
238 |
+
0.012690431594848632,
|
239 |
+
0.012747776031494141,
|
240 |
+
0.012661760330200195,
|
241 |
+
0.012705792427062988,
|
242 |
+
0.012669952392578124,
|
243 |
+
0.012697600364685058,
|
244 |
+
0.012601375579833984,
|
245 |
+
0.012643296241760254,
|
246 |
+
0.012604415893554688,
|
247 |
+
0.012649472236633302,
|
248 |
+
0.012283904075622559,
|
249 |
+
0.012447744369506837,
|
250 |
+
0.012502016067504883,
|
251 |
+
0.01259008026123047,
|
252 |
+
0.01264844799041748,
|
253 |
+
0.01237299156188965,
|
254 |
+
0.01226956844329834,
|
255 |
+
0.012377087593078612,
|
256 |
+
0.012282879829406738,
|
257 |
+
0.012428288459777831,
|
258 |
+
0.012309503555297852,
|
259 |
+
0.012304384231567383,
|
260 |
+
0.0122357759475708,
|
261 |
+
0.012295167922973632,
|
262 |
+
0.012270591735839843,
|
263 |
+
0.012302335739135742,
|
264 |
+
0.012231679916381836,
|
265 |
+
0.012270591735839843,
|
266 |
+
0.012247039794921874,
|
267 |
+
0.012294143676757812,
|
268 |
+
0.012231679916381836,
|
269 |
+
0.01228492832183838,
|
270 |
+
0.0122357759475708,
|
271 |
+
0.012299263954162597,
|
272 |
+
0.012236800193786621,
|
273 |
+
0.012275712013244629,
|
274 |
+
0.012232704162597656,
|
275 |
+
0.012265472412109376,
|
276 |
+
0.012230655670166016,
|
277 |
+
0.012283904075622559,
|
278 |
+
0.0122357759475708,
|
279 |
+
0.012309503555297852,
|
280 |
+
0.012236800193786621,
|
281 |
+
0.012275712013244629,
|
282 |
+
0.012232704162597656,
|
283 |
+
0.012280832290649414,
|
284 |
+
0.012231679916381836,
|
285 |
+
0.012267519950866699,
|
286 |
+
0.012236800193786621,
|
287 |
+
0.012264448165893555,
|
288 |
+
0.012247039794921874,
|
289 |
+
0.012277759552001954,
|
290 |
+
0.012231679916381836,
|
291 |
+
0.012275712013244629,
|
292 |
+
0.01225216007232666,
|
293 |
+
0.01229312038421631,
|
294 |
+
0.0122357759475708,
|
295 |
+
0.012275712013244629,
|
296 |
+
0.012239871978759765,
|
297 |
+
0.012271615982055664,
|
298 |
+
0.012255231857299804,
|
299 |
+
0.012290047645568849,
|
300 |
+
0.012248064041137695,
|
301 |
+
0.012288031578063964,
|
302 |
+
0.012237792015075683,
|
303 |
+
0.012285951614379884,
|
304 |
+
0.012244992256164551,
|
305 |
+
0.012273664474487305,
|
306 |
+
0.026396671295166017,
|
307 |
+
0.012237824440002442,
|
308 |
+
0.012275712013244629,
|
309 |
+
0.012223487854003906,
|
310 |
+
0.012280832290649414,
|
311 |
+
0.012253184318542481,
|
312 |
+
0.01227673625946045,
|
313 |
+
0.012236800193786621,
|
314 |
+
0.012296192169189453,
|
315 |
+
0.012255231857299804,
|
316 |
+
0.012283904075622559,
|
317 |
+
0.012238847732543945,
|
318 |
+
0.012274687767028808,
|
319 |
+
0.012246015548706055,
|
320 |
+
0.01227673625946045,
|
321 |
+
0.012238847732543945,
|
322 |
+
0.012273664474487305,
|
323 |
+
0.012236800193786621,
|
324 |
+
0.01227673625946045,
|
325 |
+
0.012257280349731446,
|
326 |
+
0.01227673625946045,
|
327 |
+
0.012248064041137695,
|
328 |
+
0.012277759552001954,
|
329 |
+
0.01223475170135498,
|
330 |
+
0.012301312446594239,
|
331 |
+
0.012248064041137695,
|
332 |
+
0.012280832290649414,
|
333 |
+
0.01223475170135498,
|
334 |
+
0.012270591735839843,
|
335 |
+
0.012254207611083985,
|
336 |
+
0.01228492832183838,
|
337 |
+
0.012233728408813477,
|
338 |
+
0.012281920433044434,
|
339 |
+
0.012294079780578613,
|
340 |
+
0.012278783798217773,
|
341 |
+
0.012233728408813477,
|
342 |
+
0.012275712013244629,
|
343 |
+
0.012232704162597656,
|
344 |
+
0.012285951614379884,
|
345 |
+
0.012244992256164551,
|
346 |
+
0.012274687767028808,
|
347 |
+
0.012231679916381836,
|
348 |
+
0.01226137638092041,
|
349 |
+
0.012225536346435547,
|
350 |
+
0.012272640228271485,
|
351 |
+
0.01222758388519287,
|
352 |
+
0.012300288200378418,
|
353 |
+
0.012231679916381836,
|
354 |
+
0.012278783798217773,
|
355 |
+
0.01223475170135498,
|
356 |
+
0.012278783798217773,
|
357 |
+
0.0122357759475708,
|
358 |
+
0.012272640228271485,
|
359 |
+
0.0122357759475708,
|
360 |
+
0.012317695617675782,
|
361 |
+
0.012239871978759765,
|
362 |
+
0.012275712013244629,
|
363 |
+
0.012225536346435547,
|
364 |
+
0.012263423919677734,
|
365 |
+
0.012231679916381836,
|
366 |
+
0.012263423919677734,
|
367 |
+
0.0122357759475708,
|
368 |
+
0.012286975860595703,
|
369 |
+
0.012223487854003906,
|
370 |
+
0.01227673625946045,
|
371 |
+
0.01223475170135498,
|
372 |
+
0.012278783798217773,
|
373 |
+
0.012232704162597656,
|
374 |
+
0.012275712013244629,
|
375 |
+
0.01226035213470459,
|
376 |
+
0.012348416328430176,
|
377 |
+
0.012237824440002442,
|
378 |
+
0.01229312038421631,
|
379 |
+
0.01222758388519287,
|
380 |
+
0.012289024353027344,
|
381 |
+
0.0122357759475708,
|
382 |
+
0.012274687767028808,
|
383 |
+
0.012226559638977052,
|
384 |
+
0.012277759552001954,
|
385 |
+
0.012241920471191407,
|
386 |
+
0.012273695945739746,
|
387 |
+
0.012247008323669433,
|
388 |
+
0.01225830364227295,
|
389 |
+
0.012262399673461915,
|
390 |
+
0.012281855583190919,
|
391 |
+
0.012314623832702636,
|
392 |
+
0.012312576293945313,
|
393 |
+
0.012256256103515625,
|
394 |
+
0.012274687767028808,
|
395 |
+
0.012226559638977052,
|
396 |
+
0.01225830364227295,
|
397 |
+
0.012228608131408691,
|
398 |
+
0.012285951614379884,
|
399 |
+
0.01224294376373291,
|
400 |
+
0.01226956844329834,
|
401 |
+
0.01225216007232666,
|
402 |
+
0.012278783798217773,
|
403 |
+
0.012225536346435547,
|
404 |
+
0.012282879829406738,
|
405 |
+
0.012228608131408691,
|
406 |
+
0.012274687767028808,
|
407 |
+
0.01226137638092041,
|
408 |
+
0.012267519950866699,
|
409 |
+
0.012237824440002442,
|
410 |
+
0.01226854419708252,
|
411 |
+
0.012218367576599122,
|
412 |
+
0.01226956844329834,
|
413 |
+
0.01223475170135498,
|
414 |
+
0.012265472412109376,
|
415 |
+
0.012225536346435547,
|
416 |
+
0.01226956844329834,
|
417 |
+
0.012240896224975586,
|
418 |
+
0.012271615982055664,
|
419 |
+
0.01224294376373291,
|
420 |
+
0.012270591735839843,
|
421 |
+
0.012239871978759765,
|
422 |
+
0.012290047645568849,
|
423 |
+
0.012244992256164551,
|
424 |
+
0.012272640228271485,
|
425 |
+
0.012254207611083985,
|
426 |
+
0.012279808044433594,
|
427 |
+
0.012233728408813477,
|
428 |
+
0.012300288200378418,
|
429 |
+
0.0122357759475708,
|
430 |
+
0.012274687767028808,
|
431 |
+
0.01222758388519287,
|
432 |
+
0.012271615982055664
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.36777543519312
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
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-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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": 1941.93408,
|
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.028233247756958006,
|
15 |
+
"mean": 0.014116623878479003,
|
16 |
+
"stdev": 0.00018327999114990234,
|
17 |
+
"p50": 0.014116623878479003,
|
18 |
+
"p90": 0.014263247871398927,
|
19 |
+
"p95": 0.014281575870513916,
|
20 |
+
"p99": 0.014296238269805908,
|
21 |
+
"values": [
|
22 |
+
0.014299903869628906,
|
23 |
+
0.013933343887329102
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 495.86927159486066
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2285.735936,
|
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.146983642578125,
|
46 |
+
"mean": 1.5734918212890625,
|
47 |
+
"stdev": 0.01630004882812508,
|
48 |
+
"p50": 1.5734918212890625,
|
49 |
+
"p90": 1.5865318603515626,
|
50 |
+
"p95": 1.588161865234375,
|
51 |
+
"p99": 1.5894658691406252,
|
52 |
+
"values": [
|
53 |
+
1.5897918701171876,
|
54 |
+
1.5571917724609374
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.71220852991591
|
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.1480279083251954,
|
70 |
+
"mean": 0.012442798056621324,
|
71 |
+
"stdev": 0.0009014963210041338,
|
72 |
+
"p50": 0.01227673625946045,
|
73 |
+
"p90": 0.012727295875549317,
|
74 |
+
"p95": 0.01275002899169922,
|
75 |
+
"p99": 0.012789719161987305,
|
76 |
+
"values": [
|
77 |
+
0.012722175598144531,
|
78 |
+
0.01277952003479004,
|
79 |
+
0.012677120208740235,
|
80 |
+
0.012819456100463868,
|
81 |
+
0.012790783882141114,
|
82 |
+
0.012788736343383789,
|
83 |
+
0.012755968093872071,
|
84 |
+
0.012782591819763184,
|
85 |
+
0.01266483211517334,
|
86 |
+
0.012727295875549317,
|
87 |
+
0.012693504333496093,
|
88 |
+
0.012729344367980957,
|
89 |
+
0.01274880027770996,
|
90 |
+
0.012729344367980957,
|
91 |
+
0.012686335563659668,
|
92 |
+
0.012702719688415527,
|
93 |
+
0.012681216239929198,
|
94 |
+
0.012727295875549317,
|
95 |
+
0.0127457275390625,
|
96 |
+
0.012721152305603027,
|
97 |
+
0.012694527626037597,
|
98 |
+
0.012709888458251953,
|
99 |
+
0.012704768180847169,
|
100 |
+
0.012760064125061036,
|
101 |
+
0.01266483211517334,
|
102 |
+
0.012766207695007324,
|
103 |
+
0.012653568267822265,
|
104 |
+
0.012729344367980957,
|
105 |
+
0.012652544021606446,
|
106 |
+
0.012709888458251953,
|
107 |
+
0.012676095962524414,
|
108 |
+
0.012780544281005859,
|
109 |
+
0.012698623657226562,
|
110 |
+
0.012734463691711426,
|
111 |
+
0.012646400451660156,
|
112 |
+
0.012607487678527832,
|
113 |
+
0.012642304420471191,
|
114 |
+
0.012751872062683106,
|
115 |
+
0.012747776031494141,
|
116 |
+
0.012759039878845215,
|
117 |
+
0.01262284755706787,
|
118 |
+
0.012719103813171387,
|
119 |
+
0.012660736083984376,
|
120 |
+
0.012760064125061036,
|
121 |
+
0.012686335563659668,
|
122 |
+
0.012733440399169921,
|
123 |
+
0.012702719688415527,
|
124 |
+
0.012702719688415527,
|
125 |
+
0.01267302417755127,
|
126 |
+
0.012709888458251953,
|
127 |
+
0.012681216239929198,
|
128 |
+
0.012707839965820313,
|
129 |
+
0.012703743934631348,
|
130 |
+
0.012729344367980957,
|
131 |
+
0.01267404842376709,
|
132 |
+
0.01273036766052246,
|
133 |
+
0.012659711837768555,
|
134 |
+
0.012744704246520995,
|
135 |
+
0.012690431594848632,
|
136 |
+
0.012747776031494141,
|
137 |
+
0.012661760330200195,
|
138 |
+
0.012705792427062988,
|
139 |
+
0.012669952392578124,
|
140 |
+
0.012697600364685058,
|
141 |
+
0.012601375579833984,
|
142 |
+
0.012643296241760254,
|
143 |
+
0.012604415893554688,
|
144 |
+
0.012649472236633302,
|
145 |
+
0.012283904075622559,
|
146 |
+
0.012447744369506837,
|
147 |
+
0.012502016067504883,
|
148 |
+
0.01259008026123047,
|
149 |
+
0.01264844799041748,
|
150 |
+
0.01237299156188965,
|
151 |
+
0.01226956844329834,
|
152 |
+
0.012377087593078612,
|
153 |
+
0.012282879829406738,
|
154 |
+
0.012428288459777831,
|
155 |
+
0.012309503555297852,
|
156 |
+
0.012304384231567383,
|
157 |
+
0.0122357759475708,
|
158 |
+
0.012295167922973632,
|
159 |
+
0.012270591735839843,
|
160 |
+
0.012302335739135742,
|
161 |
+
0.012231679916381836,
|
162 |
+
0.012270591735839843,
|
163 |
+
0.012247039794921874,
|
164 |
+
0.012294143676757812,
|
165 |
+
0.012231679916381836,
|
166 |
+
0.01228492832183838,
|
167 |
+
0.0122357759475708,
|
168 |
+
0.012299263954162597,
|
169 |
+
0.012236800193786621,
|
170 |
+
0.012275712013244629,
|
171 |
+
0.012232704162597656,
|
172 |
+
0.012265472412109376,
|
173 |
+
0.012230655670166016,
|
174 |
+
0.012283904075622559,
|
175 |
+
0.0122357759475708,
|
176 |
+
0.012309503555297852,
|
177 |
+
0.012236800193786621,
|
178 |
+
0.012275712013244629,
|
179 |
+
0.012232704162597656,
|
180 |
+
0.012280832290649414,
|
181 |
+
0.012231679916381836,
|
182 |
+
0.012267519950866699,
|
183 |
+
0.012236800193786621,
|
184 |
+
0.012264448165893555,
|
185 |
+
0.012247039794921874,
|
186 |
+
0.012277759552001954,
|
187 |
+
0.012231679916381836,
|
188 |
+
0.012275712013244629,
|
189 |
+
0.01225216007232666,
|
190 |
+
0.01229312038421631,
|
191 |
+
0.0122357759475708,
|
192 |
+
0.012275712013244629,
|
193 |
+
0.012239871978759765,
|
194 |
+
0.012271615982055664,
|
195 |
+
0.012255231857299804,
|
196 |
+
0.012290047645568849,
|
197 |
+
0.012248064041137695,
|
198 |
+
0.012288031578063964,
|
199 |
+
0.012237792015075683,
|
200 |
+
0.012285951614379884,
|
201 |
+
0.012244992256164551,
|
202 |
+
0.012273664474487305,
|
203 |
+
0.026396671295166017,
|
204 |
+
0.012237824440002442,
|
205 |
+
0.012275712013244629,
|
206 |
+
0.012223487854003906,
|
207 |
+
0.012280832290649414,
|
208 |
+
0.012253184318542481,
|
209 |
+
0.01227673625946045,
|
210 |
+
0.012236800193786621,
|
211 |
+
0.012296192169189453,
|
212 |
+
0.012255231857299804,
|
213 |
+
0.012283904075622559,
|
214 |
+
0.012238847732543945,
|
215 |
+
0.012274687767028808,
|
216 |
+
0.012246015548706055,
|
217 |
+
0.01227673625946045,
|
218 |
+
0.012238847732543945,
|
219 |
+
0.012273664474487305,
|
220 |
+
0.012236800193786621,
|
221 |
+
0.01227673625946045,
|
222 |
+
0.012257280349731446,
|
223 |
+
0.01227673625946045,
|
224 |
+
0.012248064041137695,
|
225 |
+
0.012277759552001954,
|
226 |
+
0.01223475170135498,
|
227 |
+
0.012301312446594239,
|
228 |
+
0.012248064041137695,
|
229 |
+
0.012280832290649414,
|
230 |
+
0.01223475170135498,
|
231 |
+
0.012270591735839843,
|
232 |
+
0.012254207611083985,
|
233 |
+
0.01228492832183838,
|
234 |
+
0.012233728408813477,
|
235 |
+
0.012281920433044434,
|
236 |
+
0.012294079780578613,
|
237 |
+
0.012278783798217773,
|
238 |
+
0.012233728408813477,
|
239 |
+
0.012275712013244629,
|
240 |
+
0.012232704162597656,
|
241 |
+
0.012285951614379884,
|
242 |
+
0.012244992256164551,
|
243 |
+
0.012274687767028808,
|
244 |
+
0.012231679916381836,
|
245 |
+
0.01226137638092041,
|
246 |
+
0.012225536346435547,
|
247 |
+
0.012272640228271485,
|
248 |
+
0.01222758388519287,
|
249 |
+
0.012300288200378418,
|
250 |
+
0.012231679916381836,
|
251 |
+
0.012278783798217773,
|
252 |
+
0.01223475170135498,
|
253 |
+
0.012278783798217773,
|
254 |
+
0.0122357759475708,
|
255 |
+
0.012272640228271485,
|
256 |
+
0.0122357759475708,
|
257 |
+
0.012317695617675782,
|
258 |
+
0.012239871978759765,
|
259 |
+
0.012275712013244629,
|
260 |
+
0.012225536346435547,
|
261 |
+
0.012263423919677734,
|
262 |
+
0.012231679916381836,
|
263 |
+
0.012263423919677734,
|
264 |
+
0.0122357759475708,
|
265 |
+
0.012286975860595703,
|
266 |
+
0.012223487854003906,
|
267 |
+
0.01227673625946045,
|
268 |
+
0.01223475170135498,
|
269 |
+
0.012278783798217773,
|
270 |
+
0.012232704162597656,
|
271 |
+
0.012275712013244629,
|
272 |
+
0.01226035213470459,
|
273 |
+
0.012348416328430176,
|
274 |
+
0.012237824440002442,
|
275 |
+
0.01229312038421631,
|
276 |
+
0.01222758388519287,
|
277 |
+
0.012289024353027344,
|
278 |
+
0.0122357759475708,
|
279 |
+
0.012274687767028808,
|
280 |
+
0.012226559638977052,
|
281 |
+
0.012277759552001954,
|
282 |
+
0.012241920471191407,
|
283 |
+
0.012273695945739746,
|
284 |
+
0.012247008323669433,
|
285 |
+
0.01225830364227295,
|
286 |
+
0.012262399673461915,
|
287 |
+
0.012281855583190919,
|
288 |
+
0.012314623832702636,
|
289 |
+
0.012312576293945313,
|
290 |
+
0.012256256103515625,
|
291 |
+
0.012274687767028808,
|
292 |
+
0.012226559638977052,
|
293 |
+
0.01225830364227295,
|
294 |
+
0.012228608131408691,
|
295 |
+
0.012285951614379884,
|
296 |
+
0.01224294376373291,
|
297 |
+
0.01226956844329834,
|
298 |
+
0.01225216007232666,
|
299 |
+
0.012278783798217773,
|
300 |
+
0.012225536346435547,
|
301 |
+
0.012282879829406738,
|
302 |
+
0.012228608131408691,
|
303 |
+
0.012274687767028808,
|
304 |
+
0.01226137638092041,
|
305 |
+
0.012267519950866699,
|
306 |
+
0.012237824440002442,
|
307 |
+
0.01226854419708252,
|
308 |
+
0.012218367576599122,
|
309 |
+
0.01226956844329834,
|
310 |
+
0.01223475170135498,
|
311 |
+
0.012265472412109376,
|
312 |
+
0.012225536346435547,
|
313 |
+
0.01226956844329834,
|
314 |
+
0.012240896224975586,
|
315 |
+
0.012271615982055664,
|
316 |
+
0.01224294376373291,
|
317 |
+
0.012270591735839843,
|
318 |
+
0.012239871978759765,
|
319 |
+
0.012290047645568849,
|
320 |
+
0.012244992256164551,
|
321 |
+
0.012272640228271485,
|
322 |
+
0.012254207611083985,
|
323 |
+
0.012279808044433594,
|
324 |
+
0.012233728408813477,
|
325 |
+
0.012300288200378418,
|
326 |
+
0.0122357759475708,
|
327 |
+
0.012274687767028808,
|
328 |
+
0.01222758388519287,
|
329 |
+
0.012271615982055664
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.36777543519312
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/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": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014116623878479003,
|
7 |
+
"prefill.throughput.value": 495.86927159486066,
|
8 |
+
"decode.latency.mean": 1.5734918212890625,
|
9 |
+
"decode.throughput.value": 80.71220852991591,
|
10 |
+
"per_token.latency.mean": 0.012442798056621324,
|
11 |
+
"per_token.throughput.value": 80.36777543519312
|
12 |
+
}
|
13 |
+
}
|
2024-06-11/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpaj2lrdn0/commit=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27
|
88 |
+
- hydra.run.dir=_benchmark/tmpaj2lrdn0/commit\=dcdda5324bcc7a750b5e40e11dd795442204ff27/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: dcdda5324bcc7a750b5e40e11dd795442204ff27
|
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-11/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020058400154113767,
|
8 |
+
"prefill.throughput.value": 348.98097287008073,
|
9 |
+
"decode.latency.mean": 2.4373055419921874,
|
10 |
+
"decode.throughput.value": 52.10672105401839,
|
11 |
+
"per_token.latency.mean": 0.019270506199169538,
|
12 |
+
"per_token.throughput.value": 51.89277280339916
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.021743040084838867,
|
21 |
+
"prefill.throughput.value": 321.9421006762071,
|
22 |
+
"decode.latency.mean": 2.5406910400390625,
|
23 |
+
"decode.throughput.value": 49.98640054953215,
|
24 |
+
"per_token.latency.mean": 0.02008856086580179,
|
25 |
+
"per_token.throughput.value": 49.779573891844706
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014116623878479003,
|
34 |
+
"prefill.throughput.value": 495.86927159486066,
|
35 |
+
"decode.latency.mean": 1.5734918212890625,
|
36 |
+
"decode.throughput.value": 80.71220852991591,
|
37 |
+
"per_token.latency.mean": 0.012442798056621324,
|
38 |
+
"per_token.throughput.value": 80.36777543519312
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-11/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"dcdda5324bcc7a750b5e40e11dd795442204ff27": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020058400154113767,
|
7 |
+
"prefill.throughput.value": 348.98097287008073,
|
8 |
+
"decode.latency.mean": 2.4373055419921874,
|
9 |
+
"decode.throughput.value": 52.10672105401839,
|
10 |
+
"per_token.latency.mean": 0.019270506199169538,
|
11 |
+
"per_token.throughput.value": 51.89277280339916
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"dcdda5324bcc7a750b5e40e11dd795442204ff27": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.021743040084838867,
|
19 |
+
"prefill.throughput.value": 321.9421006762071,
|
20 |
+
"decode.latency.mean": 2.5406910400390625,
|
21 |
+
"decode.throughput.value": 49.98640054953215,
|
22 |
+
"per_token.latency.mean": 0.02008856086580179,
|
23 |
+
"per_token.throughput.value": 49.779573891844706
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"dcdda5324bcc7a750b5e40e11dd795442204ff27": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014116623878479003,
|
31 |
+
"prefill.throughput.value": 495.86927159486066,
|
32 |
+
"decode.latency.mean": 1.5734918212890625,
|
33 |
+
"decode.throughput.value": 80.71220852991591,
|
34 |
+
"per_token.latency.mean": 0.012442798056621324,
|
35 |
+
"per_token.throughput.value": 80.36777543519312
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|