hf-transformers-bot
commited on
Commit
•
aa2396d
1
Parent(s):
3badfd3
Upload folder using huggingface_hub
Browse files- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/multirun.yaml +232 -0
- 2024-06-14/summaries.json +41 -0
- 2024-06-14/summary.json +40 -0
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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: c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
88 |
+
- hydra.run.dir=_benchmark/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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": 1718.099968,
|
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.039165248870849614,
|
118 |
+
"mean": 0.019582624435424807,
|
119 |
+
"stdev": 0.0005771198272705082,
|
120 |
+
"p50": 0.019582624435424807,
|
121 |
+
"p90": 0.02004432029724121,
|
122 |
+
"p95": 0.020102032279968263,
|
123 |
+
"p99": 0.020148201866149903,
|
124 |
+
"values": [
|
125 |
+
0.020159744262695314,
|
126 |
+
0.019005504608154297
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 357.4597482111263
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1718.1696,
|
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.6865654296875,
|
149 |
+
"mean": 2.34328271484375,
|
150 |
+
"stdev": 0.0022524414062499165,
|
151 |
+
"p50": 2.34328271484375,
|
152 |
+
"p90": 2.34508466796875,
|
153 |
+
"p95": 2.345309912109375,
|
154 |
+
"p99": 2.345490107421875,
|
155 |
+
"values": [
|
156 |
+
2.34553515625,
|
157 |
+
2.3410302734375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 54.19747228770403
|
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.685933565139772,
|
173 |
+
"mean": 0.01852147654205443,
|
174 |
+
"stdev": 0.0012341143496343457,
|
175 |
+
"p50": 0.018395135879516602,
|
176 |
+
"p90": 0.01889628105163574,
|
177 |
+
"p95": 0.01903861770629883,
|
178 |
+
"p99": 0.02041720848083496,
|
179 |
+
"values": [
|
180 |
+
0.020032512664794923,
|
181 |
+
0.020544511795043945,
|
182 |
+
0.018489343643188477,
|
183 |
+
0.018273279190063475,
|
184 |
+
0.018298879623413086,
|
185 |
+
0.01824051284790039,
|
186 |
+
0.01823539161682129,
|
187 |
+
0.018265087127685545,
|
188 |
+
0.018214912414550782,
|
189 |
+
0.01822105598449707,
|
190 |
+
0.018251775741577148,
|
191 |
+
0.01824665641784668,
|
192 |
+
0.018272256851196288,
|
193 |
+
0.018267135620117187,
|
194 |
+
0.01820364761352539,
|
195 |
+
0.018309120178222657,
|
196 |
+
0.018340864181518556,
|
197 |
+
0.01819545555114746,
|
198 |
+
0.018251775741577148,
|
199 |
+
0.01820569610595703,
|
200 |
+
0.018267135620117187,
|
201 |
+
0.018268159866333008,
|
202 |
+
0.018242559432983398,
|
203 |
+
0.018172927856445312,
|
204 |
+
0.01823846435546875,
|
205 |
+
0.018214912414550782,
|
206 |
+
0.01821183967590332,
|
207 |
+
0.018231296539306642,
|
208 |
+
0.01824460792541504,
|
209 |
+
0.018308095932006836,
|
210 |
+
0.01821900749206543,
|
211 |
+
0.01822719955444336,
|
212 |
+
0.018206720352172853,
|
213 |
+
0.018207744598388673,
|
214 |
+
0.01824665641784668,
|
215 |
+
0.018225151062011717,
|
216 |
+
0.018198528289794923,
|
217 |
+
0.01823744010925293,
|
218 |
+
0.01821696090698242,
|
219 |
+
0.018207744598388673,
|
220 |
+
0.0190382080078125,
|
221 |
+
0.01825382423400879,
|
222 |
+
0.018257919311523436,
|
223 |
+
0.0182609920501709,
|
224 |
+
0.018281471252441405,
|
225 |
+
0.018307071685791015,
|
226 |
+
0.018231359481811524,
|
227 |
+
0.018209728240966797,
|
228 |
+
0.01818828773498535,
|
229 |
+
0.01824460792541504,
|
230 |
+
0.018250751495361327,
|
231 |
+
0.018233343124389647,
|
232 |
+
0.018329599380493163,
|
233 |
+
0.01844223976135254,
|
234 |
+
0.01838489532470703,
|
235 |
+
0.01840230369567871,
|
236 |
+
0.018513919830322266,
|
237 |
+
0.01838591957092285,
|
238 |
+
0.018355199813842774,
|
239 |
+
0.018440191268920898,
|
240 |
+
0.01842483139038086,
|
241 |
+
0.018437120437622072,
|
242 |
+
0.018538496017456055,
|
243 |
+
0.018900991439819336,
|
244 |
+
0.018975744247436522,
|
245 |
+
0.01846790313720703,
|
246 |
+
0.018430912017822265,
|
247 |
+
0.01839411163330078,
|
248 |
+
0.01840947151184082,
|
249 |
+
0.018440191268920898,
|
250 |
+
0.01840332794189453,
|
251 |
+
0.018489343643188477,
|
252 |
+
0.018464767456054687,
|
253 |
+
0.01839820861816406,
|
254 |
+
0.018361343383789062,
|
255 |
+
0.01841152000427246,
|
256 |
+
0.0184453125,
|
257 |
+
0.01841868782043457,
|
258 |
+
0.018391040802001952,
|
259 |
+
0.018380800247192384,
|
260 |
+
0.018397184371948243,
|
261 |
+
0.01841049575805664,
|
262 |
+
0.019412992477416992,
|
263 |
+
0.019094528198242186,
|
264 |
+
0.018497535705566406,
|
265 |
+
0.018554880142211915,
|
266 |
+
0.01848320007324219,
|
267 |
+
0.018415615081787108,
|
268 |
+
0.018391040802001952,
|
269 |
+
0.01843302345275879,
|
270 |
+
0.018448383331298827,
|
271 |
+
0.01840127944946289,
|
272 |
+
0.01845452880859375,
|
273 |
+
0.018370559692382812,
|
274 |
+
0.01884160041809082,
|
275 |
+
0.01900032043457031,
|
276 |
+
0.01906790351867676,
|
277 |
+
0.018949119567871094,
|
278 |
+
0.018981887817382814,
|
279 |
+
0.01844326400756836,
|
280 |
+
0.018471935272216796,
|
281 |
+
0.018471935272216796,
|
282 |
+
0.01848320007324219,
|
283 |
+
0.018304000854492186,
|
284 |
+
0.01824870491027832,
|
285 |
+
0.01838387107849121,
|
286 |
+
0.01839820861816406,
|
287 |
+
0.020372480392456056,
|
288 |
+
0.01904128074645996,
|
289 |
+
0.01883545684814453,
|
290 |
+
0.018957311630249024,
|
291 |
+
0.01846681594848633,
|
292 |
+
0.018397184371948243,
|
293 |
+
0.01839923286437988,
|
294 |
+
0.01843916893005371,
|
295 |
+
0.01845145606994629,
|
296 |
+
0.018464767456054687,
|
297 |
+
0.018362367630004883,
|
298 |
+
0.01846886444091797,
|
299 |
+
0.01838591957092285,
|
300 |
+
0.018420736312866212,
|
301 |
+
0.01842585563659668,
|
302 |
+
0.018363391876220703,
|
303 |
+
0.018388992309570314,
|
304 |
+
0.018449407577514648,
|
305 |
+
0.018413568496704103,
|
306 |
+
0.03738521575927734,
|
307 |
+
0.018229248046875,
|
308 |
+
0.018190336227416993,
|
309 |
+
0.01827020835876465,
|
310 |
+
0.018234367370605468,
|
311 |
+
0.01825484848022461,
|
312 |
+
0.018281471252441405,
|
313 |
+
0.01820467185974121,
|
314 |
+
0.018027519226074217,
|
315 |
+
0.018028543472290038,
|
316 |
+
0.018250751495361327,
|
317 |
+
0.0182794246673584,
|
318 |
+
0.018266111373901366,
|
319 |
+
0.0182794246673584,
|
320 |
+
0.018239488601684572,
|
321 |
+
0.0182609920501709,
|
322 |
+
0.01825382423400879,
|
323 |
+
0.0182609920501709,
|
324 |
+
0.018267135620117187,
|
325 |
+
0.018255872726440428,
|
326 |
+
0.01826201629638672,
|
327 |
+
0.0182476806640625,
|
328 |
+
0.018319360733032225,
|
329 |
+
0.018326528549194337,
|
330 |
+
0.01881497573852539,
|
331 |
+
0.018296831130981444,
|
332 |
+
0.01827123260498047,
|
333 |
+
0.018255872726440428,
|
334 |
+
0.018275327682495117,
|
335 |
+
0.02046566390991211,
|
336 |
+
0.01903923225402832,
|
337 |
+
0.018948095321655273,
|
338 |
+
0.018877439498901367,
|
339 |
+
0.01880268859863281,
|
340 |
+
0.01883135986328125,
|
341 |
+
0.01826918411254883,
|
342 |
+
0.01822105598449707,
|
343 |
+
0.018319360733032225,
|
344 |
+
0.018308095932006836,
|
345 |
+
0.018300928115844727,
|
346 |
+
0.018497535705566406,
|
347 |
+
0.01858355140686035,
|
348 |
+
0.018249727249145507,
|
349 |
+
0.018242559432983398,
|
350 |
+
0.0189040641784668,
|
351 |
+
0.018241535186767577,
|
352 |
+
0.018266111373901366,
|
353 |
+
0.018242559432983398,
|
354 |
+
0.01861324882507324,
|
355 |
+
0.018284543991088868,
|
356 |
+
0.01823539161682129,
|
357 |
+
0.0183767032623291,
|
358 |
+
0.01813811111450195,
|
359 |
+
0.01802444839477539,
|
360 |
+
0.018160640716552736,
|
361 |
+
0.01825484848022461,
|
362 |
+
0.01825279998779297,
|
363 |
+
0.018381824493408205,
|
364 |
+
0.018494464874267577,
|
365 |
+
0.01845964813232422,
|
366 |
+
0.018423807144165038,
|
367 |
+
0.018455551147460936,
|
368 |
+
0.01923993682861328,
|
369 |
+
0.01903411293029785,
|
370 |
+
0.01901260757446289,
|
371 |
+
0.018557952880859374,
|
372 |
+
0.0184268798828125,
|
373 |
+
0.018469888687133788,
|
374 |
+
0.018423807144165038,
|
375 |
+
0.0183767032623291,
|
376 |
+
0.01845248031616211,
|
377 |
+
0.01844326400756836,
|
378 |
+
0.01843814468383789,
|
379 |
+
0.01841766357421875,
|
380 |
+
0.018420736312866212,
|
381 |
+
0.0184268798828125,
|
382 |
+
0.018480127334594726,
|
383 |
+
0.018479103088378905,
|
384 |
+
0.01846272087097168,
|
385 |
+
0.018453504562377928,
|
386 |
+
0.018469888687133788,
|
387 |
+
0.018390016555786134,
|
388 |
+
0.01841663932800293,
|
389 |
+
0.0184268798828125,
|
390 |
+
0.01840230369567871,
|
391 |
+
0.01842585563659668,
|
392 |
+
0.01846067237854004,
|
393 |
+
0.0184770565032959,
|
394 |
+
0.01841459274291992,
|
395 |
+
0.019076095581054688,
|
396 |
+
0.01906483268737793,
|
397 |
+
0.018979839324951172,
|
398 |
+
0.018937856674194335,
|
399 |
+
0.01841459274291992,
|
400 |
+
0.01844121551513672,
|
401 |
+
0.01841459274291992,
|
402 |
+
0.018473983764648438,
|
403 |
+
0.01846886444091797,
|
404 |
+
0.01842585563659668,
|
405 |
+
0.018241535186767577,
|
406 |
+
0.018478080749511717,
|
407 |
+
0.01840742492675781,
|
408 |
+
0.01843302345275879,
|
409 |
+
0.018455551147460936,
|
410 |
+
0.018391040802001952,
|
411 |
+
0.018338815689086914,
|
412 |
+
0.01822822380065918,
|
413 |
+
0.018217983245849608,
|
414 |
+
0.018153472900390624,
|
415 |
+
0.018704383850097657,
|
416 |
+
0.01861529541015625,
|
417 |
+
0.018173952102661133,
|
418 |
+
0.018268159866333008,
|
419 |
+
0.018181119918823242,
|
420 |
+
0.018272256851196288,
|
421 |
+
0.018405376434326173,
|
422 |
+
0.018374656677246092,
|
423 |
+
0.01843609619140625,
|
424 |
+
0.018347007751464844,
|
425 |
+
0.01843097686767578,
|
426 |
+
0.018491392135620118,
|
427 |
+
0.018412544250488282,
|
428 |
+
0.018395135879516602,
|
429 |
+
0.018324480056762696,
|
430 |
+
0.018447359085083007,
|
431 |
+
0.0184453125,
|
432 |
+
0.01844326400756836
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 53.991375780944
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": 1718.099968,
|
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.039165248870849614,
|
15 |
+
"mean": 0.019582624435424807,
|
16 |
+
"stdev": 0.0005771198272705082,
|
17 |
+
"p50": 0.019582624435424807,
|
18 |
+
"p90": 0.02004432029724121,
|
19 |
+
"p95": 0.020102032279968263,
|
20 |
+
"p99": 0.020148201866149903,
|
21 |
+
"values": [
|
22 |
+
0.020159744262695314,
|
23 |
+
0.019005504608154297
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 357.4597482111263
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1718.1696,
|
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.6865654296875,
|
46 |
+
"mean": 2.34328271484375,
|
47 |
+
"stdev": 0.0022524414062499165,
|
48 |
+
"p50": 2.34328271484375,
|
49 |
+
"p90": 2.34508466796875,
|
50 |
+
"p95": 2.345309912109375,
|
51 |
+
"p99": 2.345490107421875,
|
52 |
+
"values": [
|
53 |
+
2.34553515625,
|
54 |
+
2.3410302734375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 54.19747228770403
|
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.685933565139772,
|
70 |
+
"mean": 0.01852147654205443,
|
71 |
+
"stdev": 0.0012341143496343457,
|
72 |
+
"p50": 0.018395135879516602,
|
73 |
+
"p90": 0.01889628105163574,
|
74 |
+
"p95": 0.01903861770629883,
|
75 |
+
"p99": 0.02041720848083496,
|
76 |
+
"values": [
|
77 |
+
0.020032512664794923,
|
78 |
+
0.020544511795043945,
|
79 |
+
0.018489343643188477,
|
80 |
+
0.018273279190063475,
|
81 |
+
0.018298879623413086,
|
82 |
+
0.01824051284790039,
|
83 |
+
0.01823539161682129,
|
84 |
+
0.018265087127685545,
|
85 |
+
0.018214912414550782,
|
86 |
+
0.01822105598449707,
|
87 |
+
0.018251775741577148,
|
88 |
+
0.01824665641784668,
|
89 |
+
0.018272256851196288,
|
90 |
+
0.018267135620117187,
|
91 |
+
0.01820364761352539,
|
92 |
+
0.018309120178222657,
|
93 |
+
0.018340864181518556,
|
94 |
+
0.01819545555114746,
|
95 |
+
0.018251775741577148,
|
96 |
+
0.01820569610595703,
|
97 |
+
0.018267135620117187,
|
98 |
+
0.018268159866333008,
|
99 |
+
0.018242559432983398,
|
100 |
+
0.018172927856445312,
|
101 |
+
0.01823846435546875,
|
102 |
+
0.018214912414550782,
|
103 |
+
0.01821183967590332,
|
104 |
+
0.018231296539306642,
|
105 |
+
0.01824460792541504,
|
106 |
+
0.018308095932006836,
|
107 |
+
0.01821900749206543,
|
108 |
+
0.01822719955444336,
|
109 |
+
0.018206720352172853,
|
110 |
+
0.018207744598388673,
|
111 |
+
0.01824665641784668,
|
112 |
+
0.018225151062011717,
|
113 |
+
0.018198528289794923,
|
114 |
+
0.01823744010925293,
|
115 |
+
0.01821696090698242,
|
116 |
+
0.018207744598388673,
|
117 |
+
0.0190382080078125,
|
118 |
+
0.01825382423400879,
|
119 |
+
0.018257919311523436,
|
120 |
+
0.0182609920501709,
|
121 |
+
0.018281471252441405,
|
122 |
+
0.018307071685791015,
|
123 |
+
0.018231359481811524,
|
124 |
+
0.018209728240966797,
|
125 |
+
0.01818828773498535,
|
126 |
+
0.01824460792541504,
|
127 |
+
0.018250751495361327,
|
128 |
+
0.018233343124389647,
|
129 |
+
0.018329599380493163,
|
130 |
+
0.01844223976135254,
|
131 |
+
0.01838489532470703,
|
132 |
+
0.01840230369567871,
|
133 |
+
0.018513919830322266,
|
134 |
+
0.01838591957092285,
|
135 |
+
0.018355199813842774,
|
136 |
+
0.018440191268920898,
|
137 |
+
0.01842483139038086,
|
138 |
+
0.018437120437622072,
|
139 |
+
0.018538496017456055,
|
140 |
+
0.018900991439819336,
|
141 |
+
0.018975744247436522,
|
142 |
+
0.01846790313720703,
|
143 |
+
0.018430912017822265,
|
144 |
+
0.01839411163330078,
|
145 |
+
0.01840947151184082,
|
146 |
+
0.018440191268920898,
|
147 |
+
0.01840332794189453,
|
148 |
+
0.018489343643188477,
|
149 |
+
0.018464767456054687,
|
150 |
+
0.01839820861816406,
|
151 |
+
0.018361343383789062,
|
152 |
+
0.01841152000427246,
|
153 |
+
0.0184453125,
|
154 |
+
0.01841868782043457,
|
155 |
+
0.018391040802001952,
|
156 |
+
0.018380800247192384,
|
157 |
+
0.018397184371948243,
|
158 |
+
0.01841049575805664,
|
159 |
+
0.019412992477416992,
|
160 |
+
0.019094528198242186,
|
161 |
+
0.018497535705566406,
|
162 |
+
0.018554880142211915,
|
163 |
+
0.01848320007324219,
|
164 |
+
0.018415615081787108,
|
165 |
+
0.018391040802001952,
|
166 |
+
0.01843302345275879,
|
167 |
+
0.018448383331298827,
|
168 |
+
0.01840127944946289,
|
169 |
+
0.01845452880859375,
|
170 |
+
0.018370559692382812,
|
171 |
+
0.01884160041809082,
|
172 |
+
0.01900032043457031,
|
173 |
+
0.01906790351867676,
|
174 |
+
0.018949119567871094,
|
175 |
+
0.018981887817382814,
|
176 |
+
0.01844326400756836,
|
177 |
+
0.018471935272216796,
|
178 |
+
0.018471935272216796,
|
179 |
+
0.01848320007324219,
|
180 |
+
0.018304000854492186,
|
181 |
+
0.01824870491027832,
|
182 |
+
0.01838387107849121,
|
183 |
+
0.01839820861816406,
|
184 |
+
0.020372480392456056,
|
185 |
+
0.01904128074645996,
|
186 |
+
0.01883545684814453,
|
187 |
+
0.018957311630249024,
|
188 |
+
0.01846681594848633,
|
189 |
+
0.018397184371948243,
|
190 |
+
0.01839923286437988,
|
191 |
+
0.01843916893005371,
|
192 |
+
0.01845145606994629,
|
193 |
+
0.018464767456054687,
|
194 |
+
0.018362367630004883,
|
195 |
+
0.01846886444091797,
|
196 |
+
0.01838591957092285,
|
197 |
+
0.018420736312866212,
|
198 |
+
0.01842585563659668,
|
199 |
+
0.018363391876220703,
|
200 |
+
0.018388992309570314,
|
201 |
+
0.018449407577514648,
|
202 |
+
0.018413568496704103,
|
203 |
+
0.03738521575927734,
|
204 |
+
0.018229248046875,
|
205 |
+
0.018190336227416993,
|
206 |
+
0.01827020835876465,
|
207 |
+
0.018234367370605468,
|
208 |
+
0.01825484848022461,
|
209 |
+
0.018281471252441405,
|
210 |
+
0.01820467185974121,
|
211 |
+
0.018027519226074217,
|
212 |
+
0.018028543472290038,
|
213 |
+
0.018250751495361327,
|
214 |
+
0.0182794246673584,
|
215 |
+
0.018266111373901366,
|
216 |
+
0.0182794246673584,
|
217 |
+
0.018239488601684572,
|
218 |
+
0.0182609920501709,
|
219 |
+
0.01825382423400879,
|
220 |
+
0.0182609920501709,
|
221 |
+
0.018267135620117187,
|
222 |
+
0.018255872726440428,
|
223 |
+
0.01826201629638672,
|
224 |
+
0.0182476806640625,
|
225 |
+
0.018319360733032225,
|
226 |
+
0.018326528549194337,
|
227 |
+
0.01881497573852539,
|
228 |
+
0.018296831130981444,
|
229 |
+
0.01827123260498047,
|
230 |
+
0.018255872726440428,
|
231 |
+
0.018275327682495117,
|
232 |
+
0.02046566390991211,
|
233 |
+
0.01903923225402832,
|
234 |
+
0.018948095321655273,
|
235 |
+
0.018877439498901367,
|
236 |
+
0.01880268859863281,
|
237 |
+
0.01883135986328125,
|
238 |
+
0.01826918411254883,
|
239 |
+
0.01822105598449707,
|
240 |
+
0.018319360733032225,
|
241 |
+
0.018308095932006836,
|
242 |
+
0.018300928115844727,
|
243 |
+
0.018497535705566406,
|
244 |
+
0.01858355140686035,
|
245 |
+
0.018249727249145507,
|
246 |
+
0.018242559432983398,
|
247 |
+
0.0189040641784668,
|
248 |
+
0.018241535186767577,
|
249 |
+
0.018266111373901366,
|
250 |
+
0.018242559432983398,
|
251 |
+
0.01861324882507324,
|
252 |
+
0.018284543991088868,
|
253 |
+
0.01823539161682129,
|
254 |
+
0.0183767032623291,
|
255 |
+
0.01813811111450195,
|
256 |
+
0.01802444839477539,
|
257 |
+
0.018160640716552736,
|
258 |
+
0.01825484848022461,
|
259 |
+
0.01825279998779297,
|
260 |
+
0.018381824493408205,
|
261 |
+
0.018494464874267577,
|
262 |
+
0.01845964813232422,
|
263 |
+
0.018423807144165038,
|
264 |
+
0.018455551147460936,
|
265 |
+
0.01923993682861328,
|
266 |
+
0.01903411293029785,
|
267 |
+
0.01901260757446289,
|
268 |
+
0.018557952880859374,
|
269 |
+
0.0184268798828125,
|
270 |
+
0.018469888687133788,
|
271 |
+
0.018423807144165038,
|
272 |
+
0.0183767032623291,
|
273 |
+
0.01845248031616211,
|
274 |
+
0.01844326400756836,
|
275 |
+
0.01843814468383789,
|
276 |
+
0.01841766357421875,
|
277 |
+
0.018420736312866212,
|
278 |
+
0.0184268798828125,
|
279 |
+
0.018480127334594726,
|
280 |
+
0.018479103088378905,
|
281 |
+
0.01846272087097168,
|
282 |
+
0.018453504562377928,
|
283 |
+
0.018469888687133788,
|
284 |
+
0.018390016555786134,
|
285 |
+
0.01841663932800293,
|
286 |
+
0.0184268798828125,
|
287 |
+
0.01840230369567871,
|
288 |
+
0.01842585563659668,
|
289 |
+
0.01846067237854004,
|
290 |
+
0.0184770565032959,
|
291 |
+
0.01841459274291992,
|
292 |
+
0.019076095581054688,
|
293 |
+
0.01906483268737793,
|
294 |
+
0.018979839324951172,
|
295 |
+
0.018937856674194335,
|
296 |
+
0.01841459274291992,
|
297 |
+
0.01844121551513672,
|
298 |
+
0.01841459274291992,
|
299 |
+
0.018473983764648438,
|
300 |
+
0.01846886444091797,
|
301 |
+
0.01842585563659668,
|
302 |
+
0.018241535186767577,
|
303 |
+
0.018478080749511717,
|
304 |
+
0.01840742492675781,
|
305 |
+
0.01843302345275879,
|
306 |
+
0.018455551147460936,
|
307 |
+
0.018391040802001952,
|
308 |
+
0.018338815689086914,
|
309 |
+
0.01822822380065918,
|
310 |
+
0.018217983245849608,
|
311 |
+
0.018153472900390624,
|
312 |
+
0.018704383850097657,
|
313 |
+
0.01861529541015625,
|
314 |
+
0.018173952102661133,
|
315 |
+
0.018268159866333008,
|
316 |
+
0.018181119918823242,
|
317 |
+
0.018272256851196288,
|
318 |
+
0.018405376434326173,
|
319 |
+
0.018374656677246092,
|
320 |
+
0.01843609619140625,
|
321 |
+
0.018347007751464844,
|
322 |
+
0.01843097686767578,
|
323 |
+
0.018491392135620118,
|
324 |
+
0.018412544250488282,
|
325 |
+
0.018395135879516602,
|
326 |
+
0.018324480056762696,
|
327 |
+
0.018447359085083007,
|
328 |
+
0.0184453125,
|
329 |
+
0.01844326400756836
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 53.991375780944
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.019582624435424807,
|
7 |
+
"prefill.throughput.value": 357.4597482111263,
|
8 |
+
"decode.latency.mean": 2.34328271484375,
|
9 |
+
"decode.throughput.value": 54.19747228770403,
|
10 |
+
"per_token.latency.mean": 0.01852147654205443,
|
11 |
+
"per_token.throughput.value": 53.991375780944
|
12 |
+
}
|
13 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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: c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
88 |
+
- hydra.run.dir=_benchmark/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-14 16:42:06,146[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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: c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
88 |
+
- hydra.run.dir=_benchmark/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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": 1754.05056,
|
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.04375529670715332,
|
118 |
+
"mean": 0.02187764835357666,
|
119 |
+
"stdev": 0.0002252321243286122,
|
120 |
+
"p50": 0.02187764835357666,
|
121 |
+
"p90": 0.02205783405303955,
|
122 |
+
"p95": 0.02208035726547241,
|
123 |
+
"p99": 0.0220983758354187,
|
124 |
+
"values": [
|
125 |
+
0.022102880477905273,
|
126 |
+
0.02165241622924805
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 319.96126306032374
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1754.07104,
|
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.06182177734375,
|
149 |
+
"mean": 2.530910888671875,
|
150 |
+
"stdev": 0.004057617187499973,
|
151 |
+
"p50": 2.530910888671875,
|
152 |
+
"p90": 2.534156982421875,
|
153 |
+
"p95": 2.534562744140625,
|
154 |
+
"p99": 2.534887353515625,
|
155 |
+
"values": [
|
156 |
+
2.526853271484375,
|
157 |
+
2.534968505859375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 50.17956205745542
|
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.062140935897828,
|
173 |
+
"mean": 0.020008462197224613,
|
174 |
+
"stdev": 0.001395314201728502,
|
175 |
+
"p50": 0.0198656005859375,
|
176 |
+
"p90": 0.02016399383544922,
|
177 |
+
"p95": 0.020446617889404297,
|
178 |
+
"p99": 0.021331067581176755,
|
179 |
+
"values": [
|
180 |
+
0.02012876892089844,
|
181 |
+
0.01991372871398926,
|
182 |
+
0.01998028755187988,
|
183 |
+
0.01985740852355957,
|
184 |
+
0.01968435287475586,
|
185 |
+
0.019944448471069336,
|
186 |
+
0.01988403129577637,
|
187 |
+
0.01982361602783203,
|
188 |
+
0.020025344848632814,
|
189 |
+
0.01982975959777832,
|
190 |
+
0.019767295837402343,
|
191 |
+
0.019777536392211914,
|
192 |
+
0.019825664520263672,
|
193 |
+
0.019811328887939454,
|
194 |
+
0.019845184326171876,
|
195 |
+
0.019815359115600586,
|
196 |
+
0.01984000015258789,
|
197 |
+
0.019833856582641602,
|
198 |
+
0.01961881637573242,
|
199 |
+
0.01970790481567383,
|
200 |
+
0.01970790481567383,
|
201 |
+
0.019603519439697265,
|
202 |
+
0.019661760330200194,
|
203 |
+
0.019562496185302734,
|
204 |
+
0.019607551574707033,
|
205 |
+
0.01982156753540039,
|
206 |
+
0.02066022491455078,
|
207 |
+
0.02039193534851074,
|
208 |
+
0.019965951919555663,
|
209 |
+
0.019966976165771484,
|
210 |
+
0.01988915252685547,
|
211 |
+
0.0198604793548584,
|
212 |
+
0.019894271850585937,
|
213 |
+
0.019830848693847655,
|
214 |
+
0.019856319427490235,
|
215 |
+
0.019825664520263672,
|
216 |
+
0.01982771110534668,
|
217 |
+
0.019817472457885742,
|
218 |
+
0.019679231643676756,
|
219 |
+
0.019680255889892577,
|
220 |
+
0.01979903984069824,
|
221 |
+
0.01984716796875,
|
222 |
+
0.01985945510864258,
|
223 |
+
0.019825664520263672,
|
224 |
+
0.01984000015258789,
|
225 |
+
0.019809280395507813,
|
226 |
+
0.01985740852355957,
|
227 |
+
0.01988403129577637,
|
228 |
+
0.020174848556518556,
|
229 |
+
0.020303871154785155,
|
230 |
+
0.020455423355102538,
|
231 |
+
0.020414464950561522,
|
232 |
+
0.019947519302368166,
|
233 |
+
0.01983795166015625,
|
234 |
+
0.0198287353515625,
|
235 |
+
0.019854335784912108,
|
236 |
+
0.019883007049560548,
|
237 |
+
0.019876863479614256,
|
238 |
+
0.019901439666748046,
|
239 |
+
0.019861503601074217,
|
240 |
+
0.019878911972045898,
|
241 |
+
0.0198656005859375,
|
242 |
+
0.019870719909667968,
|
243 |
+
0.019907583236694337,
|
244 |
+
0.019948543548583983,
|
245 |
+
0.019842048645019532,
|
246 |
+
0.01990656089782715,
|
247 |
+
0.019842048645019532,
|
248 |
+
0.019883007049560548,
|
249 |
+
0.019862527847290038,
|
250 |
+
0.01985843276977539,
|
251 |
+
0.01985536003112793,
|
252 |
+
0.01986764717102051,
|
253 |
+
0.019876863479614256,
|
254 |
+
0.019895296096801757,
|
255 |
+
0.01987276840209961,
|
256 |
+
0.01987481689453125,
|
257 |
+
0.01984921646118164,
|
258 |
+
0.01985024070739746,
|
259 |
+
0.019883007049560548,
|
260 |
+
0.02045337677001953,
|
261 |
+
0.019915775299072267,
|
262 |
+
0.01991072082519531,
|
263 |
+
0.019870655059814453,
|
264 |
+
0.01987993621826172,
|
265 |
+
0.020213760375976563,
|
266 |
+
0.019899391174316407,
|
267 |
+
0.01988198471069336,
|
268 |
+
0.01990553665161133,
|
269 |
+
0.019819520950317384,
|
270 |
+
0.019825664520263672,
|
271 |
+
0.0198287353515625,
|
272 |
+
0.019831872940063475,
|
273 |
+
0.019823551177978516,
|
274 |
+
0.01983180809020996,
|
275 |
+
0.019713024139404296,
|
276 |
+
0.0196177921295166,
|
277 |
+
0.01967103958129883,
|
278 |
+
0.01965465545654297,
|
279 |
+
0.01963007926940918,
|
280 |
+
0.019615743637084963,
|
281 |
+
0.01965772819519043,
|
282 |
+
0.019636224746704102,
|
283 |
+
0.020065280914306642,
|
284 |
+
0.02000383949279785,
|
285 |
+
0.02006425666809082,
|
286 |
+
0.020357120513916017,
|
287 |
+
0.020321279525756835,
|
288 |
+
0.020333568572998048,
|
289 |
+
0.02008166313171387,
|
290 |
+
0.01983286476135254,
|
291 |
+
0.01982972717285156,
|
292 |
+
0.019885055541992186,
|
293 |
+
0.019878911972045898,
|
294 |
+
0.020082687377929686,
|
295 |
+
0.01991372871398926,
|
296 |
+
0.019825664520263672,
|
297 |
+
0.01984511947631836,
|
298 |
+
0.01985945510864258,
|
299 |
+
0.01983180809020996,
|
300 |
+
0.01984614372253418,
|
301 |
+
0.01984511947631836,
|
302 |
+
0.01978265571594238,
|
303 |
+
0.01983180809020996,
|
304 |
+
0.019733503341674806,
|
305 |
+
0.019773439407348634,
|
306 |
+
0.04168806457519531,
|
307 |
+
0.01988915252685547,
|
308 |
+
0.0198154239654541,
|
309 |
+
0.01968435287475586,
|
310 |
+
0.019636224746704102,
|
311 |
+
0.01970790481567383,
|
312 |
+
0.01983180809020996,
|
313 |
+
0.01984000015258789,
|
314 |
+
0.0198656005859375,
|
315 |
+
0.020538368225097657,
|
316 |
+
0.020505599975585938,
|
317 |
+
0.021174272537231444,
|
318 |
+
0.02057318305969238,
|
319 |
+
0.019877887725830077,
|
320 |
+
0.020172800064086914,
|
321 |
+
0.01987583923339844,
|
322 |
+
0.01982464027404785,
|
323 |
+
0.01987583923339844,
|
324 |
+
0.01983283233642578,
|
325 |
+
0.019853311538696287,
|
326 |
+
0.01983078384399414,
|
327 |
+
0.019853311538696287,
|
328 |
+
0.01985638427734375,
|
329 |
+
0.019803136825561524,
|
330 |
+
0.01966694450378418,
|
331 |
+
0.01964851188659668,
|
332 |
+
0.0196997127532959,
|
333 |
+
0.01990656089782715,
|
334 |
+
0.019664896011352538,
|
335 |
+
0.019664896011352538,
|
336 |
+
0.019834880828857423,
|
337 |
+
0.019763200759887696,
|
338 |
+
0.01970278358459473,
|
339 |
+
0.019781631469726564,
|
340 |
+
0.019919872283935547,
|
341 |
+
0.019878911972045898,
|
342 |
+
0.01986355209350586,
|
343 |
+
0.019918848037719726,
|
344 |
+
0.019911680221557617,
|
345 |
+
0.0200898551940918,
|
346 |
+
0.019715072631835938,
|
347 |
+
0.01984614372253418,
|
348 |
+
0.01986764717102051,
|
349 |
+
0.01986662483215332,
|
350 |
+
0.019901439666748046,
|
351 |
+
0.019899391174316407,
|
352 |
+
0.019902463912963866,
|
353 |
+
0.01987481689453125,
|
354 |
+
0.020001792907714845,
|
355 |
+
0.019938304901123048,
|
356 |
+
0.01987583923339844,
|
357 |
+
0.019899391174316407,
|
358 |
+
0.01985740852355957,
|
359 |
+
0.02084556770324707,
|
360 |
+
0.021173248291015623,
|
361 |
+
0.020434944152832032,
|
362 |
+
0.02000486373901367,
|
363 |
+
0.019891199111938478,
|
364 |
+
0.0198656005859375,
|
365 |
+
0.019894271850585937,
|
366 |
+
0.01989836883544922,
|
367 |
+
0.01990553665161133,
|
368 |
+
0.020000768661499024,
|
369 |
+
0.019976192474365235,
|
370 |
+
0.01988198471069336,
|
371 |
+
0.019909631729125975,
|
372 |
+
0.019851264953613282,
|
373 |
+
0.019893247604370116,
|
374 |
+
0.019842048645019532,
|
375 |
+
0.01986662483215332,
|
376 |
+
0.01985740852355957,
|
377 |
+
0.020126720428466797,
|
378 |
+
0.01984614372253418,
|
379 |
+
0.019878911972045898,
|
380 |
+
0.019870719909667968,
|
381 |
+
0.01986355209350586,
|
382 |
+
0.01984614372253418,
|
383 |
+
0.01984000015258789,
|
384 |
+
0.01985228729248047,
|
385 |
+
0.01984921646118164,
|
386 |
+
0.019861503601074217,
|
387 |
+
0.019891199111938478,
|
388 |
+
0.01993011283874512,
|
389 |
+
0.019800064086914062,
|
390 |
+
0.01987276840209961,
|
391 |
+
0.01989836883544922,
|
392 |
+
0.01985536003112793,
|
393 |
+
0.019886079788208007,
|
394 |
+
0.019893247604370116,
|
395 |
+
0.022289407730102538,
|
396 |
+
0.02150092887878418,
|
397 |
+
0.020625408172607423,
|
398 |
+
0.02044211196899414,
|
399 |
+
0.019931135177612306,
|
400 |
+
0.019668991088867188,
|
401 |
+
0.019697664260864257,
|
402 |
+
0.019891199111938478,
|
403 |
+
0.01983590316772461,
|
404 |
+
0.019931135177612306,
|
405 |
+
0.019943424224853516,
|
406 |
+
0.019885055541992186,
|
407 |
+
0.01990553665161133,
|
408 |
+
0.01982975959777832,
|
409 |
+
0.019947519302368166,
|
410 |
+
0.019914751052856446,
|
411 |
+
0.019915775299072267,
|
412 |
+
0.0198922233581543,
|
413 |
+
0.019998720169067383,
|
414 |
+
0.019939327239990236,
|
415 |
+
0.01964851188659668,
|
416 |
+
0.019713024139404296,
|
417 |
+
0.01988198471069336,
|
418 |
+
0.01982975959777832,
|
419 |
+
0.01986457633972168,
|
420 |
+
0.020404224395751954,
|
421 |
+
0.02043391990661621,
|
422 |
+
0.01967616081237793,
|
423 |
+
0.019957759857177734,
|
424 |
+
0.01983692741394043,
|
425 |
+
0.01984819221496582,
|
426 |
+
0.019679231643676756,
|
427 |
+
0.019689472198486328,
|
428 |
+
0.019961856842041017,
|
429 |
+
0.019843072891235353,
|
430 |
+
0.02005606460571289,
|
431 |
+
0.01984511947631836,
|
432 |
+
0.01986764717102051
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.978853454250505
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": 1754.05056,
|
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.04375529670715332,
|
15 |
+
"mean": 0.02187764835357666,
|
16 |
+
"stdev": 0.0002252321243286122,
|
17 |
+
"p50": 0.02187764835357666,
|
18 |
+
"p90": 0.02205783405303955,
|
19 |
+
"p95": 0.02208035726547241,
|
20 |
+
"p99": 0.0220983758354187,
|
21 |
+
"values": [
|
22 |
+
0.022102880477905273,
|
23 |
+
0.02165241622924805
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 319.96126306032374
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1754.07104,
|
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.06182177734375,
|
46 |
+
"mean": 2.530910888671875,
|
47 |
+
"stdev": 0.004057617187499973,
|
48 |
+
"p50": 2.530910888671875,
|
49 |
+
"p90": 2.534156982421875,
|
50 |
+
"p95": 2.534562744140625,
|
51 |
+
"p99": 2.534887353515625,
|
52 |
+
"values": [
|
53 |
+
2.526853271484375,
|
54 |
+
2.534968505859375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 50.17956205745542
|
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.062140935897828,
|
70 |
+
"mean": 0.020008462197224613,
|
71 |
+
"stdev": 0.001395314201728502,
|
72 |
+
"p50": 0.0198656005859375,
|
73 |
+
"p90": 0.02016399383544922,
|
74 |
+
"p95": 0.020446617889404297,
|
75 |
+
"p99": 0.021331067581176755,
|
76 |
+
"values": [
|
77 |
+
0.02012876892089844,
|
78 |
+
0.01991372871398926,
|
79 |
+
0.01998028755187988,
|
80 |
+
0.01985740852355957,
|
81 |
+
0.01968435287475586,
|
82 |
+
0.019944448471069336,
|
83 |
+
0.01988403129577637,
|
84 |
+
0.01982361602783203,
|
85 |
+
0.020025344848632814,
|
86 |
+
0.01982975959777832,
|
87 |
+
0.019767295837402343,
|
88 |
+
0.019777536392211914,
|
89 |
+
0.019825664520263672,
|
90 |
+
0.019811328887939454,
|
91 |
+
0.019845184326171876,
|
92 |
+
0.019815359115600586,
|
93 |
+
0.01984000015258789,
|
94 |
+
0.019833856582641602,
|
95 |
+
0.01961881637573242,
|
96 |
+
0.01970790481567383,
|
97 |
+
0.01970790481567383,
|
98 |
+
0.019603519439697265,
|
99 |
+
0.019661760330200194,
|
100 |
+
0.019562496185302734,
|
101 |
+
0.019607551574707033,
|
102 |
+
0.01982156753540039,
|
103 |
+
0.02066022491455078,
|
104 |
+
0.02039193534851074,
|
105 |
+
0.019965951919555663,
|
106 |
+
0.019966976165771484,
|
107 |
+
0.01988915252685547,
|
108 |
+
0.0198604793548584,
|
109 |
+
0.019894271850585937,
|
110 |
+
0.019830848693847655,
|
111 |
+
0.019856319427490235,
|
112 |
+
0.019825664520263672,
|
113 |
+
0.01982771110534668,
|
114 |
+
0.019817472457885742,
|
115 |
+
0.019679231643676756,
|
116 |
+
0.019680255889892577,
|
117 |
+
0.01979903984069824,
|
118 |
+
0.01984716796875,
|
119 |
+
0.01985945510864258,
|
120 |
+
0.019825664520263672,
|
121 |
+
0.01984000015258789,
|
122 |
+
0.019809280395507813,
|
123 |
+
0.01985740852355957,
|
124 |
+
0.01988403129577637,
|
125 |
+
0.020174848556518556,
|
126 |
+
0.020303871154785155,
|
127 |
+
0.020455423355102538,
|
128 |
+
0.020414464950561522,
|
129 |
+
0.019947519302368166,
|
130 |
+
0.01983795166015625,
|
131 |
+
0.0198287353515625,
|
132 |
+
0.019854335784912108,
|
133 |
+
0.019883007049560548,
|
134 |
+
0.019876863479614256,
|
135 |
+
0.019901439666748046,
|
136 |
+
0.019861503601074217,
|
137 |
+
0.019878911972045898,
|
138 |
+
0.0198656005859375,
|
139 |
+
0.019870719909667968,
|
140 |
+
0.019907583236694337,
|
141 |
+
0.019948543548583983,
|
142 |
+
0.019842048645019532,
|
143 |
+
0.01990656089782715,
|
144 |
+
0.019842048645019532,
|
145 |
+
0.019883007049560548,
|
146 |
+
0.019862527847290038,
|
147 |
+
0.01985843276977539,
|
148 |
+
0.01985536003112793,
|
149 |
+
0.01986764717102051,
|
150 |
+
0.019876863479614256,
|
151 |
+
0.019895296096801757,
|
152 |
+
0.01987276840209961,
|
153 |
+
0.01987481689453125,
|
154 |
+
0.01984921646118164,
|
155 |
+
0.01985024070739746,
|
156 |
+
0.019883007049560548,
|
157 |
+
0.02045337677001953,
|
158 |
+
0.019915775299072267,
|
159 |
+
0.01991072082519531,
|
160 |
+
0.019870655059814453,
|
161 |
+
0.01987993621826172,
|
162 |
+
0.020213760375976563,
|
163 |
+
0.019899391174316407,
|
164 |
+
0.01988198471069336,
|
165 |
+
0.01990553665161133,
|
166 |
+
0.019819520950317384,
|
167 |
+
0.019825664520263672,
|
168 |
+
0.0198287353515625,
|
169 |
+
0.019831872940063475,
|
170 |
+
0.019823551177978516,
|
171 |
+
0.01983180809020996,
|
172 |
+
0.019713024139404296,
|
173 |
+
0.0196177921295166,
|
174 |
+
0.01967103958129883,
|
175 |
+
0.01965465545654297,
|
176 |
+
0.01963007926940918,
|
177 |
+
0.019615743637084963,
|
178 |
+
0.01965772819519043,
|
179 |
+
0.019636224746704102,
|
180 |
+
0.020065280914306642,
|
181 |
+
0.02000383949279785,
|
182 |
+
0.02006425666809082,
|
183 |
+
0.020357120513916017,
|
184 |
+
0.020321279525756835,
|
185 |
+
0.020333568572998048,
|
186 |
+
0.02008166313171387,
|
187 |
+
0.01983286476135254,
|
188 |
+
0.01982972717285156,
|
189 |
+
0.019885055541992186,
|
190 |
+
0.019878911972045898,
|
191 |
+
0.020082687377929686,
|
192 |
+
0.01991372871398926,
|
193 |
+
0.019825664520263672,
|
194 |
+
0.01984511947631836,
|
195 |
+
0.01985945510864258,
|
196 |
+
0.01983180809020996,
|
197 |
+
0.01984614372253418,
|
198 |
+
0.01984511947631836,
|
199 |
+
0.01978265571594238,
|
200 |
+
0.01983180809020996,
|
201 |
+
0.019733503341674806,
|
202 |
+
0.019773439407348634,
|
203 |
+
0.04168806457519531,
|
204 |
+
0.01988915252685547,
|
205 |
+
0.0198154239654541,
|
206 |
+
0.01968435287475586,
|
207 |
+
0.019636224746704102,
|
208 |
+
0.01970790481567383,
|
209 |
+
0.01983180809020996,
|
210 |
+
0.01984000015258789,
|
211 |
+
0.0198656005859375,
|
212 |
+
0.020538368225097657,
|
213 |
+
0.020505599975585938,
|
214 |
+
0.021174272537231444,
|
215 |
+
0.02057318305969238,
|
216 |
+
0.019877887725830077,
|
217 |
+
0.020172800064086914,
|
218 |
+
0.01987583923339844,
|
219 |
+
0.01982464027404785,
|
220 |
+
0.01987583923339844,
|
221 |
+
0.01983283233642578,
|
222 |
+
0.019853311538696287,
|
223 |
+
0.01983078384399414,
|
224 |
+
0.019853311538696287,
|
225 |
+
0.01985638427734375,
|
226 |
+
0.019803136825561524,
|
227 |
+
0.01966694450378418,
|
228 |
+
0.01964851188659668,
|
229 |
+
0.0196997127532959,
|
230 |
+
0.01990656089782715,
|
231 |
+
0.019664896011352538,
|
232 |
+
0.019664896011352538,
|
233 |
+
0.019834880828857423,
|
234 |
+
0.019763200759887696,
|
235 |
+
0.01970278358459473,
|
236 |
+
0.019781631469726564,
|
237 |
+
0.019919872283935547,
|
238 |
+
0.019878911972045898,
|
239 |
+
0.01986355209350586,
|
240 |
+
0.019918848037719726,
|
241 |
+
0.019911680221557617,
|
242 |
+
0.0200898551940918,
|
243 |
+
0.019715072631835938,
|
244 |
+
0.01984614372253418,
|
245 |
+
0.01986764717102051,
|
246 |
+
0.01986662483215332,
|
247 |
+
0.019901439666748046,
|
248 |
+
0.019899391174316407,
|
249 |
+
0.019902463912963866,
|
250 |
+
0.01987481689453125,
|
251 |
+
0.020001792907714845,
|
252 |
+
0.019938304901123048,
|
253 |
+
0.01987583923339844,
|
254 |
+
0.019899391174316407,
|
255 |
+
0.01985740852355957,
|
256 |
+
0.02084556770324707,
|
257 |
+
0.021173248291015623,
|
258 |
+
0.020434944152832032,
|
259 |
+
0.02000486373901367,
|
260 |
+
0.019891199111938478,
|
261 |
+
0.0198656005859375,
|
262 |
+
0.019894271850585937,
|
263 |
+
0.01989836883544922,
|
264 |
+
0.01990553665161133,
|
265 |
+
0.020000768661499024,
|
266 |
+
0.019976192474365235,
|
267 |
+
0.01988198471069336,
|
268 |
+
0.019909631729125975,
|
269 |
+
0.019851264953613282,
|
270 |
+
0.019893247604370116,
|
271 |
+
0.019842048645019532,
|
272 |
+
0.01986662483215332,
|
273 |
+
0.01985740852355957,
|
274 |
+
0.020126720428466797,
|
275 |
+
0.01984614372253418,
|
276 |
+
0.019878911972045898,
|
277 |
+
0.019870719909667968,
|
278 |
+
0.01986355209350586,
|
279 |
+
0.01984614372253418,
|
280 |
+
0.01984000015258789,
|
281 |
+
0.01985228729248047,
|
282 |
+
0.01984921646118164,
|
283 |
+
0.019861503601074217,
|
284 |
+
0.019891199111938478,
|
285 |
+
0.01993011283874512,
|
286 |
+
0.019800064086914062,
|
287 |
+
0.01987276840209961,
|
288 |
+
0.01989836883544922,
|
289 |
+
0.01985536003112793,
|
290 |
+
0.019886079788208007,
|
291 |
+
0.019893247604370116,
|
292 |
+
0.022289407730102538,
|
293 |
+
0.02150092887878418,
|
294 |
+
0.020625408172607423,
|
295 |
+
0.02044211196899414,
|
296 |
+
0.019931135177612306,
|
297 |
+
0.019668991088867188,
|
298 |
+
0.019697664260864257,
|
299 |
+
0.019891199111938478,
|
300 |
+
0.01983590316772461,
|
301 |
+
0.019931135177612306,
|
302 |
+
0.019943424224853516,
|
303 |
+
0.019885055541992186,
|
304 |
+
0.01990553665161133,
|
305 |
+
0.01982975959777832,
|
306 |
+
0.019947519302368166,
|
307 |
+
0.019914751052856446,
|
308 |
+
0.019915775299072267,
|
309 |
+
0.0198922233581543,
|
310 |
+
0.019998720169067383,
|
311 |
+
0.019939327239990236,
|
312 |
+
0.01964851188659668,
|
313 |
+
0.019713024139404296,
|
314 |
+
0.01988198471069336,
|
315 |
+
0.01982975959777832,
|
316 |
+
0.01986457633972168,
|
317 |
+
0.020404224395751954,
|
318 |
+
0.02043391990661621,
|
319 |
+
0.01967616081237793,
|
320 |
+
0.019957759857177734,
|
321 |
+
0.01983692741394043,
|
322 |
+
0.01984819221496582,
|
323 |
+
0.019679231643676756,
|
324 |
+
0.019689472198486328,
|
325 |
+
0.019961856842041017,
|
326 |
+
0.019843072891235353,
|
327 |
+
0.02005606460571289,
|
328 |
+
0.01984511947631836,
|
329 |
+
0.01986764717102051
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.978853454250505
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02187764835357666,
|
7 |
+
"prefill.throughput.value": 319.96126306032374,
|
8 |
+
"decode.latency.mean": 2.530910888671875,
|
9 |
+
"decode.throughput.value": 50.17956205745542,
|
10 |
+
"per_token.latency.mean": 0.020008462197224613,
|
11 |
+
"per_token.throughput.value": 49.978853454250505
|
12 |
+
}
|
13 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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: c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
88 |
+
- hydra.run.dir=_benchmark/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${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/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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.34016,
|
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.02825324821472168,
|
118 |
+
"mean": 0.01412662410736084,
|
119 |
+
"stdev": 0.00016985607147216794,
|
120 |
+
"p50": 0.01412662410736084,
|
121 |
+
"p90": 0.014262508964538574,
|
122 |
+
"p95": 0.014279494571685791,
|
123 |
+
"p99": 0.014293083057403564,
|
124 |
+
"values": [
|
125 |
+
0.014296480178833008,
|
126 |
+
0.013956768035888672
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 495.51824602967736
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2285.068288,
|
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.1508834228515625,
|
149 |
+
"mean": 1.5754417114257813,
|
150 |
+
"stdev": 0.017798156738281223,
|
151 |
+
"p50": 1.5754417114257813,
|
152 |
+
"p90": 1.5896802368164062,
|
153 |
+
"p95": 1.5914600524902343,
|
154 |
+
"p99": 1.5928839050292969,
|
155 |
+
"values": [
|
156 |
+
1.5932398681640625,
|
157 |
+
1.5576435546875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.61231277484997
|
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.151937535285949,
|
173 |
+
"mean": 0.012458251127612448,
|
174 |
+
"stdev": 0.0009070964229394062,
|
175 |
+
"p50": 0.012283871650695801,
|
176 |
+
"p90": 0.01275699234008789,
|
177 |
+
"p95": 0.01277952003479004,
|
178 |
+
"p99": 0.012842352561950683,
|
179 |
+
"values": [
|
180 |
+
0.012736512184143066,
|
181 |
+
0.012724224090576173,
|
182 |
+
0.012821503639221191,
|
183 |
+
0.012782591819763184,
|
184 |
+
0.012736512184143066,
|
185 |
+
0.01277952003479004,
|
186 |
+
0.012727295875549317,
|
187 |
+
0.012806143760681152,
|
188 |
+
0.012718079566955566,
|
189 |
+
0.012775424003601075,
|
190 |
+
0.012710911750793457,
|
191 |
+
0.01275391960144043,
|
192 |
+
0.012710911750793457,
|
193 |
+
0.012744704246520995,
|
194 |
+
0.012686335563659668,
|
195 |
+
0.012788736343383789,
|
196 |
+
0.012705792427062988,
|
197 |
+
0.012769280433654785,
|
198 |
+
0.01276211166381836,
|
199 |
+
0.012767231941223145,
|
200 |
+
0.012702719688415527,
|
201 |
+
0.012750847816467285,
|
202 |
+
0.01277952003479004,
|
203 |
+
0.012838912010192872,
|
204 |
+
0.012751872062683106,
|
205 |
+
0.01276518440246582,
|
206 |
+
0.012726271629333496,
|
207 |
+
0.0127457275390625,
|
208 |
+
0.012704768180847169,
|
209 |
+
0.01278771209716797,
|
210 |
+
0.012701696395874023,
|
211 |
+
0.012751872062683106,
|
212 |
+
0.012696576118469239,
|
213 |
+
0.01276211166381836,
|
214 |
+
0.012694527626037597,
|
215 |
+
0.012623871803283691,
|
216 |
+
0.012686335563659668,
|
217 |
+
0.012739583969116211,
|
218 |
+
0.012683263778686523,
|
219 |
+
0.012713983535766601,
|
220 |
+
0.012684288024902344,
|
221 |
+
0.01275699234008789,
|
222 |
+
0.012917759895324708,
|
223 |
+
0.012821503639221191,
|
224 |
+
0.012710911750793457,
|
225 |
+
0.01284607982635498,
|
226 |
+
0.012716032028198243,
|
227 |
+
0.012741663932800292,
|
228 |
+
0.012700639724731445,
|
229 |
+
0.01275391960144043,
|
230 |
+
0.012766207695007324,
|
231 |
+
0.012759039878845215,
|
232 |
+
0.012695551872253418,
|
233 |
+
0.012749823570251465,
|
234 |
+
0.012719103813171387,
|
235 |
+
0.012747776031494141,
|
236 |
+
0.01276211166381836,
|
237 |
+
0.012778495788574219,
|
238 |
+
0.012822527885437012,
|
239 |
+
0.01276416015625,
|
240 |
+
0.012669952392578124,
|
241 |
+
0.012828672409057617,
|
242 |
+
0.01275699234008789,
|
243 |
+
0.012719103813171387,
|
244 |
+
0.012669952392578124,
|
245 |
+
0.01266585636138916,
|
246 |
+
0.01257369613647461,
|
247 |
+
0.01275391960144043,
|
248 |
+
0.012286975860595703,
|
249 |
+
0.012472319602966308,
|
250 |
+
0.012552191734313965,
|
251 |
+
0.012533760070800782,
|
252 |
+
0.012736576080322266,
|
253 |
+
0.012634079933166504,
|
254 |
+
0.01251529598236084,
|
255 |
+
0.012525568008422852,
|
256 |
+
0.012407808303833008,
|
257 |
+
0.012316672325134278,
|
258 |
+
0.012256256103515625,
|
259 |
+
0.012299263954162597,
|
260 |
+
0.01226854419708252,
|
261 |
+
0.012304384231567383,
|
262 |
+
0.012256256103515625,
|
263 |
+
0.012296192169189453,
|
264 |
+
0.012236800193786621,
|
265 |
+
0.012277759552001954,
|
266 |
+
0.012289024353027344,
|
267 |
+
0.012299263954162597,
|
268 |
+
0.012244992256164551,
|
269 |
+
0.012291071891784668,
|
270 |
+
0.012239871978759765,
|
271 |
+
0.012338175773620605,
|
272 |
+
0.012224512100219726,
|
273 |
+
0.01227673625946045,
|
274 |
+
0.012248064041137695,
|
275 |
+
0.012279808044433594,
|
276 |
+
0.012289024353027344,
|
277 |
+
0.012291071891784668,
|
278 |
+
0.012228608131408691,
|
279 |
+
0.012288000106811523,
|
280 |
+
0.012245023727416992,
|
281 |
+
0.01229308795928955,
|
282 |
+
0.01226035213470459,
|
283 |
+
0.012322815895080566,
|
284 |
+
0.012239871978759765,
|
285 |
+
0.012310527801513671,
|
286 |
+
0.012240896224975586,
|
287 |
+
0.01227673625946045,
|
288 |
+
0.012228608131408691,
|
289 |
+
0.012280832290649414,
|
290 |
+
0.012232704162597656,
|
291 |
+
0.012267519950866699,
|
292 |
+
0.012240896224975586,
|
293 |
+
0.012288000106811523,
|
294 |
+
0.012233728408813477,
|
295 |
+
0.012273664474487305,
|
296 |
+
0.01225113582611084,
|
297 |
+
0.012292096138000488,
|
298 |
+
0.012232704162597656,
|
299 |
+
0.01228492832183838,
|
300 |
+
0.012228608131408691,
|
301 |
+
0.012285951614379884,
|
302 |
+
0.012233728408813477,
|
303 |
+
0.01228492832183838,
|
304 |
+
0.01223475170135498,
|
305 |
+
0.012274687767028808,
|
306 |
+
0.026445823669433592,
|
307 |
+
0.012271615982055664,
|
308 |
+
0.012318719863891601,
|
309 |
+
0.012300288200378418,
|
310 |
+
0.012292096138000488,
|
311 |
+
0.012307456016540527,
|
312 |
+
0.012281855583190919,
|
313 |
+
0.012254207611083985,
|
314 |
+
0.01228492832183838,
|
315 |
+
0.012234784126281739,
|
316 |
+
0.012284895896911622,
|
317 |
+
0.012294143676757812,
|
318 |
+
0.012299263954162597,
|
319 |
+
0.012267552375793456,
|
320 |
+
0.012280799865722657,
|
321 |
+
0.012254207611083985,
|
322 |
+
0.012291071891784668,
|
323 |
+
0.012224512100219726,
|
324 |
+
0.012294143676757812,
|
325 |
+
0.012247039794921874,
|
326 |
+
0.01226854419708252,
|
327 |
+
0.01222758388519287,
|
328 |
+
0.012279808044433594,
|
329 |
+
0.01223475170135498,
|
330 |
+
0.012282879829406738,
|
331 |
+
0.012230655670166016,
|
332 |
+
0.012292096138000488,
|
333 |
+
0.01226854419708252,
|
334 |
+
0.012279808044433594,
|
335 |
+
0.012255231857299804,
|
336 |
+
0.012271615982055664,
|
337 |
+
0.012230655670166016,
|
338 |
+
0.01226035213470459,
|
339 |
+
0.012225536346435547,
|
340 |
+
0.01226956844329834,
|
341 |
+
0.012255231857299804,
|
342 |
+
0.01228492832183838,
|
343 |
+
0.012247039794921874,
|
344 |
+
0.01229312038421631,
|
345 |
+
0.012231679916381836,
|
346 |
+
0.012279808044433594,
|
347 |
+
0.012230655670166016,
|
348 |
+
0.01229312038421631,
|
349 |
+
0.012236800193786621,
|
350 |
+
0.01226956844329834,
|
351 |
+
0.0122357759475708,
|
352 |
+
0.012265472412109376,
|
353 |
+
0.012230655670166016,
|
354 |
+
0.012267519950866699,
|
355 |
+
0.012236800193786621,
|
356 |
+
0.012278783798217773,
|
357 |
+
0.012237824440002442,
|
358 |
+
0.012267519950866699,
|
359 |
+
0.01222758388519287,
|
360 |
+
0.012273664474487305,
|
361 |
+
0.012231679916381836,
|
362 |
+
0.01226854419708252,
|
363 |
+
0.012255231857299804,
|
364 |
+
0.012291071891784668,
|
365 |
+
0.012236800193786621,
|
366 |
+
0.012396544456481933,
|
367 |
+
0.012292096138000488,
|
368 |
+
0.01235148811340332,
|
369 |
+
0.012236800193786621,
|
370 |
+
0.012275712013244629,
|
371 |
+
0.012239871978759765,
|
372 |
+
0.012288000106811523,
|
373 |
+
0.012237824440002442,
|
374 |
+
0.012289024353027344,
|
375 |
+
0.012226559638977052,
|
376 |
+
0.01226854419708252,
|
377 |
+
0.012225536346435547,
|
378 |
+
0.012296192169189453,
|
379 |
+
0.012248064041137695,
|
380 |
+
0.012285951614379884,
|
381 |
+
0.012233759880065918,
|
382 |
+
0.012283871650695801,
|
383 |
+
0.012220416069030762,
|
384 |
+
0.012266495704650878,
|
385 |
+
0.012229632377624512,
|
386 |
+
0.012280832290649414,
|
387 |
+
0.012224512100219726,
|
388 |
+
0.01227673625946045,
|
389 |
+
0.012249088287353516,
|
390 |
+
0.01228492832183838,
|
391 |
+
0.012225536346435547,
|
392 |
+
0.012263423919677734,
|
393 |
+
0.012236800193786621,
|
394 |
+
0.012307456016540527,
|
395 |
+
0.012225536346435547,
|
396 |
+
0.012282879829406738,
|
397 |
+
0.012230655670166016,
|
398 |
+
0.012291071891784668,
|
399 |
+
0.012262399673461915,
|
400 |
+
0.012290047645568849,
|
401 |
+
0.012224512100219726,
|
402 |
+
0.012274687767028808,
|
403 |
+
0.01225011157989502,
|
404 |
+
0.012272640228271485,
|
405 |
+
0.012237824440002442,
|
406 |
+
0.012290047645568849,
|
407 |
+
0.012278783798217773,
|
408 |
+
0.01226956844329834,
|
409 |
+
0.012275712013244629,
|
410 |
+
0.012282879829406738,
|
411 |
+
0.01225011157989502,
|
412 |
+
0.012266495704650878,
|
413 |
+
0.012240896224975586,
|
414 |
+
0.012288000106811523,
|
415 |
+
0.012226559638977052,
|
416 |
+
0.012279808044433594,
|
417 |
+
0.012221440315246582,
|
418 |
+
0.01226035213470459,
|
419 |
+
0.0122357759475708,
|
420 |
+
0.012265472412109376,
|
421 |
+
0.012211199760437011,
|
422 |
+
0.012281855583190919,
|
423 |
+
0.01225011157989502,
|
424 |
+
0.012302335739135742,
|
425 |
+
0.012239871978759765,
|
426 |
+
0.012271615982055664,
|
427 |
+
0.01223475170135498,
|
428 |
+
0.012274687767028808,
|
429 |
+
0.012225536346435547,
|
430 |
+
0.012270591735839843,
|
431 |
+
0.01224294376373291,
|
432 |
+
0.012270591735839843
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.26808817359618
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
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-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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.34016,
|
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.02825324821472168,
|
15 |
+
"mean": 0.01412662410736084,
|
16 |
+
"stdev": 0.00016985607147216794,
|
17 |
+
"p50": 0.01412662410736084,
|
18 |
+
"p90": 0.014262508964538574,
|
19 |
+
"p95": 0.014279494571685791,
|
20 |
+
"p99": 0.014293083057403564,
|
21 |
+
"values": [
|
22 |
+
0.014296480178833008,
|
23 |
+
0.013956768035888672
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 495.51824602967736
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2285.068288,
|
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.1508834228515625,
|
46 |
+
"mean": 1.5754417114257813,
|
47 |
+
"stdev": 0.017798156738281223,
|
48 |
+
"p50": 1.5754417114257813,
|
49 |
+
"p90": 1.5896802368164062,
|
50 |
+
"p95": 1.5914600524902343,
|
51 |
+
"p99": 1.5928839050292969,
|
52 |
+
"values": [
|
53 |
+
1.5932398681640625,
|
54 |
+
1.5576435546875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.61231277484997
|
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.151937535285949,
|
70 |
+
"mean": 0.012458251127612448,
|
71 |
+
"stdev": 0.0009070964229394062,
|
72 |
+
"p50": 0.012283871650695801,
|
73 |
+
"p90": 0.01275699234008789,
|
74 |
+
"p95": 0.01277952003479004,
|
75 |
+
"p99": 0.012842352561950683,
|
76 |
+
"values": [
|
77 |
+
0.012736512184143066,
|
78 |
+
0.012724224090576173,
|
79 |
+
0.012821503639221191,
|
80 |
+
0.012782591819763184,
|
81 |
+
0.012736512184143066,
|
82 |
+
0.01277952003479004,
|
83 |
+
0.012727295875549317,
|
84 |
+
0.012806143760681152,
|
85 |
+
0.012718079566955566,
|
86 |
+
0.012775424003601075,
|
87 |
+
0.012710911750793457,
|
88 |
+
0.01275391960144043,
|
89 |
+
0.012710911750793457,
|
90 |
+
0.012744704246520995,
|
91 |
+
0.012686335563659668,
|
92 |
+
0.012788736343383789,
|
93 |
+
0.012705792427062988,
|
94 |
+
0.012769280433654785,
|
95 |
+
0.01276211166381836,
|
96 |
+
0.012767231941223145,
|
97 |
+
0.012702719688415527,
|
98 |
+
0.012750847816467285,
|
99 |
+
0.01277952003479004,
|
100 |
+
0.012838912010192872,
|
101 |
+
0.012751872062683106,
|
102 |
+
0.01276518440246582,
|
103 |
+
0.012726271629333496,
|
104 |
+
0.0127457275390625,
|
105 |
+
0.012704768180847169,
|
106 |
+
0.01278771209716797,
|
107 |
+
0.012701696395874023,
|
108 |
+
0.012751872062683106,
|
109 |
+
0.012696576118469239,
|
110 |
+
0.01276211166381836,
|
111 |
+
0.012694527626037597,
|
112 |
+
0.012623871803283691,
|
113 |
+
0.012686335563659668,
|
114 |
+
0.012739583969116211,
|
115 |
+
0.012683263778686523,
|
116 |
+
0.012713983535766601,
|
117 |
+
0.012684288024902344,
|
118 |
+
0.01275699234008789,
|
119 |
+
0.012917759895324708,
|
120 |
+
0.012821503639221191,
|
121 |
+
0.012710911750793457,
|
122 |
+
0.01284607982635498,
|
123 |
+
0.012716032028198243,
|
124 |
+
0.012741663932800292,
|
125 |
+
0.012700639724731445,
|
126 |
+
0.01275391960144043,
|
127 |
+
0.012766207695007324,
|
128 |
+
0.012759039878845215,
|
129 |
+
0.012695551872253418,
|
130 |
+
0.012749823570251465,
|
131 |
+
0.012719103813171387,
|
132 |
+
0.012747776031494141,
|
133 |
+
0.01276211166381836,
|
134 |
+
0.012778495788574219,
|
135 |
+
0.012822527885437012,
|
136 |
+
0.01276416015625,
|
137 |
+
0.012669952392578124,
|
138 |
+
0.012828672409057617,
|
139 |
+
0.01275699234008789,
|
140 |
+
0.012719103813171387,
|
141 |
+
0.012669952392578124,
|
142 |
+
0.01266585636138916,
|
143 |
+
0.01257369613647461,
|
144 |
+
0.01275391960144043,
|
145 |
+
0.012286975860595703,
|
146 |
+
0.012472319602966308,
|
147 |
+
0.012552191734313965,
|
148 |
+
0.012533760070800782,
|
149 |
+
0.012736576080322266,
|
150 |
+
0.012634079933166504,
|
151 |
+
0.01251529598236084,
|
152 |
+
0.012525568008422852,
|
153 |
+
0.012407808303833008,
|
154 |
+
0.012316672325134278,
|
155 |
+
0.012256256103515625,
|
156 |
+
0.012299263954162597,
|
157 |
+
0.01226854419708252,
|
158 |
+
0.012304384231567383,
|
159 |
+
0.012256256103515625,
|
160 |
+
0.012296192169189453,
|
161 |
+
0.012236800193786621,
|
162 |
+
0.012277759552001954,
|
163 |
+
0.012289024353027344,
|
164 |
+
0.012299263954162597,
|
165 |
+
0.012244992256164551,
|
166 |
+
0.012291071891784668,
|
167 |
+
0.012239871978759765,
|
168 |
+
0.012338175773620605,
|
169 |
+
0.012224512100219726,
|
170 |
+
0.01227673625946045,
|
171 |
+
0.012248064041137695,
|
172 |
+
0.012279808044433594,
|
173 |
+
0.012289024353027344,
|
174 |
+
0.012291071891784668,
|
175 |
+
0.012228608131408691,
|
176 |
+
0.012288000106811523,
|
177 |
+
0.012245023727416992,
|
178 |
+
0.01229308795928955,
|
179 |
+
0.01226035213470459,
|
180 |
+
0.012322815895080566,
|
181 |
+
0.012239871978759765,
|
182 |
+
0.012310527801513671,
|
183 |
+
0.012240896224975586,
|
184 |
+
0.01227673625946045,
|
185 |
+
0.012228608131408691,
|
186 |
+
0.012280832290649414,
|
187 |
+
0.012232704162597656,
|
188 |
+
0.012267519950866699,
|
189 |
+
0.012240896224975586,
|
190 |
+
0.012288000106811523,
|
191 |
+
0.012233728408813477,
|
192 |
+
0.012273664474487305,
|
193 |
+
0.01225113582611084,
|
194 |
+
0.012292096138000488,
|
195 |
+
0.012232704162597656,
|
196 |
+
0.01228492832183838,
|
197 |
+
0.012228608131408691,
|
198 |
+
0.012285951614379884,
|
199 |
+
0.012233728408813477,
|
200 |
+
0.01228492832183838,
|
201 |
+
0.01223475170135498,
|
202 |
+
0.012274687767028808,
|
203 |
+
0.026445823669433592,
|
204 |
+
0.012271615982055664,
|
205 |
+
0.012318719863891601,
|
206 |
+
0.012300288200378418,
|
207 |
+
0.012292096138000488,
|
208 |
+
0.012307456016540527,
|
209 |
+
0.012281855583190919,
|
210 |
+
0.012254207611083985,
|
211 |
+
0.01228492832183838,
|
212 |
+
0.012234784126281739,
|
213 |
+
0.012284895896911622,
|
214 |
+
0.012294143676757812,
|
215 |
+
0.012299263954162597,
|
216 |
+
0.012267552375793456,
|
217 |
+
0.012280799865722657,
|
218 |
+
0.012254207611083985,
|
219 |
+
0.012291071891784668,
|
220 |
+
0.012224512100219726,
|
221 |
+
0.012294143676757812,
|
222 |
+
0.012247039794921874,
|
223 |
+
0.01226854419708252,
|
224 |
+
0.01222758388519287,
|
225 |
+
0.012279808044433594,
|
226 |
+
0.01223475170135498,
|
227 |
+
0.012282879829406738,
|
228 |
+
0.012230655670166016,
|
229 |
+
0.012292096138000488,
|
230 |
+
0.01226854419708252,
|
231 |
+
0.012279808044433594,
|
232 |
+
0.012255231857299804,
|
233 |
+
0.012271615982055664,
|
234 |
+
0.012230655670166016,
|
235 |
+
0.01226035213470459,
|
236 |
+
0.012225536346435547,
|
237 |
+
0.01226956844329834,
|
238 |
+
0.012255231857299804,
|
239 |
+
0.01228492832183838,
|
240 |
+
0.012247039794921874,
|
241 |
+
0.01229312038421631,
|
242 |
+
0.012231679916381836,
|
243 |
+
0.012279808044433594,
|
244 |
+
0.012230655670166016,
|
245 |
+
0.01229312038421631,
|
246 |
+
0.012236800193786621,
|
247 |
+
0.01226956844329834,
|
248 |
+
0.0122357759475708,
|
249 |
+
0.012265472412109376,
|
250 |
+
0.012230655670166016,
|
251 |
+
0.012267519950866699,
|
252 |
+
0.012236800193786621,
|
253 |
+
0.012278783798217773,
|
254 |
+
0.012237824440002442,
|
255 |
+
0.012267519950866699,
|
256 |
+
0.01222758388519287,
|
257 |
+
0.012273664474487305,
|
258 |
+
0.012231679916381836,
|
259 |
+
0.01226854419708252,
|
260 |
+
0.012255231857299804,
|
261 |
+
0.012291071891784668,
|
262 |
+
0.012236800193786621,
|
263 |
+
0.012396544456481933,
|
264 |
+
0.012292096138000488,
|
265 |
+
0.01235148811340332,
|
266 |
+
0.012236800193786621,
|
267 |
+
0.012275712013244629,
|
268 |
+
0.012239871978759765,
|
269 |
+
0.012288000106811523,
|
270 |
+
0.012237824440002442,
|
271 |
+
0.012289024353027344,
|
272 |
+
0.012226559638977052,
|
273 |
+
0.01226854419708252,
|
274 |
+
0.012225536346435547,
|
275 |
+
0.012296192169189453,
|
276 |
+
0.012248064041137695,
|
277 |
+
0.012285951614379884,
|
278 |
+
0.012233759880065918,
|
279 |
+
0.012283871650695801,
|
280 |
+
0.012220416069030762,
|
281 |
+
0.012266495704650878,
|
282 |
+
0.012229632377624512,
|
283 |
+
0.012280832290649414,
|
284 |
+
0.012224512100219726,
|
285 |
+
0.01227673625946045,
|
286 |
+
0.012249088287353516,
|
287 |
+
0.01228492832183838,
|
288 |
+
0.012225536346435547,
|
289 |
+
0.012263423919677734,
|
290 |
+
0.012236800193786621,
|
291 |
+
0.012307456016540527,
|
292 |
+
0.012225536346435547,
|
293 |
+
0.012282879829406738,
|
294 |
+
0.012230655670166016,
|
295 |
+
0.012291071891784668,
|
296 |
+
0.012262399673461915,
|
297 |
+
0.012290047645568849,
|
298 |
+
0.012224512100219726,
|
299 |
+
0.012274687767028808,
|
300 |
+
0.01225011157989502,
|
301 |
+
0.012272640228271485,
|
302 |
+
0.012237824440002442,
|
303 |
+
0.012290047645568849,
|
304 |
+
0.012278783798217773,
|
305 |
+
0.01226956844329834,
|
306 |
+
0.012275712013244629,
|
307 |
+
0.012282879829406738,
|
308 |
+
0.01225011157989502,
|
309 |
+
0.012266495704650878,
|
310 |
+
0.012240896224975586,
|
311 |
+
0.012288000106811523,
|
312 |
+
0.012226559638977052,
|
313 |
+
0.012279808044433594,
|
314 |
+
0.012221440315246582,
|
315 |
+
0.01226035213470459,
|
316 |
+
0.0122357759475708,
|
317 |
+
0.012265472412109376,
|
318 |
+
0.012211199760437011,
|
319 |
+
0.012281855583190919,
|
320 |
+
0.01225011157989502,
|
321 |
+
0.012302335739135742,
|
322 |
+
0.012239871978759765,
|
323 |
+
0.012271615982055664,
|
324 |
+
0.01223475170135498,
|
325 |
+
0.012274687767028808,
|
326 |
+
0.012225536346435547,
|
327 |
+
0.012270591735839843,
|
328 |
+
0.01224294376373291,
|
329 |
+
0.012270591735839843
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.26808817359618
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/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": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01412662410736084,
|
7 |
+
"prefill.throughput.value": 495.51824602967736,
|
8 |
+
"decode.latency.mean": 1.5754417114257813,
|
9 |
+
"decode.throughput.value": 80.61231277484997,
|
10 |
+
"per_token.latency.mean": 0.012458251127612448,
|
11 |
+
"per_token.throughput.value": 80.26808817359618
|
12 |
+
}
|
13 |
+
}
|
2024-06-14/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpy2ohgplo/commit=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
88 |
+
- hydra.run.dir=_benchmark/tmpy2ohgplo/commit\=c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4/${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: c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4
|
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-14/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.019582624435424807,
|
8 |
+
"prefill.throughput.value": 357.4597482111263,
|
9 |
+
"decode.latency.mean": 2.34328271484375,
|
10 |
+
"decode.throughput.value": 54.19747228770403,
|
11 |
+
"per_token.latency.mean": 0.01852147654205443,
|
12 |
+
"per_token.throughput.value": 53.991375780944
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02187764835357666,
|
21 |
+
"prefill.throughput.value": 319.96126306032374,
|
22 |
+
"decode.latency.mean": 2.530910888671875,
|
23 |
+
"decode.throughput.value": 50.17956205745542,
|
24 |
+
"per_token.latency.mean": 0.020008462197224613,
|
25 |
+
"per_token.throughput.value": 49.978853454250505
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.01412662410736084,
|
34 |
+
"prefill.throughput.value": 495.51824602967736,
|
35 |
+
"decode.latency.mean": 1.5754417114257813,
|
36 |
+
"decode.throughput.value": 80.61231277484997,
|
37 |
+
"per_token.latency.mean": 0.012458251127612448,
|
38 |
+
"per_token.throughput.value": 80.26808817359618
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-14/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.019582624435424807,
|
7 |
+
"prefill.throughput.value": 357.4597482111263,
|
8 |
+
"decode.latency.mean": 2.34328271484375,
|
9 |
+
"decode.throughput.value": 54.19747228770403,
|
10 |
+
"per_token.latency.mean": 0.01852147654205443,
|
11 |
+
"per_token.throughput.value": 53.991375780944
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02187764835357666,
|
19 |
+
"prefill.throughput.value": 319.96126306032374,
|
20 |
+
"decode.latency.mean": 2.530910888671875,
|
21 |
+
"decode.throughput.value": 50.17956205745542,
|
22 |
+
"per_token.latency.mean": 0.020008462197224613,
|
23 |
+
"per_token.throughput.value": 49.978853454250505
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"c212ac9a0262d47b19675d5d7a9c729ebbdc3ef4": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.01412662410736084,
|
31 |
+
"prefill.throughput.value": 495.51824602967736,
|
32 |
+
"decode.latency.mean": 1.5754417114257813,
|
33 |
+
"decode.throughput.value": 80.61231277484997,
|
34 |
+
"per_token.latency.mean": 0.012458251127612448,
|
35 |
+
"per_token.throughput.value": 80.26808817359618
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|