hf-transformers-bot
commited on
Commit
•
0a791a4
1
Parent(s):
28e51e4
Upload folder using huggingface_hub
Browse files- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/multirun.yaml +232 -0
- 2024-06-24/summaries.json +41 -0
- 2024-06-24/summary.json +40 -0
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
88 |
+
- hydra.run.dir=_benchmark/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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": 1702.6048,
|
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.042010560989379886,
|
118 |
+
"mean": 0.021005280494689943,
|
119 |
+
"stdev": 0.00014198398590087834,
|
120 |
+
"p50": 0.021005280494689943,
|
121 |
+
"p90": 0.021118867683410644,
|
122 |
+
"p95": 0.02113306608200073,
|
123 |
+
"p99": 0.0211444248008728,
|
124 |
+
"values": [
|
125 |
+
0.02114726448059082,
|
126 |
+
0.020863296508789063
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 333.24953702806175
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1702.62528,
|
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": 5.038279052734375,
|
149 |
+
"mean": 2.5191395263671876,
|
150 |
+
"stdev": 0.009805053710937539,
|
151 |
+
"p50": 2.5191395263671876,
|
152 |
+
"p90": 2.5269835693359375,
|
153 |
+
"p95": 2.5279640747070315,
|
154 |
+
"p99": 2.5287484790039065,
|
155 |
+
"values": [
|
156 |
+
2.528944580078125,
|
157 |
+
2.50933447265625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 50.4140396634341
|
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.038583826065063,
|
173 |
+
"mean": 0.019915351091166256,
|
174 |
+
"stdev": 0.001410887825065693,
|
175 |
+
"p50": 0.01965260887145996,
|
176 |
+
"p90": 0.020322918701171876,
|
177 |
+
"p95": 0.020433510208129883,
|
178 |
+
"p99": 0.021652233886718747,
|
179 |
+
"values": [
|
180 |
+
0.020928512573242186,
|
181 |
+
0.0195020809173584,
|
182 |
+
0.019280895233154297,
|
183 |
+
0.01926246452331543,
|
184 |
+
0.0192675838470459,
|
185 |
+
0.01944063949584961,
|
186 |
+
0.020380672454833985,
|
187 |
+
0.020311040878295897,
|
188 |
+
0.02011238479614258,
|
189 |
+
0.020171775817871093,
|
190 |
+
0.020146175384521483,
|
191 |
+
0.020205568313598633,
|
192 |
+
0.020204544067382812,
|
193 |
+
0.02026803207397461,
|
194 |
+
0.020179967880249023,
|
195 |
+
0.020172800064086914,
|
196 |
+
0.02031718444824219,
|
197 |
+
0.020158464431762696,
|
198 |
+
0.02023219108581543,
|
199 |
+
0.020182016372680665,
|
200 |
+
0.019813375473022463,
|
201 |
+
0.019315711975097655,
|
202 |
+
0.019309568405151366,
|
203 |
+
0.01926348876953125,
|
204 |
+
0.01924300765991211,
|
205 |
+
0.01927987289428711,
|
206 |
+
0.019887104034423828,
|
207 |
+
0.02020351982116699,
|
208 |
+
0.019355648040771483,
|
209 |
+
0.01927475166320801,
|
210 |
+
0.02041548728942871,
|
211 |
+
0.020374528884887694,
|
212 |
+
0.020166656494140626,
|
213 |
+
0.01926655960083008,
|
214 |
+
0.019604480743408204,
|
215 |
+
0.020313087463378905,
|
216 |
+
0.020307968139648438,
|
217 |
+
0.01927577590942383,
|
218 |
+
0.01919692802429199,
|
219 |
+
0.01926246452331543,
|
220 |
+
0.01929113578796387,
|
221 |
+
0.019216384887695313,
|
222 |
+
0.01925734329223633,
|
223 |
+
0.01923481559753418,
|
224 |
+
0.01924505615234375,
|
225 |
+
0.019224576950073242,
|
226 |
+
0.019326976776123047,
|
227 |
+
0.019818496704101563,
|
228 |
+
0.021597183227539063,
|
229 |
+
0.022984703063964843,
|
230 |
+
0.019619840621948242,
|
231 |
+
0.01947340774536133,
|
232 |
+
0.020195327758789062,
|
233 |
+
0.020171775817871093,
|
234 |
+
0.019794944763183595,
|
235 |
+
0.02005401611328125,
|
236 |
+
0.020142080307006836,
|
237 |
+
0.020363264083862305,
|
238 |
+
0.020213760375976563,
|
239 |
+
0.01965260887145996,
|
240 |
+
0.01963520050048828,
|
241 |
+
0.02005299186706543,
|
242 |
+
0.02002841567993164,
|
243 |
+
0.02021683120727539,
|
244 |
+
0.01959219169616699,
|
245 |
+
0.019647487640380858,
|
246 |
+
0.019755008697509766,
|
247 |
+
0.019989503860473632,
|
248 |
+
0.019698688507080078,
|
249 |
+
0.020288511276245116,
|
250 |
+
0.020163583755493163,
|
251 |
+
0.020180992126464844,
|
252 |
+
0.020328447341918944,
|
253 |
+
0.019595264434814453,
|
254 |
+
0.019515392303466796,
|
255 |
+
0.019568639755249022,
|
256 |
+
0.019422208786010742,
|
257 |
+
0.02001817512512207,
|
258 |
+
0.020249599456787108,
|
259 |
+
0.020601856231689454,
|
260 |
+
0.020387840270996094,
|
261 |
+
0.019620864868164063,
|
262 |
+
0.019532800674438477,
|
263 |
+
0.020076543807983398,
|
264 |
+
0.020279296875,
|
265 |
+
0.020380672454833985,
|
266 |
+
0.020315135955810547,
|
267 |
+
0.020379648208618165,
|
268 |
+
0.020290559768676757,
|
269 |
+
0.020403200149536133,
|
270 |
+
0.01946931266784668,
|
271 |
+
0.019552255630493166,
|
272 |
+
0.01964646339416504,
|
273 |
+
0.020297727584838866,
|
274 |
+
0.020238336563110353,
|
275 |
+
0.020099071502685546,
|
276 |
+
0.020074495315551756,
|
277 |
+
0.019990528106689453,
|
278 |
+
0.019478527069091797,
|
279 |
+
0.019500032424926757,
|
280 |
+
0.01987174415588379,
|
281 |
+
0.020247552871704103,
|
282 |
+
0.020346879959106445,
|
283 |
+
0.020489215850830078,
|
284 |
+
0.02025881576538086,
|
285 |
+
0.020116479873657226,
|
286 |
+
0.019580928802490235,
|
287 |
+
0.019582975387573243,
|
288 |
+
0.019594240188598632,
|
289 |
+
0.019414016723632813,
|
290 |
+
0.019559423446655275,
|
291 |
+
0.01948467254638672,
|
292 |
+
0.01948876762390137,
|
293 |
+
0.019482624053955077,
|
294 |
+
0.02002943992614746,
|
295 |
+
0.020977664947509765,
|
296 |
+
0.02062745666503906,
|
297 |
+
0.020154367446899413,
|
298 |
+
0.019764223098754884,
|
299 |
+
0.019543039321899415,
|
300 |
+
0.019533824920654298,
|
301 |
+
0.01946931266784668,
|
302 |
+
0.0194150390625,
|
303 |
+
0.01962393569946289,
|
304 |
+
0.020150272369384766,
|
305 |
+
0.02025164794921875,
|
306 |
+
0.04095078277587891,
|
307 |
+
0.019910655975341796,
|
308 |
+
0.019322879791259767,
|
309 |
+
0.019497983932495116,
|
310 |
+
0.020033536911010744,
|
311 |
+
0.02031718444824219,
|
312 |
+
0.01930342483520508,
|
313 |
+
0.01944371223449707,
|
314 |
+
0.01949388885498047,
|
315 |
+
0.019887104034423828,
|
316 |
+
0.019929088592529298,
|
317 |
+
0.019943424224853516,
|
318 |
+
0.020191232681274415,
|
319 |
+
0.020123647689819335,
|
320 |
+
0.020158464431762696,
|
321 |
+
0.019994623184204103,
|
322 |
+
0.019960832595825196,
|
323 |
+
0.019963903427124022,
|
324 |
+
0.019970048904418947,
|
325 |
+
0.019997695922851562,
|
326 |
+
0.020032512664794923,
|
327 |
+
0.02004172706604004,
|
328 |
+
0.020148223876953125,
|
329 |
+
0.020033536911010744,
|
330 |
+
0.020101119995117187,
|
331 |
+
0.019817472457885742,
|
332 |
+
0.01965056037902832,
|
333 |
+
0.02021683120727539,
|
334 |
+
0.020340736389160157,
|
335 |
+
0.019974143981933593,
|
336 |
+
0.019363840103149413,
|
337 |
+
0.01945907211303711,
|
338 |
+
0.019569664001464843,
|
339 |
+
0.019203071594238282,
|
340 |
+
0.01985740852355957,
|
341 |
+
0.02004684829711914,
|
342 |
+
0.019359807968139648,
|
343 |
+
0.019477439880371095,
|
344 |
+
0.01938739204406738,
|
345 |
+
0.01937919998168945,
|
346 |
+
0.02126131248474121,
|
347 |
+
0.02070425605773926,
|
348 |
+
0.02023321533203125,
|
349 |
+
0.019878911972045898,
|
350 |
+
0.01990656089782715,
|
351 |
+
0.019366912841796875,
|
352 |
+
0.01944166374206543,
|
353 |
+
0.019388416290283202,
|
354 |
+
0.019386367797851564,
|
355 |
+
0.01942835235595703,
|
356 |
+
0.019331071853637697,
|
357 |
+
0.019325952529907226,
|
358 |
+
0.019535871505737306,
|
359 |
+
0.019338239669799806,
|
360 |
+
0.019296255111694336,
|
361 |
+
0.019338239669799806,
|
362 |
+
0.019309568405151366,
|
363 |
+
0.01942118453979492,
|
364 |
+
0.019581951141357423,
|
365 |
+
0.01948057556152344,
|
366 |
+
0.019561471939086913,
|
367 |
+
0.02002124786376953,
|
368 |
+
0.020324352264404297,
|
369 |
+
0.020215808868408205,
|
370 |
+
0.020158464431762696,
|
371 |
+
0.020460544586181642,
|
372 |
+
0.02024038314819336,
|
373 |
+
0.019536895751953123,
|
374 |
+
0.01965158462524414,
|
375 |
+
0.01970790481567383,
|
376 |
+
0.01941606330871582,
|
377 |
+
0.019526655197143555,
|
378 |
+
0.019572736740112305,
|
379 |
+
0.019494911193847657,
|
380 |
+
0.0194467830657959,
|
381 |
+
0.01963417625427246,
|
382 |
+
0.01925734329223633,
|
383 |
+
0.01962700843811035,
|
384 |
+
0.019538944244384765,
|
385 |
+
0.019557376861572266,
|
386 |
+
0.019389440536499023,
|
387 |
+
0.019505151748657225,
|
388 |
+
0.019458047866821288,
|
389 |
+
0.019538944244384765,
|
390 |
+
0.019589120864868165,
|
391 |
+
0.021711872100830077,
|
392 |
+
0.020358144760131838,
|
393 |
+
0.01963827133178711,
|
394 |
+
0.019563520431518554,
|
395 |
+
0.01963212776184082,
|
396 |
+
0.01944780731201172,
|
397 |
+
0.01946931266784668,
|
398 |
+
0.019276800155639647,
|
399 |
+
0.019315711975097655,
|
400 |
+
0.019530752182006835,
|
401 |
+
0.019538944244384765,
|
402 |
+
0.01948569679260254,
|
403 |
+
0.01942630386352539,
|
404 |
+
0.019519487380981446,
|
405 |
+
0.019554304122924804,
|
406 |
+
0.02016972732543945,
|
407 |
+
0.020188159942626953,
|
408 |
+
0.020305919647216796,
|
409 |
+
0.02024448013305664,
|
410 |
+
0.020249599456787108,
|
411 |
+
0.02019430351257324,
|
412 |
+
0.02012774467468262,
|
413 |
+
0.019422208786010742,
|
414 |
+
0.019501056671142578,
|
415 |
+
0.019963903427124022,
|
416 |
+
0.02011136054992676,
|
417 |
+
0.01983180809020996,
|
418 |
+
0.019547136306762695,
|
419 |
+
0.019522560119628905,
|
420 |
+
0.019378175735473634,
|
421 |
+
0.019647487640380858,
|
422 |
+
0.02025881576538086,
|
423 |
+
0.021131263732910157,
|
424 |
+
0.019937280654907227,
|
425 |
+
0.019620864868164063,
|
426 |
+
0.019743743896484374,
|
427 |
+
0.019512319564819337,
|
428 |
+
0.01924608039855957,
|
429 |
+
0.01923686408996582,
|
430 |
+
0.019343360900878907,
|
431 |
+
0.019522560119628905,
|
432 |
+
0.019561471939086913
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 50.212521758833795
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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": 1702.6048,
|
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.042010560989379886,
|
15 |
+
"mean": 0.021005280494689943,
|
16 |
+
"stdev": 0.00014198398590087834,
|
17 |
+
"p50": 0.021005280494689943,
|
18 |
+
"p90": 0.021118867683410644,
|
19 |
+
"p95": 0.02113306608200073,
|
20 |
+
"p99": 0.0211444248008728,
|
21 |
+
"values": [
|
22 |
+
0.02114726448059082,
|
23 |
+
0.020863296508789063
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 333.24953702806175
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1702.62528,
|
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": 5.038279052734375,
|
46 |
+
"mean": 2.5191395263671876,
|
47 |
+
"stdev": 0.009805053710937539,
|
48 |
+
"p50": 2.5191395263671876,
|
49 |
+
"p90": 2.5269835693359375,
|
50 |
+
"p95": 2.5279640747070315,
|
51 |
+
"p99": 2.5287484790039065,
|
52 |
+
"values": [
|
53 |
+
2.528944580078125,
|
54 |
+
2.50933447265625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 50.4140396634341
|
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.038583826065063,
|
70 |
+
"mean": 0.019915351091166256,
|
71 |
+
"stdev": 0.001410887825065693,
|
72 |
+
"p50": 0.01965260887145996,
|
73 |
+
"p90": 0.020322918701171876,
|
74 |
+
"p95": 0.020433510208129883,
|
75 |
+
"p99": 0.021652233886718747,
|
76 |
+
"values": [
|
77 |
+
0.020928512573242186,
|
78 |
+
0.0195020809173584,
|
79 |
+
0.019280895233154297,
|
80 |
+
0.01926246452331543,
|
81 |
+
0.0192675838470459,
|
82 |
+
0.01944063949584961,
|
83 |
+
0.020380672454833985,
|
84 |
+
0.020311040878295897,
|
85 |
+
0.02011238479614258,
|
86 |
+
0.020171775817871093,
|
87 |
+
0.020146175384521483,
|
88 |
+
0.020205568313598633,
|
89 |
+
0.020204544067382812,
|
90 |
+
0.02026803207397461,
|
91 |
+
0.020179967880249023,
|
92 |
+
0.020172800064086914,
|
93 |
+
0.02031718444824219,
|
94 |
+
0.020158464431762696,
|
95 |
+
0.02023219108581543,
|
96 |
+
0.020182016372680665,
|
97 |
+
0.019813375473022463,
|
98 |
+
0.019315711975097655,
|
99 |
+
0.019309568405151366,
|
100 |
+
0.01926348876953125,
|
101 |
+
0.01924300765991211,
|
102 |
+
0.01927987289428711,
|
103 |
+
0.019887104034423828,
|
104 |
+
0.02020351982116699,
|
105 |
+
0.019355648040771483,
|
106 |
+
0.01927475166320801,
|
107 |
+
0.02041548728942871,
|
108 |
+
0.020374528884887694,
|
109 |
+
0.020166656494140626,
|
110 |
+
0.01926655960083008,
|
111 |
+
0.019604480743408204,
|
112 |
+
0.020313087463378905,
|
113 |
+
0.020307968139648438,
|
114 |
+
0.01927577590942383,
|
115 |
+
0.01919692802429199,
|
116 |
+
0.01926246452331543,
|
117 |
+
0.01929113578796387,
|
118 |
+
0.019216384887695313,
|
119 |
+
0.01925734329223633,
|
120 |
+
0.01923481559753418,
|
121 |
+
0.01924505615234375,
|
122 |
+
0.019224576950073242,
|
123 |
+
0.019326976776123047,
|
124 |
+
0.019818496704101563,
|
125 |
+
0.021597183227539063,
|
126 |
+
0.022984703063964843,
|
127 |
+
0.019619840621948242,
|
128 |
+
0.01947340774536133,
|
129 |
+
0.020195327758789062,
|
130 |
+
0.020171775817871093,
|
131 |
+
0.019794944763183595,
|
132 |
+
0.02005401611328125,
|
133 |
+
0.020142080307006836,
|
134 |
+
0.020363264083862305,
|
135 |
+
0.020213760375976563,
|
136 |
+
0.01965260887145996,
|
137 |
+
0.01963520050048828,
|
138 |
+
0.02005299186706543,
|
139 |
+
0.02002841567993164,
|
140 |
+
0.02021683120727539,
|
141 |
+
0.01959219169616699,
|
142 |
+
0.019647487640380858,
|
143 |
+
0.019755008697509766,
|
144 |
+
0.019989503860473632,
|
145 |
+
0.019698688507080078,
|
146 |
+
0.020288511276245116,
|
147 |
+
0.020163583755493163,
|
148 |
+
0.020180992126464844,
|
149 |
+
0.020328447341918944,
|
150 |
+
0.019595264434814453,
|
151 |
+
0.019515392303466796,
|
152 |
+
0.019568639755249022,
|
153 |
+
0.019422208786010742,
|
154 |
+
0.02001817512512207,
|
155 |
+
0.020249599456787108,
|
156 |
+
0.020601856231689454,
|
157 |
+
0.020387840270996094,
|
158 |
+
0.019620864868164063,
|
159 |
+
0.019532800674438477,
|
160 |
+
0.020076543807983398,
|
161 |
+
0.020279296875,
|
162 |
+
0.020380672454833985,
|
163 |
+
0.020315135955810547,
|
164 |
+
0.020379648208618165,
|
165 |
+
0.020290559768676757,
|
166 |
+
0.020403200149536133,
|
167 |
+
0.01946931266784668,
|
168 |
+
0.019552255630493166,
|
169 |
+
0.01964646339416504,
|
170 |
+
0.020297727584838866,
|
171 |
+
0.020238336563110353,
|
172 |
+
0.020099071502685546,
|
173 |
+
0.020074495315551756,
|
174 |
+
0.019990528106689453,
|
175 |
+
0.019478527069091797,
|
176 |
+
0.019500032424926757,
|
177 |
+
0.01987174415588379,
|
178 |
+
0.020247552871704103,
|
179 |
+
0.020346879959106445,
|
180 |
+
0.020489215850830078,
|
181 |
+
0.02025881576538086,
|
182 |
+
0.020116479873657226,
|
183 |
+
0.019580928802490235,
|
184 |
+
0.019582975387573243,
|
185 |
+
0.019594240188598632,
|
186 |
+
0.019414016723632813,
|
187 |
+
0.019559423446655275,
|
188 |
+
0.01948467254638672,
|
189 |
+
0.01948876762390137,
|
190 |
+
0.019482624053955077,
|
191 |
+
0.02002943992614746,
|
192 |
+
0.020977664947509765,
|
193 |
+
0.02062745666503906,
|
194 |
+
0.020154367446899413,
|
195 |
+
0.019764223098754884,
|
196 |
+
0.019543039321899415,
|
197 |
+
0.019533824920654298,
|
198 |
+
0.01946931266784668,
|
199 |
+
0.0194150390625,
|
200 |
+
0.01962393569946289,
|
201 |
+
0.020150272369384766,
|
202 |
+
0.02025164794921875,
|
203 |
+
0.04095078277587891,
|
204 |
+
0.019910655975341796,
|
205 |
+
0.019322879791259767,
|
206 |
+
0.019497983932495116,
|
207 |
+
0.020033536911010744,
|
208 |
+
0.02031718444824219,
|
209 |
+
0.01930342483520508,
|
210 |
+
0.01944371223449707,
|
211 |
+
0.01949388885498047,
|
212 |
+
0.019887104034423828,
|
213 |
+
0.019929088592529298,
|
214 |
+
0.019943424224853516,
|
215 |
+
0.020191232681274415,
|
216 |
+
0.020123647689819335,
|
217 |
+
0.020158464431762696,
|
218 |
+
0.019994623184204103,
|
219 |
+
0.019960832595825196,
|
220 |
+
0.019963903427124022,
|
221 |
+
0.019970048904418947,
|
222 |
+
0.019997695922851562,
|
223 |
+
0.020032512664794923,
|
224 |
+
0.02004172706604004,
|
225 |
+
0.020148223876953125,
|
226 |
+
0.020033536911010744,
|
227 |
+
0.020101119995117187,
|
228 |
+
0.019817472457885742,
|
229 |
+
0.01965056037902832,
|
230 |
+
0.02021683120727539,
|
231 |
+
0.020340736389160157,
|
232 |
+
0.019974143981933593,
|
233 |
+
0.019363840103149413,
|
234 |
+
0.01945907211303711,
|
235 |
+
0.019569664001464843,
|
236 |
+
0.019203071594238282,
|
237 |
+
0.01985740852355957,
|
238 |
+
0.02004684829711914,
|
239 |
+
0.019359807968139648,
|
240 |
+
0.019477439880371095,
|
241 |
+
0.01938739204406738,
|
242 |
+
0.01937919998168945,
|
243 |
+
0.02126131248474121,
|
244 |
+
0.02070425605773926,
|
245 |
+
0.02023321533203125,
|
246 |
+
0.019878911972045898,
|
247 |
+
0.01990656089782715,
|
248 |
+
0.019366912841796875,
|
249 |
+
0.01944166374206543,
|
250 |
+
0.019388416290283202,
|
251 |
+
0.019386367797851564,
|
252 |
+
0.01942835235595703,
|
253 |
+
0.019331071853637697,
|
254 |
+
0.019325952529907226,
|
255 |
+
0.019535871505737306,
|
256 |
+
0.019338239669799806,
|
257 |
+
0.019296255111694336,
|
258 |
+
0.019338239669799806,
|
259 |
+
0.019309568405151366,
|
260 |
+
0.01942118453979492,
|
261 |
+
0.019581951141357423,
|
262 |
+
0.01948057556152344,
|
263 |
+
0.019561471939086913,
|
264 |
+
0.02002124786376953,
|
265 |
+
0.020324352264404297,
|
266 |
+
0.020215808868408205,
|
267 |
+
0.020158464431762696,
|
268 |
+
0.020460544586181642,
|
269 |
+
0.02024038314819336,
|
270 |
+
0.019536895751953123,
|
271 |
+
0.01965158462524414,
|
272 |
+
0.01970790481567383,
|
273 |
+
0.01941606330871582,
|
274 |
+
0.019526655197143555,
|
275 |
+
0.019572736740112305,
|
276 |
+
0.019494911193847657,
|
277 |
+
0.0194467830657959,
|
278 |
+
0.01963417625427246,
|
279 |
+
0.01925734329223633,
|
280 |
+
0.01962700843811035,
|
281 |
+
0.019538944244384765,
|
282 |
+
0.019557376861572266,
|
283 |
+
0.019389440536499023,
|
284 |
+
0.019505151748657225,
|
285 |
+
0.019458047866821288,
|
286 |
+
0.019538944244384765,
|
287 |
+
0.019589120864868165,
|
288 |
+
0.021711872100830077,
|
289 |
+
0.020358144760131838,
|
290 |
+
0.01963827133178711,
|
291 |
+
0.019563520431518554,
|
292 |
+
0.01963212776184082,
|
293 |
+
0.01944780731201172,
|
294 |
+
0.01946931266784668,
|
295 |
+
0.019276800155639647,
|
296 |
+
0.019315711975097655,
|
297 |
+
0.019530752182006835,
|
298 |
+
0.019538944244384765,
|
299 |
+
0.01948569679260254,
|
300 |
+
0.01942630386352539,
|
301 |
+
0.019519487380981446,
|
302 |
+
0.019554304122924804,
|
303 |
+
0.02016972732543945,
|
304 |
+
0.020188159942626953,
|
305 |
+
0.020305919647216796,
|
306 |
+
0.02024448013305664,
|
307 |
+
0.020249599456787108,
|
308 |
+
0.02019430351257324,
|
309 |
+
0.02012774467468262,
|
310 |
+
0.019422208786010742,
|
311 |
+
0.019501056671142578,
|
312 |
+
0.019963903427124022,
|
313 |
+
0.02011136054992676,
|
314 |
+
0.01983180809020996,
|
315 |
+
0.019547136306762695,
|
316 |
+
0.019522560119628905,
|
317 |
+
0.019378175735473634,
|
318 |
+
0.019647487640380858,
|
319 |
+
0.02025881576538086,
|
320 |
+
0.021131263732910157,
|
321 |
+
0.019937280654907227,
|
322 |
+
0.019620864868164063,
|
323 |
+
0.019743743896484374,
|
324 |
+
0.019512319564819337,
|
325 |
+
0.01924608039855957,
|
326 |
+
0.01923686408996582,
|
327 |
+
0.019343360900878907,
|
328 |
+
0.019522560119628905,
|
329 |
+
0.019561471939086913
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 50.212521758833795
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021005280494689943,
|
7 |
+
"prefill.throughput.value": 333.24953702806175,
|
8 |
+
"decode.latency.mean": 2.5191395263671876,
|
9 |
+
"decode.throughput.value": 50.4140396634341,
|
10 |
+
"per_token.latency.mean": 0.019915351091166256,
|
11 |
+
"per_token.throughput.value": 50.212521758833795
|
12 |
+
}
|
13 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
88 |
+
- hydra.run.dir=_benchmark/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-24 02:34:49,423[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
88 |
+
- hydra.run.dir=_benchmark/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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": 1773.645824,
|
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.04540800094604492,
|
118 |
+
"mean": 0.02270400047302246,
|
119 |
+
"stdev": 0.0007516479492187499,
|
120 |
+
"p50": 0.02270400047302246,
|
121 |
+
"p90": 0.02330531883239746,
|
122 |
+
"p95": 0.023380483627319336,
|
123 |
+
"p99": 0.023440615463256834,
|
124 |
+
"values": [
|
125 |
+
0.02345564842224121,
|
126 |
+
0.02195235252380371
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 308.3157088689105
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1773.658112,
|
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.176133544921875,
|
149 |
+
"mean": 2.5880667724609374,
|
150 |
+
"stdev": 0.010075805664062631,
|
151 |
+
"p50": 2.5880667724609374,
|
152 |
+
"p90": 2.5961274169921875,
|
153 |
+
"p95": 2.5971349975585936,
|
154 |
+
"p99": 2.597941062011719,
|
155 |
+
"values": [
|
156 |
+
2.598142578125,
|
157 |
+
2.577990966796875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.07137688694114
|
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.176393714904784,
|
173 |
+
"mean": 0.02046005420910982,
|
174 |
+
"stdev": 0.001430816024711554,
|
175 |
+
"p50": 0.02021785545349121,
|
176 |
+
"p90": 0.020832051467895508,
|
177 |
+
"p95": 0.020994866561889647,
|
178 |
+
"p99": 0.02205061088562011,
|
179 |
+
"values": [
|
180 |
+
0.022375423431396483,
|
181 |
+
0.022443008422851563,
|
182 |
+
0.021750783920288085,
|
183 |
+
0.02086809539794922,
|
184 |
+
0.02085990333557129,
|
185 |
+
0.020907007217407226,
|
186 |
+
0.020755456924438476,
|
187 |
+
0.020676607131958007,
|
188 |
+
0.020727807998657227,
|
189 |
+
0.021020671844482423,
|
190 |
+
0.02104832077026367,
|
191 |
+
0.020599807739257812,
|
192 |
+
0.02104319953918457,
|
193 |
+
0.021106687545776368,
|
194 |
+
0.02102374458312988,
|
195 |
+
0.020727807998657227,
|
196 |
+
0.020831232070922853,
|
197 |
+
0.020617216110229493,
|
198 |
+
0.02084147262573242,
|
199 |
+
0.020519935607910156,
|
200 |
+
0.02066227149963379,
|
201 |
+
0.020566015243530272,
|
202 |
+
0.02060697555541992,
|
203 |
+
0.020626432418823244,
|
204 |
+
0.02067148780822754,
|
205 |
+
0.02082918357849121,
|
206 |
+
0.021094400405883788,
|
207 |
+
0.020996095657348633,
|
208 |
+
0.020773887634277344,
|
209 |
+
0.021019647598266602,
|
210 |
+
0.020806655883789063,
|
211 |
+
0.020757503509521484,
|
212 |
+
0.02068172836303711,
|
213 |
+
0.021032960891723632,
|
214 |
+
0.020582399368286132,
|
215 |
+
0.020591615676879883,
|
216 |
+
0.020690944671630858,
|
217 |
+
0.02058137512207031,
|
218 |
+
0.02061311912536621,
|
219 |
+
0.02050048065185547,
|
220 |
+
0.020583423614501953,
|
221 |
+
0.02046668815612793,
|
222 |
+
0.02064793586730957,
|
223 |
+
0.020618240356445314,
|
224 |
+
0.02079539108276367,
|
225 |
+
0.02063564872741699,
|
226 |
+
0.02045849609375,
|
227 |
+
0.0204400634765625,
|
228 |
+
0.020790271759033203,
|
229 |
+
0.0200581111907959,
|
230 |
+
0.020190208435058594,
|
231 |
+
0.020316160202026368,
|
232 |
+
0.020288511276245116,
|
233 |
+
0.020110336303710938,
|
234 |
+
0.020168703079223634,
|
235 |
+
0.020110336303710938,
|
236 |
+
0.02020147132873535,
|
237 |
+
0.020152320861816408,
|
238 |
+
0.020305919647216796,
|
239 |
+
0.02023526382446289,
|
240 |
+
0.020168703079223634,
|
241 |
+
0.02046668815612793,
|
242 |
+
0.02021990394592285,
|
243 |
+
0.020156415939331054,
|
244 |
+
0.020152320861816408,
|
245 |
+
0.02025574493408203,
|
246 |
+
0.02020351982116699,
|
247 |
+
0.020196352005004883,
|
248 |
+
0.020214784622192384,
|
249 |
+
0.020147199630737304,
|
250 |
+
0.02007040023803711,
|
251 |
+
0.02009702491760254,
|
252 |
+
0.020102144241333008,
|
253 |
+
0.020155391693115234,
|
254 |
+
0.020139007568359374,
|
255 |
+
0.02012774467468262,
|
256 |
+
0.020159488677978517,
|
257 |
+
0.020098047256469728,
|
258 |
+
0.020139007568359374,
|
259 |
+
0.020265983581542968,
|
260 |
+
0.02017791938781738,
|
261 |
+
0.02028646469116211,
|
262 |
+
0.020182016372680665,
|
263 |
+
0.020152320861816408,
|
264 |
+
0.02020147132873535,
|
265 |
+
0.020289535522460937,
|
266 |
+
0.02002227210998535,
|
267 |
+
0.019926015853881835,
|
268 |
+
0.020115455627441405,
|
269 |
+
0.020126720428466797,
|
270 |
+
0.02040012741088867,
|
271 |
+
0.020155391693115234,
|
272 |
+
0.020557823181152343,
|
273 |
+
0.020171775817871093,
|
274 |
+
0.020140031814575195,
|
275 |
+
0.020214784622192384,
|
276 |
+
0.020180992126464844,
|
277 |
+
0.020249599456787108,
|
278 |
+
0.020192256927490236,
|
279 |
+
0.02010419273376465,
|
280 |
+
0.02027827262878418,
|
281 |
+
0.020131839752197265,
|
282 |
+
0.020327423095703127,
|
283 |
+
0.020215808868408205,
|
284 |
+
0.020187135696411132,
|
285 |
+
0.020339712142944336,
|
286 |
+
0.020151296615600587,
|
287 |
+
0.020136959075927736,
|
288 |
+
0.020249599456787108,
|
289 |
+
0.020117504119873047,
|
290 |
+
0.020191232681274415,
|
291 |
+
0.020703231811523438,
|
292 |
+
0.020732927322387695,
|
293 |
+
0.020068351745605468,
|
294 |
+
0.020230144500732423,
|
295 |
+
0.020199424743652345,
|
296 |
+
0.020091903686523437,
|
297 |
+
0.02010316848754883,
|
298 |
+
0.020170751571655272,
|
299 |
+
0.020179967880249023,
|
300 |
+
0.020273151397705077,
|
301 |
+
0.020113407135009767,
|
302 |
+
0.020336639404296874,
|
303 |
+
0.020183040618896485,
|
304 |
+
0.020106239318847655,
|
305 |
+
0.020212736129760742,
|
306 |
+
0.042510337829589843,
|
307 |
+
0.020155391693115234,
|
308 |
+
0.020215808868408205,
|
309 |
+
0.020392959594726562,
|
310 |
+
0.02030182456970215,
|
311 |
+
0.019981311798095702,
|
312 |
+
0.019992576599121094,
|
313 |
+
0.020170751571655272,
|
314 |
+
0.020160512924194338,
|
315 |
+
0.020215808868408205,
|
316 |
+
0.020153343200683595,
|
317 |
+
0.020122623443603514,
|
318 |
+
0.020150272369384766,
|
319 |
+
0.020133888244628906,
|
320 |
+
0.02003660774230957,
|
321 |
+
0.019933183670043944,
|
322 |
+
0.02009600067138672,
|
323 |
+
0.02018611145019531,
|
324 |
+
0.020274175643920898,
|
325 |
+
0.02024550437927246,
|
326 |
+
0.02045337677001953,
|
327 |
+
0.02026700782775879,
|
328 |
+
0.020206592559814454,
|
329 |
+
0.020146175384521483,
|
330 |
+
0.020157440185546875,
|
331 |
+
0.0202608642578125,
|
332 |
+
0.020150272369384766,
|
333 |
+
0.02021171188354492,
|
334 |
+
0.020150272369384766,
|
335 |
+
0.020173824310302735,
|
336 |
+
0.020139007568359374,
|
337 |
+
0.020205568313598633,
|
338 |
+
0.020196352005004883,
|
339 |
+
0.020173824310302735,
|
340 |
+
0.02021785545349121,
|
341 |
+
0.020110336303710938,
|
342 |
+
0.020188159942626953,
|
343 |
+
0.02020351982116699,
|
344 |
+
0.02021887969970703,
|
345 |
+
0.02017791938781738,
|
346 |
+
0.02022502326965332,
|
347 |
+
0.020143104553222657,
|
348 |
+
0.020898815155029296,
|
349 |
+
0.020806655883789063,
|
350 |
+
0.020562944412231447,
|
351 |
+
0.020447231292724608,
|
352 |
+
0.02011136054992676,
|
353 |
+
0.020125696182250977,
|
354 |
+
0.02012774467468262,
|
355 |
+
0.02021887969970703,
|
356 |
+
0.02016972732543945,
|
357 |
+
0.020131839752197265,
|
358 |
+
0.020174848556518556,
|
359 |
+
0.02024140739440918,
|
360 |
+
0.020148223876953125,
|
361 |
+
0.020130815505981444,
|
362 |
+
0.020550655364990233,
|
363 |
+
0.020831232070922853,
|
364 |
+
0.02084249687194824,
|
365 |
+
0.020140031814575195,
|
366 |
+
0.02026393508911133,
|
367 |
+
0.020280319213867186,
|
368 |
+
0.02020351982116699,
|
369 |
+
0.020289535522460937,
|
370 |
+
0.020264959335327147,
|
371 |
+
0.020198400497436524,
|
372 |
+
0.020099071502685546,
|
373 |
+
0.02021990394592285,
|
374 |
+
0.020118528366088868,
|
375 |
+
0.020179967880249023,
|
376 |
+
0.020118528366088868,
|
377 |
+
0.02021683120727539,
|
378 |
+
0.020167680740356447,
|
379 |
+
0.020271104812622072,
|
380 |
+
0.020208639144897463,
|
381 |
+
0.020384767532348632,
|
382 |
+
0.020192256927490236,
|
383 |
+
0.02026393508911133,
|
384 |
+
0.020377599716186523,
|
385 |
+
0.020156415939331054,
|
386 |
+
0.020174848556518556,
|
387 |
+
0.02021683120727539,
|
388 |
+
0.020163583755493163,
|
389 |
+
0.02022604751586914,
|
390 |
+
0.020184064865112306,
|
391 |
+
0.020155391693115234,
|
392 |
+
0.020187135696411132,
|
393 |
+
0.02024550437927246,
|
394 |
+
0.020113407135009767,
|
395 |
+
0.020208639144897463,
|
396 |
+
0.020110336303710938,
|
397 |
+
0.020832256317138673,
|
398 |
+
0.020924415588378906,
|
399 |
+
0.020783103942871094,
|
400 |
+
0.020839424133300782,
|
401 |
+
0.020814847946166993,
|
402 |
+
0.020775936126708985,
|
403 |
+
0.020773887634277344,
|
404 |
+
0.02020249557495117,
|
405 |
+
0.020161535263061522,
|
406 |
+
0.020221952438354493,
|
407 |
+
0.020163583755493163,
|
408 |
+
0.020163583755493163,
|
409 |
+
0.020781055450439453,
|
410 |
+
0.020789247512817383,
|
411 |
+
0.02099404716491699,
|
412 |
+
0.020143104553222657,
|
413 |
+
0.020183040618896485,
|
414 |
+
0.020187135696411132,
|
415 |
+
0.02084966468811035,
|
416 |
+
0.020784160614013673,
|
417 |
+
0.020807647705078126,
|
418 |
+
0.02084147262573242,
|
419 |
+
0.02085273551940918,
|
420 |
+
0.020362239837646484,
|
421 |
+
0.02027212715148926,
|
422 |
+
0.020139007568359374,
|
423 |
+
0.020327423095703127,
|
424 |
+
0.020238336563110353,
|
425 |
+
0.02023423957824707,
|
426 |
+
0.020173824310302735,
|
427 |
+
0.020293664932250977,
|
428 |
+
0.020248544692993163,
|
429 |
+
0.020107263565063475,
|
430 |
+
0.020229120254516602,
|
431 |
+
0.020141056060791016,
|
432 |
+
0.020410367965698242
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.87572583042086
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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": 1773.645824,
|
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.04540800094604492,
|
15 |
+
"mean": 0.02270400047302246,
|
16 |
+
"stdev": 0.0007516479492187499,
|
17 |
+
"p50": 0.02270400047302246,
|
18 |
+
"p90": 0.02330531883239746,
|
19 |
+
"p95": 0.023380483627319336,
|
20 |
+
"p99": 0.023440615463256834,
|
21 |
+
"values": [
|
22 |
+
0.02345564842224121,
|
23 |
+
0.02195235252380371
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 308.3157088689105
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1773.658112,
|
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.176133544921875,
|
46 |
+
"mean": 2.5880667724609374,
|
47 |
+
"stdev": 0.010075805664062631,
|
48 |
+
"p50": 2.5880667724609374,
|
49 |
+
"p90": 2.5961274169921875,
|
50 |
+
"p95": 2.5971349975585936,
|
51 |
+
"p99": 2.597941062011719,
|
52 |
+
"values": [
|
53 |
+
2.598142578125,
|
54 |
+
2.577990966796875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.07137688694114
|
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.176393714904784,
|
70 |
+
"mean": 0.02046005420910982,
|
71 |
+
"stdev": 0.001430816024711554,
|
72 |
+
"p50": 0.02021785545349121,
|
73 |
+
"p90": 0.020832051467895508,
|
74 |
+
"p95": 0.020994866561889647,
|
75 |
+
"p99": 0.02205061088562011,
|
76 |
+
"values": [
|
77 |
+
0.022375423431396483,
|
78 |
+
0.022443008422851563,
|
79 |
+
0.021750783920288085,
|
80 |
+
0.02086809539794922,
|
81 |
+
0.02085990333557129,
|
82 |
+
0.020907007217407226,
|
83 |
+
0.020755456924438476,
|
84 |
+
0.020676607131958007,
|
85 |
+
0.020727807998657227,
|
86 |
+
0.021020671844482423,
|
87 |
+
0.02104832077026367,
|
88 |
+
0.020599807739257812,
|
89 |
+
0.02104319953918457,
|
90 |
+
0.021106687545776368,
|
91 |
+
0.02102374458312988,
|
92 |
+
0.020727807998657227,
|
93 |
+
0.020831232070922853,
|
94 |
+
0.020617216110229493,
|
95 |
+
0.02084147262573242,
|
96 |
+
0.020519935607910156,
|
97 |
+
0.02066227149963379,
|
98 |
+
0.020566015243530272,
|
99 |
+
0.02060697555541992,
|
100 |
+
0.020626432418823244,
|
101 |
+
0.02067148780822754,
|
102 |
+
0.02082918357849121,
|
103 |
+
0.021094400405883788,
|
104 |
+
0.020996095657348633,
|
105 |
+
0.020773887634277344,
|
106 |
+
0.021019647598266602,
|
107 |
+
0.020806655883789063,
|
108 |
+
0.020757503509521484,
|
109 |
+
0.02068172836303711,
|
110 |
+
0.021032960891723632,
|
111 |
+
0.020582399368286132,
|
112 |
+
0.020591615676879883,
|
113 |
+
0.020690944671630858,
|
114 |
+
0.02058137512207031,
|
115 |
+
0.02061311912536621,
|
116 |
+
0.02050048065185547,
|
117 |
+
0.020583423614501953,
|
118 |
+
0.02046668815612793,
|
119 |
+
0.02064793586730957,
|
120 |
+
0.020618240356445314,
|
121 |
+
0.02079539108276367,
|
122 |
+
0.02063564872741699,
|
123 |
+
0.02045849609375,
|
124 |
+
0.0204400634765625,
|
125 |
+
0.020790271759033203,
|
126 |
+
0.0200581111907959,
|
127 |
+
0.020190208435058594,
|
128 |
+
0.020316160202026368,
|
129 |
+
0.020288511276245116,
|
130 |
+
0.020110336303710938,
|
131 |
+
0.020168703079223634,
|
132 |
+
0.020110336303710938,
|
133 |
+
0.02020147132873535,
|
134 |
+
0.020152320861816408,
|
135 |
+
0.020305919647216796,
|
136 |
+
0.02023526382446289,
|
137 |
+
0.020168703079223634,
|
138 |
+
0.02046668815612793,
|
139 |
+
0.02021990394592285,
|
140 |
+
0.020156415939331054,
|
141 |
+
0.020152320861816408,
|
142 |
+
0.02025574493408203,
|
143 |
+
0.02020351982116699,
|
144 |
+
0.020196352005004883,
|
145 |
+
0.020214784622192384,
|
146 |
+
0.020147199630737304,
|
147 |
+
0.02007040023803711,
|
148 |
+
0.02009702491760254,
|
149 |
+
0.020102144241333008,
|
150 |
+
0.020155391693115234,
|
151 |
+
0.020139007568359374,
|
152 |
+
0.02012774467468262,
|
153 |
+
0.020159488677978517,
|
154 |
+
0.020098047256469728,
|
155 |
+
0.020139007568359374,
|
156 |
+
0.020265983581542968,
|
157 |
+
0.02017791938781738,
|
158 |
+
0.02028646469116211,
|
159 |
+
0.020182016372680665,
|
160 |
+
0.020152320861816408,
|
161 |
+
0.02020147132873535,
|
162 |
+
0.020289535522460937,
|
163 |
+
0.02002227210998535,
|
164 |
+
0.019926015853881835,
|
165 |
+
0.020115455627441405,
|
166 |
+
0.020126720428466797,
|
167 |
+
0.02040012741088867,
|
168 |
+
0.020155391693115234,
|
169 |
+
0.020557823181152343,
|
170 |
+
0.020171775817871093,
|
171 |
+
0.020140031814575195,
|
172 |
+
0.020214784622192384,
|
173 |
+
0.020180992126464844,
|
174 |
+
0.020249599456787108,
|
175 |
+
0.020192256927490236,
|
176 |
+
0.02010419273376465,
|
177 |
+
0.02027827262878418,
|
178 |
+
0.020131839752197265,
|
179 |
+
0.020327423095703127,
|
180 |
+
0.020215808868408205,
|
181 |
+
0.020187135696411132,
|
182 |
+
0.020339712142944336,
|
183 |
+
0.020151296615600587,
|
184 |
+
0.020136959075927736,
|
185 |
+
0.020249599456787108,
|
186 |
+
0.020117504119873047,
|
187 |
+
0.020191232681274415,
|
188 |
+
0.020703231811523438,
|
189 |
+
0.020732927322387695,
|
190 |
+
0.020068351745605468,
|
191 |
+
0.020230144500732423,
|
192 |
+
0.020199424743652345,
|
193 |
+
0.020091903686523437,
|
194 |
+
0.02010316848754883,
|
195 |
+
0.020170751571655272,
|
196 |
+
0.020179967880249023,
|
197 |
+
0.020273151397705077,
|
198 |
+
0.020113407135009767,
|
199 |
+
0.020336639404296874,
|
200 |
+
0.020183040618896485,
|
201 |
+
0.020106239318847655,
|
202 |
+
0.020212736129760742,
|
203 |
+
0.042510337829589843,
|
204 |
+
0.020155391693115234,
|
205 |
+
0.020215808868408205,
|
206 |
+
0.020392959594726562,
|
207 |
+
0.02030182456970215,
|
208 |
+
0.019981311798095702,
|
209 |
+
0.019992576599121094,
|
210 |
+
0.020170751571655272,
|
211 |
+
0.020160512924194338,
|
212 |
+
0.020215808868408205,
|
213 |
+
0.020153343200683595,
|
214 |
+
0.020122623443603514,
|
215 |
+
0.020150272369384766,
|
216 |
+
0.020133888244628906,
|
217 |
+
0.02003660774230957,
|
218 |
+
0.019933183670043944,
|
219 |
+
0.02009600067138672,
|
220 |
+
0.02018611145019531,
|
221 |
+
0.020274175643920898,
|
222 |
+
0.02024550437927246,
|
223 |
+
0.02045337677001953,
|
224 |
+
0.02026700782775879,
|
225 |
+
0.020206592559814454,
|
226 |
+
0.020146175384521483,
|
227 |
+
0.020157440185546875,
|
228 |
+
0.0202608642578125,
|
229 |
+
0.020150272369384766,
|
230 |
+
0.02021171188354492,
|
231 |
+
0.020150272369384766,
|
232 |
+
0.020173824310302735,
|
233 |
+
0.020139007568359374,
|
234 |
+
0.020205568313598633,
|
235 |
+
0.020196352005004883,
|
236 |
+
0.020173824310302735,
|
237 |
+
0.02021785545349121,
|
238 |
+
0.020110336303710938,
|
239 |
+
0.020188159942626953,
|
240 |
+
0.02020351982116699,
|
241 |
+
0.02021887969970703,
|
242 |
+
0.02017791938781738,
|
243 |
+
0.02022502326965332,
|
244 |
+
0.020143104553222657,
|
245 |
+
0.020898815155029296,
|
246 |
+
0.020806655883789063,
|
247 |
+
0.020562944412231447,
|
248 |
+
0.020447231292724608,
|
249 |
+
0.02011136054992676,
|
250 |
+
0.020125696182250977,
|
251 |
+
0.02012774467468262,
|
252 |
+
0.02021887969970703,
|
253 |
+
0.02016972732543945,
|
254 |
+
0.020131839752197265,
|
255 |
+
0.020174848556518556,
|
256 |
+
0.02024140739440918,
|
257 |
+
0.020148223876953125,
|
258 |
+
0.020130815505981444,
|
259 |
+
0.020550655364990233,
|
260 |
+
0.020831232070922853,
|
261 |
+
0.02084249687194824,
|
262 |
+
0.020140031814575195,
|
263 |
+
0.02026393508911133,
|
264 |
+
0.020280319213867186,
|
265 |
+
0.02020351982116699,
|
266 |
+
0.020289535522460937,
|
267 |
+
0.020264959335327147,
|
268 |
+
0.020198400497436524,
|
269 |
+
0.020099071502685546,
|
270 |
+
0.02021990394592285,
|
271 |
+
0.020118528366088868,
|
272 |
+
0.020179967880249023,
|
273 |
+
0.020118528366088868,
|
274 |
+
0.02021683120727539,
|
275 |
+
0.020167680740356447,
|
276 |
+
0.020271104812622072,
|
277 |
+
0.020208639144897463,
|
278 |
+
0.020384767532348632,
|
279 |
+
0.020192256927490236,
|
280 |
+
0.02026393508911133,
|
281 |
+
0.020377599716186523,
|
282 |
+
0.020156415939331054,
|
283 |
+
0.020174848556518556,
|
284 |
+
0.02021683120727539,
|
285 |
+
0.020163583755493163,
|
286 |
+
0.02022604751586914,
|
287 |
+
0.020184064865112306,
|
288 |
+
0.020155391693115234,
|
289 |
+
0.020187135696411132,
|
290 |
+
0.02024550437927246,
|
291 |
+
0.020113407135009767,
|
292 |
+
0.020208639144897463,
|
293 |
+
0.020110336303710938,
|
294 |
+
0.020832256317138673,
|
295 |
+
0.020924415588378906,
|
296 |
+
0.020783103942871094,
|
297 |
+
0.020839424133300782,
|
298 |
+
0.020814847946166993,
|
299 |
+
0.020775936126708985,
|
300 |
+
0.020773887634277344,
|
301 |
+
0.02020249557495117,
|
302 |
+
0.020161535263061522,
|
303 |
+
0.020221952438354493,
|
304 |
+
0.020163583755493163,
|
305 |
+
0.020163583755493163,
|
306 |
+
0.020781055450439453,
|
307 |
+
0.020789247512817383,
|
308 |
+
0.02099404716491699,
|
309 |
+
0.020143104553222657,
|
310 |
+
0.020183040618896485,
|
311 |
+
0.020187135696411132,
|
312 |
+
0.02084966468811035,
|
313 |
+
0.020784160614013673,
|
314 |
+
0.020807647705078126,
|
315 |
+
0.02084147262573242,
|
316 |
+
0.02085273551940918,
|
317 |
+
0.020362239837646484,
|
318 |
+
0.02027212715148926,
|
319 |
+
0.020139007568359374,
|
320 |
+
0.020327423095703127,
|
321 |
+
0.020238336563110353,
|
322 |
+
0.02023423957824707,
|
323 |
+
0.020173824310302735,
|
324 |
+
0.020293664932250977,
|
325 |
+
0.020248544692993163,
|
326 |
+
0.020107263565063475,
|
327 |
+
0.020229120254516602,
|
328 |
+
0.020141056060791016,
|
329 |
+
0.020410367965698242
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.87572583042086
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02270400047302246,
|
7 |
+
"prefill.throughput.value": 308.3157088689105,
|
8 |
+
"decode.latency.mean": 2.5880667724609374,
|
9 |
+
"decode.throughput.value": 49.07137688694114,
|
10 |
+
"per_token.latency.mean": 0.02046005420910982,
|
11 |
+
"per_token.throughput.value": 48.87572583042086
|
12 |
+
}
|
13 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
88 |
+
- hydra.run.dir=_benchmark/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${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/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1928.84736,
|
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.028137439727783202,
|
118 |
+
"mean": 0.014068719863891601,
|
119 |
+
"stdev": 0.0001005916595458985,
|
120 |
+
"p50": 0.014068719863891601,
|
121 |
+
"p90": 0.01414919319152832,
|
122 |
+
"p95": 0.01415925235748291,
|
123 |
+
"p99": 0.014167299690246582,
|
124 |
+
"values": [
|
125 |
+
0.0141693115234375,
|
126 |
+
0.013968128204345703
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 497.55770729119513
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2272.616448,
|
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.146096435546875,
|
149 |
+
"mean": 1.5730482177734375,
|
150 |
+
"stdev": 0.016241821289062486,
|
151 |
+
"p50": 1.5730482177734375,
|
152 |
+
"p90": 1.5860416748046875,
|
153 |
+
"p95": 1.5876658569335937,
|
154 |
+
"p99": 1.5889652026367187,
|
155 |
+
"values": [
|
156 |
+
1.5892900390625,
|
157 |
+
1.556806396484375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.73496957376263
|
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.147150337219238,
|
173 |
+
"mean": 0.012439329396123472,
|
174 |
+
"stdev": 0.0009040416518575642,
|
175 |
+
"p50": 0.012274687767028808,
|
176 |
+
"p90": 0.012708454513549804,
|
177 |
+
"p95": 0.012751872062683106,
|
178 |
+
"p99": 0.012819620056152344,
|
179 |
+
"values": [
|
180 |
+
0.012728320121765137,
|
181 |
+
0.012811264038085938,
|
182 |
+
0.01275391960144043,
|
183 |
+
0.012755968093872071,
|
184 |
+
0.012736512184143066,
|
185 |
+
0.01275494384765625,
|
186 |
+
0.012650495529174804,
|
187 |
+
0.012751872062683106,
|
188 |
+
0.012666879653930664,
|
189 |
+
0.012715007781982422,
|
190 |
+
0.012681216239929198,
|
191 |
+
0.012711935997009278,
|
192 |
+
0.012678144454956054,
|
193 |
+
0.012905471801757813,
|
194 |
+
0.01266483211517334,
|
195 |
+
0.012751872062683106,
|
196 |
+
0.012708864212036132,
|
197 |
+
0.012758015632629394,
|
198 |
+
0.01273855972290039,
|
199 |
+
0.012761088371276855,
|
200 |
+
0.01266483211517334,
|
201 |
+
0.012716032028198243,
|
202 |
+
0.012683263778686523,
|
203 |
+
0.012768256187438964,
|
204 |
+
0.012683263778686523,
|
205 |
+
0.012728320121765137,
|
206 |
+
0.012653568267822265,
|
207 |
+
0.012705792427062988,
|
208 |
+
0.012636159896850586,
|
209 |
+
0.012751872062683106,
|
210 |
+
0.012698623657226562,
|
211 |
+
0.012737536430358886,
|
212 |
+
0.012658687591552734,
|
213 |
+
0.01268838405609131,
|
214 |
+
0.012619775772094726,
|
215 |
+
0.01267199993133545,
|
216 |
+
0.012634112358093261,
|
217 |
+
0.012682239532470703,
|
218 |
+
0.012643327713012695,
|
219 |
+
0.012692480087280274,
|
220 |
+
0.012617728233337403,
|
221 |
+
0.012718079566955566,
|
222 |
+
0.012670975685119629,
|
223 |
+
0.012721152305603027,
|
224 |
+
0.012669952392578124,
|
225 |
+
0.012706815719604492,
|
226 |
+
0.012630016326904296,
|
227 |
+
0.012711935997009278,
|
228 |
+
0.01265766429901123,
|
229 |
+
0.012704768180847169,
|
230 |
+
0.012644351959228516,
|
231 |
+
0.012705792427062988,
|
232 |
+
0.012642304420471191,
|
233 |
+
0.012761088371276855,
|
234 |
+
0.01268019199371338,
|
235 |
+
0.012704768180847169,
|
236 |
+
0.012636159896850586,
|
237 |
+
0.012689408302307128,
|
238 |
+
0.012662783622741699,
|
239 |
+
0.012828672409057617,
|
240 |
+
0.01264844799041748,
|
241 |
+
0.012702719688415527,
|
242 |
+
0.012646400451660156,
|
243 |
+
0.012675071716308594,
|
244 |
+
0.012545023918151856,
|
245 |
+
0.01256447982788086,
|
246 |
+
0.01264844799041748,
|
247 |
+
0.012452863693237304,
|
248 |
+
0.012288000106811523,
|
249 |
+
0.012461055755615234,
|
250 |
+
0.012434432029724121,
|
251 |
+
0.012695551872253418,
|
252 |
+
0.012598272323608398,
|
253 |
+
0.012368895530700684,
|
254 |
+
0.012279808044433594,
|
255 |
+
0.01234227180480957,
|
256 |
+
0.012382207870483398,
|
257 |
+
0.01229312038421631,
|
258 |
+
0.012226559638977052,
|
259 |
+
0.012275712013244629,
|
260 |
+
0.012256256103515625,
|
261 |
+
0.012282879829406738,
|
262 |
+
0.012231679916381836,
|
263 |
+
0.012271615982055664,
|
264 |
+
0.012248064041137695,
|
265 |
+
0.012274687767028808,
|
266 |
+
0.012280832290649414,
|
267 |
+
0.012288000106811523,
|
268 |
+
0.012225536346435547,
|
269 |
+
0.012275712013244629,
|
270 |
+
0.012246015548706055,
|
271 |
+
0.012273664474487305,
|
272 |
+
0.012246015548706055,
|
273 |
+
0.012300288200378418,
|
274 |
+
0.012232704162597656,
|
275 |
+
0.01227673625946045,
|
276 |
+
0.012225536346435547,
|
277 |
+
0.012267519950866699,
|
278 |
+
0.012231679916381836,
|
279 |
+
0.012275712013244629,
|
280 |
+
0.012223487854003906,
|
281 |
+
0.012294143676757812,
|
282 |
+
0.012244992256164551,
|
283 |
+
0.012266495704650878,
|
284 |
+
0.012229632377624512,
|
285 |
+
0.012292096138000488,
|
286 |
+
0.012222463607788087,
|
287 |
+
0.012275712013244629,
|
288 |
+
0.012224512100219726,
|
289 |
+
0.012309503555297852,
|
290 |
+
0.012233728408813477,
|
291 |
+
0.012271615982055664,
|
292 |
+
0.012221440315246582,
|
293 |
+
0.01226956844329834,
|
294 |
+
0.012232704162597656,
|
295 |
+
0.012264448165893555,
|
296 |
+
0.012229632377624512,
|
297 |
+
0.012299263954162597,
|
298 |
+
0.012244992256164551,
|
299 |
+
0.012303359985351562,
|
300 |
+
0.012244992256164551,
|
301 |
+
0.012279808044433594,
|
302 |
+
0.012554240226745606,
|
303 |
+
0.012488703727722168,
|
304 |
+
0.012424192428588866,
|
305 |
+
0.012299263954162597,
|
306 |
+
0.026443775177001954,
|
307 |
+
0.012238847732543945,
|
308 |
+
0.01227673625946045,
|
309 |
+
0.012237824440002442,
|
310 |
+
0.012262399673461915,
|
311 |
+
0.012230655670166016,
|
312 |
+
0.012279808044433594,
|
313 |
+
0.012240896224975586,
|
314 |
+
0.012277759552001954,
|
315 |
+
0.012216320037841797,
|
316 |
+
0.012297216415405274,
|
317 |
+
0.01226035213470459,
|
318 |
+
0.012278783798217773,
|
319 |
+
0.012222463607788087,
|
320 |
+
0.012271615982055664,
|
321 |
+
0.012223487854003906,
|
322 |
+
0.012272640228271485,
|
323 |
+
0.012228608131408691,
|
324 |
+
0.01227673625946045,
|
325 |
+
0.012238847732543945,
|
326 |
+
0.012264448165893555,
|
327 |
+
0.012223487854003906,
|
328 |
+
0.012272640228271485,
|
329 |
+
0.012222463607788087,
|
330 |
+
0.01226956844329834,
|
331 |
+
0.012232704162597656,
|
332 |
+
0.012301312446594239,
|
333 |
+
0.012273664474487305,
|
334 |
+
0.012278783798217773,
|
335 |
+
0.012229632377624512,
|
336 |
+
0.012277759552001954,
|
337 |
+
0.01222758388519287,
|
338 |
+
0.01226854419708252,
|
339 |
+
0.012224512100219726,
|
340 |
+
0.01226956844329834,
|
341 |
+
0.012224512100219726,
|
342 |
+
0.012267519950866699,
|
343 |
+
0.012217344284057617,
|
344 |
+
0.012302335739135742,
|
345 |
+
0.012228608131408691,
|
346 |
+
0.012272640228271485,
|
347 |
+
0.012221440315246582,
|
348 |
+
0.012290047645568849,
|
349 |
+
0.01225011157989502,
|
350 |
+
0.012274687767028808,
|
351 |
+
0.012237824440002442,
|
352 |
+
0.012265472412109376,
|
353 |
+
0.012224512100219726,
|
354 |
+
0.012262399673461915,
|
355 |
+
0.012231679916381836,
|
356 |
+
0.012266495704650878,
|
357 |
+
0.012241920471191407,
|
358 |
+
0.01227673625946045,
|
359 |
+
0.012228608131408691,
|
360 |
+
0.012277759552001954,
|
361 |
+
0.012239871978759765,
|
362 |
+
0.012271615982055664,
|
363 |
+
0.012212224006652832,
|
364 |
+
0.012289024353027344,
|
365 |
+
0.012236800193786621,
|
366 |
+
0.012270591735839843,
|
367 |
+
0.012222463607788087,
|
368 |
+
0.01227673625946045,
|
369 |
+
0.012230655670166016,
|
370 |
+
0.012265472412109376,
|
371 |
+
0.012230655670166016,
|
372 |
+
0.01226854419708252,
|
373 |
+
0.012223487854003906,
|
374 |
+
0.012263423919677734,
|
375 |
+
0.012224512100219726,
|
376 |
+
0.012264448165893555,
|
377 |
+
0.012223487854003906,
|
378 |
+
0.012254207611083985,
|
379 |
+
0.012222463607788087,
|
380 |
+
0.012298239707946777,
|
381 |
+
0.012244992256164551,
|
382 |
+
0.012262399673461915,
|
383 |
+
0.012218367576599122,
|
384 |
+
0.01228492832183838,
|
385 |
+
0.012239871978759765,
|
386 |
+
0.01233407974243164,
|
387 |
+
0.012305407524108887,
|
388 |
+
0.012471296310424805,
|
389 |
+
0.012257280349731446,
|
390 |
+
0.012305407524108887,
|
391 |
+
0.012231679916381836,
|
392 |
+
0.012267519950866699,
|
393 |
+
0.01222758388519287,
|
394 |
+
0.012307456016540527,
|
395 |
+
0.012256256103515625,
|
396 |
+
0.012282879829406738,
|
397 |
+
0.012420096397399903,
|
398 |
+
0.012275712013244629,
|
399 |
+
0.012223487854003906,
|
400 |
+
0.01226854419708252,
|
401 |
+
0.012230655670166016,
|
402 |
+
0.012259327888488769,
|
403 |
+
0.01222758388519287,
|
404 |
+
0.012255231857299804,
|
405 |
+
0.012225536346435547,
|
406 |
+
0.012266495704650878,
|
407 |
+
0.012223487854003906,
|
408 |
+
0.01227673625946045,
|
409 |
+
0.012239871978759765,
|
410 |
+
0.012291071891784668,
|
411 |
+
0.012211199760437011,
|
412 |
+
0.012266495704650878,
|
413 |
+
0.01222758388519287,
|
414 |
+
0.012271615982055664,
|
415 |
+
0.012220416069030762,
|
416 |
+
0.012266495704650878,
|
417 |
+
0.012216320037841797,
|
418 |
+
0.012266495704650878,
|
419 |
+
0.012230655670166016,
|
420 |
+
0.01226137638092041,
|
421 |
+
0.012236800193786621,
|
422 |
+
0.012264448165893555,
|
423 |
+
0.01222758388519287,
|
424 |
+
0.01225830364227295,
|
425 |
+
0.012240896224975586,
|
426 |
+
0.012295167922973632,
|
427 |
+
0.012228608131408691,
|
428 |
+
0.01226956844329834,
|
429 |
+
0.012226559638977052,
|
430 |
+
0.012262399673461915,
|
431 |
+
0.012229632377624512,
|
432 |
+
0.012272640228271485
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.39018568891944
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
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-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1928.84736,
|
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.028137439727783202,
|
15 |
+
"mean": 0.014068719863891601,
|
16 |
+
"stdev": 0.0001005916595458985,
|
17 |
+
"p50": 0.014068719863891601,
|
18 |
+
"p90": 0.01414919319152832,
|
19 |
+
"p95": 0.01415925235748291,
|
20 |
+
"p99": 0.014167299690246582,
|
21 |
+
"values": [
|
22 |
+
0.0141693115234375,
|
23 |
+
0.013968128204345703
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 497.55770729119513
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2272.616448,
|
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.146096435546875,
|
46 |
+
"mean": 1.5730482177734375,
|
47 |
+
"stdev": 0.016241821289062486,
|
48 |
+
"p50": 1.5730482177734375,
|
49 |
+
"p90": 1.5860416748046875,
|
50 |
+
"p95": 1.5876658569335937,
|
51 |
+
"p99": 1.5889652026367187,
|
52 |
+
"values": [
|
53 |
+
1.5892900390625,
|
54 |
+
1.556806396484375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.73496957376263
|
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.147150337219238,
|
70 |
+
"mean": 0.012439329396123472,
|
71 |
+
"stdev": 0.0009040416518575642,
|
72 |
+
"p50": 0.012274687767028808,
|
73 |
+
"p90": 0.012708454513549804,
|
74 |
+
"p95": 0.012751872062683106,
|
75 |
+
"p99": 0.012819620056152344,
|
76 |
+
"values": [
|
77 |
+
0.012728320121765137,
|
78 |
+
0.012811264038085938,
|
79 |
+
0.01275391960144043,
|
80 |
+
0.012755968093872071,
|
81 |
+
0.012736512184143066,
|
82 |
+
0.01275494384765625,
|
83 |
+
0.012650495529174804,
|
84 |
+
0.012751872062683106,
|
85 |
+
0.012666879653930664,
|
86 |
+
0.012715007781982422,
|
87 |
+
0.012681216239929198,
|
88 |
+
0.012711935997009278,
|
89 |
+
0.012678144454956054,
|
90 |
+
0.012905471801757813,
|
91 |
+
0.01266483211517334,
|
92 |
+
0.012751872062683106,
|
93 |
+
0.012708864212036132,
|
94 |
+
0.012758015632629394,
|
95 |
+
0.01273855972290039,
|
96 |
+
0.012761088371276855,
|
97 |
+
0.01266483211517334,
|
98 |
+
0.012716032028198243,
|
99 |
+
0.012683263778686523,
|
100 |
+
0.012768256187438964,
|
101 |
+
0.012683263778686523,
|
102 |
+
0.012728320121765137,
|
103 |
+
0.012653568267822265,
|
104 |
+
0.012705792427062988,
|
105 |
+
0.012636159896850586,
|
106 |
+
0.012751872062683106,
|
107 |
+
0.012698623657226562,
|
108 |
+
0.012737536430358886,
|
109 |
+
0.012658687591552734,
|
110 |
+
0.01268838405609131,
|
111 |
+
0.012619775772094726,
|
112 |
+
0.01267199993133545,
|
113 |
+
0.012634112358093261,
|
114 |
+
0.012682239532470703,
|
115 |
+
0.012643327713012695,
|
116 |
+
0.012692480087280274,
|
117 |
+
0.012617728233337403,
|
118 |
+
0.012718079566955566,
|
119 |
+
0.012670975685119629,
|
120 |
+
0.012721152305603027,
|
121 |
+
0.012669952392578124,
|
122 |
+
0.012706815719604492,
|
123 |
+
0.012630016326904296,
|
124 |
+
0.012711935997009278,
|
125 |
+
0.01265766429901123,
|
126 |
+
0.012704768180847169,
|
127 |
+
0.012644351959228516,
|
128 |
+
0.012705792427062988,
|
129 |
+
0.012642304420471191,
|
130 |
+
0.012761088371276855,
|
131 |
+
0.01268019199371338,
|
132 |
+
0.012704768180847169,
|
133 |
+
0.012636159896850586,
|
134 |
+
0.012689408302307128,
|
135 |
+
0.012662783622741699,
|
136 |
+
0.012828672409057617,
|
137 |
+
0.01264844799041748,
|
138 |
+
0.012702719688415527,
|
139 |
+
0.012646400451660156,
|
140 |
+
0.012675071716308594,
|
141 |
+
0.012545023918151856,
|
142 |
+
0.01256447982788086,
|
143 |
+
0.01264844799041748,
|
144 |
+
0.012452863693237304,
|
145 |
+
0.012288000106811523,
|
146 |
+
0.012461055755615234,
|
147 |
+
0.012434432029724121,
|
148 |
+
0.012695551872253418,
|
149 |
+
0.012598272323608398,
|
150 |
+
0.012368895530700684,
|
151 |
+
0.012279808044433594,
|
152 |
+
0.01234227180480957,
|
153 |
+
0.012382207870483398,
|
154 |
+
0.01229312038421631,
|
155 |
+
0.012226559638977052,
|
156 |
+
0.012275712013244629,
|
157 |
+
0.012256256103515625,
|
158 |
+
0.012282879829406738,
|
159 |
+
0.012231679916381836,
|
160 |
+
0.012271615982055664,
|
161 |
+
0.012248064041137695,
|
162 |
+
0.012274687767028808,
|
163 |
+
0.012280832290649414,
|
164 |
+
0.012288000106811523,
|
165 |
+
0.012225536346435547,
|
166 |
+
0.012275712013244629,
|
167 |
+
0.012246015548706055,
|
168 |
+
0.012273664474487305,
|
169 |
+
0.012246015548706055,
|
170 |
+
0.012300288200378418,
|
171 |
+
0.012232704162597656,
|
172 |
+
0.01227673625946045,
|
173 |
+
0.012225536346435547,
|
174 |
+
0.012267519950866699,
|
175 |
+
0.012231679916381836,
|
176 |
+
0.012275712013244629,
|
177 |
+
0.012223487854003906,
|
178 |
+
0.012294143676757812,
|
179 |
+
0.012244992256164551,
|
180 |
+
0.012266495704650878,
|
181 |
+
0.012229632377624512,
|
182 |
+
0.012292096138000488,
|
183 |
+
0.012222463607788087,
|
184 |
+
0.012275712013244629,
|
185 |
+
0.012224512100219726,
|
186 |
+
0.012309503555297852,
|
187 |
+
0.012233728408813477,
|
188 |
+
0.012271615982055664,
|
189 |
+
0.012221440315246582,
|
190 |
+
0.01226956844329834,
|
191 |
+
0.012232704162597656,
|
192 |
+
0.012264448165893555,
|
193 |
+
0.012229632377624512,
|
194 |
+
0.012299263954162597,
|
195 |
+
0.012244992256164551,
|
196 |
+
0.012303359985351562,
|
197 |
+
0.012244992256164551,
|
198 |
+
0.012279808044433594,
|
199 |
+
0.012554240226745606,
|
200 |
+
0.012488703727722168,
|
201 |
+
0.012424192428588866,
|
202 |
+
0.012299263954162597,
|
203 |
+
0.026443775177001954,
|
204 |
+
0.012238847732543945,
|
205 |
+
0.01227673625946045,
|
206 |
+
0.012237824440002442,
|
207 |
+
0.012262399673461915,
|
208 |
+
0.012230655670166016,
|
209 |
+
0.012279808044433594,
|
210 |
+
0.012240896224975586,
|
211 |
+
0.012277759552001954,
|
212 |
+
0.012216320037841797,
|
213 |
+
0.012297216415405274,
|
214 |
+
0.01226035213470459,
|
215 |
+
0.012278783798217773,
|
216 |
+
0.012222463607788087,
|
217 |
+
0.012271615982055664,
|
218 |
+
0.012223487854003906,
|
219 |
+
0.012272640228271485,
|
220 |
+
0.012228608131408691,
|
221 |
+
0.01227673625946045,
|
222 |
+
0.012238847732543945,
|
223 |
+
0.012264448165893555,
|
224 |
+
0.012223487854003906,
|
225 |
+
0.012272640228271485,
|
226 |
+
0.012222463607788087,
|
227 |
+
0.01226956844329834,
|
228 |
+
0.012232704162597656,
|
229 |
+
0.012301312446594239,
|
230 |
+
0.012273664474487305,
|
231 |
+
0.012278783798217773,
|
232 |
+
0.012229632377624512,
|
233 |
+
0.012277759552001954,
|
234 |
+
0.01222758388519287,
|
235 |
+
0.01226854419708252,
|
236 |
+
0.012224512100219726,
|
237 |
+
0.01226956844329834,
|
238 |
+
0.012224512100219726,
|
239 |
+
0.012267519950866699,
|
240 |
+
0.012217344284057617,
|
241 |
+
0.012302335739135742,
|
242 |
+
0.012228608131408691,
|
243 |
+
0.012272640228271485,
|
244 |
+
0.012221440315246582,
|
245 |
+
0.012290047645568849,
|
246 |
+
0.01225011157989502,
|
247 |
+
0.012274687767028808,
|
248 |
+
0.012237824440002442,
|
249 |
+
0.012265472412109376,
|
250 |
+
0.012224512100219726,
|
251 |
+
0.012262399673461915,
|
252 |
+
0.012231679916381836,
|
253 |
+
0.012266495704650878,
|
254 |
+
0.012241920471191407,
|
255 |
+
0.01227673625946045,
|
256 |
+
0.012228608131408691,
|
257 |
+
0.012277759552001954,
|
258 |
+
0.012239871978759765,
|
259 |
+
0.012271615982055664,
|
260 |
+
0.012212224006652832,
|
261 |
+
0.012289024353027344,
|
262 |
+
0.012236800193786621,
|
263 |
+
0.012270591735839843,
|
264 |
+
0.012222463607788087,
|
265 |
+
0.01227673625946045,
|
266 |
+
0.012230655670166016,
|
267 |
+
0.012265472412109376,
|
268 |
+
0.012230655670166016,
|
269 |
+
0.01226854419708252,
|
270 |
+
0.012223487854003906,
|
271 |
+
0.012263423919677734,
|
272 |
+
0.012224512100219726,
|
273 |
+
0.012264448165893555,
|
274 |
+
0.012223487854003906,
|
275 |
+
0.012254207611083985,
|
276 |
+
0.012222463607788087,
|
277 |
+
0.012298239707946777,
|
278 |
+
0.012244992256164551,
|
279 |
+
0.012262399673461915,
|
280 |
+
0.012218367576599122,
|
281 |
+
0.01228492832183838,
|
282 |
+
0.012239871978759765,
|
283 |
+
0.01233407974243164,
|
284 |
+
0.012305407524108887,
|
285 |
+
0.012471296310424805,
|
286 |
+
0.012257280349731446,
|
287 |
+
0.012305407524108887,
|
288 |
+
0.012231679916381836,
|
289 |
+
0.012267519950866699,
|
290 |
+
0.01222758388519287,
|
291 |
+
0.012307456016540527,
|
292 |
+
0.012256256103515625,
|
293 |
+
0.012282879829406738,
|
294 |
+
0.012420096397399903,
|
295 |
+
0.012275712013244629,
|
296 |
+
0.012223487854003906,
|
297 |
+
0.01226854419708252,
|
298 |
+
0.012230655670166016,
|
299 |
+
0.012259327888488769,
|
300 |
+
0.01222758388519287,
|
301 |
+
0.012255231857299804,
|
302 |
+
0.012225536346435547,
|
303 |
+
0.012266495704650878,
|
304 |
+
0.012223487854003906,
|
305 |
+
0.01227673625946045,
|
306 |
+
0.012239871978759765,
|
307 |
+
0.012291071891784668,
|
308 |
+
0.012211199760437011,
|
309 |
+
0.012266495704650878,
|
310 |
+
0.01222758388519287,
|
311 |
+
0.012271615982055664,
|
312 |
+
0.012220416069030762,
|
313 |
+
0.012266495704650878,
|
314 |
+
0.012216320037841797,
|
315 |
+
0.012266495704650878,
|
316 |
+
0.012230655670166016,
|
317 |
+
0.01226137638092041,
|
318 |
+
0.012236800193786621,
|
319 |
+
0.012264448165893555,
|
320 |
+
0.01222758388519287,
|
321 |
+
0.01225830364227295,
|
322 |
+
0.012240896224975586,
|
323 |
+
0.012295167922973632,
|
324 |
+
0.012228608131408691,
|
325 |
+
0.01226956844329834,
|
326 |
+
0.012226559638977052,
|
327 |
+
0.012262399673461915,
|
328 |
+
0.012229632377624512,
|
329 |
+
0.012272640228271485
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.39018568891944
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/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": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014068719863891601,
|
7 |
+
"prefill.throughput.value": 497.55770729119513,
|
8 |
+
"decode.latency.mean": 1.5730482177734375,
|
9 |
+
"decode.throughput.value": 80.73496957376263,
|
10 |
+
"per_token.latency.mean": 0.012439329396123472,
|
11 |
+
"per_token.throughput.value": 80.39018568891944
|
12 |
+
}
|
13 |
+
}
|
2024-06-24/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpbb5xndub/commit=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
88 |
+
- hydra.run.dir=_benchmark/tmpbb5xndub/commit\=4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
|
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-24/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.021005280494689943,
|
8 |
+
"prefill.throughput.value": 333.24953702806175,
|
9 |
+
"decode.latency.mean": 2.5191395263671876,
|
10 |
+
"decode.throughput.value": 50.4140396634341,
|
11 |
+
"per_token.latency.mean": 0.019915351091166256,
|
12 |
+
"per_token.throughput.value": 50.212521758833795
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.02270400047302246,
|
21 |
+
"prefill.throughput.value": 308.3157088689105,
|
22 |
+
"decode.latency.mean": 2.5880667724609374,
|
23 |
+
"decode.throughput.value": 49.07137688694114,
|
24 |
+
"per_token.latency.mean": 0.02046005420910982,
|
25 |
+
"per_token.throughput.value": 48.87572583042086
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014068719863891601,
|
34 |
+
"prefill.throughput.value": 497.55770729119513,
|
35 |
+
"decode.latency.mean": 1.5730482177734375,
|
36 |
+
"decode.throughput.value": 80.73496957376263,
|
37 |
+
"per_token.latency.mean": 0.012439329396123472,
|
38 |
+
"per_token.throughput.value": 80.39018568891944
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-24/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.021005280494689943,
|
7 |
+
"prefill.throughput.value": 333.24953702806175,
|
8 |
+
"decode.latency.mean": 2.5191395263671876,
|
9 |
+
"decode.throughput.value": 50.4140396634341,
|
10 |
+
"per_token.latency.mean": 0.019915351091166256,
|
11 |
+
"per_token.throughput.value": 50.212521758833795
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.02270400047302246,
|
19 |
+
"prefill.throughput.value": 308.3157088689105,
|
20 |
+
"decode.latency.mean": 2.5880667724609374,
|
21 |
+
"decode.throughput.value": 49.07137688694114,
|
22 |
+
"per_token.latency.mean": 0.02046005420910982,
|
23 |
+
"per_token.throughput.value": 48.87572583042086
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014068719863891601,
|
31 |
+
"prefill.throughput.value": 497.55770729119513,
|
32 |
+
"decode.latency.mean": 1.5730482177734375,
|
33 |
+
"decode.throughput.value": 80.73496957376263,
|
34 |
+
"per_token.latency.mean": 0.012439329396123472,
|
35 |
+
"per_token.throughput.value": 80.39018568891944
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|