hf-transformers-bot
commited on
Commit
•
a7788e8
1
Parent(s):
72346c5
Upload folder using huggingface_hub
Browse files- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/multirun.yaml +232 -0
- 2024-06-15/summaries.json +41 -0
- 2024-06-15/summary.json +40 -0
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
88 |
+
- hydra.run.dir=_benchmark/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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": 1709.027328,
|
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.04044524955749512,
|
118 |
+
"mean": 0.02022262477874756,
|
119 |
+
"stdev": 0.0007350721359252934,
|
120 |
+
"p50": 0.02022262477874756,
|
121 |
+
"p90": 0.020810682487487794,
|
122 |
+
"p95": 0.020884189701080323,
|
123 |
+
"p99": 0.020942995471954346,
|
124 |
+
"values": [
|
125 |
+
0.020957696914672853,
|
126 |
+
0.019487552642822266
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 346.14695553054355
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1709.121536,
|
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.9499006347656245,
|
149 |
+
"mean": 2.4749503173828122,
|
150 |
+
"stdev": 0.022464965820312655,
|
151 |
+
"p50": 2.4749503173828122,
|
152 |
+
"p90": 2.4929222900390626,
|
153 |
+
"p95": 2.4951687866210936,
|
154 |
+
"p99": 2.4969659838867186,
|
155 |
+
"values": [
|
156 |
+
2.497415283203125,
|
157 |
+
2.4524853515625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.314161382560115
|
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.949184518814087,
|
173 |
+
"mean": 0.019561994145510228,
|
174 |
+
"stdev": 0.001329183491945249,
|
175 |
+
"p50": 0.01960960006713867,
|
176 |
+
"p90": 0.02012682266235352,
|
177 |
+
"p95": 0.020349747848510742,
|
178 |
+
"p99": 0.020780973663330076,
|
179 |
+
"values": [
|
180 |
+
0.0202106876373291,
|
181 |
+
0.020199424743652345,
|
182 |
+
0.020348928451538087,
|
183 |
+
0.02020147132873535,
|
184 |
+
0.020265983581542968,
|
185 |
+
0.020312063217163084,
|
186 |
+
0.020384767532348632,
|
187 |
+
0.020668415069580077,
|
188 |
+
0.02062950325012207,
|
189 |
+
0.0194201602935791,
|
190 |
+
0.019417087554931642,
|
191 |
+
0.019531776428222656,
|
192 |
+
0.01920204734802246,
|
193 |
+
0.020048896789550782,
|
194 |
+
0.020365312576293947,
|
195 |
+
0.020344831466674804,
|
196 |
+
0.020350976943969725,
|
197 |
+
0.019296415328979494,
|
198 |
+
0.0191363525390625,
|
199 |
+
0.019341312408447265,
|
200 |
+
0.01927065658569336,
|
201 |
+
0.01944371223449707,
|
202 |
+
0.01922355270385742,
|
203 |
+
0.019103744506835937,
|
204 |
+
0.019163135528564454,
|
205 |
+
0.019131391525268555,
|
206 |
+
0.019518463134765626,
|
207 |
+
0.020354047775268554,
|
208 |
+
0.019482624053955077,
|
209 |
+
0.019595264434814453,
|
210 |
+
0.019312639236450196,
|
211 |
+
0.0196997127532959,
|
212 |
+
0.020185087203979494,
|
213 |
+
0.02009600067138672,
|
214 |
+
0.020173824310302735,
|
215 |
+
0.020182016372680665,
|
216 |
+
0.020526079177856444,
|
217 |
+
0.019747840881347657,
|
218 |
+
0.02090291213989258,
|
219 |
+
0.0200130558013916,
|
220 |
+
0.019191808700561523,
|
221 |
+
0.019379327774047852,
|
222 |
+
0.019776384353637697,
|
223 |
+
0.019808256149291992,
|
224 |
+
0.019745792388916016,
|
225 |
+
0.01978265571594238,
|
226 |
+
0.019916799545288084,
|
227 |
+
0.019911680221557617,
|
228 |
+
0.01965363121032715,
|
229 |
+
0.019497983932495116,
|
230 |
+
0.018679807662963867,
|
231 |
+
0.018760704040527345,
|
232 |
+
0.019499008178710937,
|
233 |
+
0.019551231384277345,
|
234 |
+
0.01962393569946289,
|
235 |
+
0.01967001533508301,
|
236 |
+
0.018897920608520507,
|
237 |
+
0.018911231994628908,
|
238 |
+
0.022016000747680665,
|
239 |
+
0.020515968322753906,
|
240 |
+
0.02013273620605469,
|
241 |
+
0.01978982353210449,
|
242 |
+
0.019745792388916016,
|
243 |
+
0.018975744247436522,
|
244 |
+
0.018989055633544923,
|
245 |
+
0.020001792907714845,
|
246 |
+
0.01968435287475586,
|
247 |
+
0.019704832077026366,
|
248 |
+
0.019655679702758787,
|
249 |
+
0.01964339256286621,
|
250 |
+
0.019803136825561524,
|
251 |
+
0.01963417625427246,
|
252 |
+
0.019738624572753907,
|
253 |
+
0.01967411231994629,
|
254 |
+
0.01966182327270508,
|
255 |
+
0.01983590316772461,
|
256 |
+
0.0188939208984375,
|
257 |
+
0.01982147216796875,
|
258 |
+
0.01979084777832031,
|
259 |
+
0.019811328887939454,
|
260 |
+
0.020158464431762696,
|
261 |
+
0.019612863540649415,
|
262 |
+
0.01960428810119629,
|
263 |
+
0.019668991088867188,
|
264 |
+
0.019591167449951173,
|
265 |
+
0.02006425666809082,
|
266 |
+
0.01963724708557129,
|
267 |
+
0.019475456237792968,
|
268 |
+
0.019730432510375977,
|
269 |
+
0.01965670394897461,
|
270 |
+
0.019610719680786134,
|
271 |
+
0.019281824111938475,
|
272 |
+
0.01964339256286621,
|
273 |
+
0.01968332862854004,
|
274 |
+
0.01963212776184082,
|
275 |
+
0.019080192565917968,
|
276 |
+
0.01963520050048828,
|
277 |
+
0.01983590316772461,
|
278 |
+
0.019741695404052736,
|
279 |
+
0.01980620765686035,
|
280 |
+
0.019397632598876953,
|
281 |
+
0.019677183151245118,
|
282 |
+
0.01965260887145996,
|
283 |
+
0.01960140800476074,
|
284 |
+
0.019717119216918946,
|
285 |
+
0.01968230438232422,
|
286 |
+
0.01961881637573242,
|
287 |
+
0.019620864868164063,
|
288 |
+
0.018907136917114258,
|
289 |
+
0.018874368667602538,
|
290 |
+
0.01884774398803711,
|
291 |
+
0.01921433639526367,
|
292 |
+
0.0189040641784668,
|
293 |
+
0.019796991348266603,
|
294 |
+
0.019647487640380858,
|
295 |
+
0.019649728775024414,
|
296 |
+
0.019765247344970704,
|
297 |
+
0.01963808059692383,
|
298 |
+
0.019720191955566405,
|
299 |
+
0.01884774398803711,
|
300 |
+
0.01882828712463379,
|
301 |
+
0.018844671249389648,
|
302 |
+
0.01965056037902832,
|
303 |
+
0.019743743896484374,
|
304 |
+
0.01882009506225586,
|
305 |
+
0.018802751541137697,
|
306 |
+
0.03902560043334961,
|
307 |
+
0.01946828842163086,
|
308 |
+
0.01944473648071289,
|
309 |
+
0.018689023971557618,
|
310 |
+
0.01860095977783203,
|
311 |
+
0.019315711975097655,
|
312 |
+
0.019544063568115236,
|
313 |
+
0.01863680076599121,
|
314 |
+
0.01859174346923828,
|
315 |
+
0.018713600158691408,
|
316 |
+
0.019530752182006835,
|
317 |
+
0.0186746883392334,
|
318 |
+
0.019276800155639647,
|
319 |
+
0.019525632858276368,
|
320 |
+
0.01968639945983887,
|
321 |
+
0.019495935440063478,
|
322 |
+
0.018768896102905275,
|
323 |
+
0.01863680076599121,
|
324 |
+
0.018691072463989256,
|
325 |
+
0.018876415252685547,
|
326 |
+
0.018752511978149415,
|
327 |
+
0.019500032424926757,
|
328 |
+
0.019516416549682617,
|
329 |
+
0.019587072372436523,
|
330 |
+
0.019491840362548828,
|
331 |
+
0.01899622344970703,
|
332 |
+
0.019528703689575197,
|
333 |
+
0.01965465545654297,
|
334 |
+
0.019565568923950196,
|
335 |
+
0.019478527069091797,
|
336 |
+
0.019503103256225587,
|
337 |
+
0.01961676788330078,
|
338 |
+
0.018735103607177735,
|
339 |
+
0.018755584716796874,
|
340 |
+
0.018750463485717773,
|
341 |
+
0.018740320205688478,
|
342 |
+
0.019097503662109376,
|
343 |
+
0.01987174415588379,
|
344 |
+
0.01983283233642578,
|
345 |
+
0.019531936645507814,
|
346 |
+
0.01947430419921875,
|
347 |
+
0.019784671783447266,
|
348 |
+
0.019595264434814453,
|
349 |
+
0.01945907211303711,
|
350 |
+
0.01863680076599121,
|
351 |
+
0.01862451171875,
|
352 |
+
0.018857023239135743,
|
353 |
+
0.019472320556640624,
|
354 |
+
0.019514368057250975,
|
355 |
+
0.018714624404907225,
|
356 |
+
0.019207168579101562,
|
357 |
+
0.019583999633789064,
|
358 |
+
0.01980723190307617,
|
359 |
+
0.019696640014648437,
|
360 |
+
0.02010316848754883,
|
361 |
+
0.018679807662963867,
|
362 |
+
0.018994176864624023,
|
363 |
+
0.019982336044311523,
|
364 |
+
0.019695615768432616,
|
365 |
+
0.019681280136108398,
|
366 |
+
0.019614719390869142,
|
367 |
+
0.01979903984069824,
|
368 |
+
0.019964927673339843,
|
369 |
+
0.019611648559570313,
|
370 |
+
0.0200447998046875,
|
371 |
+
0.01964646339416504,
|
372 |
+
0.019730432510375977,
|
373 |
+
0.01967820739746094,
|
374 |
+
0.01966592025756836,
|
375 |
+
0.019688447952270507,
|
376 |
+
0.019749887466430666,
|
377 |
+
0.019804159164428712,
|
378 |
+
0.019763200759887696,
|
379 |
+
0.019673088073730468,
|
380 |
+
0.01968639945983887,
|
381 |
+
0.019580928802490235,
|
382 |
+
0.019610624313354492,
|
383 |
+
0.01977446365356445,
|
384 |
+
0.0188590087890625,
|
385 |
+
0.018860031127929687,
|
386 |
+
0.018889728546142577,
|
387 |
+
0.01878118324279785,
|
388 |
+
0.018889728546142577,
|
389 |
+
0.01962700843811035,
|
390 |
+
0.01966796875,
|
391 |
+
0.01966182327270508,
|
392 |
+
0.019668159484863282,
|
393 |
+
0.019671871185302735,
|
394 |
+
0.01965465545654297,
|
395 |
+
0.019539968490600586,
|
396 |
+
0.01882624053955078,
|
397 |
+
0.018946048736572265,
|
398 |
+
0.01886207962036133,
|
399 |
+
0.01881292724609375,
|
400 |
+
0.018785280227661134,
|
401 |
+
0.018795520782470702,
|
402 |
+
0.018865152359008788,
|
403 |
+
0.01875660705566406,
|
404 |
+
0.018766847610473633,
|
405 |
+
0.018926591873168946,
|
406 |
+
0.0188590087890625,
|
407 |
+
0.018713600158691408,
|
408 |
+
0.018824192047119142,
|
409 |
+
0.01882009506225586,
|
410 |
+
0.018778112411499022,
|
411 |
+
0.01906073570251465,
|
412 |
+
0.01965260887145996,
|
413 |
+
0.01960960006713867,
|
414 |
+
0.019610624313354492,
|
415 |
+
0.01968332862854004,
|
416 |
+
0.019588096618652344,
|
417 |
+
0.01879654312133789,
|
418 |
+
0.01883033561706543,
|
419 |
+
0.018980863571166993,
|
420 |
+
0.018903039932250978,
|
421 |
+
0.018851839065551757,
|
422 |
+
0.01988198471069336,
|
423 |
+
0.020543487548828124,
|
424 |
+
0.020229120254516602,
|
425 |
+
0.02060188865661621,
|
426 |
+
0.019792863845825195,
|
427 |
+
0.018844671249389648,
|
428 |
+
0.01880268859863281,
|
429 |
+
0.018771968841552734,
|
430 |
+
0.01913049507141113,
|
431 |
+
0.01967296028137207,
|
432 |
+
0.019680255889892577
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.119532730742336
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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": 1709.027328,
|
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.04044524955749512,
|
15 |
+
"mean": 0.02022262477874756,
|
16 |
+
"stdev": 0.0007350721359252934,
|
17 |
+
"p50": 0.02022262477874756,
|
18 |
+
"p90": 0.020810682487487794,
|
19 |
+
"p95": 0.020884189701080323,
|
20 |
+
"p99": 0.020942995471954346,
|
21 |
+
"values": [
|
22 |
+
0.020957696914672853,
|
23 |
+
0.019487552642822266
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 346.14695553054355
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1709.121536,
|
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.9499006347656245,
|
46 |
+
"mean": 2.4749503173828122,
|
47 |
+
"stdev": 0.022464965820312655,
|
48 |
+
"p50": 2.4749503173828122,
|
49 |
+
"p90": 2.4929222900390626,
|
50 |
+
"p95": 2.4951687866210936,
|
51 |
+
"p99": 2.4969659838867186,
|
52 |
+
"values": [
|
53 |
+
2.497415283203125,
|
54 |
+
2.4524853515625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.314161382560115
|
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.949184518814087,
|
70 |
+
"mean": 0.019561994145510228,
|
71 |
+
"stdev": 0.001329183491945249,
|
72 |
+
"p50": 0.01960960006713867,
|
73 |
+
"p90": 0.02012682266235352,
|
74 |
+
"p95": 0.020349747848510742,
|
75 |
+
"p99": 0.020780973663330076,
|
76 |
+
"values": [
|
77 |
+
0.0202106876373291,
|
78 |
+
0.020199424743652345,
|
79 |
+
0.020348928451538087,
|
80 |
+
0.02020147132873535,
|
81 |
+
0.020265983581542968,
|
82 |
+
0.020312063217163084,
|
83 |
+
0.020384767532348632,
|
84 |
+
0.020668415069580077,
|
85 |
+
0.02062950325012207,
|
86 |
+
0.0194201602935791,
|
87 |
+
0.019417087554931642,
|
88 |
+
0.019531776428222656,
|
89 |
+
0.01920204734802246,
|
90 |
+
0.020048896789550782,
|
91 |
+
0.020365312576293947,
|
92 |
+
0.020344831466674804,
|
93 |
+
0.020350976943969725,
|
94 |
+
0.019296415328979494,
|
95 |
+
0.0191363525390625,
|
96 |
+
0.019341312408447265,
|
97 |
+
0.01927065658569336,
|
98 |
+
0.01944371223449707,
|
99 |
+
0.01922355270385742,
|
100 |
+
0.019103744506835937,
|
101 |
+
0.019163135528564454,
|
102 |
+
0.019131391525268555,
|
103 |
+
0.019518463134765626,
|
104 |
+
0.020354047775268554,
|
105 |
+
0.019482624053955077,
|
106 |
+
0.019595264434814453,
|
107 |
+
0.019312639236450196,
|
108 |
+
0.0196997127532959,
|
109 |
+
0.020185087203979494,
|
110 |
+
0.02009600067138672,
|
111 |
+
0.020173824310302735,
|
112 |
+
0.020182016372680665,
|
113 |
+
0.020526079177856444,
|
114 |
+
0.019747840881347657,
|
115 |
+
0.02090291213989258,
|
116 |
+
0.0200130558013916,
|
117 |
+
0.019191808700561523,
|
118 |
+
0.019379327774047852,
|
119 |
+
0.019776384353637697,
|
120 |
+
0.019808256149291992,
|
121 |
+
0.019745792388916016,
|
122 |
+
0.01978265571594238,
|
123 |
+
0.019916799545288084,
|
124 |
+
0.019911680221557617,
|
125 |
+
0.01965363121032715,
|
126 |
+
0.019497983932495116,
|
127 |
+
0.018679807662963867,
|
128 |
+
0.018760704040527345,
|
129 |
+
0.019499008178710937,
|
130 |
+
0.019551231384277345,
|
131 |
+
0.01962393569946289,
|
132 |
+
0.01967001533508301,
|
133 |
+
0.018897920608520507,
|
134 |
+
0.018911231994628908,
|
135 |
+
0.022016000747680665,
|
136 |
+
0.020515968322753906,
|
137 |
+
0.02013273620605469,
|
138 |
+
0.01978982353210449,
|
139 |
+
0.019745792388916016,
|
140 |
+
0.018975744247436522,
|
141 |
+
0.018989055633544923,
|
142 |
+
0.020001792907714845,
|
143 |
+
0.01968435287475586,
|
144 |
+
0.019704832077026366,
|
145 |
+
0.019655679702758787,
|
146 |
+
0.01964339256286621,
|
147 |
+
0.019803136825561524,
|
148 |
+
0.01963417625427246,
|
149 |
+
0.019738624572753907,
|
150 |
+
0.01967411231994629,
|
151 |
+
0.01966182327270508,
|
152 |
+
0.01983590316772461,
|
153 |
+
0.0188939208984375,
|
154 |
+
0.01982147216796875,
|
155 |
+
0.01979084777832031,
|
156 |
+
0.019811328887939454,
|
157 |
+
0.020158464431762696,
|
158 |
+
0.019612863540649415,
|
159 |
+
0.01960428810119629,
|
160 |
+
0.019668991088867188,
|
161 |
+
0.019591167449951173,
|
162 |
+
0.02006425666809082,
|
163 |
+
0.01963724708557129,
|
164 |
+
0.019475456237792968,
|
165 |
+
0.019730432510375977,
|
166 |
+
0.01965670394897461,
|
167 |
+
0.019610719680786134,
|
168 |
+
0.019281824111938475,
|
169 |
+
0.01964339256286621,
|
170 |
+
0.01968332862854004,
|
171 |
+
0.01963212776184082,
|
172 |
+
0.019080192565917968,
|
173 |
+
0.01963520050048828,
|
174 |
+
0.01983590316772461,
|
175 |
+
0.019741695404052736,
|
176 |
+
0.01980620765686035,
|
177 |
+
0.019397632598876953,
|
178 |
+
0.019677183151245118,
|
179 |
+
0.01965260887145996,
|
180 |
+
0.01960140800476074,
|
181 |
+
0.019717119216918946,
|
182 |
+
0.01968230438232422,
|
183 |
+
0.01961881637573242,
|
184 |
+
0.019620864868164063,
|
185 |
+
0.018907136917114258,
|
186 |
+
0.018874368667602538,
|
187 |
+
0.01884774398803711,
|
188 |
+
0.01921433639526367,
|
189 |
+
0.0189040641784668,
|
190 |
+
0.019796991348266603,
|
191 |
+
0.019647487640380858,
|
192 |
+
0.019649728775024414,
|
193 |
+
0.019765247344970704,
|
194 |
+
0.01963808059692383,
|
195 |
+
0.019720191955566405,
|
196 |
+
0.01884774398803711,
|
197 |
+
0.01882828712463379,
|
198 |
+
0.018844671249389648,
|
199 |
+
0.01965056037902832,
|
200 |
+
0.019743743896484374,
|
201 |
+
0.01882009506225586,
|
202 |
+
0.018802751541137697,
|
203 |
+
0.03902560043334961,
|
204 |
+
0.01946828842163086,
|
205 |
+
0.01944473648071289,
|
206 |
+
0.018689023971557618,
|
207 |
+
0.01860095977783203,
|
208 |
+
0.019315711975097655,
|
209 |
+
0.019544063568115236,
|
210 |
+
0.01863680076599121,
|
211 |
+
0.01859174346923828,
|
212 |
+
0.018713600158691408,
|
213 |
+
0.019530752182006835,
|
214 |
+
0.0186746883392334,
|
215 |
+
0.019276800155639647,
|
216 |
+
0.019525632858276368,
|
217 |
+
0.01968639945983887,
|
218 |
+
0.019495935440063478,
|
219 |
+
0.018768896102905275,
|
220 |
+
0.01863680076599121,
|
221 |
+
0.018691072463989256,
|
222 |
+
0.018876415252685547,
|
223 |
+
0.018752511978149415,
|
224 |
+
0.019500032424926757,
|
225 |
+
0.019516416549682617,
|
226 |
+
0.019587072372436523,
|
227 |
+
0.019491840362548828,
|
228 |
+
0.01899622344970703,
|
229 |
+
0.019528703689575197,
|
230 |
+
0.01965465545654297,
|
231 |
+
0.019565568923950196,
|
232 |
+
0.019478527069091797,
|
233 |
+
0.019503103256225587,
|
234 |
+
0.01961676788330078,
|
235 |
+
0.018735103607177735,
|
236 |
+
0.018755584716796874,
|
237 |
+
0.018750463485717773,
|
238 |
+
0.018740320205688478,
|
239 |
+
0.019097503662109376,
|
240 |
+
0.01987174415588379,
|
241 |
+
0.01983283233642578,
|
242 |
+
0.019531936645507814,
|
243 |
+
0.01947430419921875,
|
244 |
+
0.019784671783447266,
|
245 |
+
0.019595264434814453,
|
246 |
+
0.01945907211303711,
|
247 |
+
0.01863680076599121,
|
248 |
+
0.01862451171875,
|
249 |
+
0.018857023239135743,
|
250 |
+
0.019472320556640624,
|
251 |
+
0.019514368057250975,
|
252 |
+
0.018714624404907225,
|
253 |
+
0.019207168579101562,
|
254 |
+
0.019583999633789064,
|
255 |
+
0.01980723190307617,
|
256 |
+
0.019696640014648437,
|
257 |
+
0.02010316848754883,
|
258 |
+
0.018679807662963867,
|
259 |
+
0.018994176864624023,
|
260 |
+
0.019982336044311523,
|
261 |
+
0.019695615768432616,
|
262 |
+
0.019681280136108398,
|
263 |
+
0.019614719390869142,
|
264 |
+
0.01979903984069824,
|
265 |
+
0.019964927673339843,
|
266 |
+
0.019611648559570313,
|
267 |
+
0.0200447998046875,
|
268 |
+
0.01964646339416504,
|
269 |
+
0.019730432510375977,
|
270 |
+
0.01967820739746094,
|
271 |
+
0.01966592025756836,
|
272 |
+
0.019688447952270507,
|
273 |
+
0.019749887466430666,
|
274 |
+
0.019804159164428712,
|
275 |
+
0.019763200759887696,
|
276 |
+
0.019673088073730468,
|
277 |
+
0.01968639945983887,
|
278 |
+
0.019580928802490235,
|
279 |
+
0.019610624313354492,
|
280 |
+
0.01977446365356445,
|
281 |
+
0.0188590087890625,
|
282 |
+
0.018860031127929687,
|
283 |
+
0.018889728546142577,
|
284 |
+
0.01878118324279785,
|
285 |
+
0.018889728546142577,
|
286 |
+
0.01962700843811035,
|
287 |
+
0.01966796875,
|
288 |
+
0.01966182327270508,
|
289 |
+
0.019668159484863282,
|
290 |
+
0.019671871185302735,
|
291 |
+
0.01965465545654297,
|
292 |
+
0.019539968490600586,
|
293 |
+
0.01882624053955078,
|
294 |
+
0.018946048736572265,
|
295 |
+
0.01886207962036133,
|
296 |
+
0.01881292724609375,
|
297 |
+
0.018785280227661134,
|
298 |
+
0.018795520782470702,
|
299 |
+
0.018865152359008788,
|
300 |
+
0.01875660705566406,
|
301 |
+
0.018766847610473633,
|
302 |
+
0.018926591873168946,
|
303 |
+
0.0188590087890625,
|
304 |
+
0.018713600158691408,
|
305 |
+
0.018824192047119142,
|
306 |
+
0.01882009506225586,
|
307 |
+
0.018778112411499022,
|
308 |
+
0.01906073570251465,
|
309 |
+
0.01965260887145996,
|
310 |
+
0.01960960006713867,
|
311 |
+
0.019610624313354492,
|
312 |
+
0.01968332862854004,
|
313 |
+
0.019588096618652344,
|
314 |
+
0.01879654312133789,
|
315 |
+
0.01883033561706543,
|
316 |
+
0.018980863571166993,
|
317 |
+
0.018903039932250978,
|
318 |
+
0.018851839065551757,
|
319 |
+
0.01988198471069336,
|
320 |
+
0.020543487548828124,
|
321 |
+
0.020229120254516602,
|
322 |
+
0.02060188865661621,
|
323 |
+
0.019792863845825195,
|
324 |
+
0.018844671249389648,
|
325 |
+
0.01880268859863281,
|
326 |
+
0.018771968841552734,
|
327 |
+
0.01913049507141113,
|
328 |
+
0.01967296028137207,
|
329 |
+
0.019680255889892577
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.119532730742336
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02022262477874756,
|
7 |
+
"prefill.throughput.value": 346.14695553054355,
|
8 |
+
"decode.latency.mean": 2.4749503173828122,
|
9 |
+
"decode.throughput.value": 51.314161382560115,
|
10 |
+
"per_token.latency.mean": 0.019561994145510228,
|
11 |
+
"per_token.throughput.value": 51.119532730742336
|
12 |
+
}
|
13 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
88 |
+
- hydra.run.dir=_benchmark/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-15 02:34:06,537[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
88 |
+
- hydra.run.dir=_benchmark/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1754.075136,
|
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.04409452819824219,
|
118 |
+
"mean": 0.022047264099121094,
|
119 |
+
"stdev": 0.00020076751708984417,
|
120 |
+
"p50": 0.022047264099121094,
|
121 |
+
"p90": 0.02220787811279297,
|
122 |
+
"p95": 0.022227954864501954,
|
123 |
+
"p99": 0.02224401626586914,
|
124 |
+
"values": [
|
125 |
+
0.022248031616210938,
|
126 |
+
0.02184649658203125
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 317.4997119156863
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1754.087424,
|
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.16445361328125,
|
149 |
+
"mean": 2.582226806640625,
|
150 |
+
"stdev": 0.01793774414062499,
|
151 |
+
"p50": 2.582226806640625,
|
152 |
+
"p90": 2.5965770019531247,
|
153 |
+
"p95": 2.5983707763671875,
|
154 |
+
"p99": 2.5998057958984373,
|
155 |
+
"values": [
|
156 |
+
2.60016455078125,
|
157 |
+
2.5642890625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.182356744728395
|
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.165543432235718,
|
173 |
+
"mean": 0.02041716771634671,
|
174 |
+
"stdev": 0.0014686678563924304,
|
175 |
+
"p50": 0.02002022361755371,
|
176 |
+
"p90": 0.020950016021728517,
|
177 |
+
"p95": 0.021472255706787107,
|
178 |
+
"p99": 0.022505389785766598,
|
179 |
+
"values": [
|
180 |
+
0.02162892723083496,
|
181 |
+
0.02245427131652832,
|
182 |
+
0.022798336029052735,
|
183 |
+
0.022560768127441407,
|
184 |
+
0.021556224822998047,
|
185 |
+
0.02149990463256836,
|
186 |
+
0.021336063385009766,
|
187 |
+
0.021201919555664063,
|
188 |
+
0.021375999450683594,
|
189 |
+
0.020706304550170897,
|
190 |
+
0.021203968048095705,
|
191 |
+
0.02045644760131836,
|
192 |
+
0.020676607131958007,
|
193 |
+
0.020853759765625,
|
194 |
+
0.02106470489501953,
|
195 |
+
0.02152038383483887,
|
196 |
+
0.021400575637817384,
|
197 |
+
0.02125721549987793,
|
198 |
+
0.02145382308959961,
|
199 |
+
0.021206016540527343,
|
200 |
+
0.021198848724365234,
|
201 |
+
0.020487167358398437,
|
202 |
+
0.020576255798339844,
|
203 |
+
0.020362239837646484,
|
204 |
+
0.02041753578186035,
|
205 |
+
0.020700159072875975,
|
206 |
+
0.021542911529541017,
|
207 |
+
0.02185830307006836,
|
208 |
+
0.021604352951049805,
|
209 |
+
0.021597183227539063,
|
210 |
+
0.021392383575439454,
|
211 |
+
0.020572160720825194,
|
212 |
+
0.020754432678222655,
|
213 |
+
0.020748287200927733,
|
214 |
+
0.020361215591430663,
|
215 |
+
0.020353023529052734,
|
216 |
+
0.0204769287109375,
|
217 |
+
0.02038374328613281,
|
218 |
+
0.020398080825805662,
|
219 |
+
0.020231168746948244,
|
220 |
+
0.020331520080566406,
|
221 |
+
0.020149248123168945,
|
222 |
+
0.020342784881591795,
|
223 |
+
0.020319232940673827,
|
224 |
+
0.02020147132873535,
|
225 |
+
0.02007142448425293,
|
226 |
+
0.019974143981933593,
|
227 |
+
0.02001408004760742,
|
228 |
+
0.019927040100097656,
|
229 |
+
0.02003455924987793,
|
230 |
+
0.019978239059448243,
|
231 |
+
0.019948543548583983,
|
232 |
+
0.019973119735717772,
|
233 |
+
0.019935232162475586,
|
234 |
+
0.019902463912963866,
|
235 |
+
0.0199671688079834,
|
236 |
+
0.020039487838745117,
|
237 |
+
0.02003046417236328,
|
238 |
+
0.019985408782958985,
|
239 |
+
0.01988915252685547,
|
240 |
+
0.019945472717285157,
|
241 |
+
0.020002815246582033,
|
242 |
+
0.020215808868408205,
|
243 |
+
0.019899391174316407,
|
244 |
+
0.019934207916259765,
|
245 |
+
0.01988812828063965,
|
246 |
+
0.020436992645263673,
|
247 |
+
0.02086297607421875,
|
248 |
+
0.02084249687194824,
|
249 |
+
0.020767744064331056,
|
250 |
+
0.02002022361755371,
|
251 |
+
0.019974143981933593,
|
252 |
+
0.020000768661499024,
|
253 |
+
0.019989503860473632,
|
254 |
+
0.02004582405090332,
|
255 |
+
0.020000768661499024,
|
256 |
+
0.019963903427124022,
|
257 |
+
0.02005504035949707,
|
258 |
+
0.020006912231445313,
|
259 |
+
0.02000588798522949,
|
260 |
+
0.0200263671875,
|
261 |
+
0.019984384536743165,
|
262 |
+
0.020074495315551756,
|
263 |
+
0.019952640533447266,
|
264 |
+
0.02009600067138672,
|
265 |
+
0.019909631729125975,
|
266 |
+
0.019958784103393554,
|
267 |
+
0.019927040100097656,
|
268 |
+
0.020192256927490236,
|
269 |
+
0.020775936126708985,
|
270 |
+
0.020789247512817383,
|
271 |
+
0.020789247512817383,
|
272 |
+
0.02088755226135254,
|
273 |
+
0.020790271759033203,
|
274 |
+
0.020753408432006838,
|
275 |
+
0.020703231811523438,
|
276 |
+
0.020669439315795898,
|
277 |
+
0.020934656143188478,
|
278 |
+
0.020720640182495118,
|
279 |
+
0.020817920684814452,
|
280 |
+
0.020751359939575196,
|
281 |
+
0.020706304550170897,
|
282 |
+
0.020808704376220705,
|
283 |
+
0.02087424087524414,
|
284 |
+
0.020840448379516603,
|
285 |
+
0.020084735870361328,
|
286 |
+
0.019915775299072267,
|
287 |
+
0.019945472717285157,
|
288 |
+
0.019941375732421874,
|
289 |
+
0.019959808349609375,
|
290 |
+
0.019946495056152345,
|
291 |
+
0.019955711364746095,
|
292 |
+
0.01993011283874512,
|
293 |
+
0.019911680221557617,
|
294 |
+
0.01987993621826172,
|
295 |
+
0.01988915252685547,
|
296 |
+
0.01990553665161133,
|
297 |
+
0.019919872283935547,
|
298 |
+
0.019914751052856446,
|
299 |
+
0.019918848037719726,
|
300 |
+
0.02003558349609375,
|
301 |
+
0.01983283233642578,
|
302 |
+
0.019769344329833984,
|
303 |
+
0.01983795166015625,
|
304 |
+
0.020033536911010744,
|
305 |
+
0.020016128540039063,
|
306 |
+
0.042092544555664066,
|
307 |
+
0.019959808349609375,
|
308 |
+
0.019965951919555663,
|
309 |
+
0.019983360290527344,
|
310 |
+
0.01984716796875,
|
311 |
+
0.01998028755187988,
|
312 |
+
0.019941375732421874,
|
313 |
+
0.020017152786254884,
|
314 |
+
0.019948543548583983,
|
315 |
+
0.020000768661499024,
|
316 |
+
0.019938304901123048,
|
317 |
+
0.019893247604370116,
|
318 |
+
0.019915775299072267,
|
319 |
+
0.02046976089477539,
|
320 |
+
0.020000768661499024,
|
321 |
+
0.019998720169067383,
|
322 |
+
0.019909631729125975,
|
323 |
+
0.02000588798522949,
|
324 |
+
0.019950592041015625,
|
325 |
+
0.019960832595825196,
|
326 |
+
0.019942399978637695,
|
327 |
+
0.019982336044311523,
|
328 |
+
0.020129791259765627,
|
329 |
+
0.02005606460571289,
|
330 |
+
0.019893247604370116,
|
331 |
+
0.02028646469116211,
|
332 |
+
0.020759552001953126,
|
333 |
+
0.020898815155029296,
|
334 |
+
0.020831232070922853,
|
335 |
+
0.02086809539794922,
|
336 |
+
0.02086604881286621,
|
337 |
+
0.02079641532897949,
|
338 |
+
0.02088243293762207,
|
339 |
+
0.020840448379516603,
|
340 |
+
0.019947519302368166,
|
341 |
+
0.019935232162475586,
|
342 |
+
0.019981311798095702,
|
343 |
+
0.019971071243286134,
|
344 |
+
0.019959808349609375,
|
345 |
+
0.019999744415283204,
|
346 |
+
0.019923967361450197,
|
347 |
+
0.019979263305664064,
|
348 |
+
0.020067327499389647,
|
349 |
+
0.02001203155517578,
|
350 |
+
0.02047385597229004,
|
351 |
+
0.020535295486450195,
|
352 |
+
0.020711423873901368,
|
353 |
+
0.020798463821411133,
|
354 |
+
0.020932607650756836,
|
355 |
+
0.020900863647460938,
|
356 |
+
0.02006937599182129,
|
357 |
+
0.019965951919555663,
|
358 |
+
0.019918848037719726,
|
359 |
+
0.019992576599121094,
|
360 |
+
0.02005504035949707,
|
361 |
+
0.019989503860473632,
|
362 |
+
0.019961856842041017,
|
363 |
+
0.019960832595825196,
|
364 |
+
0.019938304901123048,
|
365 |
+
0.020165632247924805,
|
366 |
+
0.02010316848754883,
|
367 |
+
0.019987455368041994,
|
368 |
+
0.020000768661499024,
|
369 |
+
0.02044825553894043,
|
370 |
+
0.019985408782958985,
|
371 |
+
0.020257791519165038,
|
372 |
+
0.019948543548583983,
|
373 |
+
0.019949567794799804,
|
374 |
+
0.019986431121826173,
|
375 |
+
0.01995680046081543,
|
376 |
+
0.020081600189208983,
|
377 |
+
0.019992576599121094,
|
378 |
+
0.019910655975341796,
|
379 |
+
0.01998847961425781,
|
380 |
+
0.019981311798095702,
|
381 |
+
0.019957759857177734,
|
382 |
+
0.019885055541992186,
|
383 |
+
0.019902463912963866,
|
384 |
+
0.019895296096801757,
|
385 |
+
0.019969024658203126,
|
386 |
+
0.020552703857421875,
|
387 |
+
0.019956735610961913,
|
388 |
+
0.019935232162475586,
|
389 |
+
0.02000588798522949,
|
390 |
+
0.019934207916259765,
|
391 |
+
0.019981311798095702,
|
392 |
+
0.019939327239990236,
|
393 |
+
0.019939327239990236,
|
394 |
+
0.019993600845336915,
|
395 |
+
0.020126720428466797,
|
396 |
+
0.019953664779663087,
|
397 |
+
0.02008064079284668,
|
398 |
+
0.019928064346313477,
|
399 |
+
0.021791744232177734,
|
400 |
+
0.020921344757080077,
|
401 |
+
0.020528127670288086,
|
402 |
+
0.02080460739135742,
|
403 |
+
0.020907007217407226,
|
404 |
+
0.02091007995605469,
|
405 |
+
0.02088652801513672,
|
406 |
+
0.02085683250427246,
|
407 |
+
0.02002943992614746,
|
408 |
+
0.019987455368041994,
|
409 |
+
0.019963903427124022,
|
410 |
+
0.019961856842041017,
|
411 |
+
0.020016128540039063,
|
412 |
+
0.019975168228149414,
|
413 |
+
0.02002841567993164,
|
414 |
+
0.019911680221557617,
|
415 |
+
0.020015104293823242,
|
416 |
+
0.019929088592529298,
|
417 |
+
0.019987455368041994,
|
418 |
+
0.01992192077636719,
|
419 |
+
0.020105215072631837,
|
420 |
+
0.01998028755187988,
|
421 |
+
0.020007936477661133,
|
422 |
+
0.019944448471069336,
|
423 |
+
0.019940351486206053,
|
424 |
+
0.01991372871398926,
|
425 |
+
0.019979263305664064,
|
426 |
+
0.020554752349853517,
|
427 |
+
0.020950016021728517,
|
428 |
+
0.021365760803222656,
|
429 |
+
0.020935680389404295,
|
430 |
+
0.020950016021728517,
|
431 |
+
0.020768768310546876,
|
432 |
+
0.019954687118530275
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.97838984784185
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1754.075136,
|
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.04409452819824219,
|
15 |
+
"mean": 0.022047264099121094,
|
16 |
+
"stdev": 0.00020076751708984417,
|
17 |
+
"p50": 0.022047264099121094,
|
18 |
+
"p90": 0.02220787811279297,
|
19 |
+
"p95": 0.022227954864501954,
|
20 |
+
"p99": 0.02224401626586914,
|
21 |
+
"values": [
|
22 |
+
0.022248031616210938,
|
23 |
+
0.02184649658203125
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 317.4997119156863
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1754.087424,
|
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.16445361328125,
|
46 |
+
"mean": 2.582226806640625,
|
47 |
+
"stdev": 0.01793774414062499,
|
48 |
+
"p50": 2.582226806640625,
|
49 |
+
"p90": 2.5965770019531247,
|
50 |
+
"p95": 2.5983707763671875,
|
51 |
+
"p99": 2.5998057958984373,
|
52 |
+
"values": [
|
53 |
+
2.60016455078125,
|
54 |
+
2.5642890625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.182356744728395
|
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.165543432235718,
|
70 |
+
"mean": 0.02041716771634671,
|
71 |
+
"stdev": 0.0014686678563924304,
|
72 |
+
"p50": 0.02002022361755371,
|
73 |
+
"p90": 0.020950016021728517,
|
74 |
+
"p95": 0.021472255706787107,
|
75 |
+
"p99": 0.022505389785766598,
|
76 |
+
"values": [
|
77 |
+
0.02162892723083496,
|
78 |
+
0.02245427131652832,
|
79 |
+
0.022798336029052735,
|
80 |
+
0.022560768127441407,
|
81 |
+
0.021556224822998047,
|
82 |
+
0.02149990463256836,
|
83 |
+
0.021336063385009766,
|
84 |
+
0.021201919555664063,
|
85 |
+
0.021375999450683594,
|
86 |
+
0.020706304550170897,
|
87 |
+
0.021203968048095705,
|
88 |
+
0.02045644760131836,
|
89 |
+
0.020676607131958007,
|
90 |
+
0.020853759765625,
|
91 |
+
0.02106470489501953,
|
92 |
+
0.02152038383483887,
|
93 |
+
0.021400575637817384,
|
94 |
+
0.02125721549987793,
|
95 |
+
0.02145382308959961,
|
96 |
+
0.021206016540527343,
|
97 |
+
0.021198848724365234,
|
98 |
+
0.020487167358398437,
|
99 |
+
0.020576255798339844,
|
100 |
+
0.020362239837646484,
|
101 |
+
0.02041753578186035,
|
102 |
+
0.020700159072875975,
|
103 |
+
0.021542911529541017,
|
104 |
+
0.02185830307006836,
|
105 |
+
0.021604352951049805,
|
106 |
+
0.021597183227539063,
|
107 |
+
0.021392383575439454,
|
108 |
+
0.020572160720825194,
|
109 |
+
0.020754432678222655,
|
110 |
+
0.020748287200927733,
|
111 |
+
0.020361215591430663,
|
112 |
+
0.020353023529052734,
|
113 |
+
0.0204769287109375,
|
114 |
+
0.02038374328613281,
|
115 |
+
0.020398080825805662,
|
116 |
+
0.020231168746948244,
|
117 |
+
0.020331520080566406,
|
118 |
+
0.020149248123168945,
|
119 |
+
0.020342784881591795,
|
120 |
+
0.020319232940673827,
|
121 |
+
0.02020147132873535,
|
122 |
+
0.02007142448425293,
|
123 |
+
0.019974143981933593,
|
124 |
+
0.02001408004760742,
|
125 |
+
0.019927040100097656,
|
126 |
+
0.02003455924987793,
|
127 |
+
0.019978239059448243,
|
128 |
+
0.019948543548583983,
|
129 |
+
0.019973119735717772,
|
130 |
+
0.019935232162475586,
|
131 |
+
0.019902463912963866,
|
132 |
+
0.0199671688079834,
|
133 |
+
0.020039487838745117,
|
134 |
+
0.02003046417236328,
|
135 |
+
0.019985408782958985,
|
136 |
+
0.01988915252685547,
|
137 |
+
0.019945472717285157,
|
138 |
+
0.020002815246582033,
|
139 |
+
0.020215808868408205,
|
140 |
+
0.019899391174316407,
|
141 |
+
0.019934207916259765,
|
142 |
+
0.01988812828063965,
|
143 |
+
0.020436992645263673,
|
144 |
+
0.02086297607421875,
|
145 |
+
0.02084249687194824,
|
146 |
+
0.020767744064331056,
|
147 |
+
0.02002022361755371,
|
148 |
+
0.019974143981933593,
|
149 |
+
0.020000768661499024,
|
150 |
+
0.019989503860473632,
|
151 |
+
0.02004582405090332,
|
152 |
+
0.020000768661499024,
|
153 |
+
0.019963903427124022,
|
154 |
+
0.02005504035949707,
|
155 |
+
0.020006912231445313,
|
156 |
+
0.02000588798522949,
|
157 |
+
0.0200263671875,
|
158 |
+
0.019984384536743165,
|
159 |
+
0.020074495315551756,
|
160 |
+
0.019952640533447266,
|
161 |
+
0.02009600067138672,
|
162 |
+
0.019909631729125975,
|
163 |
+
0.019958784103393554,
|
164 |
+
0.019927040100097656,
|
165 |
+
0.020192256927490236,
|
166 |
+
0.020775936126708985,
|
167 |
+
0.020789247512817383,
|
168 |
+
0.020789247512817383,
|
169 |
+
0.02088755226135254,
|
170 |
+
0.020790271759033203,
|
171 |
+
0.020753408432006838,
|
172 |
+
0.020703231811523438,
|
173 |
+
0.020669439315795898,
|
174 |
+
0.020934656143188478,
|
175 |
+
0.020720640182495118,
|
176 |
+
0.020817920684814452,
|
177 |
+
0.020751359939575196,
|
178 |
+
0.020706304550170897,
|
179 |
+
0.020808704376220705,
|
180 |
+
0.02087424087524414,
|
181 |
+
0.020840448379516603,
|
182 |
+
0.020084735870361328,
|
183 |
+
0.019915775299072267,
|
184 |
+
0.019945472717285157,
|
185 |
+
0.019941375732421874,
|
186 |
+
0.019959808349609375,
|
187 |
+
0.019946495056152345,
|
188 |
+
0.019955711364746095,
|
189 |
+
0.01993011283874512,
|
190 |
+
0.019911680221557617,
|
191 |
+
0.01987993621826172,
|
192 |
+
0.01988915252685547,
|
193 |
+
0.01990553665161133,
|
194 |
+
0.019919872283935547,
|
195 |
+
0.019914751052856446,
|
196 |
+
0.019918848037719726,
|
197 |
+
0.02003558349609375,
|
198 |
+
0.01983283233642578,
|
199 |
+
0.019769344329833984,
|
200 |
+
0.01983795166015625,
|
201 |
+
0.020033536911010744,
|
202 |
+
0.020016128540039063,
|
203 |
+
0.042092544555664066,
|
204 |
+
0.019959808349609375,
|
205 |
+
0.019965951919555663,
|
206 |
+
0.019983360290527344,
|
207 |
+
0.01984716796875,
|
208 |
+
0.01998028755187988,
|
209 |
+
0.019941375732421874,
|
210 |
+
0.020017152786254884,
|
211 |
+
0.019948543548583983,
|
212 |
+
0.020000768661499024,
|
213 |
+
0.019938304901123048,
|
214 |
+
0.019893247604370116,
|
215 |
+
0.019915775299072267,
|
216 |
+
0.02046976089477539,
|
217 |
+
0.020000768661499024,
|
218 |
+
0.019998720169067383,
|
219 |
+
0.019909631729125975,
|
220 |
+
0.02000588798522949,
|
221 |
+
0.019950592041015625,
|
222 |
+
0.019960832595825196,
|
223 |
+
0.019942399978637695,
|
224 |
+
0.019982336044311523,
|
225 |
+
0.020129791259765627,
|
226 |
+
0.02005606460571289,
|
227 |
+
0.019893247604370116,
|
228 |
+
0.02028646469116211,
|
229 |
+
0.020759552001953126,
|
230 |
+
0.020898815155029296,
|
231 |
+
0.020831232070922853,
|
232 |
+
0.02086809539794922,
|
233 |
+
0.02086604881286621,
|
234 |
+
0.02079641532897949,
|
235 |
+
0.02088243293762207,
|
236 |
+
0.020840448379516603,
|
237 |
+
0.019947519302368166,
|
238 |
+
0.019935232162475586,
|
239 |
+
0.019981311798095702,
|
240 |
+
0.019971071243286134,
|
241 |
+
0.019959808349609375,
|
242 |
+
0.019999744415283204,
|
243 |
+
0.019923967361450197,
|
244 |
+
0.019979263305664064,
|
245 |
+
0.020067327499389647,
|
246 |
+
0.02001203155517578,
|
247 |
+
0.02047385597229004,
|
248 |
+
0.020535295486450195,
|
249 |
+
0.020711423873901368,
|
250 |
+
0.020798463821411133,
|
251 |
+
0.020932607650756836,
|
252 |
+
0.020900863647460938,
|
253 |
+
0.02006937599182129,
|
254 |
+
0.019965951919555663,
|
255 |
+
0.019918848037719726,
|
256 |
+
0.019992576599121094,
|
257 |
+
0.02005504035949707,
|
258 |
+
0.019989503860473632,
|
259 |
+
0.019961856842041017,
|
260 |
+
0.019960832595825196,
|
261 |
+
0.019938304901123048,
|
262 |
+
0.020165632247924805,
|
263 |
+
0.02010316848754883,
|
264 |
+
0.019987455368041994,
|
265 |
+
0.020000768661499024,
|
266 |
+
0.02044825553894043,
|
267 |
+
0.019985408782958985,
|
268 |
+
0.020257791519165038,
|
269 |
+
0.019948543548583983,
|
270 |
+
0.019949567794799804,
|
271 |
+
0.019986431121826173,
|
272 |
+
0.01995680046081543,
|
273 |
+
0.020081600189208983,
|
274 |
+
0.019992576599121094,
|
275 |
+
0.019910655975341796,
|
276 |
+
0.01998847961425781,
|
277 |
+
0.019981311798095702,
|
278 |
+
0.019957759857177734,
|
279 |
+
0.019885055541992186,
|
280 |
+
0.019902463912963866,
|
281 |
+
0.019895296096801757,
|
282 |
+
0.019969024658203126,
|
283 |
+
0.020552703857421875,
|
284 |
+
0.019956735610961913,
|
285 |
+
0.019935232162475586,
|
286 |
+
0.02000588798522949,
|
287 |
+
0.019934207916259765,
|
288 |
+
0.019981311798095702,
|
289 |
+
0.019939327239990236,
|
290 |
+
0.019939327239990236,
|
291 |
+
0.019993600845336915,
|
292 |
+
0.020126720428466797,
|
293 |
+
0.019953664779663087,
|
294 |
+
0.02008064079284668,
|
295 |
+
0.019928064346313477,
|
296 |
+
0.021791744232177734,
|
297 |
+
0.020921344757080077,
|
298 |
+
0.020528127670288086,
|
299 |
+
0.02080460739135742,
|
300 |
+
0.020907007217407226,
|
301 |
+
0.02091007995605469,
|
302 |
+
0.02088652801513672,
|
303 |
+
0.02085683250427246,
|
304 |
+
0.02002943992614746,
|
305 |
+
0.019987455368041994,
|
306 |
+
0.019963903427124022,
|
307 |
+
0.019961856842041017,
|
308 |
+
0.020016128540039063,
|
309 |
+
0.019975168228149414,
|
310 |
+
0.02002841567993164,
|
311 |
+
0.019911680221557617,
|
312 |
+
0.020015104293823242,
|
313 |
+
0.019929088592529298,
|
314 |
+
0.019987455368041994,
|
315 |
+
0.01992192077636719,
|
316 |
+
0.020105215072631837,
|
317 |
+
0.01998028755187988,
|
318 |
+
0.020007936477661133,
|
319 |
+
0.019944448471069336,
|
320 |
+
0.019940351486206053,
|
321 |
+
0.01991372871398926,
|
322 |
+
0.019979263305664064,
|
323 |
+
0.020554752349853517,
|
324 |
+
0.020950016021728517,
|
325 |
+
0.021365760803222656,
|
326 |
+
0.020935680389404295,
|
327 |
+
0.020950016021728517,
|
328 |
+
0.020768768310546876,
|
329 |
+
0.019954687118530275
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.97838984784185
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.022047264099121094,
|
7 |
+
"prefill.throughput.value": 317.4997119156863,
|
8 |
+
"decode.latency.mean": 2.582226806640625,
|
9 |
+
"decode.throughput.value": 49.182356744728395,
|
10 |
+
"per_token.latency.mean": 0.02041716771634671,
|
11 |
+
"per_token.throughput.value": 48.97838984784185
|
12 |
+
}
|
13 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
88 |
+
- hydra.run.dir=_benchmark/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${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/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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": 1918.271488,
|
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.02810534381866455,
|
118 |
+
"mean": 0.014052671909332275,
|
119 |
+
"stdev": 0.00010044813156127874,
|
120 |
+
"p50": 0.014052671909332275,
|
121 |
+
"p90": 0.014133030414581298,
|
122 |
+
"p95": 0.014143075227737426,
|
123 |
+
"p99": 0.014151111078262328,
|
124 |
+
"values": [
|
125 |
+
0.014153120040893554,
|
126 |
+
0.013952223777770997
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 498.1259112262738
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2262.163456,
|
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.1184422607421873,
|
149 |
+
"mean": 1.5592211303710937,
|
150 |
+
"stdev": 0.0019412231445312678,
|
151 |
+
"p50": 1.5592211303710937,
|
152 |
+
"p90": 1.5607741088867186,
|
153 |
+
"p95": 1.560968231201172,
|
154 |
+
"p99": 1.5611235290527343,
|
155 |
+
"values": [
|
156 |
+
1.561162353515625,
|
157 |
+
1.5572799072265624
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.45092285260019
|
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.1195310125350963,
|
173 |
+
"mean": 0.012330162104881798,
|
174 |
+
"stdev": 0.0008908535029603429,
|
175 |
+
"p50": 0.01226956844329834,
|
176 |
+
"p90": 0.012301926231384278,
|
177 |
+
"p95": 0.012319744110107422,
|
178 |
+
"p99": 0.01271980037689209,
|
179 |
+
"values": [
|
180 |
+
0.012711935997009278,
|
181 |
+
0.012828672409057617,
|
182 |
+
0.012728320121765137,
|
183 |
+
0.012319744110107422,
|
184 |
+
0.01226854419708252,
|
185 |
+
0.012511232376098632,
|
186 |
+
0.012249088287353516,
|
187 |
+
0.012297216415405274,
|
188 |
+
0.01226035213470459,
|
189 |
+
0.012292096138000488,
|
190 |
+
0.012244992256164551,
|
191 |
+
0.012295167922973632,
|
192 |
+
0.012265472412109376,
|
193 |
+
0.012308480262756348,
|
194 |
+
0.012229632377624512,
|
195 |
+
0.012312576293945313,
|
196 |
+
0.012253184318542481,
|
197 |
+
0.012290047645568849,
|
198 |
+
0.012249088287353516,
|
199 |
+
0.012291071891784668,
|
200 |
+
0.012254207611083985,
|
201 |
+
0.012294143676757812,
|
202 |
+
0.012259327888488769,
|
203 |
+
0.012297216415405274,
|
204 |
+
0.012239871978759765,
|
205 |
+
0.012310527801513671,
|
206 |
+
0.012314623832702636,
|
207 |
+
0.012365823745727538,
|
208 |
+
0.012248160362243653,
|
209 |
+
0.012294048309326172,
|
210 |
+
0.012254207611083985,
|
211 |
+
0.012319744110107422,
|
212 |
+
0.012247039794921874,
|
213 |
+
0.012289024353027344,
|
214 |
+
0.01225113582611084,
|
215 |
+
0.012294143676757812,
|
216 |
+
0.01225216007232666,
|
217 |
+
0.012289024353027344,
|
218 |
+
0.012239871978759765,
|
219 |
+
0.012294143676757812,
|
220 |
+
0.012255231857299804,
|
221 |
+
0.012332032203674317,
|
222 |
+
0.01223475170135498,
|
223 |
+
0.012290047645568849,
|
224 |
+
0.012246015548706055,
|
225 |
+
0.012288000106811523,
|
226 |
+
0.01225113582611084,
|
227 |
+
0.012300288200378418,
|
228 |
+
0.012239871978759765,
|
229 |
+
0.012285951614379884,
|
230 |
+
0.012248064041137695,
|
231 |
+
0.012282879829406738,
|
232 |
+
0.01224396800994873,
|
233 |
+
0.012280832290649414,
|
234 |
+
0.012264448165893555,
|
235 |
+
0.012327936172485352,
|
236 |
+
0.012282879829406738,
|
237 |
+
0.012286975860595703,
|
238 |
+
0.012241920471191407,
|
239 |
+
0.01228502368927002,
|
240 |
+
0.012258208274841309,
|
241 |
+
0.012275712013244629,
|
242 |
+
0.01225011157989502,
|
243 |
+
0.01229312038421631,
|
244 |
+
0.012239871978759765,
|
245 |
+
0.012289024353027344,
|
246 |
+
0.012240896224975586,
|
247 |
+
0.012302335739135742,
|
248 |
+
0.012259327888488769,
|
249 |
+
0.012302335739135742,
|
250 |
+
0.012295167922973632,
|
251 |
+
0.012317695617675782,
|
252 |
+
0.01233510398864746,
|
253 |
+
0.012535807609558105,
|
254 |
+
0.012257280349731446,
|
255 |
+
0.012289024353027344,
|
256 |
+
0.012247039794921874,
|
257 |
+
0.012272640228271485,
|
258 |
+
0.012248064041137695,
|
259 |
+
0.012296192169189453,
|
260 |
+
0.01225113582611084,
|
261 |
+
0.01228492832183838,
|
262 |
+
0.012256287574768066,
|
263 |
+
0.01231766414642334,
|
264 |
+
0.012274687767028808,
|
265 |
+
0.012281855583190919,
|
266 |
+
0.012280832290649414,
|
267 |
+
0.01229312038421631,
|
268 |
+
0.012222463607788087,
|
269 |
+
0.012275712013244629,
|
270 |
+
0.012256256103515625,
|
271 |
+
0.012278783798217773,
|
272 |
+
0.01222758388519287,
|
273 |
+
0.012283904075622559,
|
274 |
+
0.012231679916381836,
|
275 |
+
0.01226956844329834,
|
276 |
+
0.012237824440002442,
|
277 |
+
0.012277759552001954,
|
278 |
+
0.012254207611083985,
|
279 |
+
0.012290047645568849,
|
280 |
+
0.01223475170135498,
|
281 |
+
0.012294143676757812,
|
282 |
+
0.012226559638977052,
|
283 |
+
0.01228492832183838,
|
284 |
+
0.012228608131408691,
|
285 |
+
0.012295167922973632,
|
286 |
+
0.012246015548706055,
|
287 |
+
0.012273664474487305,
|
288 |
+
0.012230655670166016,
|
289 |
+
0.01227673625946045,
|
290 |
+
0.012231679916381836,
|
291 |
+
0.012273664474487305,
|
292 |
+
0.012253184318542481,
|
293 |
+
0.012300288200378418,
|
294 |
+
0.012295167922973632,
|
295 |
+
0.012306431770324706,
|
296 |
+
0.012230655670166016,
|
297 |
+
0.012274687767028808,
|
298 |
+
0.012232704162597656,
|
299 |
+
0.012280832290649414,
|
300 |
+
0.012239871978759765,
|
301 |
+
0.012274687767028808,
|
302 |
+
0.012236800193786621,
|
303 |
+
0.012277759552001954,
|
304 |
+
0.012241920471191407,
|
305 |
+
0.012295167922973632,
|
306 |
+
0.026435583114624024,
|
307 |
+
0.012244992256164551,
|
308 |
+
0.012298239707946777,
|
309 |
+
0.012223487854003906,
|
310 |
+
0.012272640228271485,
|
311 |
+
0.012239871978759765,
|
312 |
+
0.01227673625946045,
|
313 |
+
0.012233728408813477,
|
314 |
+
0.012295167922973632,
|
315 |
+
0.01224396800994873,
|
316 |
+
0.012298239707946777,
|
317 |
+
0.012225536346435547,
|
318 |
+
0.012274687767028808,
|
319 |
+
0.012230655670166016,
|
320 |
+
0.012280832290649414,
|
321 |
+
0.012241920471191407,
|
322 |
+
0.01228492832183838,
|
323 |
+
0.012240896224975586,
|
324 |
+
0.01227673625946045,
|
325 |
+
0.01225011157989502,
|
326 |
+
0.012274687767028808,
|
327 |
+
0.012225536346435547,
|
328 |
+
0.012280832290649414,
|
329 |
+
0.01224294376373291,
|
330 |
+
0.012282879829406738,
|
331 |
+
0.012258367538452148,
|
332 |
+
0.01236780834197998,
|
333 |
+
0.012236800193786621,
|
334 |
+
0.012286975860595703,
|
335 |
+
0.012248064041137695,
|
336 |
+
0.012285951614379884,
|
337 |
+
0.01227673625946045,
|
338 |
+
0.012275712013244629,
|
339 |
+
0.012248064041137695,
|
340 |
+
0.012263423919677734,
|
341 |
+
0.012241920471191407,
|
342 |
+
0.01227673625946045,
|
343 |
+
0.012257280349731446,
|
344 |
+
0.012294143676757812,
|
345 |
+
0.012306624412536622,
|
346 |
+
0.012308287620544433,
|
347 |
+
0.012255231857299804,
|
348 |
+
0.012280832290649414,
|
349 |
+
0.012234848022460937,
|
350 |
+
0.012267423629760741,
|
351 |
+
0.012224512100219726,
|
352 |
+
0.012263423919677734,
|
353 |
+
0.0122357759475708,
|
354 |
+
0.012272640228271485,
|
355 |
+
0.012218367576599122,
|
356 |
+
0.012270591735839843,
|
357 |
+
0.012249088287353516,
|
358 |
+
0.012279808044433594,
|
359 |
+
0.01225216007232666,
|
360 |
+
0.012280832290649414,
|
361 |
+
0.012255423545837403,
|
362 |
+
0.012285759925842285,
|
363 |
+
0.012222463607788087,
|
364 |
+
0.012274687767028808,
|
365 |
+
0.01224294376373291,
|
366 |
+
0.012273664474487305,
|
367 |
+
0.0122357759475708,
|
368 |
+
0.012271615982055664,
|
369 |
+
0.012232704162597656,
|
370 |
+
0.012277759552001954,
|
371 |
+
0.012239871978759765,
|
372 |
+
0.01227673625946045,
|
373 |
+
0.012225600242614746,
|
374 |
+
0.012280768394470214,
|
375 |
+
0.012241920471191407,
|
376 |
+
0.012280832290649414,
|
377 |
+
0.01225011157989502,
|
378 |
+
0.012289024353027344,
|
379 |
+
0.012224512100219726,
|
380 |
+
0.012267519950866699,
|
381 |
+
0.012237824440002442,
|
382 |
+
0.01226956844329834,
|
383 |
+
0.012230655670166016,
|
384 |
+
0.012275712013244629,
|
385 |
+
0.01221939182281494,
|
386 |
+
0.01226956844329834,
|
387 |
+
0.012238847732543945,
|
388 |
+
0.01226854419708252,
|
389 |
+
0.0122357759475708,
|
390 |
+
0.01226956844329834,
|
391 |
+
0.012237824440002442,
|
392 |
+
0.012305407524108887,
|
393 |
+
0.01225011157989502,
|
394 |
+
0.01227673625946045,
|
395 |
+
0.012231679916381836,
|
396 |
+
0.012285951614379884,
|
397 |
+
0.012225536346435547,
|
398 |
+
0.01226956844329834,
|
399 |
+
0.01222758388519287,
|
400 |
+
0.012266495704650878,
|
401 |
+
0.012238847732543945,
|
402 |
+
0.012265472412109376,
|
403 |
+
0.012236800193786621,
|
404 |
+
0.012274687767028808,
|
405 |
+
0.01223795223236084,
|
406 |
+
0.012287872314453125,
|
407 |
+
0.012231679916381836,
|
408 |
+
0.012291071891784668,
|
409 |
+
0.012228608131408691,
|
410 |
+
0.012285951614379884,
|
411 |
+
0.012223487854003906,
|
412 |
+
0.012271615982055664,
|
413 |
+
0.012232704162597656,
|
414 |
+
0.012275712013244629,
|
415 |
+
0.012320768356323243,
|
416 |
+
0.012286975860595703,
|
417 |
+
0.012231679916381836,
|
418 |
+
0.012279808044433594,
|
419 |
+
0.012221440315246582,
|
420 |
+
0.012271615982055664,
|
421 |
+
0.0122357759475708,
|
422 |
+
0.012280832290649414,
|
423 |
+
0.012247039794921874,
|
424 |
+
0.012288000106811523,
|
425 |
+
0.012228608131408691,
|
426 |
+
0.012280832290649414,
|
427 |
+
0.012240896224975586,
|
428 |
+
0.01226956844329834,
|
429 |
+
0.012262399673461915,
|
430 |
+
0.012286975860595703,
|
431 |
+
0.01223475170135498,
|
432 |
+
0.012272640228271485
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.10193454829574
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
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-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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": 1918.271488,
|
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.02810534381866455,
|
15 |
+
"mean": 0.014052671909332275,
|
16 |
+
"stdev": 0.00010044813156127874,
|
17 |
+
"p50": 0.014052671909332275,
|
18 |
+
"p90": 0.014133030414581298,
|
19 |
+
"p95": 0.014143075227737426,
|
20 |
+
"p99": 0.014151111078262328,
|
21 |
+
"values": [
|
22 |
+
0.014153120040893554,
|
23 |
+
0.013952223777770997
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 498.1259112262738
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2262.163456,
|
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.1184422607421873,
|
46 |
+
"mean": 1.5592211303710937,
|
47 |
+
"stdev": 0.0019412231445312678,
|
48 |
+
"p50": 1.5592211303710937,
|
49 |
+
"p90": 1.5607741088867186,
|
50 |
+
"p95": 1.560968231201172,
|
51 |
+
"p99": 1.5611235290527343,
|
52 |
+
"values": [
|
53 |
+
1.561162353515625,
|
54 |
+
1.5572799072265624
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.45092285260019
|
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.1195310125350963,
|
70 |
+
"mean": 0.012330162104881798,
|
71 |
+
"stdev": 0.0008908535029603429,
|
72 |
+
"p50": 0.01226956844329834,
|
73 |
+
"p90": 0.012301926231384278,
|
74 |
+
"p95": 0.012319744110107422,
|
75 |
+
"p99": 0.01271980037689209,
|
76 |
+
"values": [
|
77 |
+
0.012711935997009278,
|
78 |
+
0.012828672409057617,
|
79 |
+
0.012728320121765137,
|
80 |
+
0.012319744110107422,
|
81 |
+
0.01226854419708252,
|
82 |
+
0.012511232376098632,
|
83 |
+
0.012249088287353516,
|
84 |
+
0.012297216415405274,
|
85 |
+
0.01226035213470459,
|
86 |
+
0.012292096138000488,
|
87 |
+
0.012244992256164551,
|
88 |
+
0.012295167922973632,
|
89 |
+
0.012265472412109376,
|
90 |
+
0.012308480262756348,
|
91 |
+
0.012229632377624512,
|
92 |
+
0.012312576293945313,
|
93 |
+
0.012253184318542481,
|
94 |
+
0.012290047645568849,
|
95 |
+
0.012249088287353516,
|
96 |
+
0.012291071891784668,
|
97 |
+
0.012254207611083985,
|
98 |
+
0.012294143676757812,
|
99 |
+
0.012259327888488769,
|
100 |
+
0.012297216415405274,
|
101 |
+
0.012239871978759765,
|
102 |
+
0.012310527801513671,
|
103 |
+
0.012314623832702636,
|
104 |
+
0.012365823745727538,
|
105 |
+
0.012248160362243653,
|
106 |
+
0.012294048309326172,
|
107 |
+
0.012254207611083985,
|
108 |
+
0.012319744110107422,
|
109 |
+
0.012247039794921874,
|
110 |
+
0.012289024353027344,
|
111 |
+
0.01225113582611084,
|
112 |
+
0.012294143676757812,
|
113 |
+
0.01225216007232666,
|
114 |
+
0.012289024353027344,
|
115 |
+
0.012239871978759765,
|
116 |
+
0.012294143676757812,
|
117 |
+
0.012255231857299804,
|
118 |
+
0.012332032203674317,
|
119 |
+
0.01223475170135498,
|
120 |
+
0.012290047645568849,
|
121 |
+
0.012246015548706055,
|
122 |
+
0.012288000106811523,
|
123 |
+
0.01225113582611084,
|
124 |
+
0.012300288200378418,
|
125 |
+
0.012239871978759765,
|
126 |
+
0.012285951614379884,
|
127 |
+
0.012248064041137695,
|
128 |
+
0.012282879829406738,
|
129 |
+
0.01224396800994873,
|
130 |
+
0.012280832290649414,
|
131 |
+
0.012264448165893555,
|
132 |
+
0.012327936172485352,
|
133 |
+
0.012282879829406738,
|
134 |
+
0.012286975860595703,
|
135 |
+
0.012241920471191407,
|
136 |
+
0.01228502368927002,
|
137 |
+
0.012258208274841309,
|
138 |
+
0.012275712013244629,
|
139 |
+
0.01225011157989502,
|
140 |
+
0.01229312038421631,
|
141 |
+
0.012239871978759765,
|
142 |
+
0.012289024353027344,
|
143 |
+
0.012240896224975586,
|
144 |
+
0.012302335739135742,
|
145 |
+
0.012259327888488769,
|
146 |
+
0.012302335739135742,
|
147 |
+
0.012295167922973632,
|
148 |
+
0.012317695617675782,
|
149 |
+
0.01233510398864746,
|
150 |
+
0.012535807609558105,
|
151 |
+
0.012257280349731446,
|
152 |
+
0.012289024353027344,
|
153 |
+
0.012247039794921874,
|
154 |
+
0.012272640228271485,
|
155 |
+
0.012248064041137695,
|
156 |
+
0.012296192169189453,
|
157 |
+
0.01225113582611084,
|
158 |
+
0.01228492832183838,
|
159 |
+
0.012256287574768066,
|
160 |
+
0.01231766414642334,
|
161 |
+
0.012274687767028808,
|
162 |
+
0.012281855583190919,
|
163 |
+
0.012280832290649414,
|
164 |
+
0.01229312038421631,
|
165 |
+
0.012222463607788087,
|
166 |
+
0.012275712013244629,
|
167 |
+
0.012256256103515625,
|
168 |
+
0.012278783798217773,
|
169 |
+
0.01222758388519287,
|
170 |
+
0.012283904075622559,
|
171 |
+
0.012231679916381836,
|
172 |
+
0.01226956844329834,
|
173 |
+
0.012237824440002442,
|
174 |
+
0.012277759552001954,
|
175 |
+
0.012254207611083985,
|
176 |
+
0.012290047645568849,
|
177 |
+
0.01223475170135498,
|
178 |
+
0.012294143676757812,
|
179 |
+
0.012226559638977052,
|
180 |
+
0.01228492832183838,
|
181 |
+
0.012228608131408691,
|
182 |
+
0.012295167922973632,
|
183 |
+
0.012246015548706055,
|
184 |
+
0.012273664474487305,
|
185 |
+
0.012230655670166016,
|
186 |
+
0.01227673625946045,
|
187 |
+
0.012231679916381836,
|
188 |
+
0.012273664474487305,
|
189 |
+
0.012253184318542481,
|
190 |
+
0.012300288200378418,
|
191 |
+
0.012295167922973632,
|
192 |
+
0.012306431770324706,
|
193 |
+
0.012230655670166016,
|
194 |
+
0.012274687767028808,
|
195 |
+
0.012232704162597656,
|
196 |
+
0.012280832290649414,
|
197 |
+
0.012239871978759765,
|
198 |
+
0.012274687767028808,
|
199 |
+
0.012236800193786621,
|
200 |
+
0.012277759552001954,
|
201 |
+
0.012241920471191407,
|
202 |
+
0.012295167922973632,
|
203 |
+
0.026435583114624024,
|
204 |
+
0.012244992256164551,
|
205 |
+
0.012298239707946777,
|
206 |
+
0.012223487854003906,
|
207 |
+
0.012272640228271485,
|
208 |
+
0.012239871978759765,
|
209 |
+
0.01227673625946045,
|
210 |
+
0.012233728408813477,
|
211 |
+
0.012295167922973632,
|
212 |
+
0.01224396800994873,
|
213 |
+
0.012298239707946777,
|
214 |
+
0.012225536346435547,
|
215 |
+
0.012274687767028808,
|
216 |
+
0.012230655670166016,
|
217 |
+
0.012280832290649414,
|
218 |
+
0.012241920471191407,
|
219 |
+
0.01228492832183838,
|
220 |
+
0.012240896224975586,
|
221 |
+
0.01227673625946045,
|
222 |
+
0.01225011157989502,
|
223 |
+
0.012274687767028808,
|
224 |
+
0.012225536346435547,
|
225 |
+
0.012280832290649414,
|
226 |
+
0.01224294376373291,
|
227 |
+
0.012282879829406738,
|
228 |
+
0.012258367538452148,
|
229 |
+
0.01236780834197998,
|
230 |
+
0.012236800193786621,
|
231 |
+
0.012286975860595703,
|
232 |
+
0.012248064041137695,
|
233 |
+
0.012285951614379884,
|
234 |
+
0.01227673625946045,
|
235 |
+
0.012275712013244629,
|
236 |
+
0.012248064041137695,
|
237 |
+
0.012263423919677734,
|
238 |
+
0.012241920471191407,
|
239 |
+
0.01227673625946045,
|
240 |
+
0.012257280349731446,
|
241 |
+
0.012294143676757812,
|
242 |
+
0.012306624412536622,
|
243 |
+
0.012308287620544433,
|
244 |
+
0.012255231857299804,
|
245 |
+
0.012280832290649414,
|
246 |
+
0.012234848022460937,
|
247 |
+
0.012267423629760741,
|
248 |
+
0.012224512100219726,
|
249 |
+
0.012263423919677734,
|
250 |
+
0.0122357759475708,
|
251 |
+
0.012272640228271485,
|
252 |
+
0.012218367576599122,
|
253 |
+
0.012270591735839843,
|
254 |
+
0.012249088287353516,
|
255 |
+
0.012279808044433594,
|
256 |
+
0.01225216007232666,
|
257 |
+
0.012280832290649414,
|
258 |
+
0.012255423545837403,
|
259 |
+
0.012285759925842285,
|
260 |
+
0.012222463607788087,
|
261 |
+
0.012274687767028808,
|
262 |
+
0.01224294376373291,
|
263 |
+
0.012273664474487305,
|
264 |
+
0.0122357759475708,
|
265 |
+
0.012271615982055664,
|
266 |
+
0.012232704162597656,
|
267 |
+
0.012277759552001954,
|
268 |
+
0.012239871978759765,
|
269 |
+
0.01227673625946045,
|
270 |
+
0.012225600242614746,
|
271 |
+
0.012280768394470214,
|
272 |
+
0.012241920471191407,
|
273 |
+
0.012280832290649414,
|
274 |
+
0.01225011157989502,
|
275 |
+
0.012289024353027344,
|
276 |
+
0.012224512100219726,
|
277 |
+
0.012267519950866699,
|
278 |
+
0.012237824440002442,
|
279 |
+
0.01226956844329834,
|
280 |
+
0.012230655670166016,
|
281 |
+
0.012275712013244629,
|
282 |
+
0.01221939182281494,
|
283 |
+
0.01226956844329834,
|
284 |
+
0.012238847732543945,
|
285 |
+
0.01226854419708252,
|
286 |
+
0.0122357759475708,
|
287 |
+
0.01226956844329834,
|
288 |
+
0.012237824440002442,
|
289 |
+
0.012305407524108887,
|
290 |
+
0.01225011157989502,
|
291 |
+
0.01227673625946045,
|
292 |
+
0.012231679916381836,
|
293 |
+
0.012285951614379884,
|
294 |
+
0.012225536346435547,
|
295 |
+
0.01226956844329834,
|
296 |
+
0.01222758388519287,
|
297 |
+
0.012266495704650878,
|
298 |
+
0.012238847732543945,
|
299 |
+
0.012265472412109376,
|
300 |
+
0.012236800193786621,
|
301 |
+
0.012274687767028808,
|
302 |
+
0.01223795223236084,
|
303 |
+
0.012287872314453125,
|
304 |
+
0.012231679916381836,
|
305 |
+
0.012291071891784668,
|
306 |
+
0.012228608131408691,
|
307 |
+
0.012285951614379884,
|
308 |
+
0.012223487854003906,
|
309 |
+
0.012271615982055664,
|
310 |
+
0.012232704162597656,
|
311 |
+
0.012275712013244629,
|
312 |
+
0.012320768356323243,
|
313 |
+
0.012286975860595703,
|
314 |
+
0.012231679916381836,
|
315 |
+
0.012279808044433594,
|
316 |
+
0.012221440315246582,
|
317 |
+
0.012271615982055664,
|
318 |
+
0.0122357759475708,
|
319 |
+
0.012280832290649414,
|
320 |
+
0.012247039794921874,
|
321 |
+
0.012288000106811523,
|
322 |
+
0.012228608131408691,
|
323 |
+
0.012280832290649414,
|
324 |
+
0.012240896224975586,
|
325 |
+
0.01226956844329834,
|
326 |
+
0.012262399673461915,
|
327 |
+
0.012286975860595703,
|
328 |
+
0.01223475170135498,
|
329 |
+
0.012272640228271485
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.10193454829574
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/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": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014052671909332275,
|
7 |
+
"prefill.throughput.value": 498.1259112262738,
|
8 |
+
"decode.latency.mean": 1.5592211303710937,
|
9 |
+
"decode.throughput.value": 81.45092285260019,
|
10 |
+
"per_token.latency.mean": 0.012330162104881798,
|
11 |
+
"per_token.throughput.value": 81.10193454829574
|
12 |
+
}
|
13 |
+
}
|
2024-06-15/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpoqfpuec1/commit=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
88 |
+
- hydra.run.dir=_benchmark/tmpoqfpuec1/commit\=eed9ed679878ada2f6d2eefccdbda368cabc88b1/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: eed9ed679878ada2f6d2eefccdbda368cabc88b1
|
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-15/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02022262477874756,
|
8 |
+
"prefill.throughput.value": 346.14695553054355,
|
9 |
+
"decode.latency.mean": 2.4749503173828122,
|
10 |
+
"decode.throughput.value": 51.314161382560115,
|
11 |
+
"per_token.latency.mean": 0.019561994145510228,
|
12 |
+
"per_token.throughput.value": 51.119532730742336
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.022047264099121094,
|
21 |
+
"prefill.throughput.value": 317.4997119156863,
|
22 |
+
"decode.latency.mean": 2.582226806640625,
|
23 |
+
"decode.throughput.value": 49.182356744728395,
|
24 |
+
"per_token.latency.mean": 0.02041716771634671,
|
25 |
+
"per_token.throughput.value": 48.97838984784185
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014052671909332275,
|
34 |
+
"prefill.throughput.value": 498.1259112262738,
|
35 |
+
"decode.latency.mean": 1.5592211303710937,
|
36 |
+
"decode.throughput.value": 81.45092285260019,
|
37 |
+
"per_token.latency.mean": 0.012330162104881798,
|
38 |
+
"per_token.throughput.value": 81.10193454829574
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-15/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"eed9ed679878ada2f6d2eefccdbda368cabc88b1": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02022262477874756,
|
7 |
+
"prefill.throughput.value": 346.14695553054355,
|
8 |
+
"decode.latency.mean": 2.4749503173828122,
|
9 |
+
"decode.throughput.value": 51.314161382560115,
|
10 |
+
"per_token.latency.mean": 0.019561994145510228,
|
11 |
+
"per_token.throughput.value": 51.119532730742336
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"eed9ed679878ada2f6d2eefccdbda368cabc88b1": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.022047264099121094,
|
19 |
+
"prefill.throughput.value": 317.4997119156863,
|
20 |
+
"decode.latency.mean": 2.582226806640625,
|
21 |
+
"decode.throughput.value": 49.182356744728395,
|
22 |
+
"per_token.latency.mean": 0.02041716771634671,
|
23 |
+
"per_token.throughput.value": 48.97838984784185
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"eed9ed679878ada2f6d2eefccdbda368cabc88b1": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014052671909332275,
|
31 |
+
"prefill.throughput.value": 498.1259112262738,
|
32 |
+
"decode.latency.mean": 1.5592211303710937,
|
33 |
+
"decode.throughput.value": 81.45092285260019,
|
34 |
+
"per_token.latency.mean": 0.012330162104881798,
|
35 |
+
"per_token.throughput.value": 81.10193454829574
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|