hf-transformers-bot
commited on
Commit
•
df108f2
1
Parent(s):
29eb5a3
Upload folder using huggingface_hub
Browse files- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/multirun.yaml +232 -0
- 2024-06-06/summaries.json +41 -0
- 2024-06-06/summary.json +40 -0
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 940fde8dafaecb8f17b588c5078291f1c1a420c8
|
82 |
+
accelerate_version: 0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
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/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
88 |
+
- hydra.run.dir=_benchmark/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8/${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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
92 |
+
"accelerate_version": "0.31.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1706.070016,
|
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.04067040061950684,
|
118 |
+
"mean": 0.02033520030975342,
|
119 |
+
"stdev": 0.0006261434555053721,
|
120 |
+
"p50": 0.02033520030975342,
|
121 |
+
"p90": 0.020836115074157717,
|
122 |
+
"p95": 0.020898729419708252,
|
123 |
+
"p99": 0.020948820896148683,
|
124 |
+
"values": [
|
125 |
+
0.02096134376525879,
|
126 |
+
0.019709056854248046
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 344.2306883322204
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1706.090496,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5034.577408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.956599609375,
|
149 |
+
"mean": 2.4782998046875,
|
150 |
+
"stdev": 0.039773681640625114,
|
151 |
+
"p50": 2.4782998046875,
|
152 |
+
"p90": 2.51011875,
|
153 |
+
"p95": 2.5140961181640624,
|
154 |
+
"p99": 2.5172780126953125,
|
155 |
+
"values": [
|
156 |
+
2.518073486328125,
|
157 |
+
2.438526123046875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.244808945144555
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"per_token": {
|
168 |
+
"memory": null,
|
169 |
+
"latency": {
|
170 |
+
"unit": "s",
|
171 |
+
"count": 253,
|
172 |
+
"total": 4.955872259140021,
|
173 |
+
"mean": 0.01958842790173919,
|
174 |
+
"stdev": 0.0013144451874351104,
|
175 |
+
"p50": 0.019516416549682617,
|
176 |
+
"p90": 0.020218470001220703,
|
177 |
+
"p95": 0.020321279907226562,
|
178 |
+
"p99": 0.021021122512817382,
|
179 |
+
"values": [
|
180 |
+
0.019998720169067383,
|
181 |
+
0.02016972732543945,
|
182 |
+
0.02066431999206543,
|
183 |
+
0.019631103515625,
|
184 |
+
0.01958502388000488,
|
185 |
+
0.019400703430175782,
|
186 |
+
0.02102272033691406,
|
187 |
+
0.020257791519165038,
|
188 |
+
0.020173824310302735,
|
189 |
+
0.019523584365844726,
|
190 |
+
0.019631103515625,
|
191 |
+
0.02005504035949707,
|
192 |
+
0.02021887969970703,
|
193 |
+
0.020304895401000975,
|
194 |
+
0.019713024139404296,
|
195 |
+
0.019705856323242187,
|
196 |
+
0.02023628807067871,
|
197 |
+
0.0217262077331543,
|
198 |
+
0.021019647598266602,
|
199 |
+
0.020495359420776366,
|
200 |
+
0.020239360809326173,
|
201 |
+
0.02025267219543457,
|
202 |
+
0.02021683120727539,
|
203 |
+
0.01940275192260742,
|
204 |
+
0.020140031814575195,
|
205 |
+
0.01946931266784668,
|
206 |
+
0.02031718444824219,
|
207 |
+
0.020945920944213867,
|
208 |
+
0.020559871673583984,
|
209 |
+
0.020274175643920898,
|
210 |
+
0.019732479095458985,
|
211 |
+
0.020115455627441405,
|
212 |
+
0.02027008056640625,
|
213 |
+
0.020329471588134765,
|
214 |
+
0.020633600234985353,
|
215 |
+
0.020303871154785155,
|
216 |
+
0.020271104812622072,
|
217 |
+
0.020297727584838866,
|
218 |
+
0.020175872802734376,
|
219 |
+
0.020144128799438478,
|
220 |
+
0.020048896789550782,
|
221 |
+
0.020113407135009767,
|
222 |
+
0.02012057685852051,
|
223 |
+
0.019143680572509765,
|
224 |
+
0.01927884864807129,
|
225 |
+
0.019360767364501954,
|
226 |
+
0.01986867141723633,
|
227 |
+
0.019997695922851562,
|
228 |
+
0.019954687118530275,
|
229 |
+
0.01993011283874512,
|
230 |
+
0.018960384368896483,
|
231 |
+
0.019819520950317384,
|
232 |
+
0.01946828842163086,
|
233 |
+
0.019733503341674806,
|
234 |
+
0.019719167709350584,
|
235 |
+
0.019689472198486328,
|
236 |
+
0.019862527847290038,
|
237 |
+
0.019449855804443358,
|
238 |
+
0.019546112060546874,
|
239 |
+
0.01946214485168457,
|
240 |
+
0.018907136917114258,
|
241 |
+
0.019056640625,
|
242 |
+
0.0198656005859375,
|
243 |
+
0.020327423095703127,
|
244 |
+
0.020039680480957032,
|
245 |
+
0.01961881637573242,
|
246 |
+
0.019581951141357423,
|
247 |
+
0.019893247604370116,
|
248 |
+
0.020392959594726562,
|
249 |
+
0.019923967361450197,
|
250 |
+
0.0198287353515625,
|
251 |
+
0.01987993621826172,
|
252 |
+
0.019994623184204103,
|
253 |
+
0.019958784103393554,
|
254 |
+
0.019572736740112305,
|
255 |
+
0.019508224487304687,
|
256 |
+
0.019546112060546874,
|
257 |
+
0.02002742385864258,
|
258 |
+
0.019822559356689452,
|
259 |
+
0.019538944244384765,
|
260 |
+
0.019792896270751953,
|
261 |
+
0.02007244873046875,
|
262 |
+
0.020915199279785156,
|
263 |
+
0.02005299186706543,
|
264 |
+
0.01988812828063965,
|
265 |
+
0.01909350395202637,
|
266 |
+
0.01886720085144043,
|
267 |
+
0.01965977668762207,
|
268 |
+
0.019588096618652344,
|
269 |
+
0.019664896011352538,
|
270 |
+
0.01983692741394043,
|
271 |
+
0.01985536003112793,
|
272 |
+
0.01979903984069824,
|
273 |
+
0.01965158462524414,
|
274 |
+
0.018934783935546876,
|
275 |
+
0.01909350395202637,
|
276 |
+
0.01907302474975586,
|
277 |
+
0.019619840621948242,
|
278 |
+
0.020059135437011717,
|
279 |
+
0.019704832077026366,
|
280 |
+
0.019512319564819337,
|
281 |
+
0.019552255630493166,
|
282 |
+
0.019737600326538086,
|
283 |
+
0.020000768661499024,
|
284 |
+
0.01985024070739746,
|
285 |
+
0.019076095581054688,
|
286 |
+
0.01905766487121582,
|
287 |
+
0.0200263671875,
|
288 |
+
0.019851264953613282,
|
289 |
+
0.019791872024536132,
|
290 |
+
0.019803136825561524,
|
291 |
+
0.019825664520263672,
|
292 |
+
0.019842048645019532,
|
293 |
+
0.01984409523010254,
|
294 |
+
0.019558399200439454,
|
295 |
+
0.019490816116333007,
|
296 |
+
0.018880512237548826,
|
297 |
+
0.0188590087890625,
|
298 |
+
0.019554304122924804,
|
299 |
+
0.019516416549682617,
|
300 |
+
0.019594240188598632,
|
301 |
+
0.019573759078979493,
|
302 |
+
0.01906585693359375,
|
303 |
+
0.019112960815429687,
|
304 |
+
0.019139583587646485,
|
305 |
+
0.019805183410644533,
|
306 |
+
0.03877478408813476,
|
307 |
+
0.01965977668762207,
|
308 |
+
0.019732479095458985,
|
309 |
+
0.018989055633544923,
|
310 |
+
0.018868223190307617,
|
311 |
+
0.018931711196899414,
|
312 |
+
0.019110912322998046,
|
313 |
+
0.018759679794311524,
|
314 |
+
0.018709503173828124,
|
315 |
+
0.01900339126586914,
|
316 |
+
0.019736576080322265,
|
317 |
+
0.01988403129577637,
|
318 |
+
0.02025881576538086,
|
319 |
+
0.01982361602783203,
|
320 |
+
0.01903104019165039,
|
321 |
+
0.018960384368896483,
|
322 |
+
0.018959360122680666,
|
323 |
+
0.019883007049560548,
|
324 |
+
0.02004684829711914,
|
325 |
+
0.019795967102050782,
|
326 |
+
0.018982912063598634,
|
327 |
+
0.018881536483764647,
|
328 |
+
0.019887104034423828,
|
329 |
+
0.019779584884643556,
|
330 |
+
0.019714048385620117,
|
331 |
+
0.019744768142700195,
|
332 |
+
0.019725311279296876,
|
333 |
+
0.019984384536743165,
|
334 |
+
0.01984819221496582,
|
335 |
+
0.019769344329833984,
|
336 |
+
0.018970624923706055,
|
337 |
+
0.01942527961730957,
|
338 |
+
0.01978265571594238,
|
339 |
+
0.01978982353210449,
|
340 |
+
0.01979084777832031,
|
341 |
+
0.019712032318115233,
|
342 |
+
0.019708896636962892,
|
343 |
+
0.019736576080322265,
|
344 |
+
0.019732511520385743,
|
345 |
+
0.019745759963989258,
|
346 |
+
0.01970790481567383,
|
347 |
+
0.018919424057006837,
|
348 |
+
0.018980863571166993,
|
349 |
+
0.018880512237548826,
|
350 |
+
0.018899967193603515,
|
351 |
+
0.018956287384033203,
|
352 |
+
0.018964479446411133,
|
353 |
+
0.018896896362304686,
|
354 |
+
0.018960384368896483,
|
355 |
+
0.018939903259277344,
|
356 |
+
0.018961408615112304,
|
357 |
+
0.018958335876464845,
|
358 |
+
0.018945024490356444,
|
359 |
+
0.018972671508789063,
|
360 |
+
0.018946048736572265,
|
361 |
+
0.018945024490356444,
|
362 |
+
0.018915327072143554,
|
363 |
+
0.01906585693359375,
|
364 |
+
0.019125247955322267,
|
365 |
+
0.019092479705810548,
|
366 |
+
0.0191016960144043,
|
367 |
+
0.019134464263916014,
|
368 |
+
0.019129344940185547,
|
369 |
+
0.019100671768188478,
|
370 |
+
0.019075071334838867,
|
371 |
+
0.019147775650024415,
|
372 |
+
0.019079168319702147,
|
373 |
+
0.01908531188964844,
|
374 |
+
0.01906790351867676,
|
375 |
+
0.019083263397216797,
|
376 |
+
0.019115007400512696,
|
377 |
+
0.019117055892944337,
|
378 |
+
0.019103744506835937,
|
379 |
+
0.019102720260620116,
|
380 |
+
0.01904742431640625,
|
381 |
+
0.019078144073486326,
|
382 |
+
0.01904947280883789,
|
383 |
+
0.01904947280883789,
|
384 |
+
0.019083263397216797,
|
385 |
+
0.019179519653320314,
|
386 |
+
0.01904537582397461,
|
387 |
+
0.01905254364013672,
|
388 |
+
0.019079168319702147,
|
389 |
+
0.01907302474975586,
|
390 |
+
0.019070976257324217,
|
391 |
+
0.019090431213378906,
|
392 |
+
0.01909350395202637,
|
393 |
+
0.01908531188964844,
|
394 |
+
0.01908940887451172,
|
395 |
+
0.01904435157775879,
|
396 |
+
0.01903718376159668,
|
397 |
+
0.019075071334838867,
|
398 |
+
0.01907302474975586,
|
399 |
+
0.01904025650024414,
|
400 |
+
0.01906483268737793,
|
401 |
+
0.019817472457885742,
|
402 |
+
0.019102720260620116,
|
403 |
+
0.019098623275756836,
|
404 |
+
0.019100671768188478,
|
405 |
+
0.01904742431640625,
|
406 |
+
0.019091455459594727,
|
407 |
+
0.01903615951538086,
|
408 |
+
0.019078144073486326,
|
409 |
+
0.019116031646728517,
|
410 |
+
0.01903513526916504,
|
411 |
+
0.01904128074645996,
|
412 |
+
0.019103744506835937,
|
413 |
+
0.019001344680786132,
|
414 |
+
0.01904128074645996,
|
415 |
+
0.01904332733154297,
|
416 |
+
0.01902899169921875,
|
417 |
+
0.01906790351867676,
|
418 |
+
0.0191016960144043,
|
419 |
+
0.01903513526916504,
|
420 |
+
0.019088384628295898,
|
421 |
+
0.019042303085327148,
|
422 |
+
0.01900441551208496,
|
423 |
+
0.01904435157775879,
|
424 |
+
0.01904332733154297,
|
425 |
+
0.019084287643432618,
|
426 |
+
0.019075071334838867,
|
427 |
+
0.01906790351867676,
|
428 |
+
0.01906175994873047,
|
429 |
+
0.019009536743164062,
|
430 |
+
0.01905356788635254,
|
431 |
+
0.01904844856262207,
|
432 |
+
0.01906483268737793
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.05054908011344
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
91 |
+
"accelerate_version": "0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1706.070016,
|
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.04067040061950684,
|
15 |
+
"mean": 0.02033520030975342,
|
16 |
+
"stdev": 0.0006261434555053721,
|
17 |
+
"p50": 0.02033520030975342,
|
18 |
+
"p90": 0.020836115074157717,
|
19 |
+
"p95": 0.020898729419708252,
|
20 |
+
"p99": 0.020948820896148683,
|
21 |
+
"values": [
|
22 |
+
0.02096134376525879,
|
23 |
+
0.019709056854248046
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 344.2306883322204
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1706.090496,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5034.577408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.956599609375,
|
46 |
+
"mean": 2.4782998046875,
|
47 |
+
"stdev": 0.039773681640625114,
|
48 |
+
"p50": 2.4782998046875,
|
49 |
+
"p90": 2.51011875,
|
50 |
+
"p95": 2.5140961181640624,
|
51 |
+
"p99": 2.5172780126953125,
|
52 |
+
"values": [
|
53 |
+
2.518073486328125,
|
54 |
+
2.438526123046875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.244808945144555
|
60 |
+
},
|
61 |
+
"energy": null,
|
62 |
+
"efficiency": null
|
63 |
+
},
|
64 |
+
"per_token": {
|
65 |
+
"memory": null,
|
66 |
+
"latency": {
|
67 |
+
"unit": "s",
|
68 |
+
"count": 253,
|
69 |
+
"total": 4.955872259140021,
|
70 |
+
"mean": 0.01958842790173919,
|
71 |
+
"stdev": 0.0013144451874351104,
|
72 |
+
"p50": 0.019516416549682617,
|
73 |
+
"p90": 0.020218470001220703,
|
74 |
+
"p95": 0.020321279907226562,
|
75 |
+
"p99": 0.021021122512817382,
|
76 |
+
"values": [
|
77 |
+
0.019998720169067383,
|
78 |
+
0.02016972732543945,
|
79 |
+
0.02066431999206543,
|
80 |
+
0.019631103515625,
|
81 |
+
0.01958502388000488,
|
82 |
+
0.019400703430175782,
|
83 |
+
0.02102272033691406,
|
84 |
+
0.020257791519165038,
|
85 |
+
0.020173824310302735,
|
86 |
+
0.019523584365844726,
|
87 |
+
0.019631103515625,
|
88 |
+
0.02005504035949707,
|
89 |
+
0.02021887969970703,
|
90 |
+
0.020304895401000975,
|
91 |
+
0.019713024139404296,
|
92 |
+
0.019705856323242187,
|
93 |
+
0.02023628807067871,
|
94 |
+
0.0217262077331543,
|
95 |
+
0.021019647598266602,
|
96 |
+
0.020495359420776366,
|
97 |
+
0.020239360809326173,
|
98 |
+
0.02025267219543457,
|
99 |
+
0.02021683120727539,
|
100 |
+
0.01940275192260742,
|
101 |
+
0.020140031814575195,
|
102 |
+
0.01946931266784668,
|
103 |
+
0.02031718444824219,
|
104 |
+
0.020945920944213867,
|
105 |
+
0.020559871673583984,
|
106 |
+
0.020274175643920898,
|
107 |
+
0.019732479095458985,
|
108 |
+
0.020115455627441405,
|
109 |
+
0.02027008056640625,
|
110 |
+
0.020329471588134765,
|
111 |
+
0.020633600234985353,
|
112 |
+
0.020303871154785155,
|
113 |
+
0.020271104812622072,
|
114 |
+
0.020297727584838866,
|
115 |
+
0.020175872802734376,
|
116 |
+
0.020144128799438478,
|
117 |
+
0.020048896789550782,
|
118 |
+
0.020113407135009767,
|
119 |
+
0.02012057685852051,
|
120 |
+
0.019143680572509765,
|
121 |
+
0.01927884864807129,
|
122 |
+
0.019360767364501954,
|
123 |
+
0.01986867141723633,
|
124 |
+
0.019997695922851562,
|
125 |
+
0.019954687118530275,
|
126 |
+
0.01993011283874512,
|
127 |
+
0.018960384368896483,
|
128 |
+
0.019819520950317384,
|
129 |
+
0.01946828842163086,
|
130 |
+
0.019733503341674806,
|
131 |
+
0.019719167709350584,
|
132 |
+
0.019689472198486328,
|
133 |
+
0.019862527847290038,
|
134 |
+
0.019449855804443358,
|
135 |
+
0.019546112060546874,
|
136 |
+
0.01946214485168457,
|
137 |
+
0.018907136917114258,
|
138 |
+
0.019056640625,
|
139 |
+
0.0198656005859375,
|
140 |
+
0.020327423095703127,
|
141 |
+
0.020039680480957032,
|
142 |
+
0.01961881637573242,
|
143 |
+
0.019581951141357423,
|
144 |
+
0.019893247604370116,
|
145 |
+
0.020392959594726562,
|
146 |
+
0.019923967361450197,
|
147 |
+
0.0198287353515625,
|
148 |
+
0.01987993621826172,
|
149 |
+
0.019994623184204103,
|
150 |
+
0.019958784103393554,
|
151 |
+
0.019572736740112305,
|
152 |
+
0.019508224487304687,
|
153 |
+
0.019546112060546874,
|
154 |
+
0.02002742385864258,
|
155 |
+
0.019822559356689452,
|
156 |
+
0.019538944244384765,
|
157 |
+
0.019792896270751953,
|
158 |
+
0.02007244873046875,
|
159 |
+
0.020915199279785156,
|
160 |
+
0.02005299186706543,
|
161 |
+
0.01988812828063965,
|
162 |
+
0.01909350395202637,
|
163 |
+
0.01886720085144043,
|
164 |
+
0.01965977668762207,
|
165 |
+
0.019588096618652344,
|
166 |
+
0.019664896011352538,
|
167 |
+
0.01983692741394043,
|
168 |
+
0.01985536003112793,
|
169 |
+
0.01979903984069824,
|
170 |
+
0.01965158462524414,
|
171 |
+
0.018934783935546876,
|
172 |
+
0.01909350395202637,
|
173 |
+
0.01907302474975586,
|
174 |
+
0.019619840621948242,
|
175 |
+
0.020059135437011717,
|
176 |
+
0.019704832077026366,
|
177 |
+
0.019512319564819337,
|
178 |
+
0.019552255630493166,
|
179 |
+
0.019737600326538086,
|
180 |
+
0.020000768661499024,
|
181 |
+
0.01985024070739746,
|
182 |
+
0.019076095581054688,
|
183 |
+
0.01905766487121582,
|
184 |
+
0.0200263671875,
|
185 |
+
0.019851264953613282,
|
186 |
+
0.019791872024536132,
|
187 |
+
0.019803136825561524,
|
188 |
+
0.019825664520263672,
|
189 |
+
0.019842048645019532,
|
190 |
+
0.01984409523010254,
|
191 |
+
0.019558399200439454,
|
192 |
+
0.019490816116333007,
|
193 |
+
0.018880512237548826,
|
194 |
+
0.0188590087890625,
|
195 |
+
0.019554304122924804,
|
196 |
+
0.019516416549682617,
|
197 |
+
0.019594240188598632,
|
198 |
+
0.019573759078979493,
|
199 |
+
0.01906585693359375,
|
200 |
+
0.019112960815429687,
|
201 |
+
0.019139583587646485,
|
202 |
+
0.019805183410644533,
|
203 |
+
0.03877478408813476,
|
204 |
+
0.01965977668762207,
|
205 |
+
0.019732479095458985,
|
206 |
+
0.018989055633544923,
|
207 |
+
0.018868223190307617,
|
208 |
+
0.018931711196899414,
|
209 |
+
0.019110912322998046,
|
210 |
+
0.018759679794311524,
|
211 |
+
0.018709503173828124,
|
212 |
+
0.01900339126586914,
|
213 |
+
0.019736576080322265,
|
214 |
+
0.01988403129577637,
|
215 |
+
0.02025881576538086,
|
216 |
+
0.01982361602783203,
|
217 |
+
0.01903104019165039,
|
218 |
+
0.018960384368896483,
|
219 |
+
0.018959360122680666,
|
220 |
+
0.019883007049560548,
|
221 |
+
0.02004684829711914,
|
222 |
+
0.019795967102050782,
|
223 |
+
0.018982912063598634,
|
224 |
+
0.018881536483764647,
|
225 |
+
0.019887104034423828,
|
226 |
+
0.019779584884643556,
|
227 |
+
0.019714048385620117,
|
228 |
+
0.019744768142700195,
|
229 |
+
0.019725311279296876,
|
230 |
+
0.019984384536743165,
|
231 |
+
0.01984819221496582,
|
232 |
+
0.019769344329833984,
|
233 |
+
0.018970624923706055,
|
234 |
+
0.01942527961730957,
|
235 |
+
0.01978265571594238,
|
236 |
+
0.01978982353210449,
|
237 |
+
0.01979084777832031,
|
238 |
+
0.019712032318115233,
|
239 |
+
0.019708896636962892,
|
240 |
+
0.019736576080322265,
|
241 |
+
0.019732511520385743,
|
242 |
+
0.019745759963989258,
|
243 |
+
0.01970790481567383,
|
244 |
+
0.018919424057006837,
|
245 |
+
0.018980863571166993,
|
246 |
+
0.018880512237548826,
|
247 |
+
0.018899967193603515,
|
248 |
+
0.018956287384033203,
|
249 |
+
0.018964479446411133,
|
250 |
+
0.018896896362304686,
|
251 |
+
0.018960384368896483,
|
252 |
+
0.018939903259277344,
|
253 |
+
0.018961408615112304,
|
254 |
+
0.018958335876464845,
|
255 |
+
0.018945024490356444,
|
256 |
+
0.018972671508789063,
|
257 |
+
0.018946048736572265,
|
258 |
+
0.018945024490356444,
|
259 |
+
0.018915327072143554,
|
260 |
+
0.01906585693359375,
|
261 |
+
0.019125247955322267,
|
262 |
+
0.019092479705810548,
|
263 |
+
0.0191016960144043,
|
264 |
+
0.019134464263916014,
|
265 |
+
0.019129344940185547,
|
266 |
+
0.019100671768188478,
|
267 |
+
0.019075071334838867,
|
268 |
+
0.019147775650024415,
|
269 |
+
0.019079168319702147,
|
270 |
+
0.01908531188964844,
|
271 |
+
0.01906790351867676,
|
272 |
+
0.019083263397216797,
|
273 |
+
0.019115007400512696,
|
274 |
+
0.019117055892944337,
|
275 |
+
0.019103744506835937,
|
276 |
+
0.019102720260620116,
|
277 |
+
0.01904742431640625,
|
278 |
+
0.019078144073486326,
|
279 |
+
0.01904947280883789,
|
280 |
+
0.01904947280883789,
|
281 |
+
0.019083263397216797,
|
282 |
+
0.019179519653320314,
|
283 |
+
0.01904537582397461,
|
284 |
+
0.01905254364013672,
|
285 |
+
0.019079168319702147,
|
286 |
+
0.01907302474975586,
|
287 |
+
0.019070976257324217,
|
288 |
+
0.019090431213378906,
|
289 |
+
0.01909350395202637,
|
290 |
+
0.01908531188964844,
|
291 |
+
0.01908940887451172,
|
292 |
+
0.01904435157775879,
|
293 |
+
0.01903718376159668,
|
294 |
+
0.019075071334838867,
|
295 |
+
0.01907302474975586,
|
296 |
+
0.01904025650024414,
|
297 |
+
0.01906483268737793,
|
298 |
+
0.019817472457885742,
|
299 |
+
0.019102720260620116,
|
300 |
+
0.019098623275756836,
|
301 |
+
0.019100671768188478,
|
302 |
+
0.01904742431640625,
|
303 |
+
0.019091455459594727,
|
304 |
+
0.01903615951538086,
|
305 |
+
0.019078144073486326,
|
306 |
+
0.019116031646728517,
|
307 |
+
0.01903513526916504,
|
308 |
+
0.01904128074645996,
|
309 |
+
0.019103744506835937,
|
310 |
+
0.019001344680786132,
|
311 |
+
0.01904128074645996,
|
312 |
+
0.01904332733154297,
|
313 |
+
0.01902899169921875,
|
314 |
+
0.01906790351867676,
|
315 |
+
0.0191016960144043,
|
316 |
+
0.01903513526916504,
|
317 |
+
0.019088384628295898,
|
318 |
+
0.019042303085327148,
|
319 |
+
0.01900441551208496,
|
320 |
+
0.01904435157775879,
|
321 |
+
0.01904332733154297,
|
322 |
+
0.019084287643432618,
|
323 |
+
0.019075071334838867,
|
324 |
+
0.01906790351867676,
|
325 |
+
0.01906175994873047,
|
326 |
+
0.019009536743164062,
|
327 |
+
0.01905356788635254,
|
328 |
+
0.01904844856262207,
|
329 |
+
0.01906483268737793
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.05054908011344
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02033520030975342,
|
7 |
+
"prefill.throughput.value": 344.2306883322204,
|
8 |
+
"decode.latency.mean": 2.4782998046875,
|
9 |
+
"decode.throughput.value": 51.244808945144555,
|
10 |
+
"per_token.latency.mean": 0.01958842790173919,
|
11 |
+
"per_token.throughput.value": 51.05054908011344
|
12 |
+
}
|
13 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 940fde8dafaecb8f17b588c5078291f1c1a420c8
|
82 |
+
accelerate_version: 0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
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/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
88 |
+
- hydra.run.dir=_benchmark/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8/${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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-06 02:34:13,744[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
91 |
+
"accelerate_version": "0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 940fde8dafaecb8f17b588c5078291f1c1a420c8
|
82 |
+
accelerate_version: 0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
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/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
88 |
+
- hydra.run.dir=_benchmark/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8/${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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
92 |
+
"accelerate_version": "0.31.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1754.882048,
|
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.05063795280456543,
|
118 |
+
"mean": 0.025318976402282714,
|
119 |
+
"stdev": 0.00370678424835205,
|
120 |
+
"p50": 0.025318976402282714,
|
121 |
+
"p90": 0.028284403800964357,
|
122 |
+
"p95": 0.02865508222579956,
|
123 |
+
"p99": 0.028951624965667725,
|
124 |
+
"values": [
|
125 |
+
0.029025760650634766,
|
126 |
+
0.021612192153930666
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 276.4724722192518
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1754.898432,
|
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.07578759765625,
|
149 |
+
"mean": 2.537893798828125,
|
150 |
+
"stdev": 0.016163574218750032,
|
151 |
+
"p50": 2.537893798828125,
|
152 |
+
"p90": 2.550824658203125,
|
153 |
+
"p95": 2.552441015625,
|
154 |
+
"p99": 2.5537341015625,
|
155 |
+
"values": [
|
156 |
+
2.554057373046875,
|
157 |
+
2.521730224609375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 50.04149506123636
|
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.075155963897701,
|
173 |
+
"mean": 0.020059904995643103,
|
174 |
+
"stdev": 0.0014278275260381915,
|
175 |
+
"p50": 0.019826688766479493,
|
176 |
+
"p90": 0.02054430694580078,
|
177 |
+
"p95": 0.020739276123046872,
|
178 |
+
"p99": 0.02157543487548828,
|
179 |
+
"values": [
|
180 |
+
0.022627328872680662,
|
181 |
+
0.021020671844482423,
|
182 |
+
0.020544511795043945,
|
183 |
+
0.020543487548828124,
|
184 |
+
0.020335615158081053,
|
185 |
+
0.020550655364990233,
|
186 |
+
0.020246528625488282,
|
187 |
+
0.02031718444824219,
|
188 |
+
0.0204083194732666,
|
189 |
+
0.020518911361694335,
|
190 |
+
0.020594688415527345,
|
191 |
+
0.02019327926635742,
|
192 |
+
0.02066227149963379,
|
193 |
+
0.020771839141845702,
|
194 |
+
0.021372928619384765,
|
195 |
+
0.021161983489990235,
|
196 |
+
0.02122444725036621,
|
197 |
+
0.02126643180847168,
|
198 |
+
0.02122444725036621,
|
199 |
+
0.020161535263061522,
|
200 |
+
0.02022707176208496,
|
201 |
+
0.020192256927490236,
|
202 |
+
0.02023321533203125,
|
203 |
+
0.020167680740356447,
|
204 |
+
0.020239360809326173,
|
205 |
+
0.020591615676879883,
|
206 |
+
0.02167500877380371,
|
207 |
+
0.020717567443847656,
|
208 |
+
0.02045952033996582,
|
209 |
+
0.020602880477905275,
|
210 |
+
0.020521984100341797,
|
211 |
+
0.02045337677001953,
|
212 |
+
0.020580352783203124,
|
213 |
+
0.020709375381469726,
|
214 |
+
0.02025164794921875,
|
215 |
+
0.020257791519165038,
|
216 |
+
0.020273151397705077,
|
217 |
+
0.020230144500732423,
|
218 |
+
0.020360191345214843,
|
219 |
+
0.02008064079284668,
|
220 |
+
0.020167680740356447,
|
221 |
+
0.02005299186706543,
|
222 |
+
0.02012057685852051,
|
223 |
+
0.02020147132873535,
|
224 |
+
0.020109312057495117,
|
225 |
+
0.01982771110534668,
|
226 |
+
0.020176895141601564,
|
227 |
+
0.019767295837402343,
|
228 |
+
0.019759103775024413,
|
229 |
+
0.019755008697509766,
|
230 |
+
0.019775487899780272,
|
231 |
+
0.019769344329833984,
|
232 |
+
0.019595264434814453,
|
233 |
+
0.019647487640380858,
|
234 |
+
0.01982975959777832,
|
235 |
+
0.019801088333129883,
|
236 |
+
0.01984614372253418,
|
237 |
+
0.01987379264831543,
|
238 |
+
0.019762176513671875,
|
239 |
+
0.019644416809082032,
|
240 |
+
0.01982361602783203,
|
241 |
+
0.01980723190307617,
|
242 |
+
0.01986662483215332,
|
243 |
+
0.019636224746704102,
|
244 |
+
0.019681280136108398,
|
245 |
+
0.019817472457885742,
|
246 |
+
0.019599359512329103,
|
247 |
+
0.019564544677734375,
|
248 |
+
0.01967103958129883,
|
249 |
+
0.019572736740112305,
|
250 |
+
0.019575807571411134,
|
251 |
+
0.019558399200439454,
|
252 |
+
0.019783679962158202,
|
253 |
+
0.019843072891235353,
|
254 |
+
0.019886079788208007,
|
255 |
+
0.019793920516967774,
|
256 |
+
0.019775487899780272,
|
257 |
+
0.0204902400970459,
|
258 |
+
0.020200447082519533,
|
259 |
+
0.020144128799438478,
|
260 |
+
0.020343807220458983,
|
261 |
+
0.020595712661743162,
|
262 |
+
0.020961280822753905,
|
263 |
+
0.01990553665161133,
|
264 |
+
0.01990656089782715,
|
265 |
+
0.019876863479614256,
|
266 |
+
0.01979903984069824,
|
267 |
+
0.019596288681030274,
|
268 |
+
0.019793920516967774,
|
269 |
+
0.019751935958862304,
|
270 |
+
0.019606527328491212,
|
271 |
+
0.01965056037902832,
|
272 |
+
0.019610624313354492,
|
273 |
+
0.019559423446655275,
|
274 |
+
0.019553279876708983,
|
275 |
+
0.019557376861572266,
|
276 |
+
0.019740671157836915,
|
277 |
+
0.019766271591186522,
|
278 |
+
0.01986867141723633,
|
279 |
+
0.01980620765686035,
|
280 |
+
0.019834880828857423,
|
281 |
+
0.019809280395507813,
|
282 |
+
0.01984921646118164,
|
283 |
+
0.019801088333129883,
|
284 |
+
0.01983692741394043,
|
285 |
+
0.019817472457885742,
|
286 |
+
0.019886079788208007,
|
287 |
+
0.01987276840209961,
|
288 |
+
0.019878911972045898,
|
289 |
+
0.019870719909667968,
|
290 |
+
0.01984511947631836,
|
291 |
+
0.020242431640625,
|
292 |
+
0.020107263565063475,
|
293 |
+
0.01983078384399414,
|
294 |
+
0.01987379264831543,
|
295 |
+
0.0198287353515625,
|
296 |
+
0.019886079788208007,
|
297 |
+
0.01982259178161621,
|
298 |
+
0.01982771110534668,
|
299 |
+
0.019813375473022463,
|
300 |
+
0.01982156753540039,
|
301 |
+
0.019810304641723633,
|
302 |
+
0.01981644821166992,
|
303 |
+
0.01981439971923828,
|
304 |
+
0.01980723190307617,
|
305 |
+
0.019783679962158202,
|
306 |
+
0.04166451263427735,
|
307 |
+
0.01987379264831543,
|
308 |
+
0.019862527847290038,
|
309 |
+
0.019834880828857423,
|
310 |
+
0.019786752700805665,
|
311 |
+
0.019805183410644533,
|
312 |
+
0.019777536392211914,
|
313 |
+
0.019795967102050782,
|
314 |
+
0.019811328887939454,
|
315 |
+
0.01982259178161621,
|
316 |
+
0.019787776947021486,
|
317 |
+
0.02024345588684082,
|
318 |
+
0.020603904724121092,
|
319 |
+
0.020533248901367186,
|
320 |
+
0.020537343978881836,
|
321 |
+
0.02063871955871582,
|
322 |
+
0.02053222465515137,
|
323 |
+
0.01979903984069824,
|
324 |
+
0.019817472457885742,
|
325 |
+
0.01970278358459473,
|
326 |
+
0.019588096618652344,
|
327 |
+
0.0196177921295166,
|
328 |
+
0.019552255630493166,
|
329 |
+
0.019568639755249022,
|
330 |
+
0.019595264434814453,
|
331 |
+
0.01965260887145996,
|
332 |
+
0.0214835205078125,
|
333 |
+
0.02063871955871582,
|
334 |
+
0.02020351982116699,
|
335 |
+
0.020353023529052734,
|
336 |
+
0.020377599716186523,
|
337 |
+
0.01962188720703125,
|
338 |
+
0.01964543914794922,
|
339 |
+
0.01963520050048828,
|
340 |
+
0.019554304122924804,
|
341 |
+
0.019586048126220702,
|
342 |
+
0.019582975387573243,
|
343 |
+
0.01964543914794922,
|
344 |
+
0.019557376861572266,
|
345 |
+
0.019583999633789064,
|
346 |
+
0.019590143203735352,
|
347 |
+
0.019586048126220702,
|
348 |
+
0.020165632247924805,
|
349 |
+
0.020113407135009767,
|
350 |
+
0.019574783325195313,
|
351 |
+
0.0196177921295166,
|
352 |
+
0.019580928802490235,
|
353 |
+
0.01963929557800293,
|
354 |
+
0.01982054328918457,
|
355 |
+
0.019802112579345704,
|
356 |
+
0.01979084777832031,
|
357 |
+
0.01963827133178711,
|
358 |
+
0.019581951141357423,
|
359 |
+
0.019619840621948242,
|
360 |
+
0.01963212776184082,
|
361 |
+
0.01959321594238281,
|
362 |
+
0.01963007926940918,
|
363 |
+
0.01963007926940918,
|
364 |
+
0.019542015075683594,
|
365 |
+
0.019540992736816407,
|
366 |
+
0.019590143203735352,
|
367 |
+
0.01987583923339844,
|
368 |
+
0.0198154239654541,
|
369 |
+
0.01962393569946289,
|
370 |
+
0.019594240188598632,
|
371 |
+
0.01964031982421875,
|
372 |
+
0.01964851188659668,
|
373 |
+
0.019706880569458008,
|
374 |
+
0.019746816635131836,
|
375 |
+
0.01965056037902832,
|
376 |
+
0.019614719390869142,
|
377 |
+
0.019843072891235353,
|
378 |
+
0.019784704208374023,
|
379 |
+
0.01982054328918457,
|
380 |
+
0.019810304641723633,
|
381 |
+
0.019804159164428712,
|
382 |
+
0.01969049644470215,
|
383 |
+
0.01964236831665039,
|
384 |
+
0.019566591262817384,
|
385 |
+
0.019572736740112305,
|
386 |
+
0.019590143203735352,
|
387 |
+
0.01964646339416504,
|
388 |
+
0.01982361602783203,
|
389 |
+
0.019794944763183595,
|
390 |
+
0.01984000015258789,
|
391 |
+
0.01985638427734375,
|
392 |
+
0.01981439971923828,
|
393 |
+
0.01987583923339844,
|
394 |
+
0.019862527847290038,
|
395 |
+
0.01986662483215332,
|
396 |
+
0.01978982353210449,
|
397 |
+
0.01985945510864258,
|
398 |
+
0.01982771110534668,
|
399 |
+
0.019819520950317384,
|
400 |
+
0.019763200759887696,
|
401 |
+
0.019982336044311523,
|
402 |
+
0.019780607223510743,
|
403 |
+
0.01983590316772461,
|
404 |
+
0.019834880828857423,
|
405 |
+
0.019802112579345704,
|
406 |
+
0.019785728454589844,
|
407 |
+
0.019955711364746095,
|
408 |
+
0.019951616287231445,
|
409 |
+
0.021193727493286133,
|
410 |
+
0.019974143981933593,
|
411 |
+
0.01985536003112793,
|
412 |
+
0.019812351226806642,
|
413 |
+
0.01983795166015625,
|
414 |
+
0.019770368576049805,
|
415 |
+
0.0198604793548584,
|
416 |
+
0.019805183410644533,
|
417 |
+
0.01984921646118164,
|
418 |
+
0.020358144760131838,
|
419 |
+
0.02044927978515625,
|
420 |
+
0.019826688766479493,
|
421 |
+
0.019886079788208007,
|
422 |
+
0.019861503601074217,
|
423 |
+
0.01987276840209961,
|
424 |
+
0.020435968399047853,
|
425 |
+
0.01982975959777832,
|
426 |
+
0.02002841567993164,
|
427 |
+
0.02020351982116699,
|
428 |
+
0.020168703079223634,
|
429 |
+
0.020420608520507814,
|
430 |
+
0.019812351226806642,
|
431 |
+
0.019755008697509766,
|
432 |
+
0.019535871505737306
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 49.85068474737015
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
91 |
+
"accelerate_version": "0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1754.882048,
|
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.05063795280456543,
|
15 |
+
"mean": 0.025318976402282714,
|
16 |
+
"stdev": 0.00370678424835205,
|
17 |
+
"p50": 0.025318976402282714,
|
18 |
+
"p90": 0.028284403800964357,
|
19 |
+
"p95": 0.02865508222579956,
|
20 |
+
"p99": 0.028951624965667725,
|
21 |
+
"values": [
|
22 |
+
0.029025760650634766,
|
23 |
+
0.021612192153930666
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 276.4724722192518
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1754.898432,
|
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.07578759765625,
|
46 |
+
"mean": 2.537893798828125,
|
47 |
+
"stdev": 0.016163574218750032,
|
48 |
+
"p50": 2.537893798828125,
|
49 |
+
"p90": 2.550824658203125,
|
50 |
+
"p95": 2.552441015625,
|
51 |
+
"p99": 2.5537341015625,
|
52 |
+
"values": [
|
53 |
+
2.554057373046875,
|
54 |
+
2.521730224609375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 50.04149506123636
|
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.075155963897701,
|
70 |
+
"mean": 0.020059904995643103,
|
71 |
+
"stdev": 0.0014278275260381915,
|
72 |
+
"p50": 0.019826688766479493,
|
73 |
+
"p90": 0.02054430694580078,
|
74 |
+
"p95": 0.020739276123046872,
|
75 |
+
"p99": 0.02157543487548828,
|
76 |
+
"values": [
|
77 |
+
0.022627328872680662,
|
78 |
+
0.021020671844482423,
|
79 |
+
0.020544511795043945,
|
80 |
+
0.020543487548828124,
|
81 |
+
0.020335615158081053,
|
82 |
+
0.020550655364990233,
|
83 |
+
0.020246528625488282,
|
84 |
+
0.02031718444824219,
|
85 |
+
0.0204083194732666,
|
86 |
+
0.020518911361694335,
|
87 |
+
0.020594688415527345,
|
88 |
+
0.02019327926635742,
|
89 |
+
0.02066227149963379,
|
90 |
+
0.020771839141845702,
|
91 |
+
0.021372928619384765,
|
92 |
+
0.021161983489990235,
|
93 |
+
0.02122444725036621,
|
94 |
+
0.02126643180847168,
|
95 |
+
0.02122444725036621,
|
96 |
+
0.020161535263061522,
|
97 |
+
0.02022707176208496,
|
98 |
+
0.020192256927490236,
|
99 |
+
0.02023321533203125,
|
100 |
+
0.020167680740356447,
|
101 |
+
0.020239360809326173,
|
102 |
+
0.020591615676879883,
|
103 |
+
0.02167500877380371,
|
104 |
+
0.020717567443847656,
|
105 |
+
0.02045952033996582,
|
106 |
+
0.020602880477905275,
|
107 |
+
0.020521984100341797,
|
108 |
+
0.02045337677001953,
|
109 |
+
0.020580352783203124,
|
110 |
+
0.020709375381469726,
|
111 |
+
0.02025164794921875,
|
112 |
+
0.020257791519165038,
|
113 |
+
0.020273151397705077,
|
114 |
+
0.020230144500732423,
|
115 |
+
0.020360191345214843,
|
116 |
+
0.02008064079284668,
|
117 |
+
0.020167680740356447,
|
118 |
+
0.02005299186706543,
|
119 |
+
0.02012057685852051,
|
120 |
+
0.02020147132873535,
|
121 |
+
0.020109312057495117,
|
122 |
+
0.01982771110534668,
|
123 |
+
0.020176895141601564,
|
124 |
+
0.019767295837402343,
|
125 |
+
0.019759103775024413,
|
126 |
+
0.019755008697509766,
|
127 |
+
0.019775487899780272,
|
128 |
+
0.019769344329833984,
|
129 |
+
0.019595264434814453,
|
130 |
+
0.019647487640380858,
|
131 |
+
0.01982975959777832,
|
132 |
+
0.019801088333129883,
|
133 |
+
0.01984614372253418,
|
134 |
+
0.01987379264831543,
|
135 |
+
0.019762176513671875,
|
136 |
+
0.019644416809082032,
|
137 |
+
0.01982361602783203,
|
138 |
+
0.01980723190307617,
|
139 |
+
0.01986662483215332,
|
140 |
+
0.019636224746704102,
|
141 |
+
0.019681280136108398,
|
142 |
+
0.019817472457885742,
|
143 |
+
0.019599359512329103,
|
144 |
+
0.019564544677734375,
|
145 |
+
0.01967103958129883,
|
146 |
+
0.019572736740112305,
|
147 |
+
0.019575807571411134,
|
148 |
+
0.019558399200439454,
|
149 |
+
0.019783679962158202,
|
150 |
+
0.019843072891235353,
|
151 |
+
0.019886079788208007,
|
152 |
+
0.019793920516967774,
|
153 |
+
0.019775487899780272,
|
154 |
+
0.0204902400970459,
|
155 |
+
0.020200447082519533,
|
156 |
+
0.020144128799438478,
|
157 |
+
0.020343807220458983,
|
158 |
+
0.020595712661743162,
|
159 |
+
0.020961280822753905,
|
160 |
+
0.01990553665161133,
|
161 |
+
0.01990656089782715,
|
162 |
+
0.019876863479614256,
|
163 |
+
0.01979903984069824,
|
164 |
+
0.019596288681030274,
|
165 |
+
0.019793920516967774,
|
166 |
+
0.019751935958862304,
|
167 |
+
0.019606527328491212,
|
168 |
+
0.01965056037902832,
|
169 |
+
0.019610624313354492,
|
170 |
+
0.019559423446655275,
|
171 |
+
0.019553279876708983,
|
172 |
+
0.019557376861572266,
|
173 |
+
0.019740671157836915,
|
174 |
+
0.019766271591186522,
|
175 |
+
0.01986867141723633,
|
176 |
+
0.01980620765686035,
|
177 |
+
0.019834880828857423,
|
178 |
+
0.019809280395507813,
|
179 |
+
0.01984921646118164,
|
180 |
+
0.019801088333129883,
|
181 |
+
0.01983692741394043,
|
182 |
+
0.019817472457885742,
|
183 |
+
0.019886079788208007,
|
184 |
+
0.01987276840209961,
|
185 |
+
0.019878911972045898,
|
186 |
+
0.019870719909667968,
|
187 |
+
0.01984511947631836,
|
188 |
+
0.020242431640625,
|
189 |
+
0.020107263565063475,
|
190 |
+
0.01983078384399414,
|
191 |
+
0.01987379264831543,
|
192 |
+
0.0198287353515625,
|
193 |
+
0.019886079788208007,
|
194 |
+
0.01982259178161621,
|
195 |
+
0.01982771110534668,
|
196 |
+
0.019813375473022463,
|
197 |
+
0.01982156753540039,
|
198 |
+
0.019810304641723633,
|
199 |
+
0.01981644821166992,
|
200 |
+
0.01981439971923828,
|
201 |
+
0.01980723190307617,
|
202 |
+
0.019783679962158202,
|
203 |
+
0.04166451263427735,
|
204 |
+
0.01987379264831543,
|
205 |
+
0.019862527847290038,
|
206 |
+
0.019834880828857423,
|
207 |
+
0.019786752700805665,
|
208 |
+
0.019805183410644533,
|
209 |
+
0.019777536392211914,
|
210 |
+
0.019795967102050782,
|
211 |
+
0.019811328887939454,
|
212 |
+
0.01982259178161621,
|
213 |
+
0.019787776947021486,
|
214 |
+
0.02024345588684082,
|
215 |
+
0.020603904724121092,
|
216 |
+
0.020533248901367186,
|
217 |
+
0.020537343978881836,
|
218 |
+
0.02063871955871582,
|
219 |
+
0.02053222465515137,
|
220 |
+
0.01979903984069824,
|
221 |
+
0.019817472457885742,
|
222 |
+
0.01970278358459473,
|
223 |
+
0.019588096618652344,
|
224 |
+
0.0196177921295166,
|
225 |
+
0.019552255630493166,
|
226 |
+
0.019568639755249022,
|
227 |
+
0.019595264434814453,
|
228 |
+
0.01965260887145996,
|
229 |
+
0.0214835205078125,
|
230 |
+
0.02063871955871582,
|
231 |
+
0.02020351982116699,
|
232 |
+
0.020353023529052734,
|
233 |
+
0.020377599716186523,
|
234 |
+
0.01962188720703125,
|
235 |
+
0.01964543914794922,
|
236 |
+
0.01963520050048828,
|
237 |
+
0.019554304122924804,
|
238 |
+
0.019586048126220702,
|
239 |
+
0.019582975387573243,
|
240 |
+
0.01964543914794922,
|
241 |
+
0.019557376861572266,
|
242 |
+
0.019583999633789064,
|
243 |
+
0.019590143203735352,
|
244 |
+
0.019586048126220702,
|
245 |
+
0.020165632247924805,
|
246 |
+
0.020113407135009767,
|
247 |
+
0.019574783325195313,
|
248 |
+
0.0196177921295166,
|
249 |
+
0.019580928802490235,
|
250 |
+
0.01963929557800293,
|
251 |
+
0.01982054328918457,
|
252 |
+
0.019802112579345704,
|
253 |
+
0.01979084777832031,
|
254 |
+
0.01963827133178711,
|
255 |
+
0.019581951141357423,
|
256 |
+
0.019619840621948242,
|
257 |
+
0.01963212776184082,
|
258 |
+
0.01959321594238281,
|
259 |
+
0.01963007926940918,
|
260 |
+
0.01963007926940918,
|
261 |
+
0.019542015075683594,
|
262 |
+
0.019540992736816407,
|
263 |
+
0.019590143203735352,
|
264 |
+
0.01987583923339844,
|
265 |
+
0.0198154239654541,
|
266 |
+
0.01962393569946289,
|
267 |
+
0.019594240188598632,
|
268 |
+
0.01964031982421875,
|
269 |
+
0.01964851188659668,
|
270 |
+
0.019706880569458008,
|
271 |
+
0.019746816635131836,
|
272 |
+
0.01965056037902832,
|
273 |
+
0.019614719390869142,
|
274 |
+
0.019843072891235353,
|
275 |
+
0.019784704208374023,
|
276 |
+
0.01982054328918457,
|
277 |
+
0.019810304641723633,
|
278 |
+
0.019804159164428712,
|
279 |
+
0.01969049644470215,
|
280 |
+
0.01964236831665039,
|
281 |
+
0.019566591262817384,
|
282 |
+
0.019572736740112305,
|
283 |
+
0.019590143203735352,
|
284 |
+
0.01964646339416504,
|
285 |
+
0.01982361602783203,
|
286 |
+
0.019794944763183595,
|
287 |
+
0.01984000015258789,
|
288 |
+
0.01985638427734375,
|
289 |
+
0.01981439971923828,
|
290 |
+
0.01987583923339844,
|
291 |
+
0.019862527847290038,
|
292 |
+
0.01986662483215332,
|
293 |
+
0.01978982353210449,
|
294 |
+
0.01985945510864258,
|
295 |
+
0.01982771110534668,
|
296 |
+
0.019819520950317384,
|
297 |
+
0.019763200759887696,
|
298 |
+
0.019982336044311523,
|
299 |
+
0.019780607223510743,
|
300 |
+
0.01983590316772461,
|
301 |
+
0.019834880828857423,
|
302 |
+
0.019802112579345704,
|
303 |
+
0.019785728454589844,
|
304 |
+
0.019955711364746095,
|
305 |
+
0.019951616287231445,
|
306 |
+
0.021193727493286133,
|
307 |
+
0.019974143981933593,
|
308 |
+
0.01985536003112793,
|
309 |
+
0.019812351226806642,
|
310 |
+
0.01983795166015625,
|
311 |
+
0.019770368576049805,
|
312 |
+
0.0198604793548584,
|
313 |
+
0.019805183410644533,
|
314 |
+
0.01984921646118164,
|
315 |
+
0.020358144760131838,
|
316 |
+
0.02044927978515625,
|
317 |
+
0.019826688766479493,
|
318 |
+
0.019886079788208007,
|
319 |
+
0.019861503601074217,
|
320 |
+
0.01987276840209961,
|
321 |
+
0.020435968399047853,
|
322 |
+
0.01982975959777832,
|
323 |
+
0.02002841567993164,
|
324 |
+
0.02020351982116699,
|
325 |
+
0.020168703079223634,
|
326 |
+
0.020420608520507814,
|
327 |
+
0.019812351226806642,
|
328 |
+
0.019755008697509766,
|
329 |
+
0.019535871505737306
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 49.85068474737015
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.025318976402282714,
|
7 |
+
"prefill.throughput.value": 276.4724722192518,
|
8 |
+
"decode.latency.mean": 2.537893798828125,
|
9 |
+
"decode.throughput.value": 50.04149506123636,
|
10 |
+
"per_token.latency.mean": 0.020059904995643103,
|
11 |
+
"per_token.throughput.value": 49.85068474737015
|
12 |
+
}
|
13 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 940fde8dafaecb8f17b588c5078291f1c1a420c8
|
82 |
+
accelerate_version: 0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
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/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
88 |
+
- hydra.run.dir=_benchmark/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8/${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/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
92 |
+
"accelerate_version": "0.31.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": 1917.341696,
|
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.02800761604309082,
|
118 |
+
"mean": 0.01400380802154541,
|
119 |
+
"stdev": 0.00011616039276123036,
|
120 |
+
"p50": 0.01400380802154541,
|
121 |
+
"p90": 0.014096736335754395,
|
122 |
+
"p95": 0.014108352375030518,
|
123 |
+
"p99": 0.014117645206451417,
|
124 |
+
"values": [
|
125 |
+
0.014119968414306641,
|
126 |
+
0.01388764762878418
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 499.86403621288036
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2261.151744,
|
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.1189302978515627,
|
149 |
+
"mean": 1.5594651489257814,
|
150 |
+
"stdev": 0.0020779418945312544,
|
151 |
+
"p50": 1.5594651489257814,
|
152 |
+
"p90": 1.5611275024414062,
|
153 |
+
"p95": 1.5613352966308593,
|
154 |
+
"p99": 1.561501531982422,
|
155 |
+
"values": [
|
156 |
+
1.5615430908203125,
|
157 |
+
1.55738720703125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.4381777543938
|
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.119921157836915,
|
173 |
+
"mean": 0.012331704181173573,
|
174 |
+
"stdev": 0.0008893472583592356,
|
175 |
+
"p50": 0.01226137638092041,
|
176 |
+
"p90": 0.012300083351135254,
|
177 |
+
"p95": 0.012464742469787597,
|
178 |
+
"p99": 0.012753510475158691,
|
179 |
+
"values": [
|
180 |
+
0.012698623657226562,
|
181 |
+
0.012743680000305176,
|
182 |
+
0.012716032028198243,
|
183 |
+
0.012770303726196289,
|
184 |
+
0.01273855972290039,
|
185 |
+
0.012329983711242675,
|
186 |
+
0.01234329605102539,
|
187 |
+
0.012280832290649414,
|
188 |
+
0.0122357759475708,
|
189 |
+
0.01227673625946045,
|
190 |
+
0.012229632377624512,
|
191 |
+
0.012272640228271485,
|
192 |
+
0.012240896224975586,
|
193 |
+
0.01225830364227295,
|
194 |
+
0.012256256103515625,
|
195 |
+
0.012281855583190919,
|
196 |
+
0.012236800193786621,
|
197 |
+
0.012277759552001954,
|
198 |
+
0.012231679916381836,
|
199 |
+
0.012271615982055664,
|
200 |
+
0.012225536346435547,
|
201 |
+
0.012274687767028808,
|
202 |
+
0.01221939182281494,
|
203 |
+
0.01227673625946045,
|
204 |
+
0.012230655670166016,
|
205 |
+
0.01226035213470459,
|
206 |
+
0.01223475170135498,
|
207 |
+
0.01227673625946045,
|
208 |
+
0.012231679916381836,
|
209 |
+
0.012279808044433594,
|
210 |
+
0.012254207611083985,
|
211 |
+
0.012283904075622559,
|
212 |
+
0.01223475170135498,
|
213 |
+
0.012274687767028808,
|
214 |
+
0.012230655670166016,
|
215 |
+
0.01228492832183838,
|
216 |
+
0.012238847732543945,
|
217 |
+
0.012270591735839843,
|
218 |
+
0.01224294376373291,
|
219 |
+
0.01226854419708252,
|
220 |
+
0.012233728408813477,
|
221 |
+
0.01226956844329834,
|
222 |
+
0.012224543571472167,
|
223 |
+
0.012264415740966797,
|
224 |
+
0.012224575996398927,
|
225 |
+
0.012294079780578613,
|
226 |
+
0.012246015548706055,
|
227 |
+
0.012273664474487305,
|
228 |
+
0.012233728408813477,
|
229 |
+
0.012278783798217773,
|
230 |
+
0.012226559638977052,
|
231 |
+
0.01226137638092041,
|
232 |
+
0.012223487854003906,
|
233 |
+
0.01227673625946045,
|
234 |
+
0.01222758388519287,
|
235 |
+
0.012272640228271485,
|
236 |
+
0.012229632377624512,
|
237 |
+
0.012272640228271485,
|
238 |
+
0.012220416069030762,
|
239 |
+
0.01226137638092041,
|
240 |
+
0.012236800193786621,
|
241 |
+
0.012299263954162597,
|
242 |
+
0.012244000434875488,
|
243 |
+
0.012275679588317871,
|
244 |
+
0.012232704162597656,
|
245 |
+
0.012267519950866699,
|
246 |
+
0.012231679916381836,
|
247 |
+
0.01226137638092041,
|
248 |
+
0.012223487854003906,
|
249 |
+
0.012262399673461915,
|
250 |
+
0.012228608131408691,
|
251 |
+
0.01226854419708252,
|
252 |
+
0.012224575996398927,
|
253 |
+
0.01227667236328125,
|
254 |
+
0.012218367576599122,
|
255 |
+
0.012271615982055664,
|
256 |
+
0.01222758388519287,
|
257 |
+
0.012302335739135742,
|
258 |
+
0.01226035213470459,
|
259 |
+
0.01245081615447998,
|
260 |
+
0.012559359550476074,
|
261 |
+
0.01247436809539795,
|
262 |
+
0.01245900821685791,
|
263 |
+
0.012480511665344238,
|
264 |
+
0.01276416015625,
|
265 |
+
0.012314623832702636,
|
266 |
+
0.012283904075622559,
|
267 |
+
0.012311552047729492,
|
268 |
+
0.012238847732543945,
|
269 |
+
0.012283904075622559,
|
270 |
+
0.012230655670166016,
|
271 |
+
0.012266495704650878,
|
272 |
+
0.012226592063903809,
|
273 |
+
0.012273632049560546,
|
274 |
+
0.012224512100219726,
|
275 |
+
0.012270591735839843,
|
276 |
+
0.012229632377624512,
|
277 |
+
0.012274687767028808,
|
278 |
+
0.012225536346435547,
|
279 |
+
0.012256256103515625,
|
280 |
+
0.01222758388519287,
|
281 |
+
0.012296192169189453,
|
282 |
+
0.012277759552001954,
|
283 |
+
0.012295167922973632,
|
284 |
+
0.012228608131408691,
|
285 |
+
0.012272640228271485,
|
286 |
+
0.012230655670166016,
|
287 |
+
0.01226137638092041,
|
288 |
+
0.012229632377624512,
|
289 |
+
0.01226854419708252,
|
290 |
+
0.0122357759475708,
|
291 |
+
0.01226956844329834,
|
292 |
+
0.012222463607788087,
|
293 |
+
0.012266495704650878,
|
294 |
+
0.01224396800994873,
|
295 |
+
0.012257280349731446,
|
296 |
+
0.012221440315246582,
|
297 |
+
0.012273664474487305,
|
298 |
+
0.012255231857299804,
|
299 |
+
0.012274687767028808,
|
300 |
+
0.012228608131408691,
|
301 |
+
0.01226956844329834,
|
302 |
+
0.01223475170135498,
|
303 |
+
0.012272640228271485,
|
304 |
+
0.012473343849182129,
|
305 |
+
0.012300288200378418,
|
306 |
+
0.026376192092895507,
|
307 |
+
0.012257280349731446,
|
308 |
+
0.012279808044433594,
|
309 |
+
0.012225536346435547,
|
310 |
+
0.012282879829406738,
|
311 |
+
0.012233728408813477,
|
312 |
+
0.01227673625946045,
|
313 |
+
0.012239904403686523,
|
314 |
+
0.012277728080749511,
|
315 |
+
0.012249088287353516,
|
316 |
+
0.012274687767028808,
|
317 |
+
0.012248064041137695,
|
318 |
+
0.012267519950866699,
|
319 |
+
0.012244992256164551,
|
320 |
+
0.012292096138000488,
|
321 |
+
0.012228608131408691,
|
322 |
+
0.012259327888488769,
|
323 |
+
0.012233728408813477,
|
324 |
+
0.012263423919677734,
|
325 |
+
0.012233728408813477,
|
326 |
+
0.012270591735839843,
|
327 |
+
0.012218367576599122,
|
328 |
+
0.012296192169189453,
|
329 |
+
0.012222463607788087,
|
330 |
+
0.012273664474487305,
|
331 |
+
0.01223475170135498,
|
332 |
+
0.012264448165893555,
|
333 |
+
0.012237824440002442,
|
334 |
+
0.01226956844329834,
|
335 |
+
0.012240896224975586,
|
336 |
+
0.012283904075622559,
|
337 |
+
0.012222463607788087,
|
338 |
+
0.012256256103515625,
|
339 |
+
0.012224512100219726,
|
340 |
+
0.012267519950866699,
|
341 |
+
0.012217344284057617,
|
342 |
+
0.012281855583190919,
|
343 |
+
0.012220416069030762,
|
344 |
+
0.012285951614379884,
|
345 |
+
0.012225536346435547,
|
346 |
+
0.01226854419708252,
|
347 |
+
0.012229632377624512,
|
348 |
+
0.01226137638092041,
|
349 |
+
0.012225536346435547,
|
350 |
+
0.012267519950866699,
|
351 |
+
0.012248064041137695,
|
352 |
+
0.012285951614379884,
|
353 |
+
0.012230655670166016,
|
354 |
+
0.012270591735839843,
|
355 |
+
0.012229632377624512,
|
356 |
+
0.012259327888488769,
|
357 |
+
0.012224512100219726,
|
358 |
+
0.012257280349731446,
|
359 |
+
0.012230655670166016,
|
360 |
+
0.012265472412109376,
|
361 |
+
0.012228608131408691,
|
362 |
+
0.012294143676757812,
|
363 |
+
0.012223487854003906,
|
364 |
+
0.012264448165893555,
|
365 |
+
0.012230655670166016,
|
366 |
+
0.012275712013244629,
|
367 |
+
0.01224294376373291,
|
368 |
+
0.01228492832183838,
|
369 |
+
0.012230655670166016,
|
370 |
+
0.012257280349731446,
|
371 |
+
0.012225536346435547,
|
372 |
+
0.01226956844329834,
|
373 |
+
0.012228608131408691,
|
374 |
+
0.012270591735839843,
|
375 |
+
0.012236800193786621,
|
376 |
+
0.012263423919677734,
|
377 |
+
0.012231679916381836,
|
378 |
+
0.012280832290649414,
|
379 |
+
0.012240896224975586,
|
380 |
+
0.012264448165893555,
|
381 |
+
0.012225536346435547,
|
382 |
+
0.012257280349731446,
|
383 |
+
0.01224294376373291,
|
384 |
+
0.012357631683349609,
|
385 |
+
0.01225216007232666,
|
386 |
+
0.012278783798217773,
|
387 |
+
0.012222463607788087,
|
388 |
+
0.012274687767028808,
|
389 |
+
0.012231679916381836,
|
390 |
+
0.012277759552001954,
|
391 |
+
0.01224294376373291,
|
392 |
+
0.012263423919677734,
|
393 |
+
0.012230655670166016,
|
394 |
+
0.012280832290649414,
|
395 |
+
0.012218367576599122,
|
396 |
+
0.012271615982055664,
|
397 |
+
0.01225011157989502,
|
398 |
+
0.012303359985351562,
|
399 |
+
0.012244992256164551,
|
400 |
+
0.012272640228271485,
|
401 |
+
0.012213248252868653,
|
402 |
+
0.012262399673461915,
|
403 |
+
0.012233728408813477,
|
404 |
+
0.012278783798217773,
|
405 |
+
0.012230655670166016,
|
406 |
+
0.012267519950866699,
|
407 |
+
0.012216320037841797,
|
408 |
+
0.012265472412109376,
|
409 |
+
0.012222463607788087,
|
410 |
+
0.012259327888488769,
|
411 |
+
0.01221939182281494,
|
412 |
+
0.012273664474487305,
|
413 |
+
0.012217344284057617,
|
414 |
+
0.012298239707946777,
|
415 |
+
0.01225830364227295,
|
416 |
+
0.01226137638092041,
|
417 |
+
0.01239244842529297,
|
418 |
+
0.012315648078918457,
|
419 |
+
0.01221939182281494,
|
420 |
+
0.012273664474487305,
|
421 |
+
0.012221440315246582,
|
422 |
+
0.01226137638092041,
|
423 |
+
0.012228608131408691,
|
424 |
+
0.012266495704650878,
|
425 |
+
0.012275712013244629,
|
426 |
+
0.012360704421997071,
|
427 |
+
0.012640255928039551,
|
428 |
+
0.012609536170959473,
|
429 |
+
0.01224294376373291,
|
430 |
+
0.01226956844329834,
|
431 |
+
0.012231679916381836,
|
432 |
+
0.012271615982055664
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.09179277318934
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
91 |
+
"accelerate_version": "0.31.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-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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": 1917.341696,
|
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.02800761604309082,
|
15 |
+
"mean": 0.01400380802154541,
|
16 |
+
"stdev": 0.00011616039276123036,
|
17 |
+
"p50": 0.01400380802154541,
|
18 |
+
"p90": 0.014096736335754395,
|
19 |
+
"p95": 0.014108352375030518,
|
20 |
+
"p99": 0.014117645206451417,
|
21 |
+
"values": [
|
22 |
+
0.014119968414306641,
|
23 |
+
0.01388764762878418
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 499.86403621288036
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2261.151744,
|
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.1189302978515627,
|
46 |
+
"mean": 1.5594651489257814,
|
47 |
+
"stdev": 0.0020779418945312544,
|
48 |
+
"p50": 1.5594651489257814,
|
49 |
+
"p90": 1.5611275024414062,
|
50 |
+
"p95": 1.5613352966308593,
|
51 |
+
"p99": 1.561501531982422,
|
52 |
+
"values": [
|
53 |
+
1.5615430908203125,
|
54 |
+
1.55738720703125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.4381777543938
|
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.119921157836915,
|
70 |
+
"mean": 0.012331704181173573,
|
71 |
+
"stdev": 0.0008893472583592356,
|
72 |
+
"p50": 0.01226137638092041,
|
73 |
+
"p90": 0.012300083351135254,
|
74 |
+
"p95": 0.012464742469787597,
|
75 |
+
"p99": 0.012753510475158691,
|
76 |
+
"values": [
|
77 |
+
0.012698623657226562,
|
78 |
+
0.012743680000305176,
|
79 |
+
0.012716032028198243,
|
80 |
+
0.012770303726196289,
|
81 |
+
0.01273855972290039,
|
82 |
+
0.012329983711242675,
|
83 |
+
0.01234329605102539,
|
84 |
+
0.012280832290649414,
|
85 |
+
0.0122357759475708,
|
86 |
+
0.01227673625946045,
|
87 |
+
0.012229632377624512,
|
88 |
+
0.012272640228271485,
|
89 |
+
0.012240896224975586,
|
90 |
+
0.01225830364227295,
|
91 |
+
0.012256256103515625,
|
92 |
+
0.012281855583190919,
|
93 |
+
0.012236800193786621,
|
94 |
+
0.012277759552001954,
|
95 |
+
0.012231679916381836,
|
96 |
+
0.012271615982055664,
|
97 |
+
0.012225536346435547,
|
98 |
+
0.012274687767028808,
|
99 |
+
0.01221939182281494,
|
100 |
+
0.01227673625946045,
|
101 |
+
0.012230655670166016,
|
102 |
+
0.01226035213470459,
|
103 |
+
0.01223475170135498,
|
104 |
+
0.01227673625946045,
|
105 |
+
0.012231679916381836,
|
106 |
+
0.012279808044433594,
|
107 |
+
0.012254207611083985,
|
108 |
+
0.012283904075622559,
|
109 |
+
0.01223475170135498,
|
110 |
+
0.012274687767028808,
|
111 |
+
0.012230655670166016,
|
112 |
+
0.01228492832183838,
|
113 |
+
0.012238847732543945,
|
114 |
+
0.012270591735839843,
|
115 |
+
0.01224294376373291,
|
116 |
+
0.01226854419708252,
|
117 |
+
0.012233728408813477,
|
118 |
+
0.01226956844329834,
|
119 |
+
0.012224543571472167,
|
120 |
+
0.012264415740966797,
|
121 |
+
0.012224575996398927,
|
122 |
+
0.012294079780578613,
|
123 |
+
0.012246015548706055,
|
124 |
+
0.012273664474487305,
|
125 |
+
0.012233728408813477,
|
126 |
+
0.012278783798217773,
|
127 |
+
0.012226559638977052,
|
128 |
+
0.01226137638092041,
|
129 |
+
0.012223487854003906,
|
130 |
+
0.01227673625946045,
|
131 |
+
0.01222758388519287,
|
132 |
+
0.012272640228271485,
|
133 |
+
0.012229632377624512,
|
134 |
+
0.012272640228271485,
|
135 |
+
0.012220416069030762,
|
136 |
+
0.01226137638092041,
|
137 |
+
0.012236800193786621,
|
138 |
+
0.012299263954162597,
|
139 |
+
0.012244000434875488,
|
140 |
+
0.012275679588317871,
|
141 |
+
0.012232704162597656,
|
142 |
+
0.012267519950866699,
|
143 |
+
0.012231679916381836,
|
144 |
+
0.01226137638092041,
|
145 |
+
0.012223487854003906,
|
146 |
+
0.012262399673461915,
|
147 |
+
0.012228608131408691,
|
148 |
+
0.01226854419708252,
|
149 |
+
0.012224575996398927,
|
150 |
+
0.01227667236328125,
|
151 |
+
0.012218367576599122,
|
152 |
+
0.012271615982055664,
|
153 |
+
0.01222758388519287,
|
154 |
+
0.012302335739135742,
|
155 |
+
0.01226035213470459,
|
156 |
+
0.01245081615447998,
|
157 |
+
0.012559359550476074,
|
158 |
+
0.01247436809539795,
|
159 |
+
0.01245900821685791,
|
160 |
+
0.012480511665344238,
|
161 |
+
0.01276416015625,
|
162 |
+
0.012314623832702636,
|
163 |
+
0.012283904075622559,
|
164 |
+
0.012311552047729492,
|
165 |
+
0.012238847732543945,
|
166 |
+
0.012283904075622559,
|
167 |
+
0.012230655670166016,
|
168 |
+
0.012266495704650878,
|
169 |
+
0.012226592063903809,
|
170 |
+
0.012273632049560546,
|
171 |
+
0.012224512100219726,
|
172 |
+
0.012270591735839843,
|
173 |
+
0.012229632377624512,
|
174 |
+
0.012274687767028808,
|
175 |
+
0.012225536346435547,
|
176 |
+
0.012256256103515625,
|
177 |
+
0.01222758388519287,
|
178 |
+
0.012296192169189453,
|
179 |
+
0.012277759552001954,
|
180 |
+
0.012295167922973632,
|
181 |
+
0.012228608131408691,
|
182 |
+
0.012272640228271485,
|
183 |
+
0.012230655670166016,
|
184 |
+
0.01226137638092041,
|
185 |
+
0.012229632377624512,
|
186 |
+
0.01226854419708252,
|
187 |
+
0.0122357759475708,
|
188 |
+
0.01226956844329834,
|
189 |
+
0.012222463607788087,
|
190 |
+
0.012266495704650878,
|
191 |
+
0.01224396800994873,
|
192 |
+
0.012257280349731446,
|
193 |
+
0.012221440315246582,
|
194 |
+
0.012273664474487305,
|
195 |
+
0.012255231857299804,
|
196 |
+
0.012274687767028808,
|
197 |
+
0.012228608131408691,
|
198 |
+
0.01226956844329834,
|
199 |
+
0.01223475170135498,
|
200 |
+
0.012272640228271485,
|
201 |
+
0.012473343849182129,
|
202 |
+
0.012300288200378418,
|
203 |
+
0.026376192092895507,
|
204 |
+
0.012257280349731446,
|
205 |
+
0.012279808044433594,
|
206 |
+
0.012225536346435547,
|
207 |
+
0.012282879829406738,
|
208 |
+
0.012233728408813477,
|
209 |
+
0.01227673625946045,
|
210 |
+
0.012239904403686523,
|
211 |
+
0.012277728080749511,
|
212 |
+
0.012249088287353516,
|
213 |
+
0.012274687767028808,
|
214 |
+
0.012248064041137695,
|
215 |
+
0.012267519950866699,
|
216 |
+
0.012244992256164551,
|
217 |
+
0.012292096138000488,
|
218 |
+
0.012228608131408691,
|
219 |
+
0.012259327888488769,
|
220 |
+
0.012233728408813477,
|
221 |
+
0.012263423919677734,
|
222 |
+
0.012233728408813477,
|
223 |
+
0.012270591735839843,
|
224 |
+
0.012218367576599122,
|
225 |
+
0.012296192169189453,
|
226 |
+
0.012222463607788087,
|
227 |
+
0.012273664474487305,
|
228 |
+
0.01223475170135498,
|
229 |
+
0.012264448165893555,
|
230 |
+
0.012237824440002442,
|
231 |
+
0.01226956844329834,
|
232 |
+
0.012240896224975586,
|
233 |
+
0.012283904075622559,
|
234 |
+
0.012222463607788087,
|
235 |
+
0.012256256103515625,
|
236 |
+
0.012224512100219726,
|
237 |
+
0.012267519950866699,
|
238 |
+
0.012217344284057617,
|
239 |
+
0.012281855583190919,
|
240 |
+
0.012220416069030762,
|
241 |
+
0.012285951614379884,
|
242 |
+
0.012225536346435547,
|
243 |
+
0.01226854419708252,
|
244 |
+
0.012229632377624512,
|
245 |
+
0.01226137638092041,
|
246 |
+
0.012225536346435547,
|
247 |
+
0.012267519950866699,
|
248 |
+
0.012248064041137695,
|
249 |
+
0.012285951614379884,
|
250 |
+
0.012230655670166016,
|
251 |
+
0.012270591735839843,
|
252 |
+
0.012229632377624512,
|
253 |
+
0.012259327888488769,
|
254 |
+
0.012224512100219726,
|
255 |
+
0.012257280349731446,
|
256 |
+
0.012230655670166016,
|
257 |
+
0.012265472412109376,
|
258 |
+
0.012228608131408691,
|
259 |
+
0.012294143676757812,
|
260 |
+
0.012223487854003906,
|
261 |
+
0.012264448165893555,
|
262 |
+
0.012230655670166016,
|
263 |
+
0.012275712013244629,
|
264 |
+
0.01224294376373291,
|
265 |
+
0.01228492832183838,
|
266 |
+
0.012230655670166016,
|
267 |
+
0.012257280349731446,
|
268 |
+
0.012225536346435547,
|
269 |
+
0.01226956844329834,
|
270 |
+
0.012228608131408691,
|
271 |
+
0.012270591735839843,
|
272 |
+
0.012236800193786621,
|
273 |
+
0.012263423919677734,
|
274 |
+
0.012231679916381836,
|
275 |
+
0.012280832290649414,
|
276 |
+
0.012240896224975586,
|
277 |
+
0.012264448165893555,
|
278 |
+
0.012225536346435547,
|
279 |
+
0.012257280349731446,
|
280 |
+
0.01224294376373291,
|
281 |
+
0.012357631683349609,
|
282 |
+
0.01225216007232666,
|
283 |
+
0.012278783798217773,
|
284 |
+
0.012222463607788087,
|
285 |
+
0.012274687767028808,
|
286 |
+
0.012231679916381836,
|
287 |
+
0.012277759552001954,
|
288 |
+
0.01224294376373291,
|
289 |
+
0.012263423919677734,
|
290 |
+
0.012230655670166016,
|
291 |
+
0.012280832290649414,
|
292 |
+
0.012218367576599122,
|
293 |
+
0.012271615982055664,
|
294 |
+
0.01225011157989502,
|
295 |
+
0.012303359985351562,
|
296 |
+
0.012244992256164551,
|
297 |
+
0.012272640228271485,
|
298 |
+
0.012213248252868653,
|
299 |
+
0.012262399673461915,
|
300 |
+
0.012233728408813477,
|
301 |
+
0.012278783798217773,
|
302 |
+
0.012230655670166016,
|
303 |
+
0.012267519950866699,
|
304 |
+
0.012216320037841797,
|
305 |
+
0.012265472412109376,
|
306 |
+
0.012222463607788087,
|
307 |
+
0.012259327888488769,
|
308 |
+
0.01221939182281494,
|
309 |
+
0.012273664474487305,
|
310 |
+
0.012217344284057617,
|
311 |
+
0.012298239707946777,
|
312 |
+
0.01225830364227295,
|
313 |
+
0.01226137638092041,
|
314 |
+
0.01239244842529297,
|
315 |
+
0.012315648078918457,
|
316 |
+
0.01221939182281494,
|
317 |
+
0.012273664474487305,
|
318 |
+
0.012221440315246582,
|
319 |
+
0.01226137638092041,
|
320 |
+
0.012228608131408691,
|
321 |
+
0.012266495704650878,
|
322 |
+
0.012275712013244629,
|
323 |
+
0.012360704421997071,
|
324 |
+
0.012640255928039551,
|
325 |
+
0.012609536170959473,
|
326 |
+
0.01224294376373291,
|
327 |
+
0.01226956844329834,
|
328 |
+
0.012231679916381836,
|
329 |
+
0.012271615982055664
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.09179277318934
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/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": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01400380802154541,
|
7 |
+
"prefill.throughput.value": 499.86403621288036,
|
8 |
+
"decode.latency.mean": 1.5594651489257814,
|
9 |
+
"decode.throughput.value": 81.4381777543938,
|
10 |
+
"per_token.latency.mean": 0.012331704181173573,
|
11 |
+
"per_token.throughput.value": 81.09179277318934
|
12 |
+
}
|
13 |
+
}
|
2024-06-06/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp3hzcmehw/commit=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
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/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8
|
88 |
+
- hydra.run.dir=_benchmark/tmp3hzcmehw/commit\=940fde8dafaecb8f17b588c5078291f1c1a420c8/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 940fde8dafaecb8f17b588c5078291f1c1a420c8
|
223 |
+
accelerate_version: 0.31.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-06/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02033520030975342,
|
8 |
+
"prefill.throughput.value": 344.2306883322204,
|
9 |
+
"decode.latency.mean": 2.4782998046875,
|
10 |
+
"decode.throughput.value": 51.244808945144555,
|
11 |
+
"per_token.latency.mean": 0.01958842790173919,
|
12 |
+
"per_token.throughput.value": 51.05054908011344
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.025318976402282714,
|
21 |
+
"prefill.throughput.value": 276.4724722192518,
|
22 |
+
"decode.latency.mean": 2.537893798828125,
|
23 |
+
"decode.throughput.value": 50.04149506123636,
|
24 |
+
"per_token.latency.mean": 0.020059904995643103,
|
25 |
+
"per_token.throughput.value": 49.85068474737015
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "940fde8dafaecb8f17b588c5078291f1c1a420c8",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.01400380802154541,
|
34 |
+
"prefill.throughput.value": 499.86403621288036,
|
35 |
+
"decode.latency.mean": 1.5594651489257814,
|
36 |
+
"decode.throughput.value": 81.4381777543938,
|
37 |
+
"per_token.latency.mean": 0.012331704181173573,
|
38 |
+
"per_token.throughput.value": 81.09179277318934
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-06/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"940fde8dafaecb8f17b588c5078291f1c1a420c8": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02033520030975342,
|
7 |
+
"prefill.throughput.value": 344.2306883322204,
|
8 |
+
"decode.latency.mean": 2.4782998046875,
|
9 |
+
"decode.throughput.value": 51.244808945144555,
|
10 |
+
"per_token.latency.mean": 0.01958842790173919,
|
11 |
+
"per_token.throughput.value": 51.05054908011344
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"940fde8dafaecb8f17b588c5078291f1c1a420c8": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.025318976402282714,
|
19 |
+
"prefill.throughput.value": 276.4724722192518,
|
20 |
+
"decode.latency.mean": 2.537893798828125,
|
21 |
+
"decode.throughput.value": 50.04149506123636,
|
22 |
+
"per_token.latency.mean": 0.020059904995643103,
|
23 |
+
"per_token.throughput.value": 49.85068474737015
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"940fde8dafaecb8f17b588c5078291f1c1a420c8": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.01400380802154541,
|
31 |
+
"prefill.throughput.value": 499.86403621288036,
|
32 |
+
"decode.latency.mean": 1.5594651489257814,
|
33 |
+
"decode.throughput.value": 81.4381777543938,
|
34 |
+
"per_token.latency.mean": 0.012331704181173573,
|
35 |
+
"per_token.throughput.value": 81.09179277318934
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|