hf-transformers-bot
commited on
Commit
•
7fb677c
1
Parent(s):
e75bc75
Upload folder using huggingface_hub
Browse files- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/multirun.yaml +232 -0
- 2024-05-31/summaries.json +41 -0
- 2024-05-31/summary.json +40 -0
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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: 6aafe5f36d73e730c988ee090233eb757b33821c
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c
|
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/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c
|
88 |
+
- hydra.run.dir=_benchmark/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c/${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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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": 1718.112256,
|
109 |
+
"max_global_vram": 6795.296768,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6148.849664,
|
112 |
+
"max_allocated": 5033.552896
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.0401352310180664,
|
118 |
+
"mean": 0.0200676155090332,
|
119 |
+
"stdev": 0.00016246414184570464,
|
120 |
+
"p50": 0.0200676155090332,
|
121 |
+
"p90": 0.02019758682250977,
|
122 |
+
"p95": 0.020213833236694338,
|
123 |
+
"p99": 0.020226830368041994,
|
124 |
+
"values": [
|
125 |
+
0.0199051513671875,
|
126 |
+
0.020230079650878908
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 348.8207154880475
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1718.23104,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5033.553408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.946603271484375,
|
149 |
+
"mean": 2.4733016357421875,
|
150 |
+
"stdev": 0.026213745117187326,
|
151 |
+
"p50": 2.4733016357421875,
|
152 |
+
"p90": 2.4942726318359374,
|
153 |
+
"p95": 2.496894006347656,
|
154 |
+
"p99": 2.498991105957031,
|
155 |
+
"values": [
|
156 |
+
2.499515380859375,
|
157 |
+
2.447087890625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.34836696207896
|
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.946847740173342,
|
173 |
+
"mean": 0.019552757866297784,
|
174 |
+
"stdev": 0.001374762990855658,
|
175 |
+
"p50": 0.019562496185302734,
|
176 |
+
"p90": 0.020083917236328127,
|
177 |
+
"p95": 0.02028195915222168,
|
178 |
+
"p99": 0.020790968475341797,
|
179 |
+
"values": [
|
180 |
+
0.02081279945373535,
|
181 |
+
0.020172800064086914,
|
182 |
+
0.02027827262878418,
|
183 |
+
0.01963417625427246,
|
184 |
+
0.020404319763183593,
|
185 |
+
0.019981216430664063,
|
186 |
+
0.020093952178955078,
|
187 |
+
0.019891199111938478,
|
188 |
+
0.019877887725830077,
|
189 |
+
0.019764223098754884,
|
190 |
+
0.02022502326965332,
|
191 |
+
0.02063564872741699,
|
192 |
+
0.02007244873046875,
|
193 |
+
0.019958784103393554,
|
194 |
+
0.020502527236938475,
|
195 |
+
0.020287488937377928,
|
196 |
+
0.020338687896728515,
|
197 |
+
0.020008960723876954,
|
198 |
+
0.020968448638916014,
|
199 |
+
0.02008678436279297,
|
200 |
+
0.02003455924987793,
|
201 |
+
0.019466239929199217,
|
202 |
+
0.01983795166015625,
|
203 |
+
0.01990656089782715,
|
204 |
+
0.019550207138061524,
|
205 |
+
0.019908607482910155,
|
206 |
+
0.020144128799438478,
|
207 |
+
0.020256767272949217,
|
208 |
+
0.020388864517211915,
|
209 |
+
0.020562944412231447,
|
210 |
+
0.020017152786254884,
|
211 |
+
0.01945599937438965,
|
212 |
+
0.020249599456787108,
|
213 |
+
0.020207616806030275,
|
214 |
+
0.020197376251220703,
|
215 |
+
0.020362239837646484,
|
216 |
+
0.020487167358398437,
|
217 |
+
0.018972671508789063,
|
218 |
+
0.019062784194946288,
|
219 |
+
0.019560447692871095,
|
220 |
+
0.019971071243286134,
|
221 |
+
0.02017791938781738,
|
222 |
+
0.019778560638427735,
|
223 |
+
0.02003660774230957,
|
224 |
+
0.019770368576049805,
|
225 |
+
0.019767295837402343,
|
226 |
+
0.019902463912963866,
|
227 |
+
0.019727359771728514,
|
228 |
+
0.01985536003112793,
|
229 |
+
0.01982464027404785,
|
230 |
+
0.019732479095458985,
|
231 |
+
0.019512319564819337,
|
232 |
+
0.019518463134765626,
|
233 |
+
0.01861631965637207,
|
234 |
+
0.01862553596496582,
|
235 |
+
0.019371007919311522,
|
236 |
+
0.019758079528808595,
|
237 |
+
0.019610624313354492,
|
238 |
+
0.01885491180419922,
|
239 |
+
0.019751935958862304,
|
240 |
+
0.019607551574707033,
|
241 |
+
0.01967411231994629,
|
242 |
+
0.019590143203735352,
|
243 |
+
0.01979910469055176,
|
244 |
+
0.019701696395874022,
|
245 |
+
0.019467264175415038,
|
246 |
+
0.019589120864868165,
|
247 |
+
0.01869004821777344,
|
248 |
+
0.01865011215209961,
|
249 |
+
0.01945497512817383,
|
250 |
+
0.01968435287475586,
|
251 |
+
0.01964236831665039,
|
252 |
+
0.018729984283447267,
|
253 |
+
0.018651136398315428,
|
254 |
+
0.01880473518371582,
|
255 |
+
0.019368959426879884,
|
256 |
+
0.01970278358459473,
|
257 |
+
0.018795520782470702,
|
258 |
+
0.018659328460693358,
|
259 |
+
0.019680255889892577,
|
260 |
+
0.01971609687805176,
|
261 |
+
0.01960857582092285,
|
262 |
+
0.018713600158691408,
|
263 |
+
0.020770816802978515,
|
264 |
+
0.01966694450378418,
|
265 |
+
0.02016873550415039,
|
266 |
+
0.019890144348144533,
|
267 |
+
0.019709951400756837,
|
268 |
+
0.01965465545654297,
|
269 |
+
0.019647487640380858,
|
270 |
+
0.01960038375854492,
|
271 |
+
0.019615743637084963,
|
272 |
+
0.01963417625427246,
|
273 |
+
0.019137535095214844,
|
274 |
+
0.01963724708557129,
|
275 |
+
0.019700735092163087,
|
276 |
+
0.01964031982421875,
|
277 |
+
0.01966182327270508,
|
278 |
+
0.01962700843811035,
|
279 |
+
0.0196177921295166,
|
280 |
+
0.01965056037902832,
|
281 |
+
0.01982464027404785,
|
282 |
+
0.019566591262817384,
|
283 |
+
0.0192491512298584,
|
284 |
+
0.018707456588745116,
|
285 |
+
0.018689023971557618,
|
286 |
+
0.019388416290283202,
|
287 |
+
0.019555328369140625,
|
288 |
+
0.019338239669799806,
|
289 |
+
0.019520511627197267,
|
290 |
+
0.0194467830657959,
|
291 |
+
0.019539968490600586,
|
292 |
+
0.019631103515625,
|
293 |
+
0.01864806365966797,
|
294 |
+
0.01901568031311035,
|
295 |
+
0.01966182327270508,
|
296 |
+
0.01965056037902832,
|
297 |
+
0.019780607223510743,
|
298 |
+
0.01970790481567383,
|
299 |
+
0.019316736221313476,
|
300 |
+
0.019490816116333007,
|
301 |
+
0.01982975959777832,
|
302 |
+
0.01961369514465332,
|
303 |
+
0.019595264434814453,
|
304 |
+
0.019629056930541993,
|
305 |
+
0.019298303604125978,
|
306 |
+
0.03985919952392578,
|
307 |
+
0.01942425537109375,
|
308 |
+
0.019449855804443358,
|
309 |
+
0.019337215423583985,
|
310 |
+
0.019208192825317383,
|
311 |
+
0.019139583587646485,
|
312 |
+
0.019305471420288087,
|
313 |
+
0.019522560119628905,
|
314 |
+
0.019509248733520508,
|
315 |
+
0.019153919219970703,
|
316 |
+
0.01960550308227539,
|
317 |
+
0.01957683181762695,
|
318 |
+
0.020156415939331054,
|
319 |
+
0.01939148712158203,
|
320 |
+
0.01944780731201172,
|
321 |
+
0.019173376083374022,
|
322 |
+
0.019519487380981446,
|
323 |
+
0.01944883155822754,
|
324 |
+
0.019518463134765626,
|
325 |
+
0.01963520050048828,
|
326 |
+
0.019556352615356445,
|
327 |
+
0.019514368057250975,
|
328 |
+
0.019532800674438477,
|
329 |
+
0.0194703369140625,
|
330 |
+
0.01921331214904785,
|
331 |
+
0.019375104904174805,
|
332 |
+
0.01947750473022461,
|
333 |
+
0.01942323112487793,
|
334 |
+
0.019516416549682617,
|
335 |
+
0.019577856063842772,
|
336 |
+
0.019567615509033204,
|
337 |
+
0.019564544677734375,
|
338 |
+
0.019504127502441407,
|
339 |
+
0.01959321594238281,
|
340 |
+
0.019560447692871095,
|
341 |
+
0.019184640884399414,
|
342 |
+
0.01883033561706543,
|
343 |
+
0.019204095840454103,
|
344 |
+
0.019186687469482423,
|
345 |
+
0.019314687728881837,
|
346 |
+
0.019508224487304687,
|
347 |
+
0.019224576950073242,
|
348 |
+
0.019531776428222656,
|
349 |
+
0.019577856063842772,
|
350 |
+
0.01949286460876465,
|
351 |
+
0.019991552352905274,
|
352 |
+
0.01960038375854492,
|
353 |
+
0.01944576072692871,
|
354 |
+
0.019201087951660156,
|
355 |
+
0.019430335998535157,
|
356 |
+
0.019539968490600586,
|
357 |
+
0.019562496185302734,
|
358 |
+
0.019526655197143555,
|
359 |
+
0.019550207138061524,
|
360 |
+
0.019483648300170898,
|
361 |
+
0.01947340774536133,
|
362 |
+
0.019537919998168944,
|
363 |
+
0.019610624313354492,
|
364 |
+
0.019580928802490235,
|
365 |
+
0.01968230438232422,
|
366 |
+
0.019695615768432616,
|
367 |
+
0.01985228729248047,
|
368 |
+
0.020033536911010744,
|
369 |
+
0.019759103775024413,
|
370 |
+
0.019733503341674806,
|
371 |
+
0.01970790481567383,
|
372 |
+
0.01966796875,
|
373 |
+
0.019641408920288084,
|
374 |
+
0.019673023223876953,
|
375 |
+
0.019587072372436523,
|
376 |
+
0.019688447952270507,
|
377 |
+
0.019681280136108398,
|
378 |
+
0.01960857582092285,
|
379 |
+
0.0196495361328125,
|
380 |
+
0.01963827133178711,
|
381 |
+
0.019598335266113282,
|
382 |
+
0.01959219169616699,
|
383 |
+
0.019587072372436523,
|
384 |
+
0.019534847259521485,
|
385 |
+
0.01959321594238281,
|
386 |
+
0.018699296951293944,
|
387 |
+
0.01863471984863281,
|
388 |
+
0.018661376953125,
|
389 |
+
0.018647039413452148,
|
390 |
+
0.018761728286743166,
|
391 |
+
0.01868083190917969,
|
392 |
+
0.018717695236206054,
|
393 |
+
0.01868083190917969,
|
394 |
+
0.018735103607177735,
|
395 |
+
0.01866035270690918,
|
396 |
+
0.018704383850097657,
|
397 |
+
0.018697216033935548,
|
398 |
+
0.018678783416748047,
|
399 |
+
0.01865727996826172,
|
400 |
+
0.01864192008972168,
|
401 |
+
0.018678783416748047,
|
402 |
+
0.018722816467285155,
|
403 |
+
0.01866854476928711,
|
404 |
+
0.018740224838256835,
|
405 |
+
0.01864396858215332,
|
406 |
+
0.018711551666259766,
|
407 |
+
0.018654207229614257,
|
408 |
+
0.018774015426635742,
|
409 |
+
0.018771968841552734,
|
410 |
+
0.018771968841552734,
|
411 |
+
0.018670591354370117,
|
412 |
+
0.018675712585449217,
|
413 |
+
0.018704383850097657,
|
414 |
+
0.01865830421447754,
|
415 |
+
0.018684928894042968,
|
416 |
+
0.018669567108154296,
|
417 |
+
0.018732032775878905,
|
418 |
+
0.01868083190917969,
|
419 |
+
0.01863884735107422,
|
420 |
+
0.018709503173828124,
|
421 |
+
0.018737152099609376,
|
422 |
+
0.019730432510375977,
|
423 |
+
0.019546112060546874,
|
424 |
+
0.019553279876708983,
|
425 |
+
0.018721792221069337,
|
426 |
+
0.01868083190917969,
|
427 |
+
0.01868185615539551,
|
428 |
+
0.01866649627685547,
|
429 |
+
0.019500032424926757,
|
430 |
+
0.020032512664794923,
|
431 |
+
0.019957759857177734,
|
432 |
+
0.019693567276000978
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 51.14368043822889
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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": 1718.112256,
|
6 |
+
"max_global_vram": 6795.296768,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6148.849664,
|
9 |
+
"max_allocated": 5033.552896
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.0401352310180664,
|
15 |
+
"mean": 0.0200676155090332,
|
16 |
+
"stdev": 0.00016246414184570464,
|
17 |
+
"p50": 0.0200676155090332,
|
18 |
+
"p90": 0.02019758682250977,
|
19 |
+
"p95": 0.020213833236694338,
|
20 |
+
"p99": 0.020226830368041994,
|
21 |
+
"values": [
|
22 |
+
0.0199051513671875,
|
23 |
+
0.020230079650878908
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 348.8207154880475
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1718.23104,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5033.553408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.946603271484375,
|
46 |
+
"mean": 2.4733016357421875,
|
47 |
+
"stdev": 0.026213745117187326,
|
48 |
+
"p50": 2.4733016357421875,
|
49 |
+
"p90": 2.4942726318359374,
|
50 |
+
"p95": 2.496894006347656,
|
51 |
+
"p99": 2.498991105957031,
|
52 |
+
"values": [
|
53 |
+
2.499515380859375,
|
54 |
+
2.447087890625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.34836696207896
|
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.946847740173342,
|
70 |
+
"mean": 0.019552757866297784,
|
71 |
+
"stdev": 0.001374762990855658,
|
72 |
+
"p50": 0.019562496185302734,
|
73 |
+
"p90": 0.020083917236328127,
|
74 |
+
"p95": 0.02028195915222168,
|
75 |
+
"p99": 0.020790968475341797,
|
76 |
+
"values": [
|
77 |
+
0.02081279945373535,
|
78 |
+
0.020172800064086914,
|
79 |
+
0.02027827262878418,
|
80 |
+
0.01963417625427246,
|
81 |
+
0.020404319763183593,
|
82 |
+
0.019981216430664063,
|
83 |
+
0.020093952178955078,
|
84 |
+
0.019891199111938478,
|
85 |
+
0.019877887725830077,
|
86 |
+
0.019764223098754884,
|
87 |
+
0.02022502326965332,
|
88 |
+
0.02063564872741699,
|
89 |
+
0.02007244873046875,
|
90 |
+
0.019958784103393554,
|
91 |
+
0.020502527236938475,
|
92 |
+
0.020287488937377928,
|
93 |
+
0.020338687896728515,
|
94 |
+
0.020008960723876954,
|
95 |
+
0.020968448638916014,
|
96 |
+
0.02008678436279297,
|
97 |
+
0.02003455924987793,
|
98 |
+
0.019466239929199217,
|
99 |
+
0.01983795166015625,
|
100 |
+
0.01990656089782715,
|
101 |
+
0.019550207138061524,
|
102 |
+
0.019908607482910155,
|
103 |
+
0.020144128799438478,
|
104 |
+
0.020256767272949217,
|
105 |
+
0.020388864517211915,
|
106 |
+
0.020562944412231447,
|
107 |
+
0.020017152786254884,
|
108 |
+
0.01945599937438965,
|
109 |
+
0.020249599456787108,
|
110 |
+
0.020207616806030275,
|
111 |
+
0.020197376251220703,
|
112 |
+
0.020362239837646484,
|
113 |
+
0.020487167358398437,
|
114 |
+
0.018972671508789063,
|
115 |
+
0.019062784194946288,
|
116 |
+
0.019560447692871095,
|
117 |
+
0.019971071243286134,
|
118 |
+
0.02017791938781738,
|
119 |
+
0.019778560638427735,
|
120 |
+
0.02003660774230957,
|
121 |
+
0.019770368576049805,
|
122 |
+
0.019767295837402343,
|
123 |
+
0.019902463912963866,
|
124 |
+
0.019727359771728514,
|
125 |
+
0.01985536003112793,
|
126 |
+
0.01982464027404785,
|
127 |
+
0.019732479095458985,
|
128 |
+
0.019512319564819337,
|
129 |
+
0.019518463134765626,
|
130 |
+
0.01861631965637207,
|
131 |
+
0.01862553596496582,
|
132 |
+
0.019371007919311522,
|
133 |
+
0.019758079528808595,
|
134 |
+
0.019610624313354492,
|
135 |
+
0.01885491180419922,
|
136 |
+
0.019751935958862304,
|
137 |
+
0.019607551574707033,
|
138 |
+
0.01967411231994629,
|
139 |
+
0.019590143203735352,
|
140 |
+
0.01979910469055176,
|
141 |
+
0.019701696395874022,
|
142 |
+
0.019467264175415038,
|
143 |
+
0.019589120864868165,
|
144 |
+
0.01869004821777344,
|
145 |
+
0.01865011215209961,
|
146 |
+
0.01945497512817383,
|
147 |
+
0.01968435287475586,
|
148 |
+
0.01964236831665039,
|
149 |
+
0.018729984283447267,
|
150 |
+
0.018651136398315428,
|
151 |
+
0.01880473518371582,
|
152 |
+
0.019368959426879884,
|
153 |
+
0.01970278358459473,
|
154 |
+
0.018795520782470702,
|
155 |
+
0.018659328460693358,
|
156 |
+
0.019680255889892577,
|
157 |
+
0.01971609687805176,
|
158 |
+
0.01960857582092285,
|
159 |
+
0.018713600158691408,
|
160 |
+
0.020770816802978515,
|
161 |
+
0.01966694450378418,
|
162 |
+
0.02016873550415039,
|
163 |
+
0.019890144348144533,
|
164 |
+
0.019709951400756837,
|
165 |
+
0.01965465545654297,
|
166 |
+
0.019647487640380858,
|
167 |
+
0.01960038375854492,
|
168 |
+
0.019615743637084963,
|
169 |
+
0.01963417625427246,
|
170 |
+
0.019137535095214844,
|
171 |
+
0.01963724708557129,
|
172 |
+
0.019700735092163087,
|
173 |
+
0.01964031982421875,
|
174 |
+
0.01966182327270508,
|
175 |
+
0.01962700843811035,
|
176 |
+
0.0196177921295166,
|
177 |
+
0.01965056037902832,
|
178 |
+
0.01982464027404785,
|
179 |
+
0.019566591262817384,
|
180 |
+
0.0192491512298584,
|
181 |
+
0.018707456588745116,
|
182 |
+
0.018689023971557618,
|
183 |
+
0.019388416290283202,
|
184 |
+
0.019555328369140625,
|
185 |
+
0.019338239669799806,
|
186 |
+
0.019520511627197267,
|
187 |
+
0.0194467830657959,
|
188 |
+
0.019539968490600586,
|
189 |
+
0.019631103515625,
|
190 |
+
0.01864806365966797,
|
191 |
+
0.01901568031311035,
|
192 |
+
0.01966182327270508,
|
193 |
+
0.01965056037902832,
|
194 |
+
0.019780607223510743,
|
195 |
+
0.01970790481567383,
|
196 |
+
0.019316736221313476,
|
197 |
+
0.019490816116333007,
|
198 |
+
0.01982975959777832,
|
199 |
+
0.01961369514465332,
|
200 |
+
0.019595264434814453,
|
201 |
+
0.019629056930541993,
|
202 |
+
0.019298303604125978,
|
203 |
+
0.03985919952392578,
|
204 |
+
0.01942425537109375,
|
205 |
+
0.019449855804443358,
|
206 |
+
0.019337215423583985,
|
207 |
+
0.019208192825317383,
|
208 |
+
0.019139583587646485,
|
209 |
+
0.019305471420288087,
|
210 |
+
0.019522560119628905,
|
211 |
+
0.019509248733520508,
|
212 |
+
0.019153919219970703,
|
213 |
+
0.01960550308227539,
|
214 |
+
0.01957683181762695,
|
215 |
+
0.020156415939331054,
|
216 |
+
0.01939148712158203,
|
217 |
+
0.01944780731201172,
|
218 |
+
0.019173376083374022,
|
219 |
+
0.019519487380981446,
|
220 |
+
0.01944883155822754,
|
221 |
+
0.019518463134765626,
|
222 |
+
0.01963520050048828,
|
223 |
+
0.019556352615356445,
|
224 |
+
0.019514368057250975,
|
225 |
+
0.019532800674438477,
|
226 |
+
0.0194703369140625,
|
227 |
+
0.01921331214904785,
|
228 |
+
0.019375104904174805,
|
229 |
+
0.01947750473022461,
|
230 |
+
0.01942323112487793,
|
231 |
+
0.019516416549682617,
|
232 |
+
0.019577856063842772,
|
233 |
+
0.019567615509033204,
|
234 |
+
0.019564544677734375,
|
235 |
+
0.019504127502441407,
|
236 |
+
0.01959321594238281,
|
237 |
+
0.019560447692871095,
|
238 |
+
0.019184640884399414,
|
239 |
+
0.01883033561706543,
|
240 |
+
0.019204095840454103,
|
241 |
+
0.019186687469482423,
|
242 |
+
0.019314687728881837,
|
243 |
+
0.019508224487304687,
|
244 |
+
0.019224576950073242,
|
245 |
+
0.019531776428222656,
|
246 |
+
0.019577856063842772,
|
247 |
+
0.01949286460876465,
|
248 |
+
0.019991552352905274,
|
249 |
+
0.01960038375854492,
|
250 |
+
0.01944576072692871,
|
251 |
+
0.019201087951660156,
|
252 |
+
0.019430335998535157,
|
253 |
+
0.019539968490600586,
|
254 |
+
0.019562496185302734,
|
255 |
+
0.019526655197143555,
|
256 |
+
0.019550207138061524,
|
257 |
+
0.019483648300170898,
|
258 |
+
0.01947340774536133,
|
259 |
+
0.019537919998168944,
|
260 |
+
0.019610624313354492,
|
261 |
+
0.019580928802490235,
|
262 |
+
0.01968230438232422,
|
263 |
+
0.019695615768432616,
|
264 |
+
0.01985228729248047,
|
265 |
+
0.020033536911010744,
|
266 |
+
0.019759103775024413,
|
267 |
+
0.019733503341674806,
|
268 |
+
0.01970790481567383,
|
269 |
+
0.01966796875,
|
270 |
+
0.019641408920288084,
|
271 |
+
0.019673023223876953,
|
272 |
+
0.019587072372436523,
|
273 |
+
0.019688447952270507,
|
274 |
+
0.019681280136108398,
|
275 |
+
0.01960857582092285,
|
276 |
+
0.0196495361328125,
|
277 |
+
0.01963827133178711,
|
278 |
+
0.019598335266113282,
|
279 |
+
0.01959219169616699,
|
280 |
+
0.019587072372436523,
|
281 |
+
0.019534847259521485,
|
282 |
+
0.01959321594238281,
|
283 |
+
0.018699296951293944,
|
284 |
+
0.01863471984863281,
|
285 |
+
0.018661376953125,
|
286 |
+
0.018647039413452148,
|
287 |
+
0.018761728286743166,
|
288 |
+
0.01868083190917969,
|
289 |
+
0.018717695236206054,
|
290 |
+
0.01868083190917969,
|
291 |
+
0.018735103607177735,
|
292 |
+
0.01866035270690918,
|
293 |
+
0.018704383850097657,
|
294 |
+
0.018697216033935548,
|
295 |
+
0.018678783416748047,
|
296 |
+
0.01865727996826172,
|
297 |
+
0.01864192008972168,
|
298 |
+
0.018678783416748047,
|
299 |
+
0.018722816467285155,
|
300 |
+
0.01866854476928711,
|
301 |
+
0.018740224838256835,
|
302 |
+
0.01864396858215332,
|
303 |
+
0.018711551666259766,
|
304 |
+
0.018654207229614257,
|
305 |
+
0.018774015426635742,
|
306 |
+
0.018771968841552734,
|
307 |
+
0.018771968841552734,
|
308 |
+
0.018670591354370117,
|
309 |
+
0.018675712585449217,
|
310 |
+
0.018704383850097657,
|
311 |
+
0.01865830421447754,
|
312 |
+
0.018684928894042968,
|
313 |
+
0.018669567108154296,
|
314 |
+
0.018732032775878905,
|
315 |
+
0.01868083190917969,
|
316 |
+
0.01863884735107422,
|
317 |
+
0.018709503173828124,
|
318 |
+
0.018737152099609376,
|
319 |
+
0.019730432510375977,
|
320 |
+
0.019546112060546874,
|
321 |
+
0.019553279876708983,
|
322 |
+
0.018721792221069337,
|
323 |
+
0.01868083190917969,
|
324 |
+
0.01868185615539551,
|
325 |
+
0.01866649627685547,
|
326 |
+
0.019500032424926757,
|
327 |
+
0.020032512664794923,
|
328 |
+
0.019957759857177734,
|
329 |
+
0.019693567276000978
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 51.14368043822889
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.0200676155090332,
|
7 |
+
"prefill.throughput.value": 348.8207154880475,
|
8 |
+
"decode.latency.mean": 2.4733016357421875,
|
9 |
+
"decode.throughput.value": 51.34836696207896,
|
10 |
+
"per_token.latency.mean": 0.019552757866297784,
|
11 |
+
"per_token.throughput.value": 51.14368043822889
|
12 |
+
}
|
13 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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: 6aafe5f36d73e730c988ee090233eb757b33821c
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c
|
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/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c
|
88 |
+
- hydra.run.dir=_benchmark/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c/${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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-05-31 12:36:35,735[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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: 6aafe5f36d73e730c988ee090233eb757b33821c
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c
|
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/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c
|
88 |
+
- hydra.run.dir=_benchmark/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c/${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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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": 1749.4016,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5035.912192
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.051050144195556646,
|
118 |
+
"mean": 0.025525072097778323,
|
119 |
+
"stdev": 0.0035093917846679683,
|
120 |
+
"p50": 0.025525072097778323,
|
121 |
+
"p90": 0.028332585525512696,
|
122 |
+
"p95": 0.02868352470397949,
|
123 |
+
"p99": 0.02896427604675293,
|
124 |
+
"values": [
|
125 |
+
0.02903446388244629,
|
126 |
+
0.022015680313110353
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 274.2401656373489
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1749.42208,
|
140 |
+
"max_global_vram": 6793.199616,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6146.752512,
|
143 |
+
"max_allocated": 5035.912704
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 5.172984619140625,
|
149 |
+
"mean": 2.5864923095703123,
|
150 |
+
"stdev": 0.022647338867187505,
|
151 |
+
"p50": 2.5864923095703123,
|
152 |
+
"p90": 2.6046101806640625,
|
153 |
+
"p95": 2.6068749145507812,
|
154 |
+
"p99": 2.6086867016601563,
|
155 |
+
"values": [
|
156 |
+
2.6091396484375,
|
157 |
+
2.563844970703125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 49.101247867656795
|
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.173722124099733,
|
173 |
+
"mean": 0.020449494561659017,
|
174 |
+
"stdev": 0.0014781158429572163,
|
175 |
+
"p50": 0.02040934371948242,
|
176 |
+
"p90": 0.02116689987182617,
|
177 |
+
"p95": 0.021341594314575194,
|
178 |
+
"p99": 0.02182475807189941,
|
179 |
+
"values": [
|
180 |
+
0.02229862403869629,
|
181 |
+
0.02142617607116699,
|
182 |
+
0.021303295135498047,
|
183 |
+
0.021361663818359376,
|
184 |
+
0.020488191604614257,
|
185 |
+
0.020607999801635742,
|
186 |
+
0.02040115165710449,
|
187 |
+
0.02028646469116211,
|
188 |
+
0.020377599716186523,
|
189 |
+
0.020824064254760744,
|
190 |
+
0.020814847946166993,
|
191 |
+
0.020313087463378905,
|
192 |
+
0.020642816543579103,
|
193 |
+
0.020762624740600585,
|
194 |
+
0.021167104721069335,
|
195 |
+
0.02124083137512207,
|
196 |
+
0.021166080474853514,
|
197 |
+
0.021003263473510742,
|
198 |
+
0.022004735946655272,
|
199 |
+
0.02090598487854004,
|
200 |
+
0.020332544326782227,
|
201 |
+
0.021255168914794922,
|
202 |
+
0.021303295135498047,
|
203 |
+
0.0214466552734375,
|
204 |
+
0.021179391860961915,
|
205 |
+
0.021342208862304687,
|
206 |
+
0.02147327995300293,
|
207 |
+
0.02146303939819336,
|
208 |
+
0.02123980712890625,
|
209 |
+
0.021325824737548828,
|
210 |
+
0.020969472885131835,
|
211 |
+
0.021145599365234375,
|
212 |
+
0.021242879867553712,
|
213 |
+
0.021341184616088867,
|
214 |
+
0.020959232330322267,
|
215 |
+
0.021029888153076173,
|
216 |
+
0.020599807739257812,
|
217 |
+
0.02165862464904785,
|
218 |
+
0.02148454475402832,
|
219 |
+
0.020254720687866212,
|
220 |
+
0.020257791519165038,
|
221 |
+
0.020135936737060548,
|
222 |
+
0.02086092758178711,
|
223 |
+
0.02126950454711914,
|
224 |
+
0.02092748832702637,
|
225 |
+
0.020769792556762694,
|
226 |
+
0.02041753578186035,
|
227 |
+
0.020555776596069338,
|
228 |
+
0.020164608001708984,
|
229 |
+
0.02040934371948242,
|
230 |
+
0.020166656494140626,
|
231 |
+
0.019740671157836915,
|
232 |
+
0.02042265510559082,
|
233 |
+
0.020387840270996094,
|
234 |
+
0.020404224395751954,
|
235 |
+
0.020418560028076172,
|
236 |
+
0.02039193534851074,
|
237 |
+
0.020445184707641603,
|
238 |
+
0.02040934371948242,
|
239 |
+
0.019787776947021486,
|
240 |
+
0.019752960205078125,
|
241 |
+
0.01978982353210449,
|
242 |
+
0.020420608520507814,
|
243 |
+
0.020179967880249023,
|
244 |
+
0.01976531219482422,
|
245 |
+
0.01979897689819336,
|
246 |
+
0.020574207305908202,
|
247 |
+
0.020254720687866212,
|
248 |
+
0.020349952697753908,
|
249 |
+
0.019569664001464843,
|
250 |
+
0.019599359512329103,
|
251 |
+
0.019748863220214845,
|
252 |
+
0.020328447341918944,
|
253 |
+
0.020328447341918944,
|
254 |
+
0.02039193534851074,
|
255 |
+
0.020554752349853517,
|
256 |
+
0.020508672714233397,
|
257 |
+
0.020579328536987306,
|
258 |
+
0.02044313621520996,
|
259 |
+
0.02047488021850586,
|
260 |
+
0.020418624877929687,
|
261 |
+
0.02016966438293457,
|
262 |
+
0.02048409652709961,
|
263 |
+
0.019810304641723633,
|
264 |
+
0.019753984451293945,
|
265 |
+
0.01972428894042969,
|
266 |
+
0.019741695404052736,
|
267 |
+
0.02069606399536133,
|
268 |
+
0.019715072631835938,
|
269 |
+
0.019731456756591798,
|
270 |
+
0.019747840881347657,
|
271 |
+
0.02020249557495117,
|
272 |
+
0.020445184707641603,
|
273 |
+
0.02025164794921875,
|
274 |
+
0.02047385597229004,
|
275 |
+
0.019783679962158202,
|
276 |
+
0.01978982353210449,
|
277 |
+
0.020455423355102538,
|
278 |
+
0.020477951049804686,
|
279 |
+
0.02048409652709961,
|
280 |
+
0.020511743545532226,
|
281 |
+
0.020547584533691408,
|
282 |
+
0.020551679611206054,
|
283 |
+
0.020676607131958007,
|
284 |
+
0.020512767791748047,
|
285 |
+
0.020396032333374024,
|
286 |
+
0.020354047775268554,
|
287 |
+
0.020578304290771485,
|
288 |
+
0.020503551483154296,
|
289 |
+
0.020535295486450195,
|
290 |
+
0.020494335174560546,
|
291 |
+
0.02036735916137695,
|
292 |
+
0.020534271240234374,
|
293 |
+
0.020242431640625,
|
294 |
+
0.020632575988769532,
|
295 |
+
0.020533248901367186,
|
296 |
+
0.02124291229248047,
|
297 |
+
0.020615135192871094,
|
298 |
+
0.019770368576049805,
|
299 |
+
0.019787776947021486,
|
300 |
+
0.019752960205078125,
|
301 |
+
0.0208035831451416,
|
302 |
+
0.020955135345458984,
|
303 |
+
0.02025164794921875,
|
304 |
+
0.019769344329833984,
|
305 |
+
0.020360191345214843,
|
306 |
+
0.04239769744873047,
|
307 |
+
0.019763200759887696,
|
308 |
+
0.019751935958862304,
|
309 |
+
0.019761152267456054,
|
310 |
+
0.020091903686523437,
|
311 |
+
0.02023526382446289,
|
312 |
+
0.020157440185546875,
|
313 |
+
0.020518911361694335,
|
314 |
+
0.020876287460327148,
|
315 |
+
0.020582399368286132,
|
316 |
+
0.02046156883239746,
|
317 |
+
0.020553728103637696,
|
318 |
+
0.020579328536987306,
|
319 |
+
0.020600831985473633,
|
320 |
+
0.020575231552124023,
|
321 |
+
0.020632575988769532,
|
322 |
+
0.01978982353210449,
|
323 |
+
0.019781631469726564,
|
324 |
+
0.020039680480957032,
|
325 |
+
0.020616191864013672,
|
326 |
+
0.020559871673583984,
|
327 |
+
0.020632575988769532,
|
328 |
+
0.02053222465515137,
|
329 |
+
0.02062233543395996,
|
330 |
+
0.020525056838989256,
|
331 |
+
0.019775487899780272,
|
332 |
+
0.019809280395507813,
|
333 |
+
0.019772415161132813,
|
334 |
+
0.019768320083618163,
|
335 |
+
0.020290559768676757,
|
336 |
+
0.020548608779907225,
|
337 |
+
0.02062441635131836,
|
338 |
+
0.019742687225341796,
|
339 |
+
0.019854335784912108,
|
340 |
+
0.02020966339111328,
|
341 |
+
0.019612672805786133,
|
342 |
+
0.019703807830810546,
|
343 |
+
0.020566015243530272,
|
344 |
+
0.021005311965942384,
|
345 |
+
0.02064588737487793,
|
346 |
+
0.02039193534851074,
|
347 |
+
0.02049945640563965,
|
348 |
+
0.02045132827758789,
|
349 |
+
0.020539392471313478,
|
350 |
+
0.020723712921142577,
|
351 |
+
0.020280319213867186,
|
352 |
+
0.02048409652709961,
|
353 |
+
0.020551679611206054,
|
354 |
+
0.020526079177856444,
|
355 |
+
0.02056809616088867,
|
356 |
+
0.02046460723876953,
|
357 |
+
0.020559871673583984,
|
358 |
+
0.020140031814575195,
|
359 |
+
0.021001216888427734,
|
360 |
+
0.021124095916748048,
|
361 |
+
0.02068889617919922,
|
362 |
+
0.021514240264892577,
|
363 |
+
0.01985843276977539,
|
364 |
+
0.020135936737060548,
|
365 |
+
0.01979084777832031,
|
366 |
+
0.019763200759887696,
|
367 |
+
0.019746816635131836,
|
368 |
+
0.019709951400756837,
|
369 |
+
0.020139007568359374,
|
370 |
+
0.020762624740600585,
|
371 |
+
0.020512767791748047,
|
372 |
+
0.019733503341674806,
|
373 |
+
0.019755008697509766,
|
374 |
+
0.020165632247924805,
|
375 |
+
0.020040704727172853,
|
376 |
+
0.020510719299316405,
|
377 |
+
0.02003046417236328,
|
378 |
+
0.020602880477905275,
|
379 |
+
0.02065715217590332,
|
380 |
+
0.020539392471313478,
|
381 |
+
0.02103398323059082,
|
382 |
+
0.020580352783203124,
|
383 |
+
0.01979804801940918,
|
384 |
+
0.019803104400634767,
|
385 |
+
0.019759103775024413,
|
386 |
+
0.019729408264160156,
|
387 |
+
0.019775487899780272,
|
388 |
+
0.0198287353515625,
|
389 |
+
0.01985024070739746,
|
390 |
+
0.01980620765686035,
|
391 |
+
0.0198154239654541,
|
392 |
+
0.019800064086914062,
|
393 |
+
0.019760128021240234,
|
394 |
+
0.021198848724365234,
|
395 |
+
0.02050764846801758,
|
396 |
+
0.021567487716674806,
|
397 |
+
0.02061516761779785,
|
398 |
+
0.020488191604614257,
|
399 |
+
0.02049843215942383,
|
400 |
+
0.0204400634765625,
|
401 |
+
0.0204902400970459,
|
402 |
+
0.019834880828857423,
|
403 |
+
0.020620288848876952,
|
404 |
+
0.01989017677307129,
|
405 |
+
0.019771392822265626,
|
406 |
+
0.01978265571594238,
|
407 |
+
0.019811328887939454,
|
408 |
+
0.019755008697509766,
|
409 |
+
0.020376575469970702,
|
410 |
+
0.01982259178161621,
|
411 |
+
0.019760128021240234,
|
412 |
+
0.019793920516967774,
|
413 |
+
0.019758079528808595,
|
414 |
+
0.020254720687866212,
|
415 |
+
0.019788799285888673,
|
416 |
+
0.0198287353515625,
|
417 |
+
0.01983180809020996,
|
418 |
+
0.019763200759887696,
|
419 |
+
0.019768320083618163,
|
420 |
+
0.019772415161132813,
|
421 |
+
0.019742719650268553,
|
422 |
+
0.019773439407348634,
|
423 |
+
0.019785728454589844,
|
424 |
+
0.019745792388916016,
|
425 |
+
0.019779584884643556,
|
426 |
+
0.019762176513671875,
|
427 |
+
0.019783679962158202,
|
428 |
+
0.019766271591186522,
|
429 |
+
0.019796991348266603,
|
430 |
+
0.019793920516967774,
|
431 |
+
0.019751935958862304,
|
432 |
+
0.019736576080322265
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.90096412822403
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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": 1749.4016,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5035.912192
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.051050144195556646,
|
15 |
+
"mean": 0.025525072097778323,
|
16 |
+
"stdev": 0.0035093917846679683,
|
17 |
+
"p50": 0.025525072097778323,
|
18 |
+
"p90": 0.028332585525512696,
|
19 |
+
"p95": 0.02868352470397949,
|
20 |
+
"p99": 0.02896427604675293,
|
21 |
+
"values": [
|
22 |
+
0.02903446388244629,
|
23 |
+
0.022015680313110353
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 274.2401656373489
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1749.42208,
|
37 |
+
"max_global_vram": 6793.199616,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6146.752512,
|
40 |
+
"max_allocated": 5035.912704
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 5.172984619140625,
|
46 |
+
"mean": 2.5864923095703123,
|
47 |
+
"stdev": 0.022647338867187505,
|
48 |
+
"p50": 2.5864923095703123,
|
49 |
+
"p90": 2.6046101806640625,
|
50 |
+
"p95": 2.6068749145507812,
|
51 |
+
"p99": 2.6086867016601563,
|
52 |
+
"values": [
|
53 |
+
2.6091396484375,
|
54 |
+
2.563844970703125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 49.101247867656795
|
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.173722124099733,
|
70 |
+
"mean": 0.020449494561659017,
|
71 |
+
"stdev": 0.0014781158429572163,
|
72 |
+
"p50": 0.02040934371948242,
|
73 |
+
"p90": 0.02116689987182617,
|
74 |
+
"p95": 0.021341594314575194,
|
75 |
+
"p99": 0.02182475807189941,
|
76 |
+
"values": [
|
77 |
+
0.02229862403869629,
|
78 |
+
0.02142617607116699,
|
79 |
+
0.021303295135498047,
|
80 |
+
0.021361663818359376,
|
81 |
+
0.020488191604614257,
|
82 |
+
0.020607999801635742,
|
83 |
+
0.02040115165710449,
|
84 |
+
0.02028646469116211,
|
85 |
+
0.020377599716186523,
|
86 |
+
0.020824064254760744,
|
87 |
+
0.020814847946166993,
|
88 |
+
0.020313087463378905,
|
89 |
+
0.020642816543579103,
|
90 |
+
0.020762624740600585,
|
91 |
+
0.021167104721069335,
|
92 |
+
0.02124083137512207,
|
93 |
+
0.021166080474853514,
|
94 |
+
0.021003263473510742,
|
95 |
+
0.022004735946655272,
|
96 |
+
0.02090598487854004,
|
97 |
+
0.020332544326782227,
|
98 |
+
0.021255168914794922,
|
99 |
+
0.021303295135498047,
|
100 |
+
0.0214466552734375,
|
101 |
+
0.021179391860961915,
|
102 |
+
0.021342208862304687,
|
103 |
+
0.02147327995300293,
|
104 |
+
0.02146303939819336,
|
105 |
+
0.02123980712890625,
|
106 |
+
0.021325824737548828,
|
107 |
+
0.020969472885131835,
|
108 |
+
0.021145599365234375,
|
109 |
+
0.021242879867553712,
|
110 |
+
0.021341184616088867,
|
111 |
+
0.020959232330322267,
|
112 |
+
0.021029888153076173,
|
113 |
+
0.020599807739257812,
|
114 |
+
0.02165862464904785,
|
115 |
+
0.02148454475402832,
|
116 |
+
0.020254720687866212,
|
117 |
+
0.020257791519165038,
|
118 |
+
0.020135936737060548,
|
119 |
+
0.02086092758178711,
|
120 |
+
0.02126950454711914,
|
121 |
+
0.02092748832702637,
|
122 |
+
0.020769792556762694,
|
123 |
+
0.02041753578186035,
|
124 |
+
0.020555776596069338,
|
125 |
+
0.020164608001708984,
|
126 |
+
0.02040934371948242,
|
127 |
+
0.020166656494140626,
|
128 |
+
0.019740671157836915,
|
129 |
+
0.02042265510559082,
|
130 |
+
0.020387840270996094,
|
131 |
+
0.020404224395751954,
|
132 |
+
0.020418560028076172,
|
133 |
+
0.02039193534851074,
|
134 |
+
0.020445184707641603,
|
135 |
+
0.02040934371948242,
|
136 |
+
0.019787776947021486,
|
137 |
+
0.019752960205078125,
|
138 |
+
0.01978982353210449,
|
139 |
+
0.020420608520507814,
|
140 |
+
0.020179967880249023,
|
141 |
+
0.01976531219482422,
|
142 |
+
0.01979897689819336,
|
143 |
+
0.020574207305908202,
|
144 |
+
0.020254720687866212,
|
145 |
+
0.020349952697753908,
|
146 |
+
0.019569664001464843,
|
147 |
+
0.019599359512329103,
|
148 |
+
0.019748863220214845,
|
149 |
+
0.020328447341918944,
|
150 |
+
0.020328447341918944,
|
151 |
+
0.02039193534851074,
|
152 |
+
0.020554752349853517,
|
153 |
+
0.020508672714233397,
|
154 |
+
0.020579328536987306,
|
155 |
+
0.02044313621520996,
|
156 |
+
0.02047488021850586,
|
157 |
+
0.020418624877929687,
|
158 |
+
0.02016966438293457,
|
159 |
+
0.02048409652709961,
|
160 |
+
0.019810304641723633,
|
161 |
+
0.019753984451293945,
|
162 |
+
0.01972428894042969,
|
163 |
+
0.019741695404052736,
|
164 |
+
0.02069606399536133,
|
165 |
+
0.019715072631835938,
|
166 |
+
0.019731456756591798,
|
167 |
+
0.019747840881347657,
|
168 |
+
0.02020249557495117,
|
169 |
+
0.020445184707641603,
|
170 |
+
0.02025164794921875,
|
171 |
+
0.02047385597229004,
|
172 |
+
0.019783679962158202,
|
173 |
+
0.01978982353210449,
|
174 |
+
0.020455423355102538,
|
175 |
+
0.020477951049804686,
|
176 |
+
0.02048409652709961,
|
177 |
+
0.020511743545532226,
|
178 |
+
0.020547584533691408,
|
179 |
+
0.020551679611206054,
|
180 |
+
0.020676607131958007,
|
181 |
+
0.020512767791748047,
|
182 |
+
0.020396032333374024,
|
183 |
+
0.020354047775268554,
|
184 |
+
0.020578304290771485,
|
185 |
+
0.020503551483154296,
|
186 |
+
0.020535295486450195,
|
187 |
+
0.020494335174560546,
|
188 |
+
0.02036735916137695,
|
189 |
+
0.020534271240234374,
|
190 |
+
0.020242431640625,
|
191 |
+
0.020632575988769532,
|
192 |
+
0.020533248901367186,
|
193 |
+
0.02124291229248047,
|
194 |
+
0.020615135192871094,
|
195 |
+
0.019770368576049805,
|
196 |
+
0.019787776947021486,
|
197 |
+
0.019752960205078125,
|
198 |
+
0.0208035831451416,
|
199 |
+
0.020955135345458984,
|
200 |
+
0.02025164794921875,
|
201 |
+
0.019769344329833984,
|
202 |
+
0.020360191345214843,
|
203 |
+
0.04239769744873047,
|
204 |
+
0.019763200759887696,
|
205 |
+
0.019751935958862304,
|
206 |
+
0.019761152267456054,
|
207 |
+
0.020091903686523437,
|
208 |
+
0.02023526382446289,
|
209 |
+
0.020157440185546875,
|
210 |
+
0.020518911361694335,
|
211 |
+
0.020876287460327148,
|
212 |
+
0.020582399368286132,
|
213 |
+
0.02046156883239746,
|
214 |
+
0.020553728103637696,
|
215 |
+
0.020579328536987306,
|
216 |
+
0.020600831985473633,
|
217 |
+
0.020575231552124023,
|
218 |
+
0.020632575988769532,
|
219 |
+
0.01978982353210449,
|
220 |
+
0.019781631469726564,
|
221 |
+
0.020039680480957032,
|
222 |
+
0.020616191864013672,
|
223 |
+
0.020559871673583984,
|
224 |
+
0.020632575988769532,
|
225 |
+
0.02053222465515137,
|
226 |
+
0.02062233543395996,
|
227 |
+
0.020525056838989256,
|
228 |
+
0.019775487899780272,
|
229 |
+
0.019809280395507813,
|
230 |
+
0.019772415161132813,
|
231 |
+
0.019768320083618163,
|
232 |
+
0.020290559768676757,
|
233 |
+
0.020548608779907225,
|
234 |
+
0.02062441635131836,
|
235 |
+
0.019742687225341796,
|
236 |
+
0.019854335784912108,
|
237 |
+
0.02020966339111328,
|
238 |
+
0.019612672805786133,
|
239 |
+
0.019703807830810546,
|
240 |
+
0.020566015243530272,
|
241 |
+
0.021005311965942384,
|
242 |
+
0.02064588737487793,
|
243 |
+
0.02039193534851074,
|
244 |
+
0.02049945640563965,
|
245 |
+
0.02045132827758789,
|
246 |
+
0.020539392471313478,
|
247 |
+
0.020723712921142577,
|
248 |
+
0.020280319213867186,
|
249 |
+
0.02048409652709961,
|
250 |
+
0.020551679611206054,
|
251 |
+
0.020526079177856444,
|
252 |
+
0.02056809616088867,
|
253 |
+
0.02046460723876953,
|
254 |
+
0.020559871673583984,
|
255 |
+
0.020140031814575195,
|
256 |
+
0.021001216888427734,
|
257 |
+
0.021124095916748048,
|
258 |
+
0.02068889617919922,
|
259 |
+
0.021514240264892577,
|
260 |
+
0.01985843276977539,
|
261 |
+
0.020135936737060548,
|
262 |
+
0.01979084777832031,
|
263 |
+
0.019763200759887696,
|
264 |
+
0.019746816635131836,
|
265 |
+
0.019709951400756837,
|
266 |
+
0.020139007568359374,
|
267 |
+
0.020762624740600585,
|
268 |
+
0.020512767791748047,
|
269 |
+
0.019733503341674806,
|
270 |
+
0.019755008697509766,
|
271 |
+
0.020165632247924805,
|
272 |
+
0.020040704727172853,
|
273 |
+
0.020510719299316405,
|
274 |
+
0.02003046417236328,
|
275 |
+
0.020602880477905275,
|
276 |
+
0.02065715217590332,
|
277 |
+
0.020539392471313478,
|
278 |
+
0.02103398323059082,
|
279 |
+
0.020580352783203124,
|
280 |
+
0.01979804801940918,
|
281 |
+
0.019803104400634767,
|
282 |
+
0.019759103775024413,
|
283 |
+
0.019729408264160156,
|
284 |
+
0.019775487899780272,
|
285 |
+
0.0198287353515625,
|
286 |
+
0.01985024070739746,
|
287 |
+
0.01980620765686035,
|
288 |
+
0.0198154239654541,
|
289 |
+
0.019800064086914062,
|
290 |
+
0.019760128021240234,
|
291 |
+
0.021198848724365234,
|
292 |
+
0.02050764846801758,
|
293 |
+
0.021567487716674806,
|
294 |
+
0.02061516761779785,
|
295 |
+
0.020488191604614257,
|
296 |
+
0.02049843215942383,
|
297 |
+
0.0204400634765625,
|
298 |
+
0.0204902400970459,
|
299 |
+
0.019834880828857423,
|
300 |
+
0.020620288848876952,
|
301 |
+
0.01989017677307129,
|
302 |
+
0.019771392822265626,
|
303 |
+
0.01978265571594238,
|
304 |
+
0.019811328887939454,
|
305 |
+
0.019755008697509766,
|
306 |
+
0.020376575469970702,
|
307 |
+
0.01982259178161621,
|
308 |
+
0.019760128021240234,
|
309 |
+
0.019793920516967774,
|
310 |
+
0.019758079528808595,
|
311 |
+
0.020254720687866212,
|
312 |
+
0.019788799285888673,
|
313 |
+
0.0198287353515625,
|
314 |
+
0.01983180809020996,
|
315 |
+
0.019763200759887696,
|
316 |
+
0.019768320083618163,
|
317 |
+
0.019772415161132813,
|
318 |
+
0.019742719650268553,
|
319 |
+
0.019773439407348634,
|
320 |
+
0.019785728454589844,
|
321 |
+
0.019745792388916016,
|
322 |
+
0.019779584884643556,
|
323 |
+
0.019762176513671875,
|
324 |
+
0.019783679962158202,
|
325 |
+
0.019766271591186522,
|
326 |
+
0.019796991348266603,
|
327 |
+
0.019793920516967774,
|
328 |
+
0.019751935958862304,
|
329 |
+
0.019736576080322265
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.90096412822403
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.025525072097778323,
|
7 |
+
"prefill.throughput.value": 274.2401656373489,
|
8 |
+
"decode.latency.mean": 2.5864923095703123,
|
9 |
+
"decode.throughput.value": 49.101247867656795,
|
10 |
+
"per_token.latency.mean": 0.020449494561659017,
|
11 |
+
"per_token.throughput.value": 48.90096412822403
|
12 |
+
}
|
13 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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: 6aafe5f36d73e730c988ee090233eb757b33821c
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c
|
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/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c
|
88 |
+
- hydra.run.dir=_benchmark/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c/${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/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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": 1918.64832,
|
109 |
+
"max_global_vram": 6094.848,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 5379.19488,
|
112 |
+
"max_allocated": 5020.227584
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.027953439712524415,
|
118 |
+
"mean": 0.013976719856262207,
|
119 |
+
"stdev": 9.819221496581987e-05,
|
120 |
+
"p50": 0.013976719856262207,
|
121 |
+
"p90": 0.014055273628234864,
|
122 |
+
"p95": 0.014065092849731444,
|
123 |
+
"p99": 0.01407294822692871,
|
124 |
+
"values": [
|
125 |
+
0.014074912071228027,
|
126 |
+
0.013878527641296387
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 500.8328185717825
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2262.540288,
|
140 |
+
"max_global_vram": 8902.934528,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 5379.19488,
|
143 |
+
"max_allocated": 5026.065408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 3.1467089843749996,
|
149 |
+
"mean": 1.5733544921874998,
|
150 |
+
"stdev": 0.016088745117187497,
|
151 |
+
"p50": 1.5733544921874998,
|
152 |
+
"p90": 1.5862254882812499,
|
153 |
+
"p95": 1.5878343627929687,
|
154 |
+
"p99": 1.5891214624023438,
|
155 |
+
"values": [
|
156 |
+
1.5894432373046874,
|
157 |
+
1.5572657470703124
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.71925343628482
|
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.147746305465696,
|
173 |
+
"mean": 0.012441685001840704,
|
174 |
+
"stdev": 0.0008986064567079216,
|
175 |
+
"p50": 0.01226956844329834,
|
176 |
+
"p90": 0.012728115272521974,
|
177 |
+
"p95": 0.012737740898132325,
|
178 |
+
"p99": 0.012776775588989257,
|
179 |
+
"values": [
|
180 |
+
0.01268838405609131,
|
181 |
+
0.012731391906738282,
|
182 |
+
0.01267199993133545,
|
183 |
+
0.012747776031494141,
|
184 |
+
0.012676095962524414,
|
185 |
+
0.0127457275390625,
|
186 |
+
0.012720128059387208,
|
187 |
+
0.012735487937927246,
|
188 |
+
0.012695551872253418,
|
189 |
+
0.012727295875549317,
|
190 |
+
0.01266585636138916,
|
191 |
+
0.012709888458251953,
|
192 |
+
0.012709888458251953,
|
193 |
+
0.012691455841064453,
|
194 |
+
0.012651519775390625,
|
195 |
+
0.0127457275390625,
|
196 |
+
0.01265766429901123,
|
197 |
+
0.01273036766052246,
|
198 |
+
0.012706815719604492,
|
199 |
+
0.012729344367980957,
|
200 |
+
0.012669952392578124,
|
201 |
+
0.01274060821533203,
|
202 |
+
0.012687359809875488,
|
203 |
+
0.012781567573547363,
|
204 |
+
0.012724224090576173,
|
205 |
+
0.012728320121765137,
|
206 |
+
0.012677120208740235,
|
207 |
+
0.012706815719604492,
|
208 |
+
0.012644351959228516,
|
209 |
+
0.012729344367980957,
|
210 |
+
0.012642304420471191,
|
211 |
+
0.012697600364685058,
|
212 |
+
0.012735487937927246,
|
213 |
+
0.012793855667114258,
|
214 |
+
0.012743680000305176,
|
215 |
+
0.012759039878845215,
|
216 |
+
0.012577792167663575,
|
217 |
+
0.012739583969116211,
|
218 |
+
0.012696576118469239,
|
219 |
+
0.012742655754089355,
|
220 |
+
0.01267404842376709,
|
221 |
+
0.012758015632629394,
|
222 |
+
0.012677120208740235,
|
223 |
+
0.012711935997009278,
|
224 |
+
0.012684288024902344,
|
225 |
+
0.012735487937927246,
|
226 |
+
0.012710911750793457,
|
227 |
+
0.012712960243225097,
|
228 |
+
0.012652544021606446,
|
229 |
+
0.012736512184143066,
|
230 |
+
0.01266380786895752,
|
231 |
+
0.012706815719604492,
|
232 |
+
0.012731391906738282,
|
233 |
+
0.012735487937927246,
|
234 |
+
0.012691455841064453,
|
235 |
+
0.012772352218627929,
|
236 |
+
0.012697600364685058,
|
237 |
+
0.012717056274414062,
|
238 |
+
0.012633088111877442,
|
239 |
+
0.012710911750793457,
|
240 |
+
0.012661760330200195,
|
241 |
+
0.012728351593017578,
|
242 |
+
0.01262895965576172,
|
243 |
+
0.012733440399169921,
|
244 |
+
0.012676095962524414,
|
245 |
+
0.012643327713012695,
|
246 |
+
0.012538880348205566,
|
247 |
+
0.012611583709716797,
|
248 |
+
0.012579839706420898,
|
249 |
+
0.012309503555297852,
|
250 |
+
0.012401663780212402,
|
251 |
+
0.01257369613647461,
|
252 |
+
0.012496895790100097,
|
253 |
+
0.012699647903442383,
|
254 |
+
0.012413951873779297,
|
255 |
+
0.01242521572113037,
|
256 |
+
0.012297216415405274,
|
257 |
+
0.012436479568481444,
|
258 |
+
0.012246015548706055,
|
259 |
+
0.012312576293945313,
|
260 |
+
0.012254207611083985,
|
261 |
+
0.012270591735839843,
|
262 |
+
0.01222758388519287,
|
263 |
+
0.012267519950866699,
|
264 |
+
0.012230655670166016,
|
265 |
+
0.01226956844329834,
|
266 |
+
0.012228608131408691,
|
267 |
+
0.012332032203674317,
|
268 |
+
0.012246015548706055,
|
269 |
+
0.012288000106811523,
|
270 |
+
0.012226559638977052,
|
271 |
+
0.01226956844329834,
|
272 |
+
0.012222463607788087,
|
273 |
+
0.012267519950866699,
|
274 |
+
0.012231679916381836,
|
275 |
+
0.012289024353027344,
|
276 |
+
0.012238847732543945,
|
277 |
+
0.012281855583190919,
|
278 |
+
0.012217344284057617,
|
279 |
+
0.012253184318542481,
|
280 |
+
0.012237824440002442,
|
281 |
+
0.012266495704650878,
|
282 |
+
0.01222758388519287,
|
283 |
+
0.012264448165893555,
|
284 |
+
0.01223475170135498,
|
285 |
+
0.012278783798217773,
|
286 |
+
0.01221939182281494,
|
287 |
+
0.012257280349731446,
|
288 |
+
0.012212224006652832,
|
289 |
+
0.012264448165893555,
|
290 |
+
0.012233728408813477,
|
291 |
+
0.012283904075622559,
|
292 |
+
0.012244992256164551,
|
293 |
+
0.01226137638092041,
|
294 |
+
0.012247039794921874,
|
295 |
+
0.012282879829406738,
|
296 |
+
0.012241920471191407,
|
297 |
+
0.012265472412109376,
|
298 |
+
0.012233728408813477,
|
299 |
+
0.012297216415405274,
|
300 |
+
0.01224294376373291,
|
301 |
+
0.012278783798217773,
|
302 |
+
0.01221939182281494,
|
303 |
+
0.012266495704650878,
|
304 |
+
0.0122357759475708,
|
305 |
+
0.012274687767028808,
|
306 |
+
0.02634649658203125,
|
307 |
+
0.012360704421997071,
|
308 |
+
0.012369919776916503,
|
309 |
+
0.012481535911560059,
|
310 |
+
0.012297216415405274,
|
311 |
+
0.01225113582611084,
|
312 |
+
0.012339200019836426,
|
313 |
+
0.012286975860595703,
|
314 |
+
0.012294143676757812,
|
315 |
+
0.012237824440002442,
|
316 |
+
0.012266495704650878,
|
317 |
+
0.012223487854003906,
|
318 |
+
0.01226137638092041,
|
319 |
+
0.012327936172485352,
|
320 |
+
0.012283904075622559,
|
321 |
+
0.0122357759475708,
|
322 |
+
0.012285951614379884,
|
323 |
+
0.012228608131408691,
|
324 |
+
0.012267519950866699,
|
325 |
+
0.012232704162597656,
|
326 |
+
0.012283904075622559,
|
327 |
+
0.012249088287353516,
|
328 |
+
0.01229312038421631,
|
329 |
+
0.012216320037841797,
|
330 |
+
0.012255231857299804,
|
331 |
+
0.012229632377624512,
|
332 |
+
0.012270591735839843,
|
333 |
+
0.012237824440002442,
|
334 |
+
0.012264448165893555,
|
335 |
+
0.012213248252868653,
|
336 |
+
0.012264448165893555,
|
337 |
+
0.012223487854003906,
|
338 |
+
0.012266495704650878,
|
339 |
+
0.012236800193786621,
|
340 |
+
0.012263423919677734,
|
341 |
+
0.01223475170135498,
|
342 |
+
0.012267519950866699,
|
343 |
+
0.012247039794921874,
|
344 |
+
0.012355584144592285,
|
345 |
+
0.012226559638977052,
|
346 |
+
0.012272640228271485,
|
347 |
+
0.01225011157989502,
|
348 |
+
0.012264448165893555,
|
349 |
+
0.012236800193786621,
|
350 |
+
0.012257280349731446,
|
351 |
+
0.012218367576599122,
|
352 |
+
0.012254207611083985,
|
353 |
+
0.012221440315246582,
|
354 |
+
0.01226035213470459,
|
355 |
+
0.012239871978759765,
|
356 |
+
0.012257280349731446,
|
357 |
+
0.012239871978759765,
|
358 |
+
0.012282879829406738,
|
359 |
+
0.012236800193786621,
|
360 |
+
0.01226956844329834,
|
361 |
+
0.012225536346435547,
|
362 |
+
0.01225830364227295,
|
363 |
+
0.012238847732543945,
|
364 |
+
0.012264448165893555,
|
365 |
+
0.01223475170135498,
|
366 |
+
0.012270591735839843,
|
367 |
+
0.012222463607788087,
|
368 |
+
0.01229312038421631,
|
369 |
+
0.012232704162597656,
|
370 |
+
0.012255231857299804,
|
371 |
+
0.012220416069030762,
|
372 |
+
0.012274687767028808,
|
373 |
+
0.012237824440002442,
|
374 |
+
0.012290047645568849,
|
375 |
+
0.01225011157989502,
|
376 |
+
0.012254207611083985,
|
377 |
+
0.012257280349731446,
|
378 |
+
0.01227673625946045,
|
379 |
+
0.012217344284057617,
|
380 |
+
0.012305407524108887,
|
381 |
+
0.012221440315246582,
|
382 |
+
0.012281855583190919,
|
383 |
+
0.012220416069030762,
|
384 |
+
0.012255231857299804,
|
385 |
+
0.012224512100219726,
|
386 |
+
0.012267519950866699,
|
387 |
+
0.012221440315246582,
|
388 |
+
0.012280832290649414,
|
389 |
+
0.012229632377624512,
|
390 |
+
0.012326911926269531,
|
391 |
+
0.01224396800994873,
|
392 |
+
0.01226035213470459,
|
393 |
+
0.012213248252868653,
|
394 |
+
0.012253184318542481,
|
395 |
+
0.012223487854003906,
|
396 |
+
0.012270591735839843,
|
397 |
+
0.012223487854003906,
|
398 |
+
0.012259327888488769,
|
399 |
+
0.012241920471191407,
|
400 |
+
0.012259327888488769,
|
401 |
+
0.012229632377624512,
|
402 |
+
0.012259327888488769,
|
403 |
+
0.012241920471191407,
|
404 |
+
0.012279808044433594,
|
405 |
+
0.01246617603302002,
|
406 |
+
0.01244057559967041,
|
407 |
+
0.01225830364227295,
|
408 |
+
0.012272640228271485,
|
409 |
+
0.012223487854003906,
|
410 |
+
0.012259327888488769,
|
411 |
+
0.012225536346435547,
|
412 |
+
0.012266495704650878,
|
413 |
+
0.012229632377624512,
|
414 |
+
0.012254207611083985,
|
415 |
+
0.012230655670166016,
|
416 |
+
0.01226956844329834,
|
417 |
+
0.012209152221679688,
|
418 |
+
0.01226137638092041,
|
419 |
+
0.012226559638977052,
|
420 |
+
0.012254207611083985,
|
421 |
+
0.012264448165893555,
|
422 |
+
0.012278783798217773,
|
423 |
+
0.012224512100219726,
|
424 |
+
0.01226137638092041,
|
425 |
+
0.012214271545410157,
|
426 |
+
0.012262399673461915,
|
427 |
+
0.012222463607788087,
|
428 |
+
0.012266495704650878,
|
429 |
+
0.012240896224975586,
|
430 |
+
0.012273664474487305,
|
431 |
+
0.012231679916381836,
|
432 |
+
0.012275712013244629
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.37496527617067
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
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-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1918.64832,
|
6 |
+
"max_global_vram": 6094.848,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 5379.19488,
|
9 |
+
"max_allocated": 5020.227584
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.027953439712524415,
|
15 |
+
"mean": 0.013976719856262207,
|
16 |
+
"stdev": 9.819221496581987e-05,
|
17 |
+
"p50": 0.013976719856262207,
|
18 |
+
"p90": 0.014055273628234864,
|
19 |
+
"p95": 0.014065092849731444,
|
20 |
+
"p99": 0.01407294822692871,
|
21 |
+
"values": [
|
22 |
+
0.014074912071228027,
|
23 |
+
0.013878527641296387
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 500.8328185717825
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2262.540288,
|
37 |
+
"max_global_vram": 8902.934528,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 5379.19488,
|
40 |
+
"max_allocated": 5026.065408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 3.1467089843749996,
|
46 |
+
"mean": 1.5733544921874998,
|
47 |
+
"stdev": 0.016088745117187497,
|
48 |
+
"p50": 1.5733544921874998,
|
49 |
+
"p90": 1.5862254882812499,
|
50 |
+
"p95": 1.5878343627929687,
|
51 |
+
"p99": 1.5891214624023438,
|
52 |
+
"values": [
|
53 |
+
1.5894432373046874,
|
54 |
+
1.5572657470703124
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.71925343628482
|
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.147746305465696,
|
70 |
+
"mean": 0.012441685001840704,
|
71 |
+
"stdev": 0.0008986064567079216,
|
72 |
+
"p50": 0.01226956844329834,
|
73 |
+
"p90": 0.012728115272521974,
|
74 |
+
"p95": 0.012737740898132325,
|
75 |
+
"p99": 0.012776775588989257,
|
76 |
+
"values": [
|
77 |
+
0.01268838405609131,
|
78 |
+
0.012731391906738282,
|
79 |
+
0.01267199993133545,
|
80 |
+
0.012747776031494141,
|
81 |
+
0.012676095962524414,
|
82 |
+
0.0127457275390625,
|
83 |
+
0.012720128059387208,
|
84 |
+
0.012735487937927246,
|
85 |
+
0.012695551872253418,
|
86 |
+
0.012727295875549317,
|
87 |
+
0.01266585636138916,
|
88 |
+
0.012709888458251953,
|
89 |
+
0.012709888458251953,
|
90 |
+
0.012691455841064453,
|
91 |
+
0.012651519775390625,
|
92 |
+
0.0127457275390625,
|
93 |
+
0.01265766429901123,
|
94 |
+
0.01273036766052246,
|
95 |
+
0.012706815719604492,
|
96 |
+
0.012729344367980957,
|
97 |
+
0.012669952392578124,
|
98 |
+
0.01274060821533203,
|
99 |
+
0.012687359809875488,
|
100 |
+
0.012781567573547363,
|
101 |
+
0.012724224090576173,
|
102 |
+
0.012728320121765137,
|
103 |
+
0.012677120208740235,
|
104 |
+
0.012706815719604492,
|
105 |
+
0.012644351959228516,
|
106 |
+
0.012729344367980957,
|
107 |
+
0.012642304420471191,
|
108 |
+
0.012697600364685058,
|
109 |
+
0.012735487937927246,
|
110 |
+
0.012793855667114258,
|
111 |
+
0.012743680000305176,
|
112 |
+
0.012759039878845215,
|
113 |
+
0.012577792167663575,
|
114 |
+
0.012739583969116211,
|
115 |
+
0.012696576118469239,
|
116 |
+
0.012742655754089355,
|
117 |
+
0.01267404842376709,
|
118 |
+
0.012758015632629394,
|
119 |
+
0.012677120208740235,
|
120 |
+
0.012711935997009278,
|
121 |
+
0.012684288024902344,
|
122 |
+
0.012735487937927246,
|
123 |
+
0.012710911750793457,
|
124 |
+
0.012712960243225097,
|
125 |
+
0.012652544021606446,
|
126 |
+
0.012736512184143066,
|
127 |
+
0.01266380786895752,
|
128 |
+
0.012706815719604492,
|
129 |
+
0.012731391906738282,
|
130 |
+
0.012735487937927246,
|
131 |
+
0.012691455841064453,
|
132 |
+
0.012772352218627929,
|
133 |
+
0.012697600364685058,
|
134 |
+
0.012717056274414062,
|
135 |
+
0.012633088111877442,
|
136 |
+
0.012710911750793457,
|
137 |
+
0.012661760330200195,
|
138 |
+
0.012728351593017578,
|
139 |
+
0.01262895965576172,
|
140 |
+
0.012733440399169921,
|
141 |
+
0.012676095962524414,
|
142 |
+
0.012643327713012695,
|
143 |
+
0.012538880348205566,
|
144 |
+
0.012611583709716797,
|
145 |
+
0.012579839706420898,
|
146 |
+
0.012309503555297852,
|
147 |
+
0.012401663780212402,
|
148 |
+
0.01257369613647461,
|
149 |
+
0.012496895790100097,
|
150 |
+
0.012699647903442383,
|
151 |
+
0.012413951873779297,
|
152 |
+
0.01242521572113037,
|
153 |
+
0.012297216415405274,
|
154 |
+
0.012436479568481444,
|
155 |
+
0.012246015548706055,
|
156 |
+
0.012312576293945313,
|
157 |
+
0.012254207611083985,
|
158 |
+
0.012270591735839843,
|
159 |
+
0.01222758388519287,
|
160 |
+
0.012267519950866699,
|
161 |
+
0.012230655670166016,
|
162 |
+
0.01226956844329834,
|
163 |
+
0.012228608131408691,
|
164 |
+
0.012332032203674317,
|
165 |
+
0.012246015548706055,
|
166 |
+
0.012288000106811523,
|
167 |
+
0.012226559638977052,
|
168 |
+
0.01226956844329834,
|
169 |
+
0.012222463607788087,
|
170 |
+
0.012267519950866699,
|
171 |
+
0.012231679916381836,
|
172 |
+
0.012289024353027344,
|
173 |
+
0.012238847732543945,
|
174 |
+
0.012281855583190919,
|
175 |
+
0.012217344284057617,
|
176 |
+
0.012253184318542481,
|
177 |
+
0.012237824440002442,
|
178 |
+
0.012266495704650878,
|
179 |
+
0.01222758388519287,
|
180 |
+
0.012264448165893555,
|
181 |
+
0.01223475170135498,
|
182 |
+
0.012278783798217773,
|
183 |
+
0.01221939182281494,
|
184 |
+
0.012257280349731446,
|
185 |
+
0.012212224006652832,
|
186 |
+
0.012264448165893555,
|
187 |
+
0.012233728408813477,
|
188 |
+
0.012283904075622559,
|
189 |
+
0.012244992256164551,
|
190 |
+
0.01226137638092041,
|
191 |
+
0.012247039794921874,
|
192 |
+
0.012282879829406738,
|
193 |
+
0.012241920471191407,
|
194 |
+
0.012265472412109376,
|
195 |
+
0.012233728408813477,
|
196 |
+
0.012297216415405274,
|
197 |
+
0.01224294376373291,
|
198 |
+
0.012278783798217773,
|
199 |
+
0.01221939182281494,
|
200 |
+
0.012266495704650878,
|
201 |
+
0.0122357759475708,
|
202 |
+
0.012274687767028808,
|
203 |
+
0.02634649658203125,
|
204 |
+
0.012360704421997071,
|
205 |
+
0.012369919776916503,
|
206 |
+
0.012481535911560059,
|
207 |
+
0.012297216415405274,
|
208 |
+
0.01225113582611084,
|
209 |
+
0.012339200019836426,
|
210 |
+
0.012286975860595703,
|
211 |
+
0.012294143676757812,
|
212 |
+
0.012237824440002442,
|
213 |
+
0.012266495704650878,
|
214 |
+
0.012223487854003906,
|
215 |
+
0.01226137638092041,
|
216 |
+
0.012327936172485352,
|
217 |
+
0.012283904075622559,
|
218 |
+
0.0122357759475708,
|
219 |
+
0.012285951614379884,
|
220 |
+
0.012228608131408691,
|
221 |
+
0.012267519950866699,
|
222 |
+
0.012232704162597656,
|
223 |
+
0.012283904075622559,
|
224 |
+
0.012249088287353516,
|
225 |
+
0.01229312038421631,
|
226 |
+
0.012216320037841797,
|
227 |
+
0.012255231857299804,
|
228 |
+
0.012229632377624512,
|
229 |
+
0.012270591735839843,
|
230 |
+
0.012237824440002442,
|
231 |
+
0.012264448165893555,
|
232 |
+
0.012213248252868653,
|
233 |
+
0.012264448165893555,
|
234 |
+
0.012223487854003906,
|
235 |
+
0.012266495704650878,
|
236 |
+
0.012236800193786621,
|
237 |
+
0.012263423919677734,
|
238 |
+
0.01223475170135498,
|
239 |
+
0.012267519950866699,
|
240 |
+
0.012247039794921874,
|
241 |
+
0.012355584144592285,
|
242 |
+
0.012226559638977052,
|
243 |
+
0.012272640228271485,
|
244 |
+
0.01225011157989502,
|
245 |
+
0.012264448165893555,
|
246 |
+
0.012236800193786621,
|
247 |
+
0.012257280349731446,
|
248 |
+
0.012218367576599122,
|
249 |
+
0.012254207611083985,
|
250 |
+
0.012221440315246582,
|
251 |
+
0.01226035213470459,
|
252 |
+
0.012239871978759765,
|
253 |
+
0.012257280349731446,
|
254 |
+
0.012239871978759765,
|
255 |
+
0.012282879829406738,
|
256 |
+
0.012236800193786621,
|
257 |
+
0.01226956844329834,
|
258 |
+
0.012225536346435547,
|
259 |
+
0.01225830364227295,
|
260 |
+
0.012238847732543945,
|
261 |
+
0.012264448165893555,
|
262 |
+
0.01223475170135498,
|
263 |
+
0.012270591735839843,
|
264 |
+
0.012222463607788087,
|
265 |
+
0.01229312038421631,
|
266 |
+
0.012232704162597656,
|
267 |
+
0.012255231857299804,
|
268 |
+
0.012220416069030762,
|
269 |
+
0.012274687767028808,
|
270 |
+
0.012237824440002442,
|
271 |
+
0.012290047645568849,
|
272 |
+
0.01225011157989502,
|
273 |
+
0.012254207611083985,
|
274 |
+
0.012257280349731446,
|
275 |
+
0.01227673625946045,
|
276 |
+
0.012217344284057617,
|
277 |
+
0.012305407524108887,
|
278 |
+
0.012221440315246582,
|
279 |
+
0.012281855583190919,
|
280 |
+
0.012220416069030762,
|
281 |
+
0.012255231857299804,
|
282 |
+
0.012224512100219726,
|
283 |
+
0.012267519950866699,
|
284 |
+
0.012221440315246582,
|
285 |
+
0.012280832290649414,
|
286 |
+
0.012229632377624512,
|
287 |
+
0.012326911926269531,
|
288 |
+
0.01224396800994873,
|
289 |
+
0.01226035213470459,
|
290 |
+
0.012213248252868653,
|
291 |
+
0.012253184318542481,
|
292 |
+
0.012223487854003906,
|
293 |
+
0.012270591735839843,
|
294 |
+
0.012223487854003906,
|
295 |
+
0.012259327888488769,
|
296 |
+
0.012241920471191407,
|
297 |
+
0.012259327888488769,
|
298 |
+
0.012229632377624512,
|
299 |
+
0.012259327888488769,
|
300 |
+
0.012241920471191407,
|
301 |
+
0.012279808044433594,
|
302 |
+
0.01246617603302002,
|
303 |
+
0.01244057559967041,
|
304 |
+
0.01225830364227295,
|
305 |
+
0.012272640228271485,
|
306 |
+
0.012223487854003906,
|
307 |
+
0.012259327888488769,
|
308 |
+
0.012225536346435547,
|
309 |
+
0.012266495704650878,
|
310 |
+
0.012229632377624512,
|
311 |
+
0.012254207611083985,
|
312 |
+
0.012230655670166016,
|
313 |
+
0.01226956844329834,
|
314 |
+
0.012209152221679688,
|
315 |
+
0.01226137638092041,
|
316 |
+
0.012226559638977052,
|
317 |
+
0.012254207611083985,
|
318 |
+
0.012264448165893555,
|
319 |
+
0.012278783798217773,
|
320 |
+
0.012224512100219726,
|
321 |
+
0.01226137638092041,
|
322 |
+
0.012214271545410157,
|
323 |
+
0.012262399673461915,
|
324 |
+
0.012222463607788087,
|
325 |
+
0.012266495704650878,
|
326 |
+
0.012240896224975586,
|
327 |
+
0.012273664474487305,
|
328 |
+
0.012231679916381836,
|
329 |
+
0.012275712013244629
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.37496527617067
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/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": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.013976719856262207,
|
7 |
+
"prefill.throughput.value": 500.8328185717825,
|
8 |
+
"decode.latency.mean": 1.5733544921874998,
|
9 |
+
"decode.throughput.value": 80.71925343628482,
|
10 |
+
"per_token.latency.mean": 0.012441685001840704,
|
11 |
+
"per_token.throughput.value": 80.37496527617067
|
12 |
+
}
|
13 |
+
}
|
2024-05-31/commit=6aafe5f36d73e730c988ee090233eb757b33821c/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpfuqp_izb/commit=6aafe5f36d73e730c988ee090233eb757b33821c
|
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/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c
|
88 |
+
- hydra.run.dir=_benchmark/tmpfuqp_izb/commit\=6aafe5f36d73e730c988ee090233eb757b33821c/${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.216-204.855.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: 6aafe5f36d73e730c988ee090233eb757b33821c
|
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-05-31/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.0200676155090332,
|
8 |
+
"prefill.throughput.value": 348.8207154880475,
|
9 |
+
"decode.latency.mean": 2.4733016357421875,
|
10 |
+
"decode.throughput.value": 51.34836696207896,
|
11 |
+
"per_token.latency.mean": 0.019552757866297784,
|
12 |
+
"per_token.throughput.value": 51.14368043822889
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.025525072097778323,
|
21 |
+
"prefill.throughput.value": 274.2401656373489,
|
22 |
+
"decode.latency.mean": 2.5864923095703123,
|
23 |
+
"decode.throughput.value": 49.101247867656795,
|
24 |
+
"per_token.latency.mean": 0.020449494561659017,
|
25 |
+
"per_token.throughput.value": 48.90096412822403
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "6aafe5f36d73e730c988ee090233eb757b33821c",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.013976719856262207,
|
34 |
+
"prefill.throughput.value": 500.8328185717825,
|
35 |
+
"decode.latency.mean": 1.5733544921874998,
|
36 |
+
"decode.throughput.value": 80.71925343628482,
|
37 |
+
"per_token.latency.mean": 0.012441685001840704,
|
38 |
+
"per_token.throughput.value": 80.37496527617067
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-05-31/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"6aafe5f36d73e730c988ee090233eb757b33821c": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.0200676155090332,
|
7 |
+
"prefill.throughput.value": 348.8207154880475,
|
8 |
+
"decode.latency.mean": 2.4733016357421875,
|
9 |
+
"decode.throughput.value": 51.34836696207896,
|
10 |
+
"per_token.latency.mean": 0.019552757866297784,
|
11 |
+
"per_token.throughput.value": 51.14368043822889
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"6aafe5f36d73e730c988ee090233eb757b33821c": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.025525072097778323,
|
19 |
+
"prefill.throughput.value": 274.2401656373489,
|
20 |
+
"decode.latency.mean": 2.5864923095703123,
|
21 |
+
"decode.throughput.value": 49.101247867656795,
|
22 |
+
"per_token.latency.mean": 0.020449494561659017,
|
23 |
+
"per_token.throughput.value": 48.90096412822403
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"6aafe5f36d73e730c988ee090233eb757b33821c": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.013976719856262207,
|
31 |
+
"prefill.throughput.value": 500.8328185717825,
|
32 |
+
"decode.latency.mean": 1.5733544921874998,
|
33 |
+
"decode.throughput.value": 80.71925343628482,
|
34 |
+
"per_token.latency.mean": 0.012441685001840704,
|
35 |
+
"per_token.throughput.value": 80.37496527617067
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|