hf-transformers-bot
commited on
Commit
•
b0afb70
1
Parent(s):
aa2396d
Upload folder using huggingface_hub
Browse files- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/multirun.yaml +232 -0
- 2024-06-18/summaries.json +41 -0
- 2024-06-18/summary.json +40 -0
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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: 1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
88 |
+
- hydra.run.dir=_benchmark/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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": 1703.108608,
|
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.040391809463500974,
|
118 |
+
"mean": 0.020195904731750487,
|
119 |
+
"stdev": 0.00021494388580322286,
|
120 |
+
"p50": 0.020195904731750487,
|
121 |
+
"p90": 0.020367859840393066,
|
122 |
+
"p95": 0.02038935422897339,
|
123 |
+
"p99": 0.02040654973983765,
|
124 |
+
"values": [
|
125 |
+
0.020410848617553712,
|
126 |
+
0.019980960845947266
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 346.6049227789793
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1703.133184,
|
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.965553466796875,
|
149 |
+
"mean": 2.4827767333984374,
|
150 |
+
"stdev": 0.004357788085937564,
|
151 |
+
"p50": 2.4827767333984374,
|
152 |
+
"p90": 2.4862629638671874,
|
153 |
+
"p95": 2.4866987426757814,
|
154 |
+
"p99": 2.487047365722656,
|
155 |
+
"values": [
|
156 |
+
2.487134521484375,
|
157 |
+
2.4784189453125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.15240460069954
|
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.96576103973389,
|
173 |
+
"mean": 0.01962751399104303,
|
174 |
+
"stdev": 0.0013041738213033095,
|
175 |
+
"p50": 0.019389440536499023,
|
176 |
+
"p90": 0.01999339599609375,
|
177 |
+
"p95": 0.020261888122558594,
|
178 |
+
"p99": 0.021379481277465813,
|
179 |
+
"values": [
|
180 |
+
0.020296703338623046,
|
181 |
+
0.020578304290771485,
|
182 |
+
0.02011238479614258,
|
183 |
+
0.019692575454711914,
|
184 |
+
0.019745759963989258,
|
185 |
+
0.020092927932739257,
|
186 |
+
0.020971519470214844,
|
187 |
+
0.019503103256225587,
|
188 |
+
0.019568639755249022,
|
189 |
+
0.019746816635131836,
|
190 |
+
0.01982464027404785,
|
191 |
+
0.01983283233642578,
|
192 |
+
0.01965875244140625,
|
193 |
+
0.01984819221496582,
|
194 |
+
0.019843072891235353,
|
195 |
+
0.019895296096801757,
|
196 |
+
0.019891199111938478,
|
197 |
+
0.019698688507080078,
|
198 |
+
0.020231168746948244,
|
199 |
+
0.020938751220703124,
|
200 |
+
0.020586496353149415,
|
201 |
+
0.019562496185302734,
|
202 |
+
0.019715072631835938,
|
203 |
+
0.02065920066833496,
|
204 |
+
0.019637279510498047,
|
205 |
+
0.0196157112121582,
|
206 |
+
0.019705856323242187,
|
207 |
+
0.019945472717285157,
|
208 |
+
0.019993600845336915,
|
209 |
+
0.019773439407348634,
|
210 |
+
0.01990553665161133,
|
211 |
+
0.019749887466430666,
|
212 |
+
0.019619840621948242,
|
213 |
+
0.019759103775024413,
|
214 |
+
0.01985536003112793,
|
215 |
+
0.019983360290527344,
|
216 |
+
0.019501056671142578,
|
217 |
+
0.01963724708557129,
|
218 |
+
0.019588096618652344,
|
219 |
+
0.019555391311645506,
|
220 |
+
0.019599296569824218,
|
221 |
+
0.01943244743347168,
|
222 |
+
0.01962291145324707,
|
223 |
+
0.019404800415039062,
|
224 |
+
0.019534847259521485,
|
225 |
+
0.019673088073730468,
|
226 |
+
0.019701759338378907,
|
227 |
+
0.020526079177856444,
|
228 |
+
0.019294208526611328,
|
229 |
+
0.01923993682861328,
|
230 |
+
0.019194879531860352,
|
231 |
+
0.01923891258239746,
|
232 |
+
0.01922867202758789,
|
233 |
+
0.01923379135131836,
|
234 |
+
0.019698688507080078,
|
235 |
+
0.019771392822265626,
|
236 |
+
0.019955711364746095,
|
237 |
+
0.019388416290283202,
|
238 |
+
0.01938739204406738,
|
239 |
+
0.019377151489257814,
|
240 |
+
0.019337215423583985,
|
241 |
+
0.019396608352661132,
|
242 |
+
0.01942835235595703,
|
243 |
+
0.01939455986022949,
|
244 |
+
0.019406848907470704,
|
245 |
+
0.019389440536499023,
|
246 |
+
0.01944473648071289,
|
247 |
+
0.01944371223449707,
|
248 |
+
0.019345407485961915,
|
249 |
+
0.019377151489257814,
|
250 |
+
0.019335168838500977,
|
251 |
+
0.019357696533203125,
|
252 |
+
0.019322879791259767,
|
253 |
+
0.019392511367797852,
|
254 |
+
0.019359743118286133,
|
255 |
+
0.019350528717041016,
|
256 |
+
0.01938739204406738,
|
257 |
+
0.019400703430175782,
|
258 |
+
0.01942323112487793,
|
259 |
+
0.019405824661254883,
|
260 |
+
0.01940275192260742,
|
261 |
+
0.019401727676391603,
|
262 |
+
0.01939455986022949,
|
263 |
+
0.019400703430175782,
|
264 |
+
0.019391551971435547,
|
265 |
+
0.020057024002075194,
|
266 |
+
0.02003046417236328,
|
267 |
+
0.019985408782958985,
|
268 |
+
0.019367935180664063,
|
269 |
+
0.019412992477416992,
|
270 |
+
0.019375104904174805,
|
271 |
+
0.019381248474121093,
|
272 |
+
0.01941094398498535,
|
273 |
+
0.0194334716796875,
|
274 |
+
0.019366912841796875,
|
275 |
+
0.019330047607421876,
|
276 |
+
0.019364864349365234,
|
277 |
+
0.019389440536499023,
|
278 |
+
0.019325952529907226,
|
279 |
+
0.019381248474121093,
|
280 |
+
0.01940377616882324,
|
281 |
+
0.019366912841796875,
|
282 |
+
0.019363840103149413,
|
283 |
+
0.019323904037475585,
|
284 |
+
0.019281919479370118,
|
285 |
+
0.01939558410644531,
|
286 |
+
0.019327999114990235,
|
287 |
+
0.019324928283691405,
|
288 |
+
0.019373056411743163,
|
289 |
+
0.01927987289428711,
|
290 |
+
0.019324928283691405,
|
291 |
+
0.019354623794555666,
|
292 |
+
0.019348480224609374,
|
293 |
+
0.019563520431518554,
|
294 |
+
0.019322944641113282,
|
295 |
+
0.019370943069458007,
|
296 |
+
0.019330047607421876,
|
297 |
+
0.019323904037475585,
|
298 |
+
0.01939455986022949,
|
299 |
+
0.019318784713745117,
|
300 |
+
0.019329023361206055,
|
301 |
+
0.01942425537109375,
|
302 |
+
0.019300352096557616,
|
303 |
+
0.019357696533203125,
|
304 |
+
0.019319807052612305,
|
305 |
+
0.019365888595581054,
|
306 |
+
0.03931955337524414,
|
307 |
+
0.01922764778137207,
|
308 |
+
0.01942118453979492,
|
309 |
+
0.01921843147277832,
|
310 |
+
0.019183616638183593,
|
311 |
+
0.019185663223266602,
|
312 |
+
0.019180543899536134,
|
313 |
+
0.01919385528564453,
|
314 |
+
0.019150848388671874,
|
315 |
+
0.02007040023803711,
|
316 |
+
0.019870719909667968,
|
317 |
+
0.01979801559448242,
|
318 |
+
0.02006220817565918,
|
319 |
+
0.01984716796875,
|
320 |
+
0.01927168083190918,
|
321 |
+
0.01923993682861328,
|
322 |
+
0.01924608039855957,
|
323 |
+
0.01923379135131836,
|
324 |
+
0.01924924850463867,
|
325 |
+
0.01921731185913086,
|
326 |
+
0.01922662353515625,
|
327 |
+
0.01920614433288574,
|
328 |
+
0.01922662353515625,
|
329 |
+
0.01927987289428711,
|
330 |
+
0.01923891258239746,
|
331 |
+
0.019186687469482423,
|
332 |
+
0.01922969627380371,
|
333 |
+
0.01923481559753418,
|
334 |
+
0.019268608093261717,
|
335 |
+
0.01923686408996582,
|
336 |
+
0.01963724708557129,
|
337 |
+
0.019776512145996093,
|
338 |
+
0.01968332862854004,
|
339 |
+
0.01925324821472168,
|
340 |
+
0.01923583984375,
|
341 |
+
0.01920921516418457,
|
342 |
+
0.019171327590942384,
|
343 |
+
0.01920204734802246,
|
344 |
+
0.019215360641479492,
|
345 |
+
0.019316736221313476,
|
346 |
+
0.019801151275634764,
|
347 |
+
0.01976927947998047,
|
348 |
+
0.01927065658569336,
|
349 |
+
0.019176448822021484,
|
350 |
+
0.01926348876953125,
|
351 |
+
0.019198976516723632,
|
352 |
+
0.01918156814575195,
|
353 |
+
0.019542015075683594,
|
354 |
+
0.021728256225585937,
|
355 |
+
0.02004582405090332,
|
356 |
+
0.019795967102050782,
|
357 |
+
0.019833856582641602,
|
358 |
+
0.01987583923339844,
|
359 |
+
0.0194150390625,
|
360 |
+
0.01923174476623535,
|
361 |
+
0.019200000762939453,
|
362 |
+
0.019160064697265625,
|
363 |
+
0.019355648040771483,
|
364 |
+
0.01944780731201172,
|
365 |
+
0.019380224227905272,
|
366 |
+
0.019380224227905272,
|
367 |
+
0.02046566390991211,
|
368 |
+
0.020109312057495117,
|
369 |
+
0.020239360809326173,
|
370 |
+
0.019482624053955077,
|
371 |
+
0.019389440536499023,
|
372 |
+
0.019348480224609374,
|
373 |
+
0.019374080657958984,
|
374 |
+
0.019340288162231444,
|
375 |
+
0.01935158348083496,
|
376 |
+
0.019365856170654297,
|
377 |
+
0.019322879791259767,
|
378 |
+
0.0194201602935791,
|
379 |
+
0.01941913604736328,
|
380 |
+
0.019352575302124024,
|
381 |
+
0.019404800415039062,
|
382 |
+
0.019321855545043946,
|
383 |
+
0.02105753517150879,
|
384 |
+
0.02215936088562012,
|
385 |
+
0.020127840042114258,
|
386 |
+
0.019980192184448242,
|
387 |
+
0.01999564743041992,
|
388 |
+
0.019966976165771484,
|
389 |
+
0.019919872283935547,
|
390 |
+
0.019951616287231445,
|
391 |
+
0.019928064346313477,
|
392 |
+
0.019341312408447265,
|
393 |
+
0.019376127243041993,
|
394 |
+
0.019364864349365234,
|
395 |
+
0.019319807052612305,
|
396 |
+
0.019430400848388672,
|
397 |
+
0.019356672286987304,
|
398 |
+
0.019330047607421876,
|
399 |
+
0.019331071853637697,
|
400 |
+
0.019365888595581054,
|
401 |
+
0.019517440795898438,
|
402 |
+
0.019406848907470704,
|
403 |
+
0.019340288162231444,
|
404 |
+
0.019316736221313476,
|
405 |
+
0.019323904037475585,
|
406 |
+
0.019378175735473634,
|
407 |
+
0.019331071853637697,
|
408 |
+
0.019340288162231444,
|
409 |
+
0.019339263916015623,
|
410 |
+
0.019308544158935546,
|
411 |
+
0.019333120346069335,
|
412 |
+
0.01937919998168945,
|
413 |
+
0.019356672286987304,
|
414 |
+
0.019348480224609374,
|
415 |
+
0.019347455978393553,
|
416 |
+
0.019306495666503908,
|
417 |
+
0.019325952529907226,
|
418 |
+
0.020295679092407228,
|
419 |
+
0.019983360290527344,
|
420 |
+
0.019966976165771484,
|
421 |
+
0.019597312927246095,
|
422 |
+
0.019286016464233398,
|
423 |
+
0.019324928283691405,
|
424 |
+
0.019276800155639647,
|
425 |
+
0.01957683181762695,
|
426 |
+
0.019992576599121094,
|
427 |
+
0.019956735610961913,
|
428 |
+
0.019336191177368164,
|
429 |
+
0.019315711975097655,
|
430 |
+
0.019365888595581054,
|
431 |
+
0.01947648048400879,
|
432 |
+
0.01939967918395996
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 50.948887386163506
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": 1703.108608,
|
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.040391809463500974,
|
15 |
+
"mean": 0.020195904731750487,
|
16 |
+
"stdev": 0.00021494388580322286,
|
17 |
+
"p50": 0.020195904731750487,
|
18 |
+
"p90": 0.020367859840393066,
|
19 |
+
"p95": 0.02038935422897339,
|
20 |
+
"p99": 0.02040654973983765,
|
21 |
+
"values": [
|
22 |
+
0.020410848617553712,
|
23 |
+
0.019980960845947266
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 346.6049227789793
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1703.133184,
|
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.965553466796875,
|
46 |
+
"mean": 2.4827767333984374,
|
47 |
+
"stdev": 0.004357788085937564,
|
48 |
+
"p50": 2.4827767333984374,
|
49 |
+
"p90": 2.4862629638671874,
|
50 |
+
"p95": 2.4866987426757814,
|
51 |
+
"p99": 2.487047365722656,
|
52 |
+
"values": [
|
53 |
+
2.487134521484375,
|
54 |
+
2.4784189453125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.15240460069954
|
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.96576103973389,
|
70 |
+
"mean": 0.01962751399104303,
|
71 |
+
"stdev": 0.0013041738213033095,
|
72 |
+
"p50": 0.019389440536499023,
|
73 |
+
"p90": 0.01999339599609375,
|
74 |
+
"p95": 0.020261888122558594,
|
75 |
+
"p99": 0.021379481277465813,
|
76 |
+
"values": [
|
77 |
+
0.020296703338623046,
|
78 |
+
0.020578304290771485,
|
79 |
+
0.02011238479614258,
|
80 |
+
0.019692575454711914,
|
81 |
+
0.019745759963989258,
|
82 |
+
0.020092927932739257,
|
83 |
+
0.020971519470214844,
|
84 |
+
0.019503103256225587,
|
85 |
+
0.019568639755249022,
|
86 |
+
0.019746816635131836,
|
87 |
+
0.01982464027404785,
|
88 |
+
0.01983283233642578,
|
89 |
+
0.01965875244140625,
|
90 |
+
0.01984819221496582,
|
91 |
+
0.019843072891235353,
|
92 |
+
0.019895296096801757,
|
93 |
+
0.019891199111938478,
|
94 |
+
0.019698688507080078,
|
95 |
+
0.020231168746948244,
|
96 |
+
0.020938751220703124,
|
97 |
+
0.020586496353149415,
|
98 |
+
0.019562496185302734,
|
99 |
+
0.019715072631835938,
|
100 |
+
0.02065920066833496,
|
101 |
+
0.019637279510498047,
|
102 |
+
0.0196157112121582,
|
103 |
+
0.019705856323242187,
|
104 |
+
0.019945472717285157,
|
105 |
+
0.019993600845336915,
|
106 |
+
0.019773439407348634,
|
107 |
+
0.01990553665161133,
|
108 |
+
0.019749887466430666,
|
109 |
+
0.019619840621948242,
|
110 |
+
0.019759103775024413,
|
111 |
+
0.01985536003112793,
|
112 |
+
0.019983360290527344,
|
113 |
+
0.019501056671142578,
|
114 |
+
0.01963724708557129,
|
115 |
+
0.019588096618652344,
|
116 |
+
0.019555391311645506,
|
117 |
+
0.019599296569824218,
|
118 |
+
0.01943244743347168,
|
119 |
+
0.01962291145324707,
|
120 |
+
0.019404800415039062,
|
121 |
+
0.019534847259521485,
|
122 |
+
0.019673088073730468,
|
123 |
+
0.019701759338378907,
|
124 |
+
0.020526079177856444,
|
125 |
+
0.019294208526611328,
|
126 |
+
0.01923993682861328,
|
127 |
+
0.019194879531860352,
|
128 |
+
0.01923891258239746,
|
129 |
+
0.01922867202758789,
|
130 |
+
0.01923379135131836,
|
131 |
+
0.019698688507080078,
|
132 |
+
0.019771392822265626,
|
133 |
+
0.019955711364746095,
|
134 |
+
0.019388416290283202,
|
135 |
+
0.01938739204406738,
|
136 |
+
0.019377151489257814,
|
137 |
+
0.019337215423583985,
|
138 |
+
0.019396608352661132,
|
139 |
+
0.01942835235595703,
|
140 |
+
0.01939455986022949,
|
141 |
+
0.019406848907470704,
|
142 |
+
0.019389440536499023,
|
143 |
+
0.01944473648071289,
|
144 |
+
0.01944371223449707,
|
145 |
+
0.019345407485961915,
|
146 |
+
0.019377151489257814,
|
147 |
+
0.019335168838500977,
|
148 |
+
0.019357696533203125,
|
149 |
+
0.019322879791259767,
|
150 |
+
0.019392511367797852,
|
151 |
+
0.019359743118286133,
|
152 |
+
0.019350528717041016,
|
153 |
+
0.01938739204406738,
|
154 |
+
0.019400703430175782,
|
155 |
+
0.01942323112487793,
|
156 |
+
0.019405824661254883,
|
157 |
+
0.01940275192260742,
|
158 |
+
0.019401727676391603,
|
159 |
+
0.01939455986022949,
|
160 |
+
0.019400703430175782,
|
161 |
+
0.019391551971435547,
|
162 |
+
0.020057024002075194,
|
163 |
+
0.02003046417236328,
|
164 |
+
0.019985408782958985,
|
165 |
+
0.019367935180664063,
|
166 |
+
0.019412992477416992,
|
167 |
+
0.019375104904174805,
|
168 |
+
0.019381248474121093,
|
169 |
+
0.01941094398498535,
|
170 |
+
0.0194334716796875,
|
171 |
+
0.019366912841796875,
|
172 |
+
0.019330047607421876,
|
173 |
+
0.019364864349365234,
|
174 |
+
0.019389440536499023,
|
175 |
+
0.019325952529907226,
|
176 |
+
0.019381248474121093,
|
177 |
+
0.01940377616882324,
|
178 |
+
0.019366912841796875,
|
179 |
+
0.019363840103149413,
|
180 |
+
0.019323904037475585,
|
181 |
+
0.019281919479370118,
|
182 |
+
0.01939558410644531,
|
183 |
+
0.019327999114990235,
|
184 |
+
0.019324928283691405,
|
185 |
+
0.019373056411743163,
|
186 |
+
0.01927987289428711,
|
187 |
+
0.019324928283691405,
|
188 |
+
0.019354623794555666,
|
189 |
+
0.019348480224609374,
|
190 |
+
0.019563520431518554,
|
191 |
+
0.019322944641113282,
|
192 |
+
0.019370943069458007,
|
193 |
+
0.019330047607421876,
|
194 |
+
0.019323904037475585,
|
195 |
+
0.01939455986022949,
|
196 |
+
0.019318784713745117,
|
197 |
+
0.019329023361206055,
|
198 |
+
0.01942425537109375,
|
199 |
+
0.019300352096557616,
|
200 |
+
0.019357696533203125,
|
201 |
+
0.019319807052612305,
|
202 |
+
0.019365888595581054,
|
203 |
+
0.03931955337524414,
|
204 |
+
0.01922764778137207,
|
205 |
+
0.01942118453979492,
|
206 |
+
0.01921843147277832,
|
207 |
+
0.019183616638183593,
|
208 |
+
0.019185663223266602,
|
209 |
+
0.019180543899536134,
|
210 |
+
0.01919385528564453,
|
211 |
+
0.019150848388671874,
|
212 |
+
0.02007040023803711,
|
213 |
+
0.019870719909667968,
|
214 |
+
0.01979801559448242,
|
215 |
+
0.02006220817565918,
|
216 |
+
0.01984716796875,
|
217 |
+
0.01927168083190918,
|
218 |
+
0.01923993682861328,
|
219 |
+
0.01924608039855957,
|
220 |
+
0.01923379135131836,
|
221 |
+
0.01924924850463867,
|
222 |
+
0.01921731185913086,
|
223 |
+
0.01922662353515625,
|
224 |
+
0.01920614433288574,
|
225 |
+
0.01922662353515625,
|
226 |
+
0.01927987289428711,
|
227 |
+
0.01923891258239746,
|
228 |
+
0.019186687469482423,
|
229 |
+
0.01922969627380371,
|
230 |
+
0.01923481559753418,
|
231 |
+
0.019268608093261717,
|
232 |
+
0.01923686408996582,
|
233 |
+
0.01963724708557129,
|
234 |
+
0.019776512145996093,
|
235 |
+
0.01968332862854004,
|
236 |
+
0.01925324821472168,
|
237 |
+
0.01923583984375,
|
238 |
+
0.01920921516418457,
|
239 |
+
0.019171327590942384,
|
240 |
+
0.01920204734802246,
|
241 |
+
0.019215360641479492,
|
242 |
+
0.019316736221313476,
|
243 |
+
0.019801151275634764,
|
244 |
+
0.01976927947998047,
|
245 |
+
0.01927065658569336,
|
246 |
+
0.019176448822021484,
|
247 |
+
0.01926348876953125,
|
248 |
+
0.019198976516723632,
|
249 |
+
0.01918156814575195,
|
250 |
+
0.019542015075683594,
|
251 |
+
0.021728256225585937,
|
252 |
+
0.02004582405090332,
|
253 |
+
0.019795967102050782,
|
254 |
+
0.019833856582641602,
|
255 |
+
0.01987583923339844,
|
256 |
+
0.0194150390625,
|
257 |
+
0.01923174476623535,
|
258 |
+
0.019200000762939453,
|
259 |
+
0.019160064697265625,
|
260 |
+
0.019355648040771483,
|
261 |
+
0.01944780731201172,
|
262 |
+
0.019380224227905272,
|
263 |
+
0.019380224227905272,
|
264 |
+
0.02046566390991211,
|
265 |
+
0.020109312057495117,
|
266 |
+
0.020239360809326173,
|
267 |
+
0.019482624053955077,
|
268 |
+
0.019389440536499023,
|
269 |
+
0.019348480224609374,
|
270 |
+
0.019374080657958984,
|
271 |
+
0.019340288162231444,
|
272 |
+
0.01935158348083496,
|
273 |
+
0.019365856170654297,
|
274 |
+
0.019322879791259767,
|
275 |
+
0.0194201602935791,
|
276 |
+
0.01941913604736328,
|
277 |
+
0.019352575302124024,
|
278 |
+
0.019404800415039062,
|
279 |
+
0.019321855545043946,
|
280 |
+
0.02105753517150879,
|
281 |
+
0.02215936088562012,
|
282 |
+
0.020127840042114258,
|
283 |
+
0.019980192184448242,
|
284 |
+
0.01999564743041992,
|
285 |
+
0.019966976165771484,
|
286 |
+
0.019919872283935547,
|
287 |
+
0.019951616287231445,
|
288 |
+
0.019928064346313477,
|
289 |
+
0.019341312408447265,
|
290 |
+
0.019376127243041993,
|
291 |
+
0.019364864349365234,
|
292 |
+
0.019319807052612305,
|
293 |
+
0.019430400848388672,
|
294 |
+
0.019356672286987304,
|
295 |
+
0.019330047607421876,
|
296 |
+
0.019331071853637697,
|
297 |
+
0.019365888595581054,
|
298 |
+
0.019517440795898438,
|
299 |
+
0.019406848907470704,
|
300 |
+
0.019340288162231444,
|
301 |
+
0.019316736221313476,
|
302 |
+
0.019323904037475585,
|
303 |
+
0.019378175735473634,
|
304 |
+
0.019331071853637697,
|
305 |
+
0.019340288162231444,
|
306 |
+
0.019339263916015623,
|
307 |
+
0.019308544158935546,
|
308 |
+
0.019333120346069335,
|
309 |
+
0.01937919998168945,
|
310 |
+
0.019356672286987304,
|
311 |
+
0.019348480224609374,
|
312 |
+
0.019347455978393553,
|
313 |
+
0.019306495666503908,
|
314 |
+
0.019325952529907226,
|
315 |
+
0.020295679092407228,
|
316 |
+
0.019983360290527344,
|
317 |
+
0.019966976165771484,
|
318 |
+
0.019597312927246095,
|
319 |
+
0.019286016464233398,
|
320 |
+
0.019324928283691405,
|
321 |
+
0.019276800155639647,
|
322 |
+
0.01957683181762695,
|
323 |
+
0.019992576599121094,
|
324 |
+
0.019956735610961913,
|
325 |
+
0.019336191177368164,
|
326 |
+
0.019315711975097655,
|
327 |
+
0.019365888595581054,
|
328 |
+
0.01947648048400879,
|
329 |
+
0.01939967918395996
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 50.948887386163506
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020195904731750487,
|
7 |
+
"prefill.throughput.value": 346.6049227789793,
|
8 |
+
"decode.latency.mean": 2.4827767333984374,
|
9 |
+
"decode.throughput.value": 51.15240460069954,
|
10 |
+
"per_token.latency.mean": 0.01962751399104303,
|
11 |
+
"per_token.throughput.value": 50.948887386163506
|
12 |
+
}
|
13 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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: 1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
88 |
+
- hydra.run.dir=_benchmark/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-18 09:35:36,936[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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: 1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
88 |
+
- hydra.run.dir=_benchmark/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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.7264,
|
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.04485519981384277,
|
118 |
+
"mean": 0.022427599906921385,
|
119 |
+
"stdev": 0.00027784061431884895,
|
120 |
+
"p50": 0.022427599906921385,
|
121 |
+
"p90": 0.022649872398376465,
|
122 |
+
"p95": 0.022677656459808352,
|
123 |
+
"p99": 0.022699883708953858,
|
124 |
+
"values": [
|
125 |
+
0.022705440521240235,
|
126 |
+
0.022149759292602537
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 312.11543049863883
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1754.742784,
|
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.274961181640625,
|
149 |
+
"mean": 2.6374805908203127,
|
150 |
+
"stdev": 0.016975708007812562,
|
151 |
+
"p50": 2.6374805908203127,
|
152 |
+
"p90": 2.6510611572265628,
|
153 |
+
"p95": 2.6527587280273437,
|
154 |
+
"p99": 2.654116784667969,
|
155 |
+
"values": [
|
156 |
+
2.654456298828125,
|
157 |
+
2.6205048828125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.15201311509947
|
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.275982841491696,
|
173 |
+
"mean": 0.02085368712052055,
|
174 |
+
"stdev": 0.0014410282763780379,
|
175 |
+
"p50": 0.020489215850830078,
|
176 |
+
"p90": 0.021314968872070312,
|
177 |
+
"p95": 0.02168750076293945,
|
178 |
+
"p99": 0.022109265365600584,
|
179 |
+
"values": [
|
180 |
+
0.022297599792480468,
|
181 |
+
0.021916671752929686,
|
182 |
+
0.021799936294555664,
|
183 |
+
0.020986879348754883,
|
184 |
+
0.021004287719726563,
|
185 |
+
0.021412864685058593,
|
186 |
+
0.021604352951049805,
|
187 |
+
0.021583871841430666,
|
188 |
+
0.02165247917175293,
|
189 |
+
0.021147647857666017,
|
190 |
+
0.02123673629760742,
|
191 |
+
0.020816896438598635,
|
192 |
+
0.021349376678466796,
|
193 |
+
0.021180416107177736,
|
194 |
+
0.021175296783447265,
|
195 |
+
0.021507072448730468,
|
196 |
+
0.021710847854614256,
|
197 |
+
0.021765119552612306,
|
198 |
+
0.020965375900268556,
|
199 |
+
0.020768768310546876,
|
200 |
+
0.02083839988708496,
|
201 |
+
0.020907007217407226,
|
202 |
+
0.02085273551940918,
|
203 |
+
0.021319679260253906,
|
204 |
+
0.021786624908447266,
|
205 |
+
0.022098943710327147,
|
206 |
+
0.022120447158813478,
|
207 |
+
0.02100223922729492,
|
208 |
+
0.021219327926635743,
|
209 |
+
0.02103193664550781,
|
210 |
+
0.020939775466918945,
|
211 |
+
0.020918272018432618,
|
212 |
+
0.021230592727661132,
|
213 |
+
0.020766719818115235,
|
214 |
+
0.020936704635620116,
|
215 |
+
0.020884479522705078,
|
216 |
+
0.02086502456665039,
|
217 |
+
0.020864000320434572,
|
218 |
+
0.020694015502929687,
|
219 |
+
0.02167193603515625,
|
220 |
+
0.021356544494628905,
|
221 |
+
0.021963808059692384,
|
222 |
+
0.02136675262451172,
|
223 |
+
0.021989376068115234,
|
224 |
+
0.02171392059326172,
|
225 |
+
0.020816896438598635,
|
226 |
+
0.02207027244567871,
|
227 |
+
0.020412416458129884,
|
228 |
+
0.020487167358398437,
|
229 |
+
0.02036735916137695,
|
230 |
+
0.020385791778564453,
|
231 |
+
0.020322303771972656,
|
232 |
+
0.020366336822509764,
|
233 |
+
0.020414464950561522,
|
234 |
+
0.02041548728942871,
|
235 |
+
0.020986879348754883,
|
236 |
+
0.020372480392456056,
|
237 |
+
0.020354047775268554,
|
238 |
+
0.020412416458129884,
|
239 |
+
0.020374528884887694,
|
240 |
+
0.020370431900024414,
|
241 |
+
0.020373504638671876,
|
242 |
+
0.020489215850830078,
|
243 |
+
0.020543487548828124,
|
244 |
+
0.02043391990661621,
|
245 |
+
0.020410367965698242,
|
246 |
+
0.020370431900024414,
|
247 |
+
0.021352447509765626,
|
248 |
+
0.02111692810058594,
|
249 |
+
0.02108415985107422,
|
250 |
+
0.020426752090454102,
|
251 |
+
0.020824064254760744,
|
252 |
+
0.020914176940917968,
|
253 |
+
0.021113855361938477,
|
254 |
+
0.021120000839233398,
|
255 |
+
0.02040934371948242,
|
256 |
+
0.020413440704345705,
|
257 |
+
0.0204400634765625,
|
258 |
+
0.020540416717529295,
|
259 |
+
0.02041548728942871,
|
260 |
+
0.02047590446472168,
|
261 |
+
0.020389888763427736,
|
262 |
+
0.0204400634765625,
|
263 |
+
0.020377599716186523,
|
264 |
+
0.020396032333374024,
|
265 |
+
0.02037555122375488,
|
266 |
+
0.020380672454833985,
|
267 |
+
0.021156864166259767,
|
268 |
+
0.02107494354248047,
|
269 |
+
0.020445184707641603,
|
270 |
+
0.02039091110229492,
|
271 |
+
0.020356096267700196,
|
272 |
+
0.021146623611450196,
|
273 |
+
0.02109235191345215,
|
274 |
+
0.02105241584777832,
|
275 |
+
0.020406272888183592,
|
276 |
+
0.02045644760131836,
|
277 |
+
0.0204083194732666,
|
278 |
+
0.020403200149536133,
|
279 |
+
0.02039910316467285,
|
280 |
+
0.020387872695922852,
|
281 |
+
0.020429792404174803,
|
282 |
+
0.02039091110229492,
|
283 |
+
0.020361215591430663,
|
284 |
+
0.020976640701293944,
|
285 |
+
0.02045132827758789,
|
286 |
+
0.02040729522705078,
|
287 |
+
0.02039091110229492,
|
288 |
+
0.02042265510559082,
|
289 |
+
0.020402175903320312,
|
290 |
+
0.020392959594726562,
|
291 |
+
0.020751359939575196,
|
292 |
+
0.021106687545776368,
|
293 |
+
0.02107904052734375,
|
294 |
+
0.02104832077026367,
|
295 |
+
0.021081087112426757,
|
296 |
+
0.021123071670532227,
|
297 |
+
0.02106265640258789,
|
298 |
+
0.021129215240478515,
|
299 |
+
0.021019647598266602,
|
300 |
+
0.02119478416442871,
|
301 |
+
0.021093408584594728,
|
302 |
+
0.02117932891845703,
|
303 |
+
0.020737024307250978,
|
304 |
+
0.02104319953918457,
|
305 |
+
0.021046272277832033,
|
306 |
+
0.042659839630126956,
|
307 |
+
0.020451391220092773,
|
308 |
+
0.02041644859313965,
|
309 |
+
0.020469823837280274,
|
310 |
+
0.020447168350219726,
|
311 |
+
0.020958208084106447,
|
312 |
+
0.020372480392456056,
|
313 |
+
0.020392959594726562,
|
314 |
+
0.020858879089355468,
|
315 |
+
0.021296127319335938,
|
316 |
+
0.02104934310913086,
|
317 |
+
0.020427776336669923,
|
318 |
+
0.020382720947265624,
|
319 |
+
0.02102579116821289,
|
320 |
+
0.021005311965942384,
|
321 |
+
0.021028863906860353,
|
322 |
+
0.020547584533691408,
|
323 |
+
0.02069196891784668,
|
324 |
+
0.02042572784423828,
|
325 |
+
0.02043187141418457,
|
326 |
+
0.020419584274291993,
|
327 |
+
0.02068889617919922,
|
328 |
+
0.02048828887939453,
|
329 |
+
0.02042265510559082,
|
330 |
+
0.020379552841186522,
|
331 |
+
0.02063164710998535,
|
332 |
+
0.02043791961669922,
|
333 |
+
0.020403200149536133,
|
334 |
+
0.0204400634765625,
|
335 |
+
0.020444160461425782,
|
336 |
+
0.02039910316467285,
|
337 |
+
0.02040729522705078,
|
338 |
+
0.02066329574584961,
|
339 |
+
0.02124185562133789,
|
340 |
+
0.02107494354248047,
|
341 |
+
0.021015552520751952,
|
342 |
+
0.020372480392456056,
|
343 |
+
0.02086604881286621,
|
344 |
+
0.02042572784423828,
|
345 |
+
0.02042678451538086,
|
346 |
+
0.020442079544067383,
|
347 |
+
0.02042572784423828,
|
348 |
+
0.021147647857666017,
|
349 |
+
0.02039910316467285,
|
350 |
+
0.020379648208618165,
|
351 |
+
0.020368383407592772,
|
352 |
+
0.020363264083862305,
|
353 |
+
0.02043903923034668,
|
354 |
+
0.020392959594726562,
|
355 |
+
0.02042572784423828,
|
356 |
+
0.02042470359802246,
|
357 |
+
0.020426752090454102,
|
358 |
+
0.02043391990661621,
|
359 |
+
0.02040729522705078,
|
360 |
+
0.02039091110229492,
|
361 |
+
0.020377599716186523,
|
362 |
+
0.020381696701049806,
|
363 |
+
0.021137407302856445,
|
364 |
+
0.021131263732910157,
|
365 |
+
0.020369407653808593,
|
366 |
+
0.020387840270996094,
|
367 |
+
0.020501504898071288,
|
368 |
+
0.021081087112426757,
|
369 |
+
0.02109132766723633,
|
370 |
+
0.02103193664550781,
|
371 |
+
0.02040115165710449,
|
372 |
+
0.020382720947265624,
|
373 |
+
0.020950016021728517,
|
374 |
+
0.02105855941772461,
|
375 |
+
0.021015552520751952,
|
376 |
+
0.02042367935180664,
|
377 |
+
0.020462591171264647,
|
378 |
+
0.020373504638671876,
|
379 |
+
0.020396032333374024,
|
380 |
+
0.020658176422119142,
|
381 |
+
0.021124095916748048,
|
382 |
+
0.02102272033691406,
|
383 |
+
0.020406272888183592,
|
384 |
+
0.020380672454833985,
|
385 |
+
0.020398143768310548,
|
386 |
+
0.020422592163085937,
|
387 |
+
0.02110054397583008,
|
388 |
+
0.02122854423522949,
|
389 |
+
0.020436992645263673,
|
390 |
+
0.02042367935180664,
|
391 |
+
0.02047488021850586,
|
392 |
+
0.021165056228637694,
|
393 |
+
0.02107596778869629,
|
394 |
+
0.020428800582885744,
|
395 |
+
0.020413440704345705,
|
396 |
+
0.02146099281311035,
|
397 |
+
0.021154815673828126,
|
398 |
+
0.02126438331604004,
|
399 |
+
0.02150912094116211,
|
400 |
+
0.021138431549072266,
|
401 |
+
0.02085273551940918,
|
402 |
+
0.02039910316467285,
|
403 |
+
0.020452352523803712,
|
404 |
+
0.02040934371948242,
|
405 |
+
0.020426752090454102,
|
406 |
+
0.020476959228515626,
|
407 |
+
0.020433887481689453,
|
408 |
+
0.020403200149536133,
|
409 |
+
0.02043084716796875,
|
410 |
+
0.020378623962402344,
|
411 |
+
0.020978687286376953,
|
412 |
+
0.0204083194732666,
|
413 |
+
0.020445184707641603,
|
414 |
+
0.0204083194732666,
|
415 |
+
0.020389888763427736,
|
416 |
+
0.02107187271118164,
|
417 |
+
0.02079033660888672,
|
418 |
+
0.020458431243896485,
|
419 |
+
0.020733951568603515,
|
420 |
+
0.02104422378540039,
|
421 |
+
0.02106982421875,
|
422 |
+
0.020366336822509764,
|
423 |
+
0.020411392211914063,
|
424 |
+
0.020361215591430663,
|
425 |
+
0.02036735916137695,
|
426 |
+
0.02105753517150879,
|
427 |
+
0.021173248291015623,
|
428 |
+
0.020395008087158203,
|
429 |
+
0.020368383407592772,
|
430 |
+
0.02040115165710449,
|
431 |
+
0.02045952033996582,
|
432 |
+
0.020382720947265624
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 47.95315064528684
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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.7264,
|
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.04485519981384277,
|
15 |
+
"mean": 0.022427599906921385,
|
16 |
+
"stdev": 0.00027784061431884895,
|
17 |
+
"p50": 0.022427599906921385,
|
18 |
+
"p90": 0.022649872398376465,
|
19 |
+
"p95": 0.022677656459808352,
|
20 |
+
"p99": 0.022699883708953858,
|
21 |
+
"values": [
|
22 |
+
0.022705440521240235,
|
23 |
+
0.022149759292602537
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 312.11543049863883
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1754.742784,
|
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.274961181640625,
|
46 |
+
"mean": 2.6374805908203127,
|
47 |
+
"stdev": 0.016975708007812562,
|
48 |
+
"p50": 2.6374805908203127,
|
49 |
+
"p90": 2.6510611572265628,
|
50 |
+
"p95": 2.6527587280273437,
|
51 |
+
"p99": 2.654116784667969,
|
52 |
+
"values": [
|
53 |
+
2.654456298828125,
|
54 |
+
2.6205048828125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.15201311509947
|
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.275982841491696,
|
70 |
+
"mean": 0.02085368712052055,
|
71 |
+
"stdev": 0.0014410282763780379,
|
72 |
+
"p50": 0.020489215850830078,
|
73 |
+
"p90": 0.021314968872070312,
|
74 |
+
"p95": 0.02168750076293945,
|
75 |
+
"p99": 0.022109265365600584,
|
76 |
+
"values": [
|
77 |
+
0.022297599792480468,
|
78 |
+
0.021916671752929686,
|
79 |
+
0.021799936294555664,
|
80 |
+
0.020986879348754883,
|
81 |
+
0.021004287719726563,
|
82 |
+
0.021412864685058593,
|
83 |
+
0.021604352951049805,
|
84 |
+
0.021583871841430666,
|
85 |
+
0.02165247917175293,
|
86 |
+
0.021147647857666017,
|
87 |
+
0.02123673629760742,
|
88 |
+
0.020816896438598635,
|
89 |
+
0.021349376678466796,
|
90 |
+
0.021180416107177736,
|
91 |
+
0.021175296783447265,
|
92 |
+
0.021507072448730468,
|
93 |
+
0.021710847854614256,
|
94 |
+
0.021765119552612306,
|
95 |
+
0.020965375900268556,
|
96 |
+
0.020768768310546876,
|
97 |
+
0.02083839988708496,
|
98 |
+
0.020907007217407226,
|
99 |
+
0.02085273551940918,
|
100 |
+
0.021319679260253906,
|
101 |
+
0.021786624908447266,
|
102 |
+
0.022098943710327147,
|
103 |
+
0.022120447158813478,
|
104 |
+
0.02100223922729492,
|
105 |
+
0.021219327926635743,
|
106 |
+
0.02103193664550781,
|
107 |
+
0.020939775466918945,
|
108 |
+
0.020918272018432618,
|
109 |
+
0.021230592727661132,
|
110 |
+
0.020766719818115235,
|
111 |
+
0.020936704635620116,
|
112 |
+
0.020884479522705078,
|
113 |
+
0.02086502456665039,
|
114 |
+
0.020864000320434572,
|
115 |
+
0.020694015502929687,
|
116 |
+
0.02167193603515625,
|
117 |
+
0.021356544494628905,
|
118 |
+
0.021963808059692384,
|
119 |
+
0.02136675262451172,
|
120 |
+
0.021989376068115234,
|
121 |
+
0.02171392059326172,
|
122 |
+
0.020816896438598635,
|
123 |
+
0.02207027244567871,
|
124 |
+
0.020412416458129884,
|
125 |
+
0.020487167358398437,
|
126 |
+
0.02036735916137695,
|
127 |
+
0.020385791778564453,
|
128 |
+
0.020322303771972656,
|
129 |
+
0.020366336822509764,
|
130 |
+
0.020414464950561522,
|
131 |
+
0.02041548728942871,
|
132 |
+
0.020986879348754883,
|
133 |
+
0.020372480392456056,
|
134 |
+
0.020354047775268554,
|
135 |
+
0.020412416458129884,
|
136 |
+
0.020374528884887694,
|
137 |
+
0.020370431900024414,
|
138 |
+
0.020373504638671876,
|
139 |
+
0.020489215850830078,
|
140 |
+
0.020543487548828124,
|
141 |
+
0.02043391990661621,
|
142 |
+
0.020410367965698242,
|
143 |
+
0.020370431900024414,
|
144 |
+
0.021352447509765626,
|
145 |
+
0.02111692810058594,
|
146 |
+
0.02108415985107422,
|
147 |
+
0.020426752090454102,
|
148 |
+
0.020824064254760744,
|
149 |
+
0.020914176940917968,
|
150 |
+
0.021113855361938477,
|
151 |
+
0.021120000839233398,
|
152 |
+
0.02040934371948242,
|
153 |
+
0.020413440704345705,
|
154 |
+
0.0204400634765625,
|
155 |
+
0.020540416717529295,
|
156 |
+
0.02041548728942871,
|
157 |
+
0.02047590446472168,
|
158 |
+
0.020389888763427736,
|
159 |
+
0.0204400634765625,
|
160 |
+
0.020377599716186523,
|
161 |
+
0.020396032333374024,
|
162 |
+
0.02037555122375488,
|
163 |
+
0.020380672454833985,
|
164 |
+
0.021156864166259767,
|
165 |
+
0.02107494354248047,
|
166 |
+
0.020445184707641603,
|
167 |
+
0.02039091110229492,
|
168 |
+
0.020356096267700196,
|
169 |
+
0.021146623611450196,
|
170 |
+
0.02109235191345215,
|
171 |
+
0.02105241584777832,
|
172 |
+
0.020406272888183592,
|
173 |
+
0.02045644760131836,
|
174 |
+
0.0204083194732666,
|
175 |
+
0.020403200149536133,
|
176 |
+
0.02039910316467285,
|
177 |
+
0.020387872695922852,
|
178 |
+
0.020429792404174803,
|
179 |
+
0.02039091110229492,
|
180 |
+
0.020361215591430663,
|
181 |
+
0.020976640701293944,
|
182 |
+
0.02045132827758789,
|
183 |
+
0.02040729522705078,
|
184 |
+
0.02039091110229492,
|
185 |
+
0.02042265510559082,
|
186 |
+
0.020402175903320312,
|
187 |
+
0.020392959594726562,
|
188 |
+
0.020751359939575196,
|
189 |
+
0.021106687545776368,
|
190 |
+
0.02107904052734375,
|
191 |
+
0.02104832077026367,
|
192 |
+
0.021081087112426757,
|
193 |
+
0.021123071670532227,
|
194 |
+
0.02106265640258789,
|
195 |
+
0.021129215240478515,
|
196 |
+
0.021019647598266602,
|
197 |
+
0.02119478416442871,
|
198 |
+
0.021093408584594728,
|
199 |
+
0.02117932891845703,
|
200 |
+
0.020737024307250978,
|
201 |
+
0.02104319953918457,
|
202 |
+
0.021046272277832033,
|
203 |
+
0.042659839630126956,
|
204 |
+
0.020451391220092773,
|
205 |
+
0.02041644859313965,
|
206 |
+
0.020469823837280274,
|
207 |
+
0.020447168350219726,
|
208 |
+
0.020958208084106447,
|
209 |
+
0.020372480392456056,
|
210 |
+
0.020392959594726562,
|
211 |
+
0.020858879089355468,
|
212 |
+
0.021296127319335938,
|
213 |
+
0.02104934310913086,
|
214 |
+
0.020427776336669923,
|
215 |
+
0.020382720947265624,
|
216 |
+
0.02102579116821289,
|
217 |
+
0.021005311965942384,
|
218 |
+
0.021028863906860353,
|
219 |
+
0.020547584533691408,
|
220 |
+
0.02069196891784668,
|
221 |
+
0.02042572784423828,
|
222 |
+
0.02043187141418457,
|
223 |
+
0.020419584274291993,
|
224 |
+
0.02068889617919922,
|
225 |
+
0.02048828887939453,
|
226 |
+
0.02042265510559082,
|
227 |
+
0.020379552841186522,
|
228 |
+
0.02063164710998535,
|
229 |
+
0.02043791961669922,
|
230 |
+
0.020403200149536133,
|
231 |
+
0.0204400634765625,
|
232 |
+
0.020444160461425782,
|
233 |
+
0.02039910316467285,
|
234 |
+
0.02040729522705078,
|
235 |
+
0.02066329574584961,
|
236 |
+
0.02124185562133789,
|
237 |
+
0.02107494354248047,
|
238 |
+
0.021015552520751952,
|
239 |
+
0.020372480392456056,
|
240 |
+
0.02086604881286621,
|
241 |
+
0.02042572784423828,
|
242 |
+
0.02042678451538086,
|
243 |
+
0.020442079544067383,
|
244 |
+
0.02042572784423828,
|
245 |
+
0.021147647857666017,
|
246 |
+
0.02039910316467285,
|
247 |
+
0.020379648208618165,
|
248 |
+
0.020368383407592772,
|
249 |
+
0.020363264083862305,
|
250 |
+
0.02043903923034668,
|
251 |
+
0.020392959594726562,
|
252 |
+
0.02042572784423828,
|
253 |
+
0.02042470359802246,
|
254 |
+
0.020426752090454102,
|
255 |
+
0.02043391990661621,
|
256 |
+
0.02040729522705078,
|
257 |
+
0.02039091110229492,
|
258 |
+
0.020377599716186523,
|
259 |
+
0.020381696701049806,
|
260 |
+
0.021137407302856445,
|
261 |
+
0.021131263732910157,
|
262 |
+
0.020369407653808593,
|
263 |
+
0.020387840270996094,
|
264 |
+
0.020501504898071288,
|
265 |
+
0.021081087112426757,
|
266 |
+
0.02109132766723633,
|
267 |
+
0.02103193664550781,
|
268 |
+
0.02040115165710449,
|
269 |
+
0.020382720947265624,
|
270 |
+
0.020950016021728517,
|
271 |
+
0.02105855941772461,
|
272 |
+
0.021015552520751952,
|
273 |
+
0.02042367935180664,
|
274 |
+
0.020462591171264647,
|
275 |
+
0.020373504638671876,
|
276 |
+
0.020396032333374024,
|
277 |
+
0.020658176422119142,
|
278 |
+
0.021124095916748048,
|
279 |
+
0.02102272033691406,
|
280 |
+
0.020406272888183592,
|
281 |
+
0.020380672454833985,
|
282 |
+
0.020398143768310548,
|
283 |
+
0.020422592163085937,
|
284 |
+
0.02110054397583008,
|
285 |
+
0.02122854423522949,
|
286 |
+
0.020436992645263673,
|
287 |
+
0.02042367935180664,
|
288 |
+
0.02047488021850586,
|
289 |
+
0.021165056228637694,
|
290 |
+
0.02107596778869629,
|
291 |
+
0.020428800582885744,
|
292 |
+
0.020413440704345705,
|
293 |
+
0.02146099281311035,
|
294 |
+
0.021154815673828126,
|
295 |
+
0.02126438331604004,
|
296 |
+
0.02150912094116211,
|
297 |
+
0.021138431549072266,
|
298 |
+
0.02085273551940918,
|
299 |
+
0.02039910316467285,
|
300 |
+
0.020452352523803712,
|
301 |
+
0.02040934371948242,
|
302 |
+
0.020426752090454102,
|
303 |
+
0.020476959228515626,
|
304 |
+
0.020433887481689453,
|
305 |
+
0.020403200149536133,
|
306 |
+
0.02043084716796875,
|
307 |
+
0.020378623962402344,
|
308 |
+
0.020978687286376953,
|
309 |
+
0.0204083194732666,
|
310 |
+
0.020445184707641603,
|
311 |
+
0.0204083194732666,
|
312 |
+
0.020389888763427736,
|
313 |
+
0.02107187271118164,
|
314 |
+
0.02079033660888672,
|
315 |
+
0.020458431243896485,
|
316 |
+
0.020733951568603515,
|
317 |
+
0.02104422378540039,
|
318 |
+
0.02106982421875,
|
319 |
+
0.020366336822509764,
|
320 |
+
0.020411392211914063,
|
321 |
+
0.020361215591430663,
|
322 |
+
0.02036735916137695,
|
323 |
+
0.02105753517150879,
|
324 |
+
0.021173248291015623,
|
325 |
+
0.020395008087158203,
|
326 |
+
0.020368383407592772,
|
327 |
+
0.02040115165710449,
|
328 |
+
0.02045952033996582,
|
329 |
+
0.020382720947265624
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 47.95315064528684
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022427599906921385,
|
7 |
+
"prefill.throughput.value": 312.11543049863883,
|
8 |
+
"decode.latency.mean": 2.6374805908203127,
|
9 |
+
"decode.throughput.value": 48.15201311509947,
|
10 |
+
"per_token.latency.mean": 0.02085368712052055,
|
11 |
+
"per_token.throughput.value": 47.95315064528684
|
12 |
+
}
|
13 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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: 1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
88 |
+
- hydra.run.dir=_benchmark/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${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/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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": 1920.671744,
|
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.02809219169616699,
|
118 |
+
"mean": 0.014046095848083496,
|
119 |
+
"stdev": 0.00011905574798583979,
|
120 |
+
"p50": 0.014046095848083496,
|
121 |
+
"p90": 0.014141340446472167,
|
122 |
+
"p95": 0.014153246021270752,
|
123 |
+
"p99": 0.014162770481109619,
|
124 |
+
"values": [
|
125 |
+
0.014165151596069335,
|
126 |
+
0.013927040100097656
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.35912240020116
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2264.449024,
|
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.152616455078125,
|
149 |
+
"mean": 1.5763082275390625,
|
150 |
+
"stdev": 0.017888916015625034,
|
151 |
+
"p50": 1.5763082275390625,
|
152 |
+
"p90": 1.5906193603515626,
|
153 |
+
"p95": 1.592408251953125,
|
154 |
+
"p99": 1.593839365234375,
|
155 |
+
"values": [
|
156 |
+
1.5941971435546876,
|
157 |
+
1.5584193115234375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.5679991902807
|
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.153643517494201,
|
173 |
+
"mean": 0.012464994140293287,
|
174 |
+
"stdev": 0.0009052381868142423,
|
175 |
+
"p50": 0.012282879829406738,
|
176 |
+
"p90": 0.012759654426574708,
|
177 |
+
"p95": 0.012778495788574219,
|
178 |
+
"p99": 0.012865126609802244,
|
179 |
+
"values": [
|
180 |
+
0.01275494384765625,
|
181 |
+
0.012758015632629394,
|
182 |
+
0.012731391906738282,
|
183 |
+
0.012768256187438964,
|
184 |
+
0.012796928405761718,
|
185 |
+
0.01284505558013916,
|
186 |
+
0.012721152305603027,
|
187 |
+
0.0127457275390625,
|
188 |
+
0.012721152305603027,
|
189 |
+
0.01276518440246582,
|
190 |
+
0.01274880027770996,
|
191 |
+
0.012807168006896973,
|
192 |
+
0.012711935997009278,
|
193 |
+
0.012729344367980957,
|
194 |
+
0.01268019199371338,
|
195 |
+
0.012770303726196289,
|
196 |
+
0.012782591819763184,
|
197 |
+
0.01276211166381836,
|
198 |
+
0.012727295875549317,
|
199 |
+
0.012776448249816894,
|
200 |
+
0.012734463691711426,
|
201 |
+
0.012782591819763184,
|
202 |
+
0.012778495788574219,
|
203 |
+
0.012772352218627929,
|
204 |
+
0.012706815719604492,
|
205 |
+
0.01276416015625,
|
206 |
+
0.012735487937927246,
|
207 |
+
0.01276313591003418,
|
208 |
+
0.012708864212036132,
|
209 |
+
0.01274675178527832,
|
210 |
+
0.012711935997009278,
|
211 |
+
0.012826623916625977,
|
212 |
+
0.012747776031494141,
|
213 |
+
0.012717056274414062,
|
214 |
+
0.012692480087280274,
|
215 |
+
0.012694527626037597,
|
216 |
+
0.012703743934631348,
|
217 |
+
0.01285529613494873,
|
218 |
+
0.012749823570251465,
|
219 |
+
0.012742655754089355,
|
220 |
+
0.012679167747497559,
|
221 |
+
0.012761088371276855,
|
222 |
+
0.012778495788574219,
|
223 |
+
0.012801024436950683,
|
224 |
+
0.012731391906738282,
|
225 |
+
0.012790783882141114,
|
226 |
+
0.012720128059387208,
|
227 |
+
0.01276416015625,
|
228 |
+
0.01274675178527832,
|
229 |
+
0.012742655754089355,
|
230 |
+
0.012698623657226562,
|
231 |
+
0.012742655754089355,
|
232 |
+
0.012706815719604492,
|
233 |
+
0.012883968353271484,
|
234 |
+
0.01273855972290039,
|
235 |
+
0.012760064125061036,
|
236 |
+
0.012706815719604492,
|
237 |
+
0.012737536430358886,
|
238 |
+
0.012725248336791992,
|
239 |
+
0.01273855972290039,
|
240 |
+
0.012709888458251953,
|
241 |
+
0.012769280433654785,
|
242 |
+
0.012691455841064453,
|
243 |
+
0.012710911750793457,
|
244 |
+
0.012576767921447754,
|
245 |
+
0.012626943588256835,
|
246 |
+
0.012689408302307128,
|
247 |
+
0.012583935737609863,
|
248 |
+
0.012630016326904296,
|
249 |
+
0.012875776290893554,
|
250 |
+
0.012595199584960937,
|
251 |
+
0.01268838405609131,
|
252 |
+
0.012669952392578124,
|
253 |
+
0.012405759811401367,
|
254 |
+
0.012461055755615234,
|
255 |
+
0.01253990364074707,
|
256 |
+
0.012405759811401367,
|
257 |
+
0.012313599586486817,
|
258 |
+
0.012297216415405274,
|
259 |
+
0.012322815895080566,
|
260 |
+
0.012249088287353516,
|
261 |
+
0.012278783798217773,
|
262 |
+
0.012244992256164551,
|
263 |
+
0.012285951614379884,
|
264 |
+
0.012255231857299804,
|
265 |
+
0.012282879829406738,
|
266 |
+
0.012239871978759765,
|
267 |
+
0.012286975860595703,
|
268 |
+
0.01223475170135498,
|
269 |
+
0.012274687767028808,
|
270 |
+
0.012238847732543945,
|
271 |
+
0.012286975860595703,
|
272 |
+
0.01225113582611084,
|
273 |
+
0.012338175773620605,
|
274 |
+
0.01225113582611084,
|
275 |
+
0.012380160331726075,
|
276 |
+
0.012329983711242675,
|
277 |
+
0.012533760070800782,
|
278 |
+
0.012289024353027344,
|
279 |
+
0.012312576293945313,
|
280 |
+
0.01226035213470459,
|
281 |
+
0.012279808044433594,
|
282 |
+
0.012241920471191407,
|
283 |
+
0.012278783798217773,
|
284 |
+
0.01223475170135498,
|
285 |
+
0.01226854419708252,
|
286 |
+
0.012246015548706055,
|
287 |
+
0.012306431770324706,
|
288 |
+
0.01225011157989502,
|
289 |
+
0.012274687767028808,
|
290 |
+
0.012233728408813477,
|
291 |
+
0.012278783798217773,
|
292 |
+
0.012236800193786621,
|
293 |
+
0.01226854419708252,
|
294 |
+
0.012246015548706055,
|
295 |
+
0.012285951614379884,
|
296 |
+
0.01223475170135498,
|
297 |
+
0.012273664474487305,
|
298 |
+
0.012239871978759765,
|
299 |
+
0.012281855583190919,
|
300 |
+
0.012238847732543945,
|
301 |
+
0.012307456016540527,
|
302 |
+
0.012254207611083985,
|
303 |
+
0.01229312038421631,
|
304 |
+
0.012256256103515625,
|
305 |
+
0.012289024353027344,
|
306 |
+
0.026417152404785156,
|
307 |
+
0.012241920471191407,
|
308 |
+
0.012294143676757812,
|
309 |
+
0.01224294376373291,
|
310 |
+
0.01229312038421631,
|
311 |
+
0.012239871978759765,
|
312 |
+
0.012285951614379884,
|
313 |
+
0.012255231857299804,
|
314 |
+
0.012272640228271485,
|
315 |
+
0.012238847732543945,
|
316 |
+
0.012278783798217773,
|
317 |
+
0.012229632377624512,
|
318 |
+
0.012283904075622559,
|
319 |
+
0.012232704162597656,
|
320 |
+
0.012264448165893555,
|
321 |
+
0.012240896224975586,
|
322 |
+
0.012275712013244629,
|
323 |
+
0.012255231857299804,
|
324 |
+
0.012290047645568849,
|
325 |
+
0.012241920471191407,
|
326 |
+
0.01227673625946045,
|
327 |
+
0.012238880157470704,
|
328 |
+
0.012285920143127441,
|
329 |
+
0.01226035213470459,
|
330 |
+
0.012286975860595703,
|
331 |
+
0.012229632377624512,
|
332 |
+
0.012292096138000488,
|
333 |
+
0.012236800193786621,
|
334 |
+
0.012340224266052247,
|
335 |
+
0.012239871978759765,
|
336 |
+
0.012275712013244629,
|
337 |
+
0.012239871978759765,
|
338 |
+
0.012282879829406738,
|
339 |
+
0.012244992256164551,
|
340 |
+
0.01227673625946045,
|
341 |
+
0.01222758388519287,
|
342 |
+
0.012274687767028808,
|
343 |
+
0.012347392082214356,
|
344 |
+
0.01253990364074707,
|
345 |
+
0.012705792427062988,
|
346 |
+
0.012386303901672363,
|
347 |
+
0.01226035213470459,
|
348 |
+
0.01227673625946045,
|
349 |
+
0.01224396800994873,
|
350 |
+
0.012336128234863282,
|
351 |
+
0.012263423919677734,
|
352 |
+
0.012303359985351562,
|
353 |
+
0.012244992256164551,
|
354 |
+
0.012288000106811523,
|
355 |
+
0.012236800193786621,
|
356 |
+
0.012275712013244629,
|
357 |
+
0.012228608131408691,
|
358 |
+
0.012273664474487305,
|
359 |
+
0.012247039794921874,
|
360 |
+
0.012318719863891601,
|
361 |
+
0.012232704162597656,
|
362 |
+
0.012288000106811523,
|
363 |
+
0.012248064041137695,
|
364 |
+
0.012274687767028808,
|
365 |
+
0.012246015548706055,
|
366 |
+
0.012299263954162597,
|
367 |
+
0.012239871978759765,
|
368 |
+
0.012272640228271485,
|
369 |
+
0.012229632377624512,
|
370 |
+
0.012271615982055664,
|
371 |
+
0.012230655670166016,
|
372 |
+
0.01227673625946045,
|
373 |
+
0.012222463607788087,
|
374 |
+
0.012280832290649414,
|
375 |
+
0.012240896224975586,
|
376 |
+
0.012290047645568849,
|
377 |
+
0.012230655670166016,
|
378 |
+
0.012311552047729492,
|
379 |
+
0.012246015548706055,
|
380 |
+
0.012305407524108887,
|
381 |
+
0.012272640228271485,
|
382 |
+
0.012297216415405274,
|
383 |
+
0.012239871978759765,
|
384 |
+
0.012289024353027344,
|
385 |
+
0.012240896224975586,
|
386 |
+
0.012270591735839843,
|
387 |
+
0.012247039794921874,
|
388 |
+
0.01229312038421631,
|
389 |
+
0.01225011157989502,
|
390 |
+
0.012285951614379884,
|
391 |
+
0.012228608131408691,
|
392 |
+
0.012282879829406738,
|
393 |
+
0.0122357759475708,
|
394 |
+
0.012278783798217773,
|
395 |
+
0.012246015548706055,
|
396 |
+
0.012304384231567383,
|
397 |
+
0.01224396800994873,
|
398 |
+
0.012281855583190919,
|
399 |
+
0.012229632377624512,
|
400 |
+
0.012277759552001954,
|
401 |
+
0.0122357759475708,
|
402 |
+
0.01226956844329834,
|
403 |
+
0.012233728408813477,
|
404 |
+
0.012275712013244629,
|
405 |
+
0.012233728408813477,
|
406 |
+
0.012278783798217773,
|
407 |
+
0.012225536346435547,
|
408 |
+
0.012274687767028808,
|
409 |
+
0.012226559638977052,
|
410 |
+
0.012267519950866699,
|
411 |
+
0.01226035213470459,
|
412 |
+
0.012272640228271485,
|
413 |
+
0.01224294376373291,
|
414 |
+
0.012267519950866699,
|
415 |
+
0.012228608131408691,
|
416 |
+
0.012277759552001954,
|
417 |
+
0.012229632377624512,
|
418 |
+
0.012270591735839843,
|
419 |
+
0.012216320037841797,
|
420 |
+
0.012277759552001954,
|
421 |
+
0.012233728408813477,
|
422 |
+
0.01226956844329834,
|
423 |
+
0.012223551750183106,
|
424 |
+
0.01228281593322754,
|
425 |
+
0.012236800193786621,
|
426 |
+
0.012291071891784668,
|
427 |
+
0.01225216007232666,
|
428 |
+
0.012292096138000488,
|
429 |
+
0.012255231857299804,
|
430 |
+
0.012281855583190919,
|
431 |
+
0.012231679916381836,
|
432 |
+
0.01226854419708252
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.22466667412898
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
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-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": 1920.671744,
|
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.02809219169616699,
|
15 |
+
"mean": 0.014046095848083496,
|
16 |
+
"stdev": 0.00011905574798583979,
|
17 |
+
"p50": 0.014046095848083496,
|
18 |
+
"p90": 0.014141340446472167,
|
19 |
+
"p95": 0.014153246021270752,
|
20 |
+
"p99": 0.014162770481109619,
|
21 |
+
"values": [
|
22 |
+
0.014165151596069335,
|
23 |
+
0.013927040100097656
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.35912240020116
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2264.449024,
|
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.152616455078125,
|
46 |
+
"mean": 1.5763082275390625,
|
47 |
+
"stdev": 0.017888916015625034,
|
48 |
+
"p50": 1.5763082275390625,
|
49 |
+
"p90": 1.5906193603515626,
|
50 |
+
"p95": 1.592408251953125,
|
51 |
+
"p99": 1.593839365234375,
|
52 |
+
"values": [
|
53 |
+
1.5941971435546876,
|
54 |
+
1.5584193115234375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.5679991902807
|
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.153643517494201,
|
70 |
+
"mean": 0.012464994140293287,
|
71 |
+
"stdev": 0.0009052381868142423,
|
72 |
+
"p50": 0.012282879829406738,
|
73 |
+
"p90": 0.012759654426574708,
|
74 |
+
"p95": 0.012778495788574219,
|
75 |
+
"p99": 0.012865126609802244,
|
76 |
+
"values": [
|
77 |
+
0.01275494384765625,
|
78 |
+
0.012758015632629394,
|
79 |
+
0.012731391906738282,
|
80 |
+
0.012768256187438964,
|
81 |
+
0.012796928405761718,
|
82 |
+
0.01284505558013916,
|
83 |
+
0.012721152305603027,
|
84 |
+
0.0127457275390625,
|
85 |
+
0.012721152305603027,
|
86 |
+
0.01276518440246582,
|
87 |
+
0.01274880027770996,
|
88 |
+
0.012807168006896973,
|
89 |
+
0.012711935997009278,
|
90 |
+
0.012729344367980957,
|
91 |
+
0.01268019199371338,
|
92 |
+
0.012770303726196289,
|
93 |
+
0.012782591819763184,
|
94 |
+
0.01276211166381836,
|
95 |
+
0.012727295875549317,
|
96 |
+
0.012776448249816894,
|
97 |
+
0.012734463691711426,
|
98 |
+
0.012782591819763184,
|
99 |
+
0.012778495788574219,
|
100 |
+
0.012772352218627929,
|
101 |
+
0.012706815719604492,
|
102 |
+
0.01276416015625,
|
103 |
+
0.012735487937927246,
|
104 |
+
0.01276313591003418,
|
105 |
+
0.012708864212036132,
|
106 |
+
0.01274675178527832,
|
107 |
+
0.012711935997009278,
|
108 |
+
0.012826623916625977,
|
109 |
+
0.012747776031494141,
|
110 |
+
0.012717056274414062,
|
111 |
+
0.012692480087280274,
|
112 |
+
0.012694527626037597,
|
113 |
+
0.012703743934631348,
|
114 |
+
0.01285529613494873,
|
115 |
+
0.012749823570251465,
|
116 |
+
0.012742655754089355,
|
117 |
+
0.012679167747497559,
|
118 |
+
0.012761088371276855,
|
119 |
+
0.012778495788574219,
|
120 |
+
0.012801024436950683,
|
121 |
+
0.012731391906738282,
|
122 |
+
0.012790783882141114,
|
123 |
+
0.012720128059387208,
|
124 |
+
0.01276416015625,
|
125 |
+
0.01274675178527832,
|
126 |
+
0.012742655754089355,
|
127 |
+
0.012698623657226562,
|
128 |
+
0.012742655754089355,
|
129 |
+
0.012706815719604492,
|
130 |
+
0.012883968353271484,
|
131 |
+
0.01273855972290039,
|
132 |
+
0.012760064125061036,
|
133 |
+
0.012706815719604492,
|
134 |
+
0.012737536430358886,
|
135 |
+
0.012725248336791992,
|
136 |
+
0.01273855972290039,
|
137 |
+
0.012709888458251953,
|
138 |
+
0.012769280433654785,
|
139 |
+
0.012691455841064453,
|
140 |
+
0.012710911750793457,
|
141 |
+
0.012576767921447754,
|
142 |
+
0.012626943588256835,
|
143 |
+
0.012689408302307128,
|
144 |
+
0.012583935737609863,
|
145 |
+
0.012630016326904296,
|
146 |
+
0.012875776290893554,
|
147 |
+
0.012595199584960937,
|
148 |
+
0.01268838405609131,
|
149 |
+
0.012669952392578124,
|
150 |
+
0.012405759811401367,
|
151 |
+
0.012461055755615234,
|
152 |
+
0.01253990364074707,
|
153 |
+
0.012405759811401367,
|
154 |
+
0.012313599586486817,
|
155 |
+
0.012297216415405274,
|
156 |
+
0.012322815895080566,
|
157 |
+
0.012249088287353516,
|
158 |
+
0.012278783798217773,
|
159 |
+
0.012244992256164551,
|
160 |
+
0.012285951614379884,
|
161 |
+
0.012255231857299804,
|
162 |
+
0.012282879829406738,
|
163 |
+
0.012239871978759765,
|
164 |
+
0.012286975860595703,
|
165 |
+
0.01223475170135498,
|
166 |
+
0.012274687767028808,
|
167 |
+
0.012238847732543945,
|
168 |
+
0.012286975860595703,
|
169 |
+
0.01225113582611084,
|
170 |
+
0.012338175773620605,
|
171 |
+
0.01225113582611084,
|
172 |
+
0.012380160331726075,
|
173 |
+
0.012329983711242675,
|
174 |
+
0.012533760070800782,
|
175 |
+
0.012289024353027344,
|
176 |
+
0.012312576293945313,
|
177 |
+
0.01226035213470459,
|
178 |
+
0.012279808044433594,
|
179 |
+
0.012241920471191407,
|
180 |
+
0.012278783798217773,
|
181 |
+
0.01223475170135498,
|
182 |
+
0.01226854419708252,
|
183 |
+
0.012246015548706055,
|
184 |
+
0.012306431770324706,
|
185 |
+
0.01225011157989502,
|
186 |
+
0.012274687767028808,
|
187 |
+
0.012233728408813477,
|
188 |
+
0.012278783798217773,
|
189 |
+
0.012236800193786621,
|
190 |
+
0.01226854419708252,
|
191 |
+
0.012246015548706055,
|
192 |
+
0.012285951614379884,
|
193 |
+
0.01223475170135498,
|
194 |
+
0.012273664474487305,
|
195 |
+
0.012239871978759765,
|
196 |
+
0.012281855583190919,
|
197 |
+
0.012238847732543945,
|
198 |
+
0.012307456016540527,
|
199 |
+
0.012254207611083985,
|
200 |
+
0.01229312038421631,
|
201 |
+
0.012256256103515625,
|
202 |
+
0.012289024353027344,
|
203 |
+
0.026417152404785156,
|
204 |
+
0.012241920471191407,
|
205 |
+
0.012294143676757812,
|
206 |
+
0.01224294376373291,
|
207 |
+
0.01229312038421631,
|
208 |
+
0.012239871978759765,
|
209 |
+
0.012285951614379884,
|
210 |
+
0.012255231857299804,
|
211 |
+
0.012272640228271485,
|
212 |
+
0.012238847732543945,
|
213 |
+
0.012278783798217773,
|
214 |
+
0.012229632377624512,
|
215 |
+
0.012283904075622559,
|
216 |
+
0.012232704162597656,
|
217 |
+
0.012264448165893555,
|
218 |
+
0.012240896224975586,
|
219 |
+
0.012275712013244629,
|
220 |
+
0.012255231857299804,
|
221 |
+
0.012290047645568849,
|
222 |
+
0.012241920471191407,
|
223 |
+
0.01227673625946045,
|
224 |
+
0.012238880157470704,
|
225 |
+
0.012285920143127441,
|
226 |
+
0.01226035213470459,
|
227 |
+
0.012286975860595703,
|
228 |
+
0.012229632377624512,
|
229 |
+
0.012292096138000488,
|
230 |
+
0.012236800193786621,
|
231 |
+
0.012340224266052247,
|
232 |
+
0.012239871978759765,
|
233 |
+
0.012275712013244629,
|
234 |
+
0.012239871978759765,
|
235 |
+
0.012282879829406738,
|
236 |
+
0.012244992256164551,
|
237 |
+
0.01227673625946045,
|
238 |
+
0.01222758388519287,
|
239 |
+
0.012274687767028808,
|
240 |
+
0.012347392082214356,
|
241 |
+
0.01253990364074707,
|
242 |
+
0.012705792427062988,
|
243 |
+
0.012386303901672363,
|
244 |
+
0.01226035213470459,
|
245 |
+
0.01227673625946045,
|
246 |
+
0.01224396800994873,
|
247 |
+
0.012336128234863282,
|
248 |
+
0.012263423919677734,
|
249 |
+
0.012303359985351562,
|
250 |
+
0.012244992256164551,
|
251 |
+
0.012288000106811523,
|
252 |
+
0.012236800193786621,
|
253 |
+
0.012275712013244629,
|
254 |
+
0.012228608131408691,
|
255 |
+
0.012273664474487305,
|
256 |
+
0.012247039794921874,
|
257 |
+
0.012318719863891601,
|
258 |
+
0.012232704162597656,
|
259 |
+
0.012288000106811523,
|
260 |
+
0.012248064041137695,
|
261 |
+
0.012274687767028808,
|
262 |
+
0.012246015548706055,
|
263 |
+
0.012299263954162597,
|
264 |
+
0.012239871978759765,
|
265 |
+
0.012272640228271485,
|
266 |
+
0.012229632377624512,
|
267 |
+
0.012271615982055664,
|
268 |
+
0.012230655670166016,
|
269 |
+
0.01227673625946045,
|
270 |
+
0.012222463607788087,
|
271 |
+
0.012280832290649414,
|
272 |
+
0.012240896224975586,
|
273 |
+
0.012290047645568849,
|
274 |
+
0.012230655670166016,
|
275 |
+
0.012311552047729492,
|
276 |
+
0.012246015548706055,
|
277 |
+
0.012305407524108887,
|
278 |
+
0.012272640228271485,
|
279 |
+
0.012297216415405274,
|
280 |
+
0.012239871978759765,
|
281 |
+
0.012289024353027344,
|
282 |
+
0.012240896224975586,
|
283 |
+
0.012270591735839843,
|
284 |
+
0.012247039794921874,
|
285 |
+
0.01229312038421631,
|
286 |
+
0.01225011157989502,
|
287 |
+
0.012285951614379884,
|
288 |
+
0.012228608131408691,
|
289 |
+
0.012282879829406738,
|
290 |
+
0.0122357759475708,
|
291 |
+
0.012278783798217773,
|
292 |
+
0.012246015548706055,
|
293 |
+
0.012304384231567383,
|
294 |
+
0.01224396800994873,
|
295 |
+
0.012281855583190919,
|
296 |
+
0.012229632377624512,
|
297 |
+
0.012277759552001954,
|
298 |
+
0.0122357759475708,
|
299 |
+
0.01226956844329834,
|
300 |
+
0.012233728408813477,
|
301 |
+
0.012275712013244629,
|
302 |
+
0.012233728408813477,
|
303 |
+
0.012278783798217773,
|
304 |
+
0.012225536346435547,
|
305 |
+
0.012274687767028808,
|
306 |
+
0.012226559638977052,
|
307 |
+
0.012267519950866699,
|
308 |
+
0.01226035213470459,
|
309 |
+
0.012272640228271485,
|
310 |
+
0.01224294376373291,
|
311 |
+
0.012267519950866699,
|
312 |
+
0.012228608131408691,
|
313 |
+
0.012277759552001954,
|
314 |
+
0.012229632377624512,
|
315 |
+
0.012270591735839843,
|
316 |
+
0.012216320037841797,
|
317 |
+
0.012277759552001954,
|
318 |
+
0.012233728408813477,
|
319 |
+
0.01226956844329834,
|
320 |
+
0.012223551750183106,
|
321 |
+
0.01228281593322754,
|
322 |
+
0.012236800193786621,
|
323 |
+
0.012291071891784668,
|
324 |
+
0.01225216007232666,
|
325 |
+
0.012292096138000488,
|
326 |
+
0.012255231857299804,
|
327 |
+
0.012281855583190919,
|
328 |
+
0.012231679916381836,
|
329 |
+
0.01226854419708252
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.22466667412898
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/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": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014046095848083496,
|
7 |
+
"prefill.throughput.value": 498.35912240020116,
|
8 |
+
"decode.latency.mean": 1.5763082275390625,
|
9 |
+
"decode.throughput.value": 80.5679991902807,
|
10 |
+
"per_token.latency.mean": 0.012464994140293287,
|
11 |
+
"per_token.throughput.value": 80.22466667412898
|
12 |
+
}
|
13 |
+
}
|
2024-06-18/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpwhiv7qph/commit=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
88 |
+
- hydra.run.dir=_benchmark/tmpwhiv7qph/commit\=1f9387d33d40562add4be03176e22ddf9ed0d4ab/${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: 1f9387d33d40562add4be03176e22ddf9ed0d4ab
|
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-18/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020195904731750487,
|
8 |
+
"prefill.throughput.value": 346.6049227789793,
|
9 |
+
"decode.latency.mean": 2.4827767333984374,
|
10 |
+
"decode.throughput.value": 51.15240460069954,
|
11 |
+
"per_token.latency.mean": 0.01962751399104303,
|
12 |
+
"per_token.throughput.value": 50.948887386163506
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022427599906921385,
|
21 |
+
"prefill.throughput.value": 312.11543049863883,
|
22 |
+
"decode.latency.mean": 2.6374805908203127,
|
23 |
+
"decode.throughput.value": 48.15201311509947,
|
24 |
+
"per_token.latency.mean": 0.02085368712052055,
|
25 |
+
"per_token.throughput.value": 47.95315064528684
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "1f9387d33d40562add4be03176e22ddf9ed0d4ab",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014046095848083496,
|
34 |
+
"prefill.throughput.value": 498.35912240020116,
|
35 |
+
"decode.latency.mean": 1.5763082275390625,
|
36 |
+
"decode.throughput.value": 80.5679991902807,
|
37 |
+
"per_token.latency.mean": 0.012464994140293287,
|
38 |
+
"per_token.throughput.value": 80.22466667412898
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-18/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"1f9387d33d40562add4be03176e22ddf9ed0d4ab": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020195904731750487,
|
7 |
+
"prefill.throughput.value": 346.6049227789793,
|
8 |
+
"decode.latency.mean": 2.4827767333984374,
|
9 |
+
"decode.throughput.value": 51.15240460069954,
|
10 |
+
"per_token.latency.mean": 0.01962751399104303,
|
11 |
+
"per_token.throughput.value": 50.948887386163506
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"1f9387d33d40562add4be03176e22ddf9ed0d4ab": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022427599906921385,
|
19 |
+
"prefill.throughput.value": 312.11543049863883,
|
20 |
+
"decode.latency.mean": 2.6374805908203127,
|
21 |
+
"decode.throughput.value": 48.15201311509947,
|
22 |
+
"per_token.latency.mean": 0.02085368712052055,
|
23 |
+
"per_token.throughput.value": 47.95315064528684
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"1f9387d33d40562add4be03176e22ddf9ed0d4ab": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014046095848083496,
|
31 |
+
"prefill.throughput.value": 498.35912240020116,
|
32 |
+
"decode.latency.mean": 1.5763082275390625,
|
33 |
+
"decode.throughput.value": 80.5679991902807,
|
34 |
+
"per_token.latency.mean": 0.012464994140293287,
|
35 |
+
"per_token.throughput.value": 80.22466667412898
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|