hf-transformers-bot
commited on
Commit
•
7337ad3
1
Parent(s):
dfc9307
Upload folder using huggingface_hub
Browse files- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/multirun.yaml +232 -0
- 2024-06-21/summaries.json +41 -0
- 2024-06-21/summary.json +40 -0
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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: 730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
88 |
+
- hydra.run.dir=_benchmark/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6/${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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1706.401792,
|
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.0396973762512207,
|
118 |
+
"mean": 0.01984868812561035,
|
119 |
+
"stdev": 0.00028219223022461076,
|
120 |
+
"p50": 0.01984868812561035,
|
121 |
+
"p90": 0.02007444190979004,
|
122 |
+
"p95": 0.0201026611328125,
|
123 |
+
"p99": 0.02012523651123047,
|
124 |
+
"values": [
|
125 |
+
0.020130880355834962,
|
126 |
+
0.01956649589538574
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 352.6681438945098
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1706.496,
|
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.8886789550781256,
|
149 |
+
"mean": 2.4443394775390628,
|
150 |
+
"stdev": 0.011473754882812548,
|
151 |
+
"p50": 2.4443394775390628,
|
152 |
+
"p90": 2.453518481445313,
|
153 |
+
"p95": 2.4546658569335937,
|
154 |
+
"p99": 2.4555837573242187,
|
155 |
+
"values": [
|
156 |
+
2.455813232421875,
|
157 |
+
2.43286572265625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.95677653083702
|
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.888710166931151,
|
173 |
+
"mean": 0.019322965086684397,
|
174 |
+
"stdev": 0.001263573498752112,
|
175 |
+
"p50": 0.01918156814575195,
|
176 |
+
"p90": 0.01973557777404785,
|
177 |
+
"p95": 0.019896730041503906,
|
178 |
+
"p99": 0.020238172531127925,
|
179 |
+
"values": [
|
180 |
+
0.019990528106689453,
|
181 |
+
0.01945702362060547,
|
182 |
+
0.019589120864868165,
|
183 |
+
0.019511295318603517,
|
184 |
+
0.019516416549682617,
|
185 |
+
0.019487743377685548,
|
186 |
+
0.019573759078979493,
|
187 |
+
0.019321855545043946,
|
188 |
+
0.019304447174072266,
|
189 |
+
0.02003558349609375,
|
190 |
+
0.020523008346557618,
|
191 |
+
0.01965158462524414,
|
192 |
+
0.019390464782714844,
|
193 |
+
0.019495935440063478,
|
194 |
+
0.01969049644470215,
|
195 |
+
0.019664896011352538,
|
196 |
+
0.019771392822265626,
|
197 |
+
0.019495935440063478,
|
198 |
+
0.01943142318725586,
|
199 |
+
0.019825664520263672,
|
200 |
+
0.02006220817565918,
|
201 |
+
0.019735551834106444,
|
202 |
+
0.01924505615234375,
|
203 |
+
0.019337215423583985,
|
204 |
+
0.019360767364501954,
|
205 |
+
0.01922867202758789,
|
206 |
+
0.01939455986022949,
|
207 |
+
0.01956252861022949,
|
208 |
+
0.019757024765014647,
|
209 |
+
0.020428800582885744,
|
210 |
+
0.020008960723876954,
|
211 |
+
0.019748863220214845,
|
212 |
+
0.01946009635925293,
|
213 |
+
0.019334144592285156,
|
214 |
+
0.01945292854309082,
|
215 |
+
0.019563520431518554,
|
216 |
+
0.020033536911010744,
|
217 |
+
0.019939327239990236,
|
218 |
+
0.019326976776123047,
|
219 |
+
0.019384319305419923,
|
220 |
+
0.019360767364501954,
|
221 |
+
0.01923379135131836,
|
222 |
+
0.019192863464355468,
|
223 |
+
0.019363807678222655,
|
224 |
+
0.019768320083618163,
|
225 |
+
0.01982771110534668,
|
226 |
+
0.020057088851928712,
|
227 |
+
0.019784704208374023,
|
228 |
+
0.019720191955566405,
|
229 |
+
0.01918156814575195,
|
230 |
+
0.019826688766479493,
|
231 |
+
0.01962495994567871,
|
232 |
+
0.01967616081237793,
|
233 |
+
0.019164159774780275,
|
234 |
+
0.01886720085144043,
|
235 |
+
0.01897987174987793,
|
236 |
+
0.019513311386108397,
|
237 |
+
0.019533824920654298,
|
238 |
+
0.019521535873413084,
|
239 |
+
0.019568639755249022,
|
240 |
+
0.019703807830810546,
|
241 |
+
0.019781631469726564,
|
242 |
+
0.01965158462524414,
|
243 |
+
0.019520511627197267,
|
244 |
+
0.01959321594238281,
|
245 |
+
0.019533824920654298,
|
246 |
+
0.01965465545654297,
|
247 |
+
0.019525632858276368,
|
248 |
+
0.019590143203735352,
|
249 |
+
0.019529727935791014,
|
250 |
+
0.019066879272460938,
|
251 |
+
0.01901670455932617,
|
252 |
+
0.018977792739868164,
|
253 |
+
0.018951168060302736,
|
254 |
+
0.018953216552734374,
|
255 |
+
0.018964479446411133,
|
256 |
+
0.018959360122680666,
|
257 |
+
0.018985984802246093,
|
258 |
+
0.01904947280883789,
|
259 |
+
0.019148799896240236,
|
260 |
+
0.01902592086791992,
|
261 |
+
0.01897881507873535,
|
262 |
+
0.018951168060302736,
|
263 |
+
0.018974720001220705,
|
264 |
+
0.018944000244140623,
|
265 |
+
0.018942975997924806,
|
266 |
+
0.018919424057006837,
|
267 |
+
0.018893823623657227,
|
268 |
+
0.018938880920410156,
|
269 |
+
0.01923993682861328,
|
270 |
+
0.019606527328491212,
|
271 |
+
0.01960857582092285,
|
272 |
+
0.019597312927246095,
|
273 |
+
0.01927577590942383,
|
274 |
+
0.018946048736572265,
|
275 |
+
0.018883583068847656,
|
276 |
+
0.018926591873168946,
|
277 |
+
0.018944000244140623,
|
278 |
+
0.019122175216674805,
|
279 |
+
0.018968576431274413,
|
280 |
+
0.018950143814086915,
|
281 |
+
0.018952192306518553,
|
282 |
+
0.018964479446411133,
|
283 |
+
0.018941951751708985,
|
284 |
+
0.019102720260620116,
|
285 |
+
0.01901670455932617,
|
286 |
+
0.018883583068847656,
|
287 |
+
0.019396608352661132,
|
288 |
+
0.0194150390625,
|
289 |
+
0.018869247436523438,
|
290 |
+
0.018984960556030273,
|
291 |
+
0.018956287384033203,
|
292 |
+
0.01899519920349121,
|
293 |
+
0.018962432861328125,
|
294 |
+
0.01902694320678711,
|
295 |
+
0.018972671508789063,
|
296 |
+
0.018736127853393555,
|
297 |
+
0.018923519134521484,
|
298 |
+
0.018979839324951172,
|
299 |
+
0.018923519134521484,
|
300 |
+
0.018914304733276367,
|
301 |
+
0.018929664611816405,
|
302 |
+
0.018908159255981445,
|
303 |
+
0.018942975997924806,
|
304 |
+
0.018963455200195312,
|
305 |
+
0.018934783935546876,
|
306 |
+
0.03848396682739258,
|
307 |
+
0.018739200592041014,
|
308 |
+
0.018751487731933594,
|
309 |
+
0.01879756736755371,
|
310 |
+
0.018777088165283205,
|
311 |
+
0.01879347229003906,
|
312 |
+
0.01877299118041992,
|
313 |
+
0.018869247436523438,
|
314 |
+
0.018717695236206054,
|
315 |
+
0.018751487731933594,
|
316 |
+
0.01877299118041992,
|
317 |
+
0.01884364891052246,
|
318 |
+
0.019099647521972657,
|
319 |
+
0.019090431213378906,
|
320 |
+
0.018964479446411133,
|
321 |
+
0.01900748825073242,
|
322 |
+
0.019521535873413084,
|
323 |
+
0.019377151489257814,
|
324 |
+
0.01942835235595703,
|
325 |
+
0.019352575302124024,
|
326 |
+
0.018777088165283205,
|
327 |
+
0.018760704040527345,
|
328 |
+
0.019929088592529298,
|
329 |
+
0.019489791870117186,
|
330 |
+
0.019389440536499023,
|
331 |
+
0.019372032165527343,
|
332 |
+
0.01938739204406738,
|
333 |
+
0.01940787124633789,
|
334 |
+
0.01928294372558594,
|
335 |
+
0.01881497573852539,
|
336 |
+
0.01883033561706543,
|
337 |
+
0.01884671974182129,
|
338 |
+
0.018768896102905275,
|
339 |
+
0.01899929618835449,
|
340 |
+
0.019467264175415038,
|
341 |
+
0.019396608352661132,
|
342 |
+
0.019398656845092774,
|
343 |
+
0.01918156814575195,
|
344 |
+
0.01880575942993164,
|
345 |
+
0.019631103515625,
|
346 |
+
0.01885081672668457,
|
347 |
+
0.01883955192565918,
|
348 |
+
0.018758655548095703,
|
349 |
+
0.018780160903930664,
|
350 |
+
0.018714624404907225,
|
351 |
+
0.018726911544799805,
|
352 |
+
0.018732032775878905,
|
353 |
+
0.01881395149230957,
|
354 |
+
0.018784255981445314,
|
355 |
+
0.01882009506225586,
|
356 |
+
0.018795520782470702,
|
357 |
+
0.01884364891052246,
|
358 |
+
0.018783231735229493,
|
359 |
+
0.01880678367614746,
|
360 |
+
0.018800640106201173,
|
361 |
+
0.018737152099609376,
|
362 |
+
0.018787328720092773,
|
363 |
+
0.018971647262573242,
|
364 |
+
0.018974720001220705,
|
365 |
+
0.018951168060302736,
|
366 |
+
0.018975744247436522,
|
367 |
+
0.018953216552734374,
|
368 |
+
0.018975744247436522,
|
369 |
+
0.018964479446411133,
|
370 |
+
0.018926591873168946,
|
371 |
+
0.018956287384033203,
|
372 |
+
0.018949119567871094,
|
373 |
+
0.018972671508789063,
|
374 |
+
0.018929664611816405,
|
375 |
+
0.018963455200195312,
|
376 |
+
0.019006464004516603,
|
377 |
+
0.018913280487060546,
|
378 |
+
0.018952192306518553,
|
379 |
+
0.01887846374511719,
|
380 |
+
0.018891775131225585,
|
381 |
+
0.018909183502197266,
|
382 |
+
0.019896320343017578,
|
383 |
+
0.019663871765136717,
|
384 |
+
0.019598335266113282,
|
385 |
+
0.019631103515625,
|
386 |
+
0.019614719390869142,
|
387 |
+
0.01958502388000488,
|
388 |
+
0.019681280136108398,
|
389 |
+
0.01959219169616699,
|
390 |
+
0.019536895751953123,
|
391 |
+
0.019570688247680663,
|
392 |
+
0.01947238349914551,
|
393 |
+
0.018883583068847656,
|
394 |
+
0.018939903259277344,
|
395 |
+
0.018913280487060546,
|
396 |
+
0.019843072891235353,
|
397 |
+
0.019688447952270507,
|
398 |
+
0.019912704467773438,
|
399 |
+
0.019591167449951173,
|
400 |
+
0.019564544677734375,
|
401 |
+
0.019506175994873046,
|
402 |
+
0.01960140800476074,
|
403 |
+
0.019561471939086913,
|
404 |
+
0.019170303344726563,
|
405 |
+
0.019474431991577147,
|
406 |
+
0.018954240798950195,
|
407 |
+
0.018910207748413087,
|
408 |
+
0.01924608039855957,
|
409 |
+
0.01939455986022949,
|
410 |
+
0.019602432250976562,
|
411 |
+
0.018955263137817382,
|
412 |
+
0.018946048736572265,
|
413 |
+
0.018897920608520507,
|
414 |
+
0.019356672286987304,
|
415 |
+
0.019519487380981446,
|
416 |
+
0.019532800674438477,
|
417 |
+
0.019545087814331053,
|
418 |
+
0.019591167449951173,
|
419 |
+
0.0198973445892334,
|
420 |
+
0.019558399200439454,
|
421 |
+
0.019542015075683594,
|
422 |
+
0.018953216552734374,
|
423 |
+
0.018911231994628908,
|
424 |
+
0.01906585693359375,
|
425 |
+
0.019764223098754884,
|
426 |
+
0.01964339256286621,
|
427 |
+
0.019478527069091797,
|
428 |
+
0.01947238349914551,
|
429 |
+
0.019458047866821288,
|
430 |
+
0.018890752792358398,
|
431 |
+
0.018896896362304686,
|
432 |
+
0.0197355842590332
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.75189188170234
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1706.401792,
|
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.0396973762512207,
|
15 |
+
"mean": 0.01984868812561035,
|
16 |
+
"stdev": 0.00028219223022461076,
|
17 |
+
"p50": 0.01984868812561035,
|
18 |
+
"p90": 0.02007444190979004,
|
19 |
+
"p95": 0.0201026611328125,
|
20 |
+
"p99": 0.02012523651123047,
|
21 |
+
"values": [
|
22 |
+
0.020130880355834962,
|
23 |
+
0.01956649589538574
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 352.6681438945098
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1706.496,
|
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.8886789550781256,
|
46 |
+
"mean": 2.4443394775390628,
|
47 |
+
"stdev": 0.011473754882812548,
|
48 |
+
"p50": 2.4443394775390628,
|
49 |
+
"p90": 2.453518481445313,
|
50 |
+
"p95": 2.4546658569335937,
|
51 |
+
"p99": 2.4555837573242187,
|
52 |
+
"values": [
|
53 |
+
2.455813232421875,
|
54 |
+
2.43286572265625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.95677653083702
|
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.888710166931151,
|
70 |
+
"mean": 0.019322965086684397,
|
71 |
+
"stdev": 0.001263573498752112,
|
72 |
+
"p50": 0.01918156814575195,
|
73 |
+
"p90": 0.01973557777404785,
|
74 |
+
"p95": 0.019896730041503906,
|
75 |
+
"p99": 0.020238172531127925,
|
76 |
+
"values": [
|
77 |
+
0.019990528106689453,
|
78 |
+
0.01945702362060547,
|
79 |
+
0.019589120864868165,
|
80 |
+
0.019511295318603517,
|
81 |
+
0.019516416549682617,
|
82 |
+
0.019487743377685548,
|
83 |
+
0.019573759078979493,
|
84 |
+
0.019321855545043946,
|
85 |
+
0.019304447174072266,
|
86 |
+
0.02003558349609375,
|
87 |
+
0.020523008346557618,
|
88 |
+
0.01965158462524414,
|
89 |
+
0.019390464782714844,
|
90 |
+
0.019495935440063478,
|
91 |
+
0.01969049644470215,
|
92 |
+
0.019664896011352538,
|
93 |
+
0.019771392822265626,
|
94 |
+
0.019495935440063478,
|
95 |
+
0.01943142318725586,
|
96 |
+
0.019825664520263672,
|
97 |
+
0.02006220817565918,
|
98 |
+
0.019735551834106444,
|
99 |
+
0.01924505615234375,
|
100 |
+
0.019337215423583985,
|
101 |
+
0.019360767364501954,
|
102 |
+
0.01922867202758789,
|
103 |
+
0.01939455986022949,
|
104 |
+
0.01956252861022949,
|
105 |
+
0.019757024765014647,
|
106 |
+
0.020428800582885744,
|
107 |
+
0.020008960723876954,
|
108 |
+
0.019748863220214845,
|
109 |
+
0.01946009635925293,
|
110 |
+
0.019334144592285156,
|
111 |
+
0.01945292854309082,
|
112 |
+
0.019563520431518554,
|
113 |
+
0.020033536911010744,
|
114 |
+
0.019939327239990236,
|
115 |
+
0.019326976776123047,
|
116 |
+
0.019384319305419923,
|
117 |
+
0.019360767364501954,
|
118 |
+
0.01923379135131836,
|
119 |
+
0.019192863464355468,
|
120 |
+
0.019363807678222655,
|
121 |
+
0.019768320083618163,
|
122 |
+
0.01982771110534668,
|
123 |
+
0.020057088851928712,
|
124 |
+
0.019784704208374023,
|
125 |
+
0.019720191955566405,
|
126 |
+
0.01918156814575195,
|
127 |
+
0.019826688766479493,
|
128 |
+
0.01962495994567871,
|
129 |
+
0.01967616081237793,
|
130 |
+
0.019164159774780275,
|
131 |
+
0.01886720085144043,
|
132 |
+
0.01897987174987793,
|
133 |
+
0.019513311386108397,
|
134 |
+
0.019533824920654298,
|
135 |
+
0.019521535873413084,
|
136 |
+
0.019568639755249022,
|
137 |
+
0.019703807830810546,
|
138 |
+
0.019781631469726564,
|
139 |
+
0.01965158462524414,
|
140 |
+
0.019520511627197267,
|
141 |
+
0.01959321594238281,
|
142 |
+
0.019533824920654298,
|
143 |
+
0.01965465545654297,
|
144 |
+
0.019525632858276368,
|
145 |
+
0.019590143203735352,
|
146 |
+
0.019529727935791014,
|
147 |
+
0.019066879272460938,
|
148 |
+
0.01901670455932617,
|
149 |
+
0.018977792739868164,
|
150 |
+
0.018951168060302736,
|
151 |
+
0.018953216552734374,
|
152 |
+
0.018964479446411133,
|
153 |
+
0.018959360122680666,
|
154 |
+
0.018985984802246093,
|
155 |
+
0.01904947280883789,
|
156 |
+
0.019148799896240236,
|
157 |
+
0.01902592086791992,
|
158 |
+
0.01897881507873535,
|
159 |
+
0.018951168060302736,
|
160 |
+
0.018974720001220705,
|
161 |
+
0.018944000244140623,
|
162 |
+
0.018942975997924806,
|
163 |
+
0.018919424057006837,
|
164 |
+
0.018893823623657227,
|
165 |
+
0.018938880920410156,
|
166 |
+
0.01923993682861328,
|
167 |
+
0.019606527328491212,
|
168 |
+
0.01960857582092285,
|
169 |
+
0.019597312927246095,
|
170 |
+
0.01927577590942383,
|
171 |
+
0.018946048736572265,
|
172 |
+
0.018883583068847656,
|
173 |
+
0.018926591873168946,
|
174 |
+
0.018944000244140623,
|
175 |
+
0.019122175216674805,
|
176 |
+
0.018968576431274413,
|
177 |
+
0.018950143814086915,
|
178 |
+
0.018952192306518553,
|
179 |
+
0.018964479446411133,
|
180 |
+
0.018941951751708985,
|
181 |
+
0.019102720260620116,
|
182 |
+
0.01901670455932617,
|
183 |
+
0.018883583068847656,
|
184 |
+
0.019396608352661132,
|
185 |
+
0.0194150390625,
|
186 |
+
0.018869247436523438,
|
187 |
+
0.018984960556030273,
|
188 |
+
0.018956287384033203,
|
189 |
+
0.01899519920349121,
|
190 |
+
0.018962432861328125,
|
191 |
+
0.01902694320678711,
|
192 |
+
0.018972671508789063,
|
193 |
+
0.018736127853393555,
|
194 |
+
0.018923519134521484,
|
195 |
+
0.018979839324951172,
|
196 |
+
0.018923519134521484,
|
197 |
+
0.018914304733276367,
|
198 |
+
0.018929664611816405,
|
199 |
+
0.018908159255981445,
|
200 |
+
0.018942975997924806,
|
201 |
+
0.018963455200195312,
|
202 |
+
0.018934783935546876,
|
203 |
+
0.03848396682739258,
|
204 |
+
0.018739200592041014,
|
205 |
+
0.018751487731933594,
|
206 |
+
0.01879756736755371,
|
207 |
+
0.018777088165283205,
|
208 |
+
0.01879347229003906,
|
209 |
+
0.01877299118041992,
|
210 |
+
0.018869247436523438,
|
211 |
+
0.018717695236206054,
|
212 |
+
0.018751487731933594,
|
213 |
+
0.01877299118041992,
|
214 |
+
0.01884364891052246,
|
215 |
+
0.019099647521972657,
|
216 |
+
0.019090431213378906,
|
217 |
+
0.018964479446411133,
|
218 |
+
0.01900748825073242,
|
219 |
+
0.019521535873413084,
|
220 |
+
0.019377151489257814,
|
221 |
+
0.01942835235595703,
|
222 |
+
0.019352575302124024,
|
223 |
+
0.018777088165283205,
|
224 |
+
0.018760704040527345,
|
225 |
+
0.019929088592529298,
|
226 |
+
0.019489791870117186,
|
227 |
+
0.019389440536499023,
|
228 |
+
0.019372032165527343,
|
229 |
+
0.01938739204406738,
|
230 |
+
0.01940787124633789,
|
231 |
+
0.01928294372558594,
|
232 |
+
0.01881497573852539,
|
233 |
+
0.01883033561706543,
|
234 |
+
0.01884671974182129,
|
235 |
+
0.018768896102905275,
|
236 |
+
0.01899929618835449,
|
237 |
+
0.019467264175415038,
|
238 |
+
0.019396608352661132,
|
239 |
+
0.019398656845092774,
|
240 |
+
0.01918156814575195,
|
241 |
+
0.01880575942993164,
|
242 |
+
0.019631103515625,
|
243 |
+
0.01885081672668457,
|
244 |
+
0.01883955192565918,
|
245 |
+
0.018758655548095703,
|
246 |
+
0.018780160903930664,
|
247 |
+
0.018714624404907225,
|
248 |
+
0.018726911544799805,
|
249 |
+
0.018732032775878905,
|
250 |
+
0.01881395149230957,
|
251 |
+
0.018784255981445314,
|
252 |
+
0.01882009506225586,
|
253 |
+
0.018795520782470702,
|
254 |
+
0.01884364891052246,
|
255 |
+
0.018783231735229493,
|
256 |
+
0.01880678367614746,
|
257 |
+
0.018800640106201173,
|
258 |
+
0.018737152099609376,
|
259 |
+
0.018787328720092773,
|
260 |
+
0.018971647262573242,
|
261 |
+
0.018974720001220705,
|
262 |
+
0.018951168060302736,
|
263 |
+
0.018975744247436522,
|
264 |
+
0.018953216552734374,
|
265 |
+
0.018975744247436522,
|
266 |
+
0.018964479446411133,
|
267 |
+
0.018926591873168946,
|
268 |
+
0.018956287384033203,
|
269 |
+
0.018949119567871094,
|
270 |
+
0.018972671508789063,
|
271 |
+
0.018929664611816405,
|
272 |
+
0.018963455200195312,
|
273 |
+
0.019006464004516603,
|
274 |
+
0.018913280487060546,
|
275 |
+
0.018952192306518553,
|
276 |
+
0.01887846374511719,
|
277 |
+
0.018891775131225585,
|
278 |
+
0.018909183502197266,
|
279 |
+
0.019896320343017578,
|
280 |
+
0.019663871765136717,
|
281 |
+
0.019598335266113282,
|
282 |
+
0.019631103515625,
|
283 |
+
0.019614719390869142,
|
284 |
+
0.01958502388000488,
|
285 |
+
0.019681280136108398,
|
286 |
+
0.01959219169616699,
|
287 |
+
0.019536895751953123,
|
288 |
+
0.019570688247680663,
|
289 |
+
0.01947238349914551,
|
290 |
+
0.018883583068847656,
|
291 |
+
0.018939903259277344,
|
292 |
+
0.018913280487060546,
|
293 |
+
0.019843072891235353,
|
294 |
+
0.019688447952270507,
|
295 |
+
0.019912704467773438,
|
296 |
+
0.019591167449951173,
|
297 |
+
0.019564544677734375,
|
298 |
+
0.019506175994873046,
|
299 |
+
0.01960140800476074,
|
300 |
+
0.019561471939086913,
|
301 |
+
0.019170303344726563,
|
302 |
+
0.019474431991577147,
|
303 |
+
0.018954240798950195,
|
304 |
+
0.018910207748413087,
|
305 |
+
0.01924608039855957,
|
306 |
+
0.01939455986022949,
|
307 |
+
0.019602432250976562,
|
308 |
+
0.018955263137817382,
|
309 |
+
0.018946048736572265,
|
310 |
+
0.018897920608520507,
|
311 |
+
0.019356672286987304,
|
312 |
+
0.019519487380981446,
|
313 |
+
0.019532800674438477,
|
314 |
+
0.019545087814331053,
|
315 |
+
0.019591167449951173,
|
316 |
+
0.0198973445892334,
|
317 |
+
0.019558399200439454,
|
318 |
+
0.019542015075683594,
|
319 |
+
0.018953216552734374,
|
320 |
+
0.018911231994628908,
|
321 |
+
0.01906585693359375,
|
322 |
+
0.019764223098754884,
|
323 |
+
0.01964339256286621,
|
324 |
+
0.019478527069091797,
|
325 |
+
0.01947238349914551,
|
326 |
+
0.019458047866821288,
|
327 |
+
0.018890752792358398,
|
328 |
+
0.018896896362304686,
|
329 |
+
0.0197355842590332
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.75189188170234
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01984868812561035,
|
7 |
+
"prefill.throughput.value": 352.6681438945098,
|
8 |
+
"decode.latency.mean": 2.4443394775390628,
|
9 |
+
"decode.throughput.value": 51.95677653083702,
|
10 |
+
"per_token.latency.mean": 0.019322965086684397,
|
11 |
+
"per_token.throughput.value": 51.75189188170234
|
12 |
+
}
|
13 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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: 730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
88 |
+
- hydra.run.dir=_benchmark/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6/${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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-21 04:48:17,628[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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: 730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
88 |
+
- hydra.run.dir=_benchmark/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6/${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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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": 1774.391296,
|
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.043683263778686525,
|
118 |
+
"mean": 0.021841631889343262,
|
119 |
+
"stdev": 0.0002669439315795899,
|
120 |
+
"p50": 0.021841631889343262,
|
121 |
+
"p90": 0.022055187034606936,
|
122 |
+
"p95": 0.022081881427764894,
|
123 |
+
"p99": 0.02210323694229126,
|
124 |
+
"values": [
|
125 |
+
0.022108575820922852,
|
126 |
+
0.021574687957763673
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 320.48887351752165
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1774.403584,
|
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.088877685546875,
|
149 |
+
"mean": 2.5444388427734377,
|
150 |
+
"stdev": 0.006689819335937486,
|
151 |
+
"p50": 2.5444388427734377,
|
152 |
+
"p90": 2.549790698242188,
|
153 |
+
"p95": 2.5504596801757815,
|
154 |
+
"p99": 2.5509948657226564,
|
155 |
+
"values": [
|
156 |
+
2.551128662109375,
|
157 |
+
2.5377490234375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.91277363993156
|
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.089977338790888,
|
173 |
+
"mean": 0.020118487505102346,
|
174 |
+
"stdev": 0.0013962457971318902,
|
175 |
+
"p50": 0.019854335784912108,
|
176 |
+
"p90": 0.02056785850524902,
|
177 |
+
"p95": 0.020714291381835937,
|
178 |
+
"p99": 0.021477745132446286,
|
179 |
+
"values": [
|
180 |
+
0.021626880645751953,
|
181 |
+
0.02066431999206543,
|
182 |
+
0.020546560287475587,
|
183 |
+
0.020388864517211915,
|
184 |
+
0.02048102378845215,
|
185 |
+
0.020703231811523438,
|
186 |
+
0.021437440872192383,
|
187 |
+
0.020946943283081054,
|
188 |
+
0.02091007995605469,
|
189 |
+
0.02064896011352539,
|
190 |
+
0.02057318305969238,
|
191 |
+
0.02047590446472168,
|
192 |
+
0.02046463966369629,
|
193 |
+
0.020642816543579103,
|
194 |
+
0.020730880737304686,
|
195 |
+
0.021521408081054686,
|
196 |
+
0.020974592208862306,
|
197 |
+
0.020230144500732423,
|
198 |
+
0.020520959854125977,
|
199 |
+
0.020238336563110353,
|
200 |
+
0.020166656494140626,
|
201 |
+
0.020148223876953125,
|
202 |
+
0.020455423355102538,
|
203 |
+
0.020751359939575196,
|
204 |
+
0.02065715217590332,
|
205 |
+
0.020340736389160157,
|
206 |
+
0.02069606399536133,
|
207 |
+
0.02064588737487793,
|
208 |
+
0.020585472106933594,
|
209 |
+
0.020818944931030273,
|
210 |
+
0.0204083194732666,
|
211 |
+
0.02027212715148926,
|
212 |
+
0.02040729522705078,
|
213 |
+
0.020479999542236327,
|
214 |
+
0.020702207565307617,
|
215 |
+
0.02020966339111328,
|
216 |
+
0.02043289566040039,
|
217 |
+
0.02028646469116211,
|
218 |
+
0.020361215591430663,
|
219 |
+
0.020206592559814454,
|
220 |
+
0.02031718444824219,
|
221 |
+
0.020212736129760742,
|
222 |
+
0.020092927932739257,
|
223 |
+
0.020076543807983398,
|
224 |
+
0.020348928451538087,
|
225 |
+
0.01998847961425781,
|
226 |
+
0.019781631469726564,
|
227 |
+
0.019878911972045898,
|
228 |
+
0.01982054328918457,
|
229 |
+
0.01978265571594238,
|
230 |
+
0.019727359771728514,
|
231 |
+
0.019749887466430666,
|
232 |
+
0.01983283233642578,
|
233 |
+
0.019773439407348634,
|
234 |
+
0.01982361602783203,
|
235 |
+
0.019742719650268553,
|
236 |
+
0.019947519302368166,
|
237 |
+
0.01979084777832031,
|
238 |
+
0.01983078384399414,
|
239 |
+
0.01979903984069824,
|
240 |
+
0.01983283233642578,
|
241 |
+
0.019787776947021486,
|
242 |
+
0.019794944763183595,
|
243 |
+
0.019812351226806642,
|
244 |
+
0.01983078384399414,
|
245 |
+
0.019813375473022463,
|
246 |
+
0.02001817512512207,
|
247 |
+
0.019833856582641602,
|
248 |
+
0.019825664520263672,
|
249 |
+
0.019805183410644533,
|
250 |
+
0.0198154239654541,
|
251 |
+
0.019792896270751953,
|
252 |
+
0.01979801559448242,
|
253 |
+
0.019764223098754884,
|
254 |
+
0.019914751052856446,
|
255 |
+
0.0198604793548584,
|
256 |
+
0.019812351226806642,
|
257 |
+
0.019766271591186522,
|
258 |
+
0.019908607482910155,
|
259 |
+
0.019808256149291992,
|
260 |
+
0.01998847961425781,
|
261 |
+
0.019877887725830077,
|
262 |
+
0.01982464027404785,
|
263 |
+
0.019773439407348634,
|
264 |
+
0.01989836883544922,
|
265 |
+
0.01962700843811035,
|
266 |
+
0.019577856063842772,
|
267 |
+
0.019748863220214845,
|
268 |
+
0.01977446365356445,
|
269 |
+
0.01979084777832031,
|
270 |
+
0.01984511947631836,
|
271 |
+
0.01985024070739746,
|
272 |
+
0.01981644821166992,
|
273 |
+
0.019966976165771484,
|
274 |
+
0.01981439971923828,
|
275 |
+
0.019833856582641602,
|
276 |
+
0.019788799285888673,
|
277 |
+
0.01981644821166992,
|
278 |
+
0.01984819221496582,
|
279 |
+
0.019813375473022463,
|
280 |
+
0.01981439971923828,
|
281 |
+
0.01982054328918457,
|
282 |
+
0.01982259178161621,
|
283 |
+
0.019794944763183595,
|
284 |
+
0.01979903984069824,
|
285 |
+
0.019768320083618163,
|
286 |
+
0.019934207916259765,
|
287 |
+
0.01987993621826172,
|
288 |
+
0.019785728454589844,
|
289 |
+
0.019810304641723633,
|
290 |
+
0.01979903984069824,
|
291 |
+
0.019773439407348634,
|
292 |
+
0.019819520950317384,
|
293 |
+
0.01980723190307617,
|
294 |
+
0.019811328887939454,
|
295 |
+
0.02026803207397461,
|
296 |
+
0.01986764717102051,
|
297 |
+
0.01981439971923828,
|
298 |
+
0.019791872024536132,
|
299 |
+
0.019775487899780272,
|
300 |
+
0.019808256149291992,
|
301 |
+
0.019957759857177734,
|
302 |
+
0.01980723190307617,
|
303 |
+
0.019759103775024413,
|
304 |
+
0.019803136825561524,
|
305 |
+
0.019780607223510743,
|
306 |
+
0.04153855895996094,
|
307 |
+
0.01979801559448242,
|
308 |
+
0.01983795166015625,
|
309 |
+
0.01979801559448242,
|
310 |
+
0.019769344329833984,
|
311 |
+
0.019969024658203126,
|
312 |
+
0.020016128540039063,
|
313 |
+
0.02123776054382324,
|
314 |
+
0.02004787254333496,
|
315 |
+
0.01988403129577637,
|
316 |
+
0.01986467170715332,
|
317 |
+
0.01981328010559082,
|
318 |
+
0.019773439407348634,
|
319 |
+
0.01982975959777832,
|
320 |
+
0.01983078384399414,
|
321 |
+
0.01982361602783203,
|
322 |
+
0.02007756805419922,
|
323 |
+
0.0198656005859375,
|
324 |
+
0.020288511276245116,
|
325 |
+
0.01985228729248047,
|
326 |
+
0.01984102439880371,
|
327 |
+
0.020356096267700196,
|
328 |
+
0.01984409523010254,
|
329 |
+
0.020170751571655272,
|
330 |
+
0.019854335784912108,
|
331 |
+
0.01985638427734375,
|
332 |
+
0.0200949764251709,
|
333 |
+
0.01983897590637207,
|
334 |
+
0.01982464027404785,
|
335 |
+
0.020134912490844727,
|
336 |
+
0.019894271850585937,
|
337 |
+
0.020248575210571287,
|
338 |
+
0.020146240234375,
|
339 |
+
0.019828672409057616,
|
340 |
+
0.01988403129577637,
|
341 |
+
0.019817472457885742,
|
342 |
+
0.019761152267456054,
|
343 |
+
0.01984716796875,
|
344 |
+
0.019946495056152345,
|
345 |
+
0.020279296875,
|
346 |
+
0.019928064346313477,
|
347 |
+
0.019772415161132813,
|
348 |
+
0.01982361602783203,
|
349 |
+
0.019752960205078125,
|
350 |
+
0.019793920516967774,
|
351 |
+
0.019795967102050782,
|
352 |
+
0.019769344329833984,
|
353 |
+
0.019793920516967774,
|
354 |
+
0.019953664779663087,
|
355 |
+
0.01982156753540039,
|
356 |
+
0.019767295837402343,
|
357 |
+
0.019924991607666014,
|
358 |
+
0.019825664520263672,
|
359 |
+
0.020653055191040038,
|
360 |
+
0.02131046485900879,
|
361 |
+
0.020603904724121092,
|
362 |
+
0.019833856582641602,
|
363 |
+
0.019907583236694337,
|
364 |
+
0.019974143981933593,
|
365 |
+
0.019810304641723633,
|
366 |
+
0.019811328887939454,
|
367 |
+
0.019785728454589844,
|
368 |
+
0.019817472457885742,
|
369 |
+
0.01980723190307617,
|
370 |
+
0.020523008346557618,
|
371 |
+
0.020398080825805662,
|
372 |
+
0.020593664169311524,
|
373 |
+
0.020368383407592772,
|
374 |
+
0.020414464950561522,
|
375 |
+
0.019853311538696287,
|
376 |
+
0.020185087203979494,
|
377 |
+
0.020366336822509764,
|
378 |
+
0.01982156753540039,
|
379 |
+
0.020167680740356447,
|
380 |
+
0.020320255279541014,
|
381 |
+
0.019870719909667968,
|
382 |
+
0.02007142448425293,
|
383 |
+
0.020351999282836913,
|
384 |
+
0.020496383666992187,
|
385 |
+
0.020462591171264647,
|
386 |
+
0.019912704467773438,
|
387 |
+
0.019918848037719726,
|
388 |
+
0.020305919647216796,
|
389 |
+
0.020403200149536133,
|
390 |
+
0.019870719909667968,
|
391 |
+
0.01983692741394043,
|
392 |
+
0.02002943992614746,
|
393 |
+
0.020338687896728515,
|
394 |
+
0.02085683250427246,
|
395 |
+
0.020377695083618166,
|
396 |
+
0.01980099105834961,
|
397 |
+
0.01983078384399414,
|
398 |
+
0.019758079528808595,
|
399 |
+
0.019611648559570313,
|
400 |
+
0.019843072891235353,
|
401 |
+
0.01983897590637207,
|
402 |
+
0.01982259178161621,
|
403 |
+
0.019842048645019532,
|
404 |
+
0.01986867141723633,
|
405 |
+
0.019869695663452147,
|
406 |
+
0.0198973445892334,
|
407 |
+
0.01987276840209961,
|
408 |
+
0.02023628807067871,
|
409 |
+
0.01985638427734375,
|
410 |
+
0.019786752700805665,
|
411 |
+
0.019911680221557617,
|
412 |
+
0.0198604793548584,
|
413 |
+
0.020161535263061522,
|
414 |
+
0.019579904556274414,
|
415 |
+
0.019568639755249022,
|
416 |
+
0.0196945915222168,
|
417 |
+
0.01984102439880371,
|
418 |
+
0.019803136825561524,
|
419 |
+
0.019803136825561524,
|
420 |
+
0.019781631469726564,
|
421 |
+
0.01984409523010254,
|
422 |
+
0.019808256149291992,
|
423 |
+
0.019923967361450197,
|
424 |
+
0.019803136825561524,
|
425 |
+
0.019821632385253907,
|
426 |
+
0.019796928405761718,
|
427 |
+
0.01986764717102051,
|
428 |
+
0.01981644821166992,
|
429 |
+
0.019803136825561524,
|
430 |
+
0.019904512405395508,
|
431 |
+
0.01985843276977539,
|
432 |
+
0.01982259178161621
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.705525812831866
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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": 1774.391296,
|
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.043683263778686525,
|
15 |
+
"mean": 0.021841631889343262,
|
16 |
+
"stdev": 0.0002669439315795899,
|
17 |
+
"p50": 0.021841631889343262,
|
18 |
+
"p90": 0.022055187034606936,
|
19 |
+
"p95": 0.022081881427764894,
|
20 |
+
"p99": 0.02210323694229126,
|
21 |
+
"values": [
|
22 |
+
0.022108575820922852,
|
23 |
+
0.021574687957763673
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 320.48887351752165
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1774.403584,
|
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.088877685546875,
|
46 |
+
"mean": 2.5444388427734377,
|
47 |
+
"stdev": 0.006689819335937486,
|
48 |
+
"p50": 2.5444388427734377,
|
49 |
+
"p90": 2.549790698242188,
|
50 |
+
"p95": 2.5504596801757815,
|
51 |
+
"p99": 2.5509948657226564,
|
52 |
+
"values": [
|
53 |
+
2.551128662109375,
|
54 |
+
2.5377490234375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.91277363993156
|
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.089977338790888,
|
70 |
+
"mean": 0.020118487505102346,
|
71 |
+
"stdev": 0.0013962457971318902,
|
72 |
+
"p50": 0.019854335784912108,
|
73 |
+
"p90": 0.02056785850524902,
|
74 |
+
"p95": 0.020714291381835937,
|
75 |
+
"p99": 0.021477745132446286,
|
76 |
+
"values": [
|
77 |
+
0.021626880645751953,
|
78 |
+
0.02066431999206543,
|
79 |
+
0.020546560287475587,
|
80 |
+
0.020388864517211915,
|
81 |
+
0.02048102378845215,
|
82 |
+
0.020703231811523438,
|
83 |
+
0.021437440872192383,
|
84 |
+
0.020946943283081054,
|
85 |
+
0.02091007995605469,
|
86 |
+
0.02064896011352539,
|
87 |
+
0.02057318305969238,
|
88 |
+
0.02047590446472168,
|
89 |
+
0.02046463966369629,
|
90 |
+
0.020642816543579103,
|
91 |
+
0.020730880737304686,
|
92 |
+
0.021521408081054686,
|
93 |
+
0.020974592208862306,
|
94 |
+
0.020230144500732423,
|
95 |
+
0.020520959854125977,
|
96 |
+
0.020238336563110353,
|
97 |
+
0.020166656494140626,
|
98 |
+
0.020148223876953125,
|
99 |
+
0.020455423355102538,
|
100 |
+
0.020751359939575196,
|
101 |
+
0.02065715217590332,
|
102 |
+
0.020340736389160157,
|
103 |
+
0.02069606399536133,
|
104 |
+
0.02064588737487793,
|
105 |
+
0.020585472106933594,
|
106 |
+
0.020818944931030273,
|
107 |
+
0.0204083194732666,
|
108 |
+
0.02027212715148926,
|
109 |
+
0.02040729522705078,
|
110 |
+
0.020479999542236327,
|
111 |
+
0.020702207565307617,
|
112 |
+
0.02020966339111328,
|
113 |
+
0.02043289566040039,
|
114 |
+
0.02028646469116211,
|
115 |
+
0.020361215591430663,
|
116 |
+
0.020206592559814454,
|
117 |
+
0.02031718444824219,
|
118 |
+
0.020212736129760742,
|
119 |
+
0.020092927932739257,
|
120 |
+
0.020076543807983398,
|
121 |
+
0.020348928451538087,
|
122 |
+
0.01998847961425781,
|
123 |
+
0.019781631469726564,
|
124 |
+
0.019878911972045898,
|
125 |
+
0.01982054328918457,
|
126 |
+
0.01978265571594238,
|
127 |
+
0.019727359771728514,
|
128 |
+
0.019749887466430666,
|
129 |
+
0.01983283233642578,
|
130 |
+
0.019773439407348634,
|
131 |
+
0.01982361602783203,
|
132 |
+
0.019742719650268553,
|
133 |
+
0.019947519302368166,
|
134 |
+
0.01979084777832031,
|
135 |
+
0.01983078384399414,
|
136 |
+
0.01979903984069824,
|
137 |
+
0.01983283233642578,
|
138 |
+
0.019787776947021486,
|
139 |
+
0.019794944763183595,
|
140 |
+
0.019812351226806642,
|
141 |
+
0.01983078384399414,
|
142 |
+
0.019813375473022463,
|
143 |
+
0.02001817512512207,
|
144 |
+
0.019833856582641602,
|
145 |
+
0.019825664520263672,
|
146 |
+
0.019805183410644533,
|
147 |
+
0.0198154239654541,
|
148 |
+
0.019792896270751953,
|
149 |
+
0.01979801559448242,
|
150 |
+
0.019764223098754884,
|
151 |
+
0.019914751052856446,
|
152 |
+
0.0198604793548584,
|
153 |
+
0.019812351226806642,
|
154 |
+
0.019766271591186522,
|
155 |
+
0.019908607482910155,
|
156 |
+
0.019808256149291992,
|
157 |
+
0.01998847961425781,
|
158 |
+
0.019877887725830077,
|
159 |
+
0.01982464027404785,
|
160 |
+
0.019773439407348634,
|
161 |
+
0.01989836883544922,
|
162 |
+
0.01962700843811035,
|
163 |
+
0.019577856063842772,
|
164 |
+
0.019748863220214845,
|
165 |
+
0.01977446365356445,
|
166 |
+
0.01979084777832031,
|
167 |
+
0.01984511947631836,
|
168 |
+
0.01985024070739746,
|
169 |
+
0.01981644821166992,
|
170 |
+
0.019966976165771484,
|
171 |
+
0.01981439971923828,
|
172 |
+
0.019833856582641602,
|
173 |
+
0.019788799285888673,
|
174 |
+
0.01981644821166992,
|
175 |
+
0.01984819221496582,
|
176 |
+
0.019813375473022463,
|
177 |
+
0.01981439971923828,
|
178 |
+
0.01982054328918457,
|
179 |
+
0.01982259178161621,
|
180 |
+
0.019794944763183595,
|
181 |
+
0.01979903984069824,
|
182 |
+
0.019768320083618163,
|
183 |
+
0.019934207916259765,
|
184 |
+
0.01987993621826172,
|
185 |
+
0.019785728454589844,
|
186 |
+
0.019810304641723633,
|
187 |
+
0.01979903984069824,
|
188 |
+
0.019773439407348634,
|
189 |
+
0.019819520950317384,
|
190 |
+
0.01980723190307617,
|
191 |
+
0.019811328887939454,
|
192 |
+
0.02026803207397461,
|
193 |
+
0.01986764717102051,
|
194 |
+
0.01981439971923828,
|
195 |
+
0.019791872024536132,
|
196 |
+
0.019775487899780272,
|
197 |
+
0.019808256149291992,
|
198 |
+
0.019957759857177734,
|
199 |
+
0.01980723190307617,
|
200 |
+
0.019759103775024413,
|
201 |
+
0.019803136825561524,
|
202 |
+
0.019780607223510743,
|
203 |
+
0.04153855895996094,
|
204 |
+
0.01979801559448242,
|
205 |
+
0.01983795166015625,
|
206 |
+
0.01979801559448242,
|
207 |
+
0.019769344329833984,
|
208 |
+
0.019969024658203126,
|
209 |
+
0.020016128540039063,
|
210 |
+
0.02123776054382324,
|
211 |
+
0.02004787254333496,
|
212 |
+
0.01988403129577637,
|
213 |
+
0.01986467170715332,
|
214 |
+
0.01981328010559082,
|
215 |
+
0.019773439407348634,
|
216 |
+
0.01982975959777832,
|
217 |
+
0.01983078384399414,
|
218 |
+
0.01982361602783203,
|
219 |
+
0.02007756805419922,
|
220 |
+
0.0198656005859375,
|
221 |
+
0.020288511276245116,
|
222 |
+
0.01985228729248047,
|
223 |
+
0.01984102439880371,
|
224 |
+
0.020356096267700196,
|
225 |
+
0.01984409523010254,
|
226 |
+
0.020170751571655272,
|
227 |
+
0.019854335784912108,
|
228 |
+
0.01985638427734375,
|
229 |
+
0.0200949764251709,
|
230 |
+
0.01983897590637207,
|
231 |
+
0.01982464027404785,
|
232 |
+
0.020134912490844727,
|
233 |
+
0.019894271850585937,
|
234 |
+
0.020248575210571287,
|
235 |
+
0.020146240234375,
|
236 |
+
0.019828672409057616,
|
237 |
+
0.01988403129577637,
|
238 |
+
0.019817472457885742,
|
239 |
+
0.019761152267456054,
|
240 |
+
0.01984716796875,
|
241 |
+
0.019946495056152345,
|
242 |
+
0.020279296875,
|
243 |
+
0.019928064346313477,
|
244 |
+
0.019772415161132813,
|
245 |
+
0.01982361602783203,
|
246 |
+
0.019752960205078125,
|
247 |
+
0.019793920516967774,
|
248 |
+
0.019795967102050782,
|
249 |
+
0.019769344329833984,
|
250 |
+
0.019793920516967774,
|
251 |
+
0.019953664779663087,
|
252 |
+
0.01982156753540039,
|
253 |
+
0.019767295837402343,
|
254 |
+
0.019924991607666014,
|
255 |
+
0.019825664520263672,
|
256 |
+
0.020653055191040038,
|
257 |
+
0.02131046485900879,
|
258 |
+
0.020603904724121092,
|
259 |
+
0.019833856582641602,
|
260 |
+
0.019907583236694337,
|
261 |
+
0.019974143981933593,
|
262 |
+
0.019810304641723633,
|
263 |
+
0.019811328887939454,
|
264 |
+
0.019785728454589844,
|
265 |
+
0.019817472457885742,
|
266 |
+
0.01980723190307617,
|
267 |
+
0.020523008346557618,
|
268 |
+
0.020398080825805662,
|
269 |
+
0.020593664169311524,
|
270 |
+
0.020368383407592772,
|
271 |
+
0.020414464950561522,
|
272 |
+
0.019853311538696287,
|
273 |
+
0.020185087203979494,
|
274 |
+
0.020366336822509764,
|
275 |
+
0.01982156753540039,
|
276 |
+
0.020167680740356447,
|
277 |
+
0.020320255279541014,
|
278 |
+
0.019870719909667968,
|
279 |
+
0.02007142448425293,
|
280 |
+
0.020351999282836913,
|
281 |
+
0.020496383666992187,
|
282 |
+
0.020462591171264647,
|
283 |
+
0.019912704467773438,
|
284 |
+
0.019918848037719726,
|
285 |
+
0.020305919647216796,
|
286 |
+
0.020403200149536133,
|
287 |
+
0.019870719909667968,
|
288 |
+
0.01983692741394043,
|
289 |
+
0.02002943992614746,
|
290 |
+
0.020338687896728515,
|
291 |
+
0.02085683250427246,
|
292 |
+
0.020377695083618166,
|
293 |
+
0.01980099105834961,
|
294 |
+
0.01983078384399414,
|
295 |
+
0.019758079528808595,
|
296 |
+
0.019611648559570313,
|
297 |
+
0.019843072891235353,
|
298 |
+
0.01983897590637207,
|
299 |
+
0.01982259178161621,
|
300 |
+
0.019842048645019532,
|
301 |
+
0.01986867141723633,
|
302 |
+
0.019869695663452147,
|
303 |
+
0.0198973445892334,
|
304 |
+
0.01987276840209961,
|
305 |
+
0.02023628807067871,
|
306 |
+
0.01985638427734375,
|
307 |
+
0.019786752700805665,
|
308 |
+
0.019911680221557617,
|
309 |
+
0.0198604793548584,
|
310 |
+
0.020161535263061522,
|
311 |
+
0.019579904556274414,
|
312 |
+
0.019568639755249022,
|
313 |
+
0.0196945915222168,
|
314 |
+
0.01984102439880371,
|
315 |
+
0.019803136825561524,
|
316 |
+
0.019803136825561524,
|
317 |
+
0.019781631469726564,
|
318 |
+
0.01984409523010254,
|
319 |
+
0.019808256149291992,
|
320 |
+
0.019923967361450197,
|
321 |
+
0.019803136825561524,
|
322 |
+
0.019821632385253907,
|
323 |
+
0.019796928405761718,
|
324 |
+
0.01986764717102051,
|
325 |
+
0.01981644821166992,
|
326 |
+
0.019803136825561524,
|
327 |
+
0.019904512405395508,
|
328 |
+
0.01985843276977539,
|
329 |
+
0.01982259178161621
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.705525812831866
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021841631889343262,
|
7 |
+
"prefill.throughput.value": 320.48887351752165,
|
8 |
+
"decode.latency.mean": 2.5444388427734377,
|
9 |
+
"decode.throughput.value": 49.91277363993156,
|
10 |
+
"per_token.latency.mean": 0.020118487505102346,
|
11 |
+
"per_token.throughput.value": 49.705525812831866
|
12 |
+
}
|
13 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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: 730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
88 |
+
- hydra.run.dir=_benchmark/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6/${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/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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": 1928.998912,
|
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.028154144287109377,
|
118 |
+
"mean": 0.014077072143554688,
|
119 |
+
"stdev": 0.00010536003112792975,
|
120 |
+
"p50": 0.014077072143554688,
|
121 |
+
"p90": 0.014161360168457031,
|
122 |
+
"p95": 0.014171896171569824,
|
123 |
+
"p99": 0.01418032497406006,
|
124 |
+
"values": [
|
125 |
+
0.014182432174682617,
|
126 |
+
0.013971712112426758
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 497.26249383505586
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2272.694272,
|
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.14861962890625,
|
149 |
+
"mean": 1.574309814453125,
|
150 |
+
"stdev": 0.016244140624999903,
|
151 |
+
"p50": 1.574309814453125,
|
152 |
+
"p90": 1.5873051269531249,
|
153 |
+
"p95": 1.588929541015625,
|
154 |
+
"p99": 1.590229072265625,
|
155 |
+
"values": [
|
156 |
+
1.590553955078125,
|
157 |
+
1.558065673828125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.67027140024314
|
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.149693953514099,
|
173 |
+
"mean": 0.012449383215470749,
|
174 |
+
"stdev": 0.0009055423967376373,
|
175 |
+
"p50": 0.012285951614379884,
|
176 |
+
"p90": 0.012727705764770508,
|
177 |
+
"p95": 0.012755353736877442,
|
178 |
+
"p99": 0.012814581832885742,
|
179 |
+
"values": [
|
180 |
+
0.012689408302307128,
|
181 |
+
0.012729344367980957,
|
182 |
+
0.012694527626037597,
|
183 |
+
0.012795904159545898,
|
184 |
+
0.012684288024902344,
|
185 |
+
0.012717056274414062,
|
186 |
+
0.01266380786895752,
|
187 |
+
0.012752896308898925,
|
188 |
+
0.012742655754089355,
|
189 |
+
0.012725248336791992,
|
190 |
+
0.012743680000305176,
|
191 |
+
0.012723199844360352,
|
192 |
+
0.012702719688415527,
|
193 |
+
0.012708864212036132,
|
194 |
+
0.012641280174255372,
|
195 |
+
0.012733440399169921,
|
196 |
+
0.012731391906738282,
|
197 |
+
0.012718079566955566,
|
198 |
+
0.012761088371276855,
|
199 |
+
0.01278771209716797,
|
200 |
+
0.012681216239929198,
|
201 |
+
0.012772352218627929,
|
202 |
+
0.012668928146362305,
|
203 |
+
0.01274675178527832,
|
204 |
+
0.012768256187438964,
|
205 |
+
0.012841983795166016,
|
206 |
+
0.012724224090576173,
|
207 |
+
0.012708864212036132,
|
208 |
+
0.012666879653930664,
|
209 |
+
0.012759039878845215,
|
210 |
+
0.012701696395874023,
|
211 |
+
0.012722175598144531,
|
212 |
+
0.012650495529174804,
|
213 |
+
0.012723199844360352,
|
214 |
+
0.012662783622741699,
|
215 |
+
0.01267302417755127,
|
216 |
+
0.012690431594848632,
|
217 |
+
0.012720128059387208,
|
218 |
+
0.01265766429901123,
|
219 |
+
0.012704768180847169,
|
220 |
+
0.012679167747497559,
|
221 |
+
0.012717056274414062,
|
222 |
+
0.012747776031494141,
|
223 |
+
0.012734463691711426,
|
224 |
+
0.012728320121765137,
|
225 |
+
0.012705792427062988,
|
226 |
+
0.01266380786895752,
|
227 |
+
0.012788736343383789,
|
228 |
+
0.012692480087280274,
|
229 |
+
0.012721152305603027,
|
230 |
+
0.012686335563659668,
|
231 |
+
0.012772352218627929,
|
232 |
+
0.0127457275390625,
|
233 |
+
0.012772352218627929,
|
234 |
+
0.01267199993133545,
|
235 |
+
0.012772352218627929,
|
236 |
+
0.012701696395874023,
|
237 |
+
0.01273036766052246,
|
238 |
+
0.012676095962524414,
|
239 |
+
0.012734463691711426,
|
240 |
+
0.012679167747497559,
|
241 |
+
0.012704768180847169,
|
242 |
+
0.01266380786895752,
|
243 |
+
0.012635135650634765,
|
244 |
+
0.012627967834472656,
|
245 |
+
0.012616703987121582,
|
246 |
+
0.012606464385986327,
|
247 |
+
0.012339200019836426,
|
248 |
+
0.012398591995239258,
|
249 |
+
0.012578816413879394,
|
250 |
+
0.012478464126586914,
|
251 |
+
0.012834815979003907,
|
252 |
+
0.012436479568481444,
|
253 |
+
0.012345343589782716,
|
254 |
+
0.012329983711242675,
|
255 |
+
0.012397567749023437,
|
256 |
+
0.012308480262756348,
|
257 |
+
0.012378111839294433,
|
258 |
+
0.01224294376373291,
|
259 |
+
0.012296192169189453,
|
260 |
+
0.012262399673461915,
|
261 |
+
0.012307456016540527,
|
262 |
+
0.012298239707946777,
|
263 |
+
0.012299263954162597,
|
264 |
+
0.012264448165893555,
|
265 |
+
0.012275712013244629,
|
266 |
+
0.01224294376373291,
|
267 |
+
0.012295167922973632,
|
268 |
+
0.01225113582611084,
|
269 |
+
0.01229312038421631,
|
270 |
+
0.01227673625946045,
|
271 |
+
0.012295167922973632,
|
272 |
+
0.012244992256164551,
|
273 |
+
0.012303359985351562,
|
274 |
+
0.012238847732543945,
|
275 |
+
0.012298239707946777,
|
276 |
+
0.012267519950866699,
|
277 |
+
0.012305407524108887,
|
278 |
+
0.012266495704650878,
|
279 |
+
0.012296192169189453,
|
280 |
+
0.012240896224975586,
|
281 |
+
0.012288000106811523,
|
282 |
+
0.012225536346435547,
|
283 |
+
0.012297216415405274,
|
284 |
+
0.012237824440002442,
|
285 |
+
0.012281855583190919,
|
286 |
+
0.012296192169189453,
|
287 |
+
0.01227673625946045,
|
288 |
+
0.01224294376373291,
|
289 |
+
0.012300288200378418,
|
290 |
+
0.012228608131408691,
|
291 |
+
0.012286975860595703,
|
292 |
+
0.012231679916381836,
|
293 |
+
0.012297216415405274,
|
294 |
+
0.012262399673461915,
|
295 |
+
0.012275712013244629,
|
296 |
+
0.012273664474487305,
|
297 |
+
0.012286975860595703,
|
298 |
+
0.012237824440002442,
|
299 |
+
0.012292096138000488,
|
300 |
+
0.01224294376373291,
|
301 |
+
0.012296192169189453,
|
302 |
+
0.012241920471191407,
|
303 |
+
0.012282879829406738,
|
304 |
+
0.012282879829406738,
|
305 |
+
0.012303359985351562,
|
306 |
+
0.026472448348999023,
|
307 |
+
0.012238847732543945,
|
308 |
+
0.012286975860595703,
|
309 |
+
0.01224294376373291,
|
310 |
+
0.012280832290649414,
|
311 |
+
0.012264448165893555,
|
312 |
+
0.012282879829406738,
|
313 |
+
0.012262399673461915,
|
314 |
+
0.012318719863891601,
|
315 |
+
0.01226956844329834,
|
316 |
+
0.012288000106811523,
|
317 |
+
0.01224294376373291,
|
318 |
+
0.012283904075622559,
|
319 |
+
0.01225113582611084,
|
320 |
+
0.01228492832183838,
|
321 |
+
0.012238847732543945,
|
322 |
+
0.012267519950866699,
|
323 |
+
0.012231679916381836,
|
324 |
+
0.012290047645568849,
|
325 |
+
0.012240896224975586,
|
326 |
+
0.012280832290649414,
|
327 |
+
0.012237824440002442,
|
328 |
+
0.012278783798217773,
|
329 |
+
0.012254207611083985,
|
330 |
+
0.012315648078918457,
|
331 |
+
0.012229632377624512,
|
332 |
+
0.012283904075622559,
|
333 |
+
0.012238847732543945,
|
334 |
+
0.012282879829406738,
|
335 |
+
0.012236800193786621,
|
336 |
+
0.012281855583190919,
|
337 |
+
0.01222758388519287,
|
338 |
+
0.012282879829406738,
|
339 |
+
0.012233728408813477,
|
340 |
+
0.012297216415405274,
|
341 |
+
0.012259327888488769,
|
342 |
+
0.012282879829406738,
|
343 |
+
0.012224512100219726,
|
344 |
+
0.012282879829406738,
|
345 |
+
0.012262399673461915,
|
346 |
+
0.012301312446594239,
|
347 |
+
0.0122357759475708,
|
348 |
+
0.012381183624267577,
|
349 |
+
0.012396544456481933,
|
350 |
+
0.012387328147888184,
|
351 |
+
0.01225113582611084,
|
352 |
+
0.012302335739135742,
|
353 |
+
0.012246015548706055,
|
354 |
+
0.012273664474487305,
|
355 |
+
0.012244992256164551,
|
356 |
+
0.012288000106811523,
|
357 |
+
0.012239871978759765,
|
358 |
+
0.012292096138000488,
|
359 |
+
0.012249088287353516,
|
360 |
+
0.01227673625946045,
|
361 |
+
0.012230655670166016,
|
362 |
+
0.012274687767028808,
|
363 |
+
0.012233728408813477,
|
364 |
+
0.012303359985351562,
|
365 |
+
0.0122357759475708,
|
366 |
+
0.012278783798217773,
|
367 |
+
0.012244992256164551,
|
368 |
+
0.012297216415405274,
|
369 |
+
0.01223475170135498,
|
370 |
+
0.012283904075622559,
|
371 |
+
0.012248064041137695,
|
372 |
+
0.01227673625946045,
|
373 |
+
0.012263423919677734,
|
374 |
+
0.012288000106811523,
|
375 |
+
0.012230655670166016,
|
376 |
+
0.01229312038421631,
|
377 |
+
0.012228608131408691,
|
378 |
+
0.012305407524108887,
|
379 |
+
0.012254207611083985,
|
380 |
+
0.012299263954162597,
|
381 |
+
0.012247039794921874,
|
382 |
+
0.01227673625946045,
|
383 |
+
0.012230655670166016,
|
384 |
+
0.012297216415405274,
|
385 |
+
0.012236800193786621,
|
386 |
+
0.012286975860595703,
|
387 |
+
0.012232704162597656,
|
388 |
+
0.012306431770324706,
|
389 |
+
0.012247039794921874,
|
390 |
+
0.012277759552001954,
|
391 |
+
0.012240896224975586,
|
392 |
+
0.012275712013244629,
|
393 |
+
0.012263423919677734,
|
394 |
+
0.012278783798217773,
|
395 |
+
0.012240896224975586,
|
396 |
+
0.01227673625946045,
|
397 |
+
0.01225830364227295,
|
398 |
+
0.01226956844329834,
|
399 |
+
0.012232704162597656,
|
400 |
+
0.012306431770324706,
|
401 |
+
0.012231679916381836,
|
402 |
+
0.012272640228271485,
|
403 |
+
0.012230655670166016,
|
404 |
+
0.012305407524108887,
|
405 |
+
0.012226559638977052,
|
406 |
+
0.01228492832183838,
|
407 |
+
0.01223475170135498,
|
408 |
+
0.012279808044433594,
|
409 |
+
0.012236800193786621,
|
410 |
+
0.012267519950866699,
|
411 |
+
0.012244992256164551,
|
412 |
+
0.01227673625946045,
|
413 |
+
0.012231743812561036,
|
414 |
+
0.012281791687011719,
|
415 |
+
0.012244992256164551,
|
416 |
+
0.01228492832183838,
|
417 |
+
0.012238847732543945,
|
418 |
+
0.012263423919677734,
|
419 |
+
0.01225216007232666,
|
420 |
+
0.012294143676757812,
|
421 |
+
0.012229632377624512,
|
422 |
+
0.012285951614379884,
|
423 |
+
0.01223475170135498,
|
424 |
+
0.012272640228271485,
|
425 |
+
0.012239871978759765,
|
426 |
+
0.012272640228271485,
|
427 |
+
0.012236800193786621,
|
428 |
+
0.012283904075622559,
|
429 |
+
0.01224396800994873,
|
430 |
+
0.012273664474487305,
|
431 |
+
0.012249088287353516,
|
432 |
+
0.012291071891784668
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.32526452855174
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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.218-208.862.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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
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-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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": 1928.998912,
|
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.028154144287109377,
|
15 |
+
"mean": 0.014077072143554688,
|
16 |
+
"stdev": 0.00010536003112792975,
|
17 |
+
"p50": 0.014077072143554688,
|
18 |
+
"p90": 0.014161360168457031,
|
19 |
+
"p95": 0.014171896171569824,
|
20 |
+
"p99": 0.01418032497406006,
|
21 |
+
"values": [
|
22 |
+
0.014182432174682617,
|
23 |
+
0.013971712112426758
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 497.26249383505586
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2272.694272,
|
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.14861962890625,
|
46 |
+
"mean": 1.574309814453125,
|
47 |
+
"stdev": 0.016244140624999903,
|
48 |
+
"p50": 1.574309814453125,
|
49 |
+
"p90": 1.5873051269531249,
|
50 |
+
"p95": 1.588929541015625,
|
51 |
+
"p99": 1.590229072265625,
|
52 |
+
"values": [
|
53 |
+
1.590553955078125,
|
54 |
+
1.558065673828125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.67027140024314
|
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.149693953514099,
|
70 |
+
"mean": 0.012449383215470749,
|
71 |
+
"stdev": 0.0009055423967376373,
|
72 |
+
"p50": 0.012285951614379884,
|
73 |
+
"p90": 0.012727705764770508,
|
74 |
+
"p95": 0.012755353736877442,
|
75 |
+
"p99": 0.012814581832885742,
|
76 |
+
"values": [
|
77 |
+
0.012689408302307128,
|
78 |
+
0.012729344367980957,
|
79 |
+
0.012694527626037597,
|
80 |
+
0.012795904159545898,
|
81 |
+
0.012684288024902344,
|
82 |
+
0.012717056274414062,
|
83 |
+
0.01266380786895752,
|
84 |
+
0.012752896308898925,
|
85 |
+
0.012742655754089355,
|
86 |
+
0.012725248336791992,
|
87 |
+
0.012743680000305176,
|
88 |
+
0.012723199844360352,
|
89 |
+
0.012702719688415527,
|
90 |
+
0.012708864212036132,
|
91 |
+
0.012641280174255372,
|
92 |
+
0.012733440399169921,
|
93 |
+
0.012731391906738282,
|
94 |
+
0.012718079566955566,
|
95 |
+
0.012761088371276855,
|
96 |
+
0.01278771209716797,
|
97 |
+
0.012681216239929198,
|
98 |
+
0.012772352218627929,
|
99 |
+
0.012668928146362305,
|
100 |
+
0.01274675178527832,
|
101 |
+
0.012768256187438964,
|
102 |
+
0.012841983795166016,
|
103 |
+
0.012724224090576173,
|
104 |
+
0.012708864212036132,
|
105 |
+
0.012666879653930664,
|
106 |
+
0.012759039878845215,
|
107 |
+
0.012701696395874023,
|
108 |
+
0.012722175598144531,
|
109 |
+
0.012650495529174804,
|
110 |
+
0.012723199844360352,
|
111 |
+
0.012662783622741699,
|
112 |
+
0.01267302417755127,
|
113 |
+
0.012690431594848632,
|
114 |
+
0.012720128059387208,
|
115 |
+
0.01265766429901123,
|
116 |
+
0.012704768180847169,
|
117 |
+
0.012679167747497559,
|
118 |
+
0.012717056274414062,
|
119 |
+
0.012747776031494141,
|
120 |
+
0.012734463691711426,
|
121 |
+
0.012728320121765137,
|
122 |
+
0.012705792427062988,
|
123 |
+
0.01266380786895752,
|
124 |
+
0.012788736343383789,
|
125 |
+
0.012692480087280274,
|
126 |
+
0.012721152305603027,
|
127 |
+
0.012686335563659668,
|
128 |
+
0.012772352218627929,
|
129 |
+
0.0127457275390625,
|
130 |
+
0.012772352218627929,
|
131 |
+
0.01267199993133545,
|
132 |
+
0.012772352218627929,
|
133 |
+
0.012701696395874023,
|
134 |
+
0.01273036766052246,
|
135 |
+
0.012676095962524414,
|
136 |
+
0.012734463691711426,
|
137 |
+
0.012679167747497559,
|
138 |
+
0.012704768180847169,
|
139 |
+
0.01266380786895752,
|
140 |
+
0.012635135650634765,
|
141 |
+
0.012627967834472656,
|
142 |
+
0.012616703987121582,
|
143 |
+
0.012606464385986327,
|
144 |
+
0.012339200019836426,
|
145 |
+
0.012398591995239258,
|
146 |
+
0.012578816413879394,
|
147 |
+
0.012478464126586914,
|
148 |
+
0.012834815979003907,
|
149 |
+
0.012436479568481444,
|
150 |
+
0.012345343589782716,
|
151 |
+
0.012329983711242675,
|
152 |
+
0.012397567749023437,
|
153 |
+
0.012308480262756348,
|
154 |
+
0.012378111839294433,
|
155 |
+
0.01224294376373291,
|
156 |
+
0.012296192169189453,
|
157 |
+
0.012262399673461915,
|
158 |
+
0.012307456016540527,
|
159 |
+
0.012298239707946777,
|
160 |
+
0.012299263954162597,
|
161 |
+
0.012264448165893555,
|
162 |
+
0.012275712013244629,
|
163 |
+
0.01224294376373291,
|
164 |
+
0.012295167922973632,
|
165 |
+
0.01225113582611084,
|
166 |
+
0.01229312038421631,
|
167 |
+
0.01227673625946045,
|
168 |
+
0.012295167922973632,
|
169 |
+
0.012244992256164551,
|
170 |
+
0.012303359985351562,
|
171 |
+
0.012238847732543945,
|
172 |
+
0.012298239707946777,
|
173 |
+
0.012267519950866699,
|
174 |
+
0.012305407524108887,
|
175 |
+
0.012266495704650878,
|
176 |
+
0.012296192169189453,
|
177 |
+
0.012240896224975586,
|
178 |
+
0.012288000106811523,
|
179 |
+
0.012225536346435547,
|
180 |
+
0.012297216415405274,
|
181 |
+
0.012237824440002442,
|
182 |
+
0.012281855583190919,
|
183 |
+
0.012296192169189453,
|
184 |
+
0.01227673625946045,
|
185 |
+
0.01224294376373291,
|
186 |
+
0.012300288200378418,
|
187 |
+
0.012228608131408691,
|
188 |
+
0.012286975860595703,
|
189 |
+
0.012231679916381836,
|
190 |
+
0.012297216415405274,
|
191 |
+
0.012262399673461915,
|
192 |
+
0.012275712013244629,
|
193 |
+
0.012273664474487305,
|
194 |
+
0.012286975860595703,
|
195 |
+
0.012237824440002442,
|
196 |
+
0.012292096138000488,
|
197 |
+
0.01224294376373291,
|
198 |
+
0.012296192169189453,
|
199 |
+
0.012241920471191407,
|
200 |
+
0.012282879829406738,
|
201 |
+
0.012282879829406738,
|
202 |
+
0.012303359985351562,
|
203 |
+
0.026472448348999023,
|
204 |
+
0.012238847732543945,
|
205 |
+
0.012286975860595703,
|
206 |
+
0.01224294376373291,
|
207 |
+
0.012280832290649414,
|
208 |
+
0.012264448165893555,
|
209 |
+
0.012282879829406738,
|
210 |
+
0.012262399673461915,
|
211 |
+
0.012318719863891601,
|
212 |
+
0.01226956844329834,
|
213 |
+
0.012288000106811523,
|
214 |
+
0.01224294376373291,
|
215 |
+
0.012283904075622559,
|
216 |
+
0.01225113582611084,
|
217 |
+
0.01228492832183838,
|
218 |
+
0.012238847732543945,
|
219 |
+
0.012267519950866699,
|
220 |
+
0.012231679916381836,
|
221 |
+
0.012290047645568849,
|
222 |
+
0.012240896224975586,
|
223 |
+
0.012280832290649414,
|
224 |
+
0.012237824440002442,
|
225 |
+
0.012278783798217773,
|
226 |
+
0.012254207611083985,
|
227 |
+
0.012315648078918457,
|
228 |
+
0.012229632377624512,
|
229 |
+
0.012283904075622559,
|
230 |
+
0.012238847732543945,
|
231 |
+
0.012282879829406738,
|
232 |
+
0.012236800193786621,
|
233 |
+
0.012281855583190919,
|
234 |
+
0.01222758388519287,
|
235 |
+
0.012282879829406738,
|
236 |
+
0.012233728408813477,
|
237 |
+
0.012297216415405274,
|
238 |
+
0.012259327888488769,
|
239 |
+
0.012282879829406738,
|
240 |
+
0.012224512100219726,
|
241 |
+
0.012282879829406738,
|
242 |
+
0.012262399673461915,
|
243 |
+
0.012301312446594239,
|
244 |
+
0.0122357759475708,
|
245 |
+
0.012381183624267577,
|
246 |
+
0.012396544456481933,
|
247 |
+
0.012387328147888184,
|
248 |
+
0.01225113582611084,
|
249 |
+
0.012302335739135742,
|
250 |
+
0.012246015548706055,
|
251 |
+
0.012273664474487305,
|
252 |
+
0.012244992256164551,
|
253 |
+
0.012288000106811523,
|
254 |
+
0.012239871978759765,
|
255 |
+
0.012292096138000488,
|
256 |
+
0.012249088287353516,
|
257 |
+
0.01227673625946045,
|
258 |
+
0.012230655670166016,
|
259 |
+
0.012274687767028808,
|
260 |
+
0.012233728408813477,
|
261 |
+
0.012303359985351562,
|
262 |
+
0.0122357759475708,
|
263 |
+
0.012278783798217773,
|
264 |
+
0.012244992256164551,
|
265 |
+
0.012297216415405274,
|
266 |
+
0.01223475170135498,
|
267 |
+
0.012283904075622559,
|
268 |
+
0.012248064041137695,
|
269 |
+
0.01227673625946045,
|
270 |
+
0.012263423919677734,
|
271 |
+
0.012288000106811523,
|
272 |
+
0.012230655670166016,
|
273 |
+
0.01229312038421631,
|
274 |
+
0.012228608131408691,
|
275 |
+
0.012305407524108887,
|
276 |
+
0.012254207611083985,
|
277 |
+
0.012299263954162597,
|
278 |
+
0.012247039794921874,
|
279 |
+
0.01227673625946045,
|
280 |
+
0.012230655670166016,
|
281 |
+
0.012297216415405274,
|
282 |
+
0.012236800193786621,
|
283 |
+
0.012286975860595703,
|
284 |
+
0.012232704162597656,
|
285 |
+
0.012306431770324706,
|
286 |
+
0.012247039794921874,
|
287 |
+
0.012277759552001954,
|
288 |
+
0.012240896224975586,
|
289 |
+
0.012275712013244629,
|
290 |
+
0.012263423919677734,
|
291 |
+
0.012278783798217773,
|
292 |
+
0.012240896224975586,
|
293 |
+
0.01227673625946045,
|
294 |
+
0.01225830364227295,
|
295 |
+
0.01226956844329834,
|
296 |
+
0.012232704162597656,
|
297 |
+
0.012306431770324706,
|
298 |
+
0.012231679916381836,
|
299 |
+
0.012272640228271485,
|
300 |
+
0.012230655670166016,
|
301 |
+
0.012305407524108887,
|
302 |
+
0.012226559638977052,
|
303 |
+
0.01228492832183838,
|
304 |
+
0.01223475170135498,
|
305 |
+
0.012279808044433594,
|
306 |
+
0.012236800193786621,
|
307 |
+
0.012267519950866699,
|
308 |
+
0.012244992256164551,
|
309 |
+
0.01227673625946045,
|
310 |
+
0.012231743812561036,
|
311 |
+
0.012281791687011719,
|
312 |
+
0.012244992256164551,
|
313 |
+
0.01228492832183838,
|
314 |
+
0.012238847732543945,
|
315 |
+
0.012263423919677734,
|
316 |
+
0.01225216007232666,
|
317 |
+
0.012294143676757812,
|
318 |
+
0.012229632377624512,
|
319 |
+
0.012285951614379884,
|
320 |
+
0.01223475170135498,
|
321 |
+
0.012272640228271485,
|
322 |
+
0.012239871978759765,
|
323 |
+
0.012272640228271485,
|
324 |
+
0.012236800193786621,
|
325 |
+
0.012283904075622559,
|
326 |
+
0.01224396800994873,
|
327 |
+
0.012273664474487305,
|
328 |
+
0.012249088287353516,
|
329 |
+
0.012291071891784668
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.32526452855174
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/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": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014077072143554688,
|
7 |
+
"prefill.throughput.value": 497.26249383505586,
|
8 |
+
"decode.latency.mean": 1.574309814453125,
|
9 |
+
"decode.throughput.value": 80.67027140024314,
|
10 |
+
"per_token.latency.mean": 0.012449383215470749,
|
11 |
+
"per_token.throughput.value": 80.32526452855174
|
12 |
+
}
|
13 |
+
}
|
2024-06-21/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmperlqh7ol/commit=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6
|
88 |
+
- hydra.run.dir=_benchmark/tmperlqh7ol/commit\=730a440734e1fb47c903c17e3231dac18e3e5fd6/${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.218-208.862.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: 730a440734e1fb47c903c17e3231dac18e3e5fd6
|
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-21/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.01984868812561035,
|
8 |
+
"prefill.throughput.value": 352.6681438945098,
|
9 |
+
"decode.latency.mean": 2.4443394775390628,
|
10 |
+
"decode.throughput.value": 51.95677653083702,
|
11 |
+
"per_token.latency.mean": 0.019322965086684397,
|
12 |
+
"per_token.throughput.value": 51.75189188170234
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.021841631889343262,
|
21 |
+
"prefill.throughput.value": 320.48887351752165,
|
22 |
+
"decode.latency.mean": 2.5444388427734377,
|
23 |
+
"decode.throughput.value": 49.91277363993156,
|
24 |
+
"per_token.latency.mean": 0.020118487505102346,
|
25 |
+
"per_token.throughput.value": 49.705525812831866
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "730a440734e1fb47c903c17e3231dac18e3e5fd6",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014077072143554688,
|
34 |
+
"prefill.throughput.value": 497.26249383505586,
|
35 |
+
"decode.latency.mean": 1.574309814453125,
|
36 |
+
"decode.throughput.value": 80.67027140024314,
|
37 |
+
"per_token.latency.mean": 0.012449383215470749,
|
38 |
+
"per_token.throughput.value": 80.32526452855174
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-21/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"730a440734e1fb47c903c17e3231dac18e3e5fd6": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01984868812561035,
|
7 |
+
"prefill.throughput.value": 352.6681438945098,
|
8 |
+
"decode.latency.mean": 2.4443394775390628,
|
9 |
+
"decode.throughput.value": 51.95677653083702,
|
10 |
+
"per_token.latency.mean": 0.019322965086684397,
|
11 |
+
"per_token.throughput.value": 51.75189188170234
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"730a440734e1fb47c903c17e3231dac18e3e5fd6": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.021841631889343262,
|
19 |
+
"prefill.throughput.value": 320.48887351752165,
|
20 |
+
"decode.latency.mean": 2.5444388427734377,
|
21 |
+
"decode.throughput.value": 49.91277363993156,
|
22 |
+
"per_token.latency.mean": 0.020118487505102346,
|
23 |
+
"per_token.throughput.value": 49.705525812831866
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"730a440734e1fb47c903c17e3231dac18e3e5fd6": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014077072143554688,
|
31 |
+
"prefill.throughput.value": 497.26249383505586,
|
32 |
+
"decode.latency.mean": 1.574309814453125,
|
33 |
+
"decode.throughput.value": 80.67027140024314,
|
34 |
+
"per_token.latency.mean": 0.012449383215470749,
|
35 |
+
"per_token.throughput.value": 80.32526452855174
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|