hf-transformers-bot
commited on
Upload folder using huggingface_hub
Browse files- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/multirun.yaml +232 -0
- 2024-06-27/summaries.json +41 -0
- 2024-06-27/summary.json +40 -0
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 11138ca013add0041753aab276e83261c38b08ac
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac
|
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/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac
|
88 |
+
- hydra.run.dir=_benchmark/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac/${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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=False
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1716.416512,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5034.576896
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.04130000114440918,
|
118 |
+
"mean": 0.02065000057220459,
|
119 |
+
"stdev": 0.0006246557235717771,
|
120 |
+
"p50": 0.02065000057220459,
|
121 |
+
"p90": 0.02114972515106201,
|
122 |
+
"p95": 0.02121219072341919,
|
123 |
+
"p99": 0.021262163181304933,
|
124 |
+
"values": [
|
125 |
+
0.021274656295776368,
|
126 |
+
0.020025344848632814
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 338.98304145435094
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1716.506624,
|
140 |
+
"max_global_vram": 6795.296768,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6148.849664,
|
143 |
+
"max_allocated": 5034.577408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 4.961692138671875,
|
149 |
+
"mean": 2.4808460693359375,
|
150 |
+
"stdev": 0.03853210449218736,
|
151 |
+
"p50": 2.4808460693359375,
|
152 |
+
"p90": 2.5116717529296873,
|
153 |
+
"p95": 2.515524963378906,
|
154 |
+
"p99": 2.5186075317382812,
|
155 |
+
"values": [
|
156 |
+
2.519378173828125,
|
157 |
+
2.44231396484375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 51.19221283809633
|
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.961167354583736,
|
173 |
+
"mean": 0.019609357132742054,
|
174 |
+
"stdev": 0.001407539140127156,
|
175 |
+
"p50": 0.019283967971801756,
|
176 |
+
"p90": 0.020493516159057618,
|
177 |
+
"p95": 0.020693811798095704,
|
178 |
+
"p99": 0.022233292694091796,
|
179 |
+
"values": [
|
180 |
+
0.02045849609375,
|
181 |
+
0.02045747184753418,
|
182 |
+
0.020732927322387695,
|
183 |
+
0.020468736648559572,
|
184 |
+
0.0204400634765625,
|
185 |
+
0.020446207046508787,
|
186 |
+
0.020501504898071288,
|
187 |
+
0.02024038314819336,
|
188 |
+
0.0204902400970459,
|
189 |
+
0.020555776596069338,
|
190 |
+
0.020765695571899414,
|
191 |
+
0.02066534423828125,
|
192 |
+
0.02042265510559082,
|
193 |
+
0.02103398323059082,
|
194 |
+
0.02088652801513672,
|
195 |
+
0.02067251205444336,
|
196 |
+
0.020690944671630858,
|
197 |
+
0.020494335174560546,
|
198 |
+
0.02062335968017578,
|
199 |
+
0.020576255798339844,
|
200 |
+
0.02044211196899414,
|
201 |
+
0.020361215591430663,
|
202 |
+
0.02042163276672363,
|
203 |
+
0.020349952697753908,
|
204 |
+
0.020289535522460937,
|
205 |
+
0.02050764846801758,
|
206 |
+
0.02085683250427246,
|
207 |
+
0.020716543197631835,
|
208 |
+
0.020586496353149415,
|
209 |
+
0.02058956718444824,
|
210 |
+
0.02046463966369629,
|
211 |
+
0.02025062370300293,
|
212 |
+
0.020535295486450195,
|
213 |
+
0.02069811248779297,
|
214 |
+
0.02070528030395508,
|
215 |
+
0.020254720687866212,
|
216 |
+
0.01965465545654297,
|
217 |
+
0.019909631729125975,
|
218 |
+
0.02063155174255371,
|
219 |
+
0.020264959335327147,
|
220 |
+
0.020336639404296874,
|
221 |
+
0.020387840270996094,
|
222 |
+
0.020159488677978517,
|
223 |
+
0.02226790428161621,
|
224 |
+
0.02329497528076172,
|
225 |
+
0.02220134353637695,
|
226 |
+
0.019405824661254883,
|
227 |
+
0.019207168579101562,
|
228 |
+
0.019094528198242186,
|
229 |
+
0.019331071853637697,
|
230 |
+
0.019160064697265625,
|
231 |
+
0.019149824142456053,
|
232 |
+
0.018917375564575196,
|
233 |
+
0.019188735961914064,
|
234 |
+
0.019280895233154297,
|
235 |
+
0.019173376083374022,
|
236 |
+
0.019330047607421876,
|
237 |
+
0.01924095916748047,
|
238 |
+
0.019332096099853514,
|
239 |
+
0.019357696533203125,
|
240 |
+
0.019324928283691405,
|
241 |
+
0.02017791938781738,
|
242 |
+
0.020182016372680665,
|
243 |
+
0.019970048904418947,
|
244 |
+
0.019912704467773438,
|
245 |
+
0.019965951919555663,
|
246 |
+
0.019717119216918946,
|
247 |
+
0.019587072372436523,
|
248 |
+
0.01902592086791992,
|
249 |
+
0.01918976020812988,
|
250 |
+
0.019127296447753905,
|
251 |
+
0.019277824401855468,
|
252 |
+
0.01924095916748047,
|
253 |
+
0.01925939178466797,
|
254 |
+
0.019208192825317383,
|
255 |
+
0.019013631820678712,
|
256 |
+
0.01907302474975586,
|
257 |
+
0.01904435157775879,
|
258 |
+
0.019564544677734375,
|
259 |
+
0.0191016960144043,
|
260 |
+
0.019058687210083008,
|
261 |
+
0.01904025650024414,
|
262 |
+
0.019100671768188478,
|
263 |
+
0.019152896881103516,
|
264 |
+
0.019351551055908203,
|
265 |
+
0.02036735916137695,
|
266 |
+
0.02001203155517578,
|
267 |
+
0.01951644706726074,
|
268 |
+
0.019652576446533204,
|
269 |
+
0.020791296005249024,
|
270 |
+
0.0200130558013916,
|
271 |
+
0.019971071243286134,
|
272 |
+
0.020057088851928712,
|
273 |
+
0.019998720169067383,
|
274 |
+
0.01948467254638672,
|
275 |
+
0.019115007400512696,
|
276 |
+
0.019204095840454103,
|
277 |
+
0.019113983154296875,
|
278 |
+
0.018989055633544923,
|
279 |
+
0.01903615951538086,
|
280 |
+
0.019178495407104493,
|
281 |
+
0.019341312408447265,
|
282 |
+
0.019273727416992188,
|
283 |
+
0.019298303604125978,
|
284 |
+
0.019479551315307618,
|
285 |
+
0.01925836753845215,
|
286 |
+
0.01924403190612793,
|
287 |
+
0.019326976776123047,
|
288 |
+
0.019297279357910157,
|
289 |
+
0.01926144027709961,
|
290 |
+
0.019163135528564454,
|
291 |
+
0.01923379135131836,
|
292 |
+
0.019333120346069335,
|
293 |
+
0.019079168319702147,
|
294 |
+
0.019284992218017577,
|
295 |
+
0.01949286460876465,
|
296 |
+
0.019200000762939453,
|
297 |
+
0.019119104385375976,
|
298 |
+
0.019133440017700197,
|
299 |
+
0.019290111541748048,
|
300 |
+
0.019172351837158205,
|
301 |
+
0.0192675838470459,
|
302 |
+
0.01925324821472168,
|
303 |
+
0.019277824401855468,
|
304 |
+
0.01923481559753418,
|
305 |
+
0.019381248474121093,
|
306 |
+
0.039521278381347655,
|
307 |
+
0.019091455459594727,
|
308 |
+
0.018919424057006837,
|
309 |
+
0.018916351318359375,
|
310 |
+
0.018884607315063476,
|
311 |
+
0.018877439498901367,
|
312 |
+
0.018974720001220705,
|
313 |
+
0.018968576431274413,
|
314 |
+
0.01887129592895508,
|
315 |
+
0.018928640365600585,
|
316 |
+
0.01902284812927246,
|
317 |
+
0.018990079879760743,
|
318 |
+
0.01905971145629883,
|
319 |
+
0.01904947280883789,
|
320 |
+
0.019148799896240236,
|
321 |
+
0.01920614433288574,
|
322 |
+
0.01920921516418457,
|
323 |
+
0.019091455459594727,
|
324 |
+
0.01923891258239746,
|
325 |
+
0.019169279098510742,
|
326 |
+
0.01968639945983887,
|
327 |
+
0.018968576431274413,
|
328 |
+
0.018906112670898437,
|
329 |
+
0.019115007400512696,
|
330 |
+
0.019124223709106446,
|
331 |
+
0.018919424057006837,
|
332 |
+
0.019166208267211913,
|
333 |
+
0.019334144592285156,
|
334 |
+
0.019182592391967773,
|
335 |
+
0.01921433639526367,
|
336 |
+
0.019141632080078123,
|
337 |
+
0.019207168579101562,
|
338 |
+
0.019748863220214845,
|
339 |
+
0.01981644821166992,
|
340 |
+
0.019732479095458985,
|
341 |
+
0.019604480743408204,
|
342 |
+
0.019180543899536134,
|
343 |
+
0.018924543380737305,
|
344 |
+
0.01898700714111328,
|
345 |
+
0.01905766487121582,
|
346 |
+
0.019503103256225587,
|
347 |
+
0.01903513526916504,
|
348 |
+
0.018944000244140623,
|
349 |
+
0.019108863830566408,
|
350 |
+
0.018882560729980468,
|
351 |
+
0.018861055374145508,
|
352 |
+
0.018946048736572265,
|
353 |
+
0.019140607833862306,
|
354 |
+
0.018961408615112304,
|
355 |
+
0.018951168060302736,
|
356 |
+
0.018959360122680666,
|
357 |
+
0.019086336135864256,
|
358 |
+
0.018976768493652343,
|
359 |
+
0.018963455200195312,
|
360 |
+
0.01926246452331543,
|
361 |
+
0.019082239151000976,
|
362 |
+
0.018951168060302736,
|
363 |
+
0.019174400329589843,
|
364 |
+
0.01938739204406738,
|
365 |
+
0.019334144592285156,
|
366 |
+
0.01939967918395996,
|
367 |
+
0.020083711624145507,
|
368 |
+
0.019596288681030274,
|
369 |
+
0.01944883155822754,
|
370 |
+
0.019479551315307618,
|
371 |
+
0.019309568405151366,
|
372 |
+
0.019474431991577147,
|
373 |
+
0.019438592910766602,
|
374 |
+
0.019260416030883788,
|
375 |
+
0.019309568405151366,
|
376 |
+
0.01920614433288574,
|
377 |
+
0.019080192565917968,
|
378 |
+
0.019102720260620116,
|
379 |
+
0.019056640625,
|
380 |
+
0.01924403190612793,
|
381 |
+
0.019672063827514647,
|
382 |
+
0.01984921646118164,
|
383 |
+
0.020147199630737304,
|
384 |
+
0.020230144500732423,
|
385 |
+
0.01965056037902832,
|
386 |
+
0.01960041618347168,
|
387 |
+
0.0196474552154541,
|
388 |
+
0.01965260887145996,
|
389 |
+
0.01924505615234375,
|
390 |
+
0.019297279357910157,
|
391 |
+
0.019406848907470704,
|
392 |
+
0.019298303604125978,
|
393 |
+
0.01918156814575195,
|
394 |
+
0.019090431213378906,
|
395 |
+
0.019288063049316406,
|
396 |
+
0.019280895233154297,
|
397 |
+
0.019284992218017577,
|
398 |
+
0.019422208786010742,
|
399 |
+
0.01944473648071289,
|
400 |
+
0.019390464782714844,
|
401 |
+
0.01924403190612793,
|
402 |
+
0.019309568405151366,
|
403 |
+
0.01927065658569336,
|
404 |
+
0.019449855804443358,
|
405 |
+
0.019283967971801756,
|
406 |
+
0.019305471420288087,
|
407 |
+
0.01927065658569336,
|
408 |
+
0.019284992218017577,
|
409 |
+
0.019337215423583985,
|
410 |
+
0.01927577590942383,
|
411 |
+
0.019412992477416992,
|
412 |
+
0.01906380844116211,
|
413 |
+
0.01903615951538086,
|
414 |
+
0.019019775390625,
|
415 |
+
0.019352575302124024,
|
416 |
+
0.01904332733154297,
|
417 |
+
0.01901670455932617,
|
418 |
+
0.019128320693969726,
|
419 |
+
0.019062784194946288,
|
420 |
+
0.01906483268737793,
|
421 |
+
0.019096576690673828,
|
422 |
+
0.01909350395202637,
|
423 |
+
0.019106815338134766,
|
424 |
+
0.019377151489257814,
|
425 |
+
0.019108863830566408,
|
426 |
+
0.01905356788635254,
|
427 |
+
0.01907302474975586,
|
428 |
+
0.019118080139160155,
|
429 |
+
0.018988031387329102,
|
430 |
+
0.01927065658569336,
|
431 |
+
0.01929523277282715,
|
432 |
+
0.019312639236450196
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 50.99606240177472
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": 1716.416512,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5034.576896
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.04130000114440918,
|
15 |
+
"mean": 0.02065000057220459,
|
16 |
+
"stdev": 0.0006246557235717771,
|
17 |
+
"p50": 0.02065000057220459,
|
18 |
+
"p90": 0.02114972515106201,
|
19 |
+
"p95": 0.02121219072341919,
|
20 |
+
"p99": 0.021262163181304933,
|
21 |
+
"values": [
|
22 |
+
0.021274656295776368,
|
23 |
+
0.020025344848632814
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 338.98304145435094
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1716.506624,
|
37 |
+
"max_global_vram": 6795.296768,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6148.849664,
|
40 |
+
"max_allocated": 5034.577408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 4.961692138671875,
|
46 |
+
"mean": 2.4808460693359375,
|
47 |
+
"stdev": 0.03853210449218736,
|
48 |
+
"p50": 2.4808460693359375,
|
49 |
+
"p90": 2.5116717529296873,
|
50 |
+
"p95": 2.515524963378906,
|
51 |
+
"p99": 2.5186075317382812,
|
52 |
+
"values": [
|
53 |
+
2.519378173828125,
|
54 |
+
2.44231396484375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 51.19221283809633
|
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.961167354583736,
|
70 |
+
"mean": 0.019609357132742054,
|
71 |
+
"stdev": 0.001407539140127156,
|
72 |
+
"p50": 0.019283967971801756,
|
73 |
+
"p90": 0.020493516159057618,
|
74 |
+
"p95": 0.020693811798095704,
|
75 |
+
"p99": 0.022233292694091796,
|
76 |
+
"values": [
|
77 |
+
0.02045849609375,
|
78 |
+
0.02045747184753418,
|
79 |
+
0.020732927322387695,
|
80 |
+
0.020468736648559572,
|
81 |
+
0.0204400634765625,
|
82 |
+
0.020446207046508787,
|
83 |
+
0.020501504898071288,
|
84 |
+
0.02024038314819336,
|
85 |
+
0.0204902400970459,
|
86 |
+
0.020555776596069338,
|
87 |
+
0.020765695571899414,
|
88 |
+
0.02066534423828125,
|
89 |
+
0.02042265510559082,
|
90 |
+
0.02103398323059082,
|
91 |
+
0.02088652801513672,
|
92 |
+
0.02067251205444336,
|
93 |
+
0.020690944671630858,
|
94 |
+
0.020494335174560546,
|
95 |
+
0.02062335968017578,
|
96 |
+
0.020576255798339844,
|
97 |
+
0.02044211196899414,
|
98 |
+
0.020361215591430663,
|
99 |
+
0.02042163276672363,
|
100 |
+
0.020349952697753908,
|
101 |
+
0.020289535522460937,
|
102 |
+
0.02050764846801758,
|
103 |
+
0.02085683250427246,
|
104 |
+
0.020716543197631835,
|
105 |
+
0.020586496353149415,
|
106 |
+
0.02058956718444824,
|
107 |
+
0.02046463966369629,
|
108 |
+
0.02025062370300293,
|
109 |
+
0.020535295486450195,
|
110 |
+
0.02069811248779297,
|
111 |
+
0.02070528030395508,
|
112 |
+
0.020254720687866212,
|
113 |
+
0.01965465545654297,
|
114 |
+
0.019909631729125975,
|
115 |
+
0.02063155174255371,
|
116 |
+
0.020264959335327147,
|
117 |
+
0.020336639404296874,
|
118 |
+
0.020387840270996094,
|
119 |
+
0.020159488677978517,
|
120 |
+
0.02226790428161621,
|
121 |
+
0.02329497528076172,
|
122 |
+
0.02220134353637695,
|
123 |
+
0.019405824661254883,
|
124 |
+
0.019207168579101562,
|
125 |
+
0.019094528198242186,
|
126 |
+
0.019331071853637697,
|
127 |
+
0.019160064697265625,
|
128 |
+
0.019149824142456053,
|
129 |
+
0.018917375564575196,
|
130 |
+
0.019188735961914064,
|
131 |
+
0.019280895233154297,
|
132 |
+
0.019173376083374022,
|
133 |
+
0.019330047607421876,
|
134 |
+
0.01924095916748047,
|
135 |
+
0.019332096099853514,
|
136 |
+
0.019357696533203125,
|
137 |
+
0.019324928283691405,
|
138 |
+
0.02017791938781738,
|
139 |
+
0.020182016372680665,
|
140 |
+
0.019970048904418947,
|
141 |
+
0.019912704467773438,
|
142 |
+
0.019965951919555663,
|
143 |
+
0.019717119216918946,
|
144 |
+
0.019587072372436523,
|
145 |
+
0.01902592086791992,
|
146 |
+
0.01918976020812988,
|
147 |
+
0.019127296447753905,
|
148 |
+
0.019277824401855468,
|
149 |
+
0.01924095916748047,
|
150 |
+
0.01925939178466797,
|
151 |
+
0.019208192825317383,
|
152 |
+
0.019013631820678712,
|
153 |
+
0.01907302474975586,
|
154 |
+
0.01904435157775879,
|
155 |
+
0.019564544677734375,
|
156 |
+
0.0191016960144043,
|
157 |
+
0.019058687210083008,
|
158 |
+
0.01904025650024414,
|
159 |
+
0.019100671768188478,
|
160 |
+
0.019152896881103516,
|
161 |
+
0.019351551055908203,
|
162 |
+
0.02036735916137695,
|
163 |
+
0.02001203155517578,
|
164 |
+
0.01951644706726074,
|
165 |
+
0.019652576446533204,
|
166 |
+
0.020791296005249024,
|
167 |
+
0.0200130558013916,
|
168 |
+
0.019971071243286134,
|
169 |
+
0.020057088851928712,
|
170 |
+
0.019998720169067383,
|
171 |
+
0.01948467254638672,
|
172 |
+
0.019115007400512696,
|
173 |
+
0.019204095840454103,
|
174 |
+
0.019113983154296875,
|
175 |
+
0.018989055633544923,
|
176 |
+
0.01903615951538086,
|
177 |
+
0.019178495407104493,
|
178 |
+
0.019341312408447265,
|
179 |
+
0.019273727416992188,
|
180 |
+
0.019298303604125978,
|
181 |
+
0.019479551315307618,
|
182 |
+
0.01925836753845215,
|
183 |
+
0.01924403190612793,
|
184 |
+
0.019326976776123047,
|
185 |
+
0.019297279357910157,
|
186 |
+
0.01926144027709961,
|
187 |
+
0.019163135528564454,
|
188 |
+
0.01923379135131836,
|
189 |
+
0.019333120346069335,
|
190 |
+
0.019079168319702147,
|
191 |
+
0.019284992218017577,
|
192 |
+
0.01949286460876465,
|
193 |
+
0.019200000762939453,
|
194 |
+
0.019119104385375976,
|
195 |
+
0.019133440017700197,
|
196 |
+
0.019290111541748048,
|
197 |
+
0.019172351837158205,
|
198 |
+
0.0192675838470459,
|
199 |
+
0.01925324821472168,
|
200 |
+
0.019277824401855468,
|
201 |
+
0.01923481559753418,
|
202 |
+
0.019381248474121093,
|
203 |
+
0.039521278381347655,
|
204 |
+
0.019091455459594727,
|
205 |
+
0.018919424057006837,
|
206 |
+
0.018916351318359375,
|
207 |
+
0.018884607315063476,
|
208 |
+
0.018877439498901367,
|
209 |
+
0.018974720001220705,
|
210 |
+
0.018968576431274413,
|
211 |
+
0.01887129592895508,
|
212 |
+
0.018928640365600585,
|
213 |
+
0.01902284812927246,
|
214 |
+
0.018990079879760743,
|
215 |
+
0.01905971145629883,
|
216 |
+
0.01904947280883789,
|
217 |
+
0.019148799896240236,
|
218 |
+
0.01920614433288574,
|
219 |
+
0.01920921516418457,
|
220 |
+
0.019091455459594727,
|
221 |
+
0.01923891258239746,
|
222 |
+
0.019169279098510742,
|
223 |
+
0.01968639945983887,
|
224 |
+
0.018968576431274413,
|
225 |
+
0.018906112670898437,
|
226 |
+
0.019115007400512696,
|
227 |
+
0.019124223709106446,
|
228 |
+
0.018919424057006837,
|
229 |
+
0.019166208267211913,
|
230 |
+
0.019334144592285156,
|
231 |
+
0.019182592391967773,
|
232 |
+
0.01921433639526367,
|
233 |
+
0.019141632080078123,
|
234 |
+
0.019207168579101562,
|
235 |
+
0.019748863220214845,
|
236 |
+
0.01981644821166992,
|
237 |
+
0.019732479095458985,
|
238 |
+
0.019604480743408204,
|
239 |
+
0.019180543899536134,
|
240 |
+
0.018924543380737305,
|
241 |
+
0.01898700714111328,
|
242 |
+
0.01905766487121582,
|
243 |
+
0.019503103256225587,
|
244 |
+
0.01903513526916504,
|
245 |
+
0.018944000244140623,
|
246 |
+
0.019108863830566408,
|
247 |
+
0.018882560729980468,
|
248 |
+
0.018861055374145508,
|
249 |
+
0.018946048736572265,
|
250 |
+
0.019140607833862306,
|
251 |
+
0.018961408615112304,
|
252 |
+
0.018951168060302736,
|
253 |
+
0.018959360122680666,
|
254 |
+
0.019086336135864256,
|
255 |
+
0.018976768493652343,
|
256 |
+
0.018963455200195312,
|
257 |
+
0.01926246452331543,
|
258 |
+
0.019082239151000976,
|
259 |
+
0.018951168060302736,
|
260 |
+
0.019174400329589843,
|
261 |
+
0.01938739204406738,
|
262 |
+
0.019334144592285156,
|
263 |
+
0.01939967918395996,
|
264 |
+
0.020083711624145507,
|
265 |
+
0.019596288681030274,
|
266 |
+
0.01944883155822754,
|
267 |
+
0.019479551315307618,
|
268 |
+
0.019309568405151366,
|
269 |
+
0.019474431991577147,
|
270 |
+
0.019438592910766602,
|
271 |
+
0.019260416030883788,
|
272 |
+
0.019309568405151366,
|
273 |
+
0.01920614433288574,
|
274 |
+
0.019080192565917968,
|
275 |
+
0.019102720260620116,
|
276 |
+
0.019056640625,
|
277 |
+
0.01924403190612793,
|
278 |
+
0.019672063827514647,
|
279 |
+
0.01984921646118164,
|
280 |
+
0.020147199630737304,
|
281 |
+
0.020230144500732423,
|
282 |
+
0.01965056037902832,
|
283 |
+
0.01960041618347168,
|
284 |
+
0.0196474552154541,
|
285 |
+
0.01965260887145996,
|
286 |
+
0.01924505615234375,
|
287 |
+
0.019297279357910157,
|
288 |
+
0.019406848907470704,
|
289 |
+
0.019298303604125978,
|
290 |
+
0.01918156814575195,
|
291 |
+
0.019090431213378906,
|
292 |
+
0.019288063049316406,
|
293 |
+
0.019280895233154297,
|
294 |
+
0.019284992218017577,
|
295 |
+
0.019422208786010742,
|
296 |
+
0.01944473648071289,
|
297 |
+
0.019390464782714844,
|
298 |
+
0.01924403190612793,
|
299 |
+
0.019309568405151366,
|
300 |
+
0.01927065658569336,
|
301 |
+
0.019449855804443358,
|
302 |
+
0.019283967971801756,
|
303 |
+
0.019305471420288087,
|
304 |
+
0.01927065658569336,
|
305 |
+
0.019284992218017577,
|
306 |
+
0.019337215423583985,
|
307 |
+
0.01927577590942383,
|
308 |
+
0.019412992477416992,
|
309 |
+
0.01906380844116211,
|
310 |
+
0.01903615951538086,
|
311 |
+
0.019019775390625,
|
312 |
+
0.019352575302124024,
|
313 |
+
0.01904332733154297,
|
314 |
+
0.01901670455932617,
|
315 |
+
0.019128320693969726,
|
316 |
+
0.019062784194946288,
|
317 |
+
0.01906483268737793,
|
318 |
+
0.019096576690673828,
|
319 |
+
0.01909350395202637,
|
320 |
+
0.019106815338134766,
|
321 |
+
0.019377151489257814,
|
322 |
+
0.019108863830566408,
|
323 |
+
0.01905356788635254,
|
324 |
+
0.01907302474975586,
|
325 |
+
0.019118080139160155,
|
326 |
+
0.018988031387329102,
|
327 |
+
0.01927065658569336,
|
328 |
+
0.01929523277282715,
|
329 |
+
0.019312639236450196
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 50.99606240177472
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": "11138ca013add0041753aab276e83261c38b08ac",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02065000057220459,
|
7 |
+
"prefill.throughput.value": 338.98304145435094,
|
8 |
+
"decode.latency.mean": 2.4808460693359375,
|
9 |
+
"decode.throughput.value": 51.19221283809633,
|
10 |
+
"per_token.latency.mean": 0.019609357132742054,
|
11 |
+
"per_token.throughput.value": 50.99606240177472
|
12 |
+
}
|
13 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 11138ca013add0041753aab276e83261c38b08ac
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac
|
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/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac
|
88 |
+
- hydra.run.dir=_benchmark/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac/${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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=null
|
3 |
+
- backend.torch_compile=True
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-27 10:41:45,990[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 11138ca013add0041753aab276e83261c38b08ac
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac
|
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/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac
|
88 |
+
- hydra.run.dir=_benchmark/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac/${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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=False
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1761.767424,
|
109 |
+
"max_global_vram": 6793.199616,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 6146.752512,
|
112 |
+
"max_allocated": 5036.936192
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.0457619514465332,
|
118 |
+
"mean": 0.0228809757232666,
|
119 |
+
"stdev": 0.00038017654418945335,
|
120 |
+
"p50": 0.0228809757232666,
|
121 |
+
"p90": 0.023185116958618163,
|
122 |
+
"p95": 0.02322313461303711,
|
123 |
+
"p99": 0.023253548736572264,
|
124 |
+
"values": [
|
125 |
+
0.022500799179077147,
|
126 |
+
0.023261152267456054
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 305.93100944038963
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1761.779712,
|
140 |
+
"max_global_vram": 6793.199616,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 6146.752512,
|
143 |
+
"max_allocated": 5036.936704
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 5.298493164062499,
|
149 |
+
"mean": 2.6492465820312496,
|
150 |
+
"stdev": 0.020129394531249956,
|
151 |
+
"p50": 2.6492465820312496,
|
152 |
+
"p90": 2.66535009765625,
|
153 |
+
"p95": 2.6673630371093746,
|
154 |
+
"p99": 2.668973388671875,
|
155 |
+
"values": [
|
156 |
+
2.6291171875,
|
157 |
+
2.6693759765625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 47.93815753557588
|
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.3008179187774624,
|
173 |
+
"mean": 0.020951849481333853,
|
174 |
+
"stdev": 0.001571597032860922,
|
175 |
+
"p50": 0.02102681541442871,
|
176 |
+
"p90": 0.021315584182739256,
|
177 |
+
"p95": 0.021435596084594725,
|
178 |
+
"p99": 0.02230755264282226,
|
179 |
+
"values": [
|
180 |
+
0.02262118339538574,
|
181 |
+
0.020343807220458983,
|
182 |
+
0.02021990394592285,
|
183 |
+
0.020163583755493163,
|
184 |
+
0.020271104812622072,
|
185 |
+
0.020184064865112306,
|
186 |
+
0.0218470401763916,
|
187 |
+
0.021320703506469727,
|
188 |
+
0.021053440093994142,
|
189 |
+
0.02088243293762207,
|
190 |
+
0.020883455276489257,
|
191 |
+
0.020955135345458984,
|
192 |
+
0.020517887115478514,
|
193 |
+
0.0208035831451416,
|
194 |
+
0.020000768661499024,
|
195 |
+
0.020196352005004883,
|
196 |
+
0.02086809539794922,
|
197 |
+
0.02045030403137207,
|
198 |
+
0.023051263809204102,
|
199 |
+
0.02106675148010254,
|
200 |
+
0.02040115165710449,
|
201 |
+
0.020161535263061522,
|
202 |
+
0.021148672103881837,
|
203 |
+
0.020625408172607423,
|
204 |
+
0.02025267219543457,
|
205 |
+
0.020307968139648438,
|
206 |
+
0.02016972732543945,
|
207 |
+
0.02103091239929199,
|
208 |
+
0.02085683250427246,
|
209 |
+
0.020140031814575195,
|
210 |
+
0.020158464431762696,
|
211 |
+
0.020099071502685546,
|
212 |
+
0.020262912750244142,
|
213 |
+
0.020353023529052734,
|
214 |
+
0.020322303771972656,
|
215 |
+
0.021008384704589843,
|
216 |
+
0.02087833595275879,
|
217 |
+
0.020129791259765627,
|
218 |
+
0.020502527236938475,
|
219 |
+
0.02081996726989746,
|
220 |
+
0.020779008865356444,
|
221 |
+
0.020109312057495117,
|
222 |
+
0.020143104553222657,
|
223 |
+
0.020121599197387697,
|
224 |
+
0.02012876892089844,
|
225 |
+
0.02010419273376465,
|
226 |
+
0.020328447341918944,
|
227 |
+
0.020509695053100584,
|
228 |
+
0.020577280044555665,
|
229 |
+
0.02065715217590332,
|
230 |
+
0.02030899238586426,
|
231 |
+
0.02028441619873047,
|
232 |
+
0.020274175643920898,
|
233 |
+
0.020192256927490236,
|
234 |
+
0.020257791519165038,
|
235 |
+
0.020175872802734376,
|
236 |
+
0.020315135955810547,
|
237 |
+
0.020322303771972656,
|
238 |
+
0.020362239837646484,
|
239 |
+
0.020291584014892578,
|
240 |
+
0.02063667106628418,
|
241 |
+
0.02041548728942871,
|
242 |
+
0.0202608642578125,
|
243 |
+
0.02026700782775879,
|
244 |
+
0.020307968139648438,
|
245 |
+
0.02023423957824707,
|
246 |
+
0.020306943893432617,
|
247 |
+
0.020256767272949217,
|
248 |
+
0.02027008056640625,
|
249 |
+
0.020214784622192384,
|
250 |
+
0.020187135696411132,
|
251 |
+
0.020281343460083007,
|
252 |
+
0.020171775817871093,
|
253 |
+
0.02027212715148926,
|
254 |
+
0.02047590446472168,
|
255 |
+
0.02025164794921875,
|
256 |
+
0.02021887969970703,
|
257 |
+
0.02020966339111328,
|
258 |
+
0.02026905632019043,
|
259 |
+
0.021007360458374022,
|
260 |
+
0.020360191345214843,
|
261 |
+
0.020207616806030275,
|
262 |
+
0.020365312576293947,
|
263 |
+
0.02083328056335449,
|
264 |
+
0.021138431549072266,
|
265 |
+
0.02145587158203125,
|
266 |
+
0.021097471237182617,
|
267 |
+
0.021132287979125978,
|
268 |
+
0.021097471237182617,
|
269 |
+
0.02105036735534668,
|
270 |
+
0.021102592468261717,
|
271 |
+
0.02103500747680664,
|
272 |
+
0.021014528274536134,
|
273 |
+
0.021032960891723632,
|
274 |
+
0.02104832077026367,
|
275 |
+
0.021296127319335938,
|
276 |
+
0.021346303939819337,
|
277 |
+
0.0210513916015625,
|
278 |
+
0.020950016021728517,
|
279 |
+
0.020951040267944337,
|
280 |
+
0.021104639053344726,
|
281 |
+
0.021196800231933592,
|
282 |
+
0.021255168914794922,
|
283 |
+
0.021154815673828126,
|
284 |
+
0.020985855102539062,
|
285 |
+
0.021146623611450196,
|
286 |
+
0.021127168655395507,
|
287 |
+
0.02126335906982422,
|
288 |
+
0.02128691291809082,
|
289 |
+
0.021375999450683594,
|
290 |
+
0.0211015682220459,
|
291 |
+
0.021292032241821288,
|
292 |
+
0.021177343368530274,
|
293 |
+
0.02104012870788574,
|
294 |
+
0.021246976852416992,
|
295 |
+
0.021089279174804687,
|
296 |
+
0.02122854423522949,
|
297 |
+
0.020346879959106445,
|
298 |
+
0.020547584533691408,
|
299 |
+
0.021153791427612305,
|
300 |
+
0.021182464599609374,
|
301 |
+
0.021150720596313476,
|
302 |
+
0.021114879608154297,
|
303 |
+
0.021016576766967773,
|
304 |
+
0.02103091239929199,
|
305 |
+
0.02086809539794922,
|
306 |
+
0.04471091079711914,
|
307 |
+
0.021183488845825195,
|
308 |
+
0.021390335083007812,
|
309 |
+
0.021198848724365234,
|
310 |
+
0.021206016540527343,
|
311 |
+
0.021113855361938477,
|
312 |
+
0.02123263931274414,
|
313 |
+
0.021190656661987304,
|
314 |
+
0.021283840179443358,
|
315 |
+
0.021134336471557616,
|
316 |
+
0.021191680908203125,
|
317 |
+
0.02104319953918457,
|
318 |
+
0.02107187271118164,
|
319 |
+
0.021111808776855468,
|
320 |
+
0.02123161506652832,
|
321 |
+
0.021110784530639647,
|
322 |
+
0.020157440185546875,
|
323 |
+
0.020068351745605468,
|
324 |
+
0.020913152694702147,
|
325 |
+
0.021315584182739256,
|
326 |
+
0.020904960632324218,
|
327 |
+
0.020734975814819336,
|
328 |
+
0.02102681541442871,
|
329 |
+
0.021061632156372072,
|
330 |
+
0.02105036735534668,
|
331 |
+
0.02108518409729004,
|
332 |
+
0.02071347236633301,
|
333 |
+
0.020502527236938475,
|
334 |
+
0.021347328186035155,
|
335 |
+
0.021127168655395507,
|
336 |
+
0.0210831356048584,
|
337 |
+
0.02125823974609375,
|
338 |
+
0.021045248031616212,
|
339 |
+
0.02106368064880371,
|
340 |
+
0.02107904052734375,
|
341 |
+
0.021009408950805664,
|
342 |
+
0.02086092758178711,
|
343 |
+
0.021112831115722656,
|
344 |
+
0.021196800231933592,
|
345 |
+
0.02122854423522949,
|
346 |
+
0.02109132766723633,
|
347 |
+
0.021388288497924804,
|
348 |
+
0.02129408073425293,
|
349 |
+
0.02130636787414551,
|
350 |
+
0.021315584182739256,
|
351 |
+
0.02146918487548828,
|
352 |
+
0.021226495742797852,
|
353 |
+
0.021804031372070314,
|
354 |
+
0.021963775634765623,
|
355 |
+
0.02126643180847168,
|
356 |
+
0.021518335342407227,
|
357 |
+
0.02142207908630371,
|
358 |
+
0.022018047332763673,
|
359 |
+
0.02169036865234375,
|
360 |
+
0.021227519989013673,
|
361 |
+
0.021113855361938477,
|
362 |
+
0.02122547149658203,
|
363 |
+
0.021179391860961915,
|
364 |
+
0.021129215240478515,
|
365 |
+
0.021019647598266602,
|
366 |
+
0.02108518409729004,
|
367 |
+
0.021202943801879884,
|
368 |
+
0.02106368064880371,
|
369 |
+
0.021185535430908203,
|
370 |
+
0.021078016281127928,
|
371 |
+
0.021181440353393553,
|
372 |
+
0.02123161506652832,
|
373 |
+
0.021181440353393553,
|
374 |
+
0.021156864166259767,
|
375 |
+
0.021046272277832033,
|
376 |
+
0.021127168655395507,
|
377 |
+
0.021222400665283202,
|
378 |
+
0.020918272018432618,
|
379 |
+
0.021012479782104493,
|
380 |
+
0.021016576766967773,
|
381 |
+
0.021339136123657225,
|
382 |
+
0.021382144927978516,
|
383 |
+
0.02126131248474121,
|
384 |
+
0.021354496002197267,
|
385 |
+
0.02085068893432617,
|
386 |
+
0.02106982421875,
|
387 |
+
0.021144575119018554,
|
388 |
+
0.02104217529296875,
|
389 |
+
0.02084864044189453,
|
390 |
+
0.021357568740844726,
|
391 |
+
0.02109132766723633,
|
392 |
+
0.020213760375976563,
|
393 |
+
0.020214784622192384,
|
394 |
+
0.020231168746948244,
|
395 |
+
0.020354047775268554,
|
396 |
+
0.020257791519165038,
|
397 |
+
0.020486143112182616,
|
398 |
+
0.020192256927490236,
|
399 |
+
0.020488191604614257,
|
400 |
+
0.02030284881591797,
|
401 |
+
0.020280319213867186,
|
402 |
+
0.02043903923034668,
|
403 |
+
0.02018611145019531,
|
404 |
+
0.020290559768676757,
|
405 |
+
0.02021683120727539,
|
406 |
+
0.020144128799438478,
|
407 |
+
0.020176895141601564,
|
408 |
+
0.02030284881591797,
|
409 |
+
0.02030182456970215,
|
410 |
+
0.020921344757080077,
|
411 |
+
0.021072895050048827,
|
412 |
+
0.021029888153076173,
|
413 |
+
0.02108415985107422,
|
414 |
+
0.021021696090698243,
|
415 |
+
0.020981760025024415,
|
416 |
+
0.021006336212158205,
|
417 |
+
0.021144575119018554,
|
418 |
+
0.021061632156372072,
|
419 |
+
0.02104934310913086,
|
420 |
+
0.021918720245361328,
|
421 |
+
0.021174272537231444,
|
422 |
+
0.020791296005249024,
|
423 |
+
0.02103603172302246,
|
424 |
+
0.021046272277832033,
|
425 |
+
0.021183488845825195,
|
426 |
+
0.021014528274536134,
|
427 |
+
0.020984832763671874,
|
428 |
+
0.020816896438598635,
|
429 |
+
0.02090291213989258,
|
430 |
+
0.02146918487548828,
|
431 |
+
0.021081087112426757,
|
432 |
+
0.021329919815063478
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 47.728483391927135
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": 1761.767424,
|
6 |
+
"max_global_vram": 6793.199616,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 6146.752512,
|
9 |
+
"max_allocated": 5036.936192
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.0457619514465332,
|
15 |
+
"mean": 0.0228809757232666,
|
16 |
+
"stdev": 0.00038017654418945335,
|
17 |
+
"p50": 0.0228809757232666,
|
18 |
+
"p90": 0.023185116958618163,
|
19 |
+
"p95": 0.02322313461303711,
|
20 |
+
"p99": 0.023253548736572264,
|
21 |
+
"values": [
|
22 |
+
0.022500799179077147,
|
23 |
+
0.023261152267456054
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 305.93100944038963
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1761.779712,
|
37 |
+
"max_global_vram": 6793.199616,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 6146.752512,
|
40 |
+
"max_allocated": 5036.936704
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 5.298493164062499,
|
46 |
+
"mean": 2.6492465820312496,
|
47 |
+
"stdev": 0.020129394531249956,
|
48 |
+
"p50": 2.6492465820312496,
|
49 |
+
"p90": 2.66535009765625,
|
50 |
+
"p95": 2.6673630371093746,
|
51 |
+
"p99": 2.668973388671875,
|
52 |
+
"values": [
|
53 |
+
2.6291171875,
|
54 |
+
2.6693759765625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 47.93815753557588
|
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.3008179187774624,
|
70 |
+
"mean": 0.020951849481333853,
|
71 |
+
"stdev": 0.001571597032860922,
|
72 |
+
"p50": 0.02102681541442871,
|
73 |
+
"p90": 0.021315584182739256,
|
74 |
+
"p95": 0.021435596084594725,
|
75 |
+
"p99": 0.02230755264282226,
|
76 |
+
"values": [
|
77 |
+
0.02262118339538574,
|
78 |
+
0.020343807220458983,
|
79 |
+
0.02021990394592285,
|
80 |
+
0.020163583755493163,
|
81 |
+
0.020271104812622072,
|
82 |
+
0.020184064865112306,
|
83 |
+
0.0218470401763916,
|
84 |
+
0.021320703506469727,
|
85 |
+
0.021053440093994142,
|
86 |
+
0.02088243293762207,
|
87 |
+
0.020883455276489257,
|
88 |
+
0.020955135345458984,
|
89 |
+
0.020517887115478514,
|
90 |
+
0.0208035831451416,
|
91 |
+
0.020000768661499024,
|
92 |
+
0.020196352005004883,
|
93 |
+
0.02086809539794922,
|
94 |
+
0.02045030403137207,
|
95 |
+
0.023051263809204102,
|
96 |
+
0.02106675148010254,
|
97 |
+
0.02040115165710449,
|
98 |
+
0.020161535263061522,
|
99 |
+
0.021148672103881837,
|
100 |
+
0.020625408172607423,
|
101 |
+
0.02025267219543457,
|
102 |
+
0.020307968139648438,
|
103 |
+
0.02016972732543945,
|
104 |
+
0.02103091239929199,
|
105 |
+
0.02085683250427246,
|
106 |
+
0.020140031814575195,
|
107 |
+
0.020158464431762696,
|
108 |
+
0.020099071502685546,
|
109 |
+
0.020262912750244142,
|
110 |
+
0.020353023529052734,
|
111 |
+
0.020322303771972656,
|
112 |
+
0.021008384704589843,
|
113 |
+
0.02087833595275879,
|
114 |
+
0.020129791259765627,
|
115 |
+
0.020502527236938475,
|
116 |
+
0.02081996726989746,
|
117 |
+
0.020779008865356444,
|
118 |
+
0.020109312057495117,
|
119 |
+
0.020143104553222657,
|
120 |
+
0.020121599197387697,
|
121 |
+
0.02012876892089844,
|
122 |
+
0.02010419273376465,
|
123 |
+
0.020328447341918944,
|
124 |
+
0.020509695053100584,
|
125 |
+
0.020577280044555665,
|
126 |
+
0.02065715217590332,
|
127 |
+
0.02030899238586426,
|
128 |
+
0.02028441619873047,
|
129 |
+
0.020274175643920898,
|
130 |
+
0.020192256927490236,
|
131 |
+
0.020257791519165038,
|
132 |
+
0.020175872802734376,
|
133 |
+
0.020315135955810547,
|
134 |
+
0.020322303771972656,
|
135 |
+
0.020362239837646484,
|
136 |
+
0.020291584014892578,
|
137 |
+
0.02063667106628418,
|
138 |
+
0.02041548728942871,
|
139 |
+
0.0202608642578125,
|
140 |
+
0.02026700782775879,
|
141 |
+
0.020307968139648438,
|
142 |
+
0.02023423957824707,
|
143 |
+
0.020306943893432617,
|
144 |
+
0.020256767272949217,
|
145 |
+
0.02027008056640625,
|
146 |
+
0.020214784622192384,
|
147 |
+
0.020187135696411132,
|
148 |
+
0.020281343460083007,
|
149 |
+
0.020171775817871093,
|
150 |
+
0.02027212715148926,
|
151 |
+
0.02047590446472168,
|
152 |
+
0.02025164794921875,
|
153 |
+
0.02021887969970703,
|
154 |
+
0.02020966339111328,
|
155 |
+
0.02026905632019043,
|
156 |
+
0.021007360458374022,
|
157 |
+
0.020360191345214843,
|
158 |
+
0.020207616806030275,
|
159 |
+
0.020365312576293947,
|
160 |
+
0.02083328056335449,
|
161 |
+
0.021138431549072266,
|
162 |
+
0.02145587158203125,
|
163 |
+
0.021097471237182617,
|
164 |
+
0.021132287979125978,
|
165 |
+
0.021097471237182617,
|
166 |
+
0.02105036735534668,
|
167 |
+
0.021102592468261717,
|
168 |
+
0.02103500747680664,
|
169 |
+
0.021014528274536134,
|
170 |
+
0.021032960891723632,
|
171 |
+
0.02104832077026367,
|
172 |
+
0.021296127319335938,
|
173 |
+
0.021346303939819337,
|
174 |
+
0.0210513916015625,
|
175 |
+
0.020950016021728517,
|
176 |
+
0.020951040267944337,
|
177 |
+
0.021104639053344726,
|
178 |
+
0.021196800231933592,
|
179 |
+
0.021255168914794922,
|
180 |
+
0.021154815673828126,
|
181 |
+
0.020985855102539062,
|
182 |
+
0.021146623611450196,
|
183 |
+
0.021127168655395507,
|
184 |
+
0.02126335906982422,
|
185 |
+
0.02128691291809082,
|
186 |
+
0.021375999450683594,
|
187 |
+
0.0211015682220459,
|
188 |
+
0.021292032241821288,
|
189 |
+
0.021177343368530274,
|
190 |
+
0.02104012870788574,
|
191 |
+
0.021246976852416992,
|
192 |
+
0.021089279174804687,
|
193 |
+
0.02122854423522949,
|
194 |
+
0.020346879959106445,
|
195 |
+
0.020547584533691408,
|
196 |
+
0.021153791427612305,
|
197 |
+
0.021182464599609374,
|
198 |
+
0.021150720596313476,
|
199 |
+
0.021114879608154297,
|
200 |
+
0.021016576766967773,
|
201 |
+
0.02103091239929199,
|
202 |
+
0.02086809539794922,
|
203 |
+
0.04471091079711914,
|
204 |
+
0.021183488845825195,
|
205 |
+
0.021390335083007812,
|
206 |
+
0.021198848724365234,
|
207 |
+
0.021206016540527343,
|
208 |
+
0.021113855361938477,
|
209 |
+
0.02123263931274414,
|
210 |
+
0.021190656661987304,
|
211 |
+
0.021283840179443358,
|
212 |
+
0.021134336471557616,
|
213 |
+
0.021191680908203125,
|
214 |
+
0.02104319953918457,
|
215 |
+
0.02107187271118164,
|
216 |
+
0.021111808776855468,
|
217 |
+
0.02123161506652832,
|
218 |
+
0.021110784530639647,
|
219 |
+
0.020157440185546875,
|
220 |
+
0.020068351745605468,
|
221 |
+
0.020913152694702147,
|
222 |
+
0.021315584182739256,
|
223 |
+
0.020904960632324218,
|
224 |
+
0.020734975814819336,
|
225 |
+
0.02102681541442871,
|
226 |
+
0.021061632156372072,
|
227 |
+
0.02105036735534668,
|
228 |
+
0.02108518409729004,
|
229 |
+
0.02071347236633301,
|
230 |
+
0.020502527236938475,
|
231 |
+
0.021347328186035155,
|
232 |
+
0.021127168655395507,
|
233 |
+
0.0210831356048584,
|
234 |
+
0.02125823974609375,
|
235 |
+
0.021045248031616212,
|
236 |
+
0.02106368064880371,
|
237 |
+
0.02107904052734375,
|
238 |
+
0.021009408950805664,
|
239 |
+
0.02086092758178711,
|
240 |
+
0.021112831115722656,
|
241 |
+
0.021196800231933592,
|
242 |
+
0.02122854423522949,
|
243 |
+
0.02109132766723633,
|
244 |
+
0.021388288497924804,
|
245 |
+
0.02129408073425293,
|
246 |
+
0.02130636787414551,
|
247 |
+
0.021315584182739256,
|
248 |
+
0.02146918487548828,
|
249 |
+
0.021226495742797852,
|
250 |
+
0.021804031372070314,
|
251 |
+
0.021963775634765623,
|
252 |
+
0.02126643180847168,
|
253 |
+
0.021518335342407227,
|
254 |
+
0.02142207908630371,
|
255 |
+
0.022018047332763673,
|
256 |
+
0.02169036865234375,
|
257 |
+
0.021227519989013673,
|
258 |
+
0.021113855361938477,
|
259 |
+
0.02122547149658203,
|
260 |
+
0.021179391860961915,
|
261 |
+
0.021129215240478515,
|
262 |
+
0.021019647598266602,
|
263 |
+
0.02108518409729004,
|
264 |
+
0.021202943801879884,
|
265 |
+
0.02106368064880371,
|
266 |
+
0.021185535430908203,
|
267 |
+
0.021078016281127928,
|
268 |
+
0.021181440353393553,
|
269 |
+
0.02123161506652832,
|
270 |
+
0.021181440353393553,
|
271 |
+
0.021156864166259767,
|
272 |
+
0.021046272277832033,
|
273 |
+
0.021127168655395507,
|
274 |
+
0.021222400665283202,
|
275 |
+
0.020918272018432618,
|
276 |
+
0.021012479782104493,
|
277 |
+
0.021016576766967773,
|
278 |
+
0.021339136123657225,
|
279 |
+
0.021382144927978516,
|
280 |
+
0.02126131248474121,
|
281 |
+
0.021354496002197267,
|
282 |
+
0.02085068893432617,
|
283 |
+
0.02106982421875,
|
284 |
+
0.021144575119018554,
|
285 |
+
0.02104217529296875,
|
286 |
+
0.02084864044189453,
|
287 |
+
0.021357568740844726,
|
288 |
+
0.02109132766723633,
|
289 |
+
0.020213760375976563,
|
290 |
+
0.020214784622192384,
|
291 |
+
0.020231168746948244,
|
292 |
+
0.020354047775268554,
|
293 |
+
0.020257791519165038,
|
294 |
+
0.020486143112182616,
|
295 |
+
0.020192256927490236,
|
296 |
+
0.020488191604614257,
|
297 |
+
0.02030284881591797,
|
298 |
+
0.020280319213867186,
|
299 |
+
0.02043903923034668,
|
300 |
+
0.02018611145019531,
|
301 |
+
0.020290559768676757,
|
302 |
+
0.02021683120727539,
|
303 |
+
0.020144128799438478,
|
304 |
+
0.020176895141601564,
|
305 |
+
0.02030284881591797,
|
306 |
+
0.02030182456970215,
|
307 |
+
0.020921344757080077,
|
308 |
+
0.021072895050048827,
|
309 |
+
0.021029888153076173,
|
310 |
+
0.02108415985107422,
|
311 |
+
0.021021696090698243,
|
312 |
+
0.020981760025024415,
|
313 |
+
0.021006336212158205,
|
314 |
+
0.021144575119018554,
|
315 |
+
0.021061632156372072,
|
316 |
+
0.02104934310913086,
|
317 |
+
0.021918720245361328,
|
318 |
+
0.021174272537231444,
|
319 |
+
0.020791296005249024,
|
320 |
+
0.02103603172302246,
|
321 |
+
0.021046272277832033,
|
322 |
+
0.021183488845825195,
|
323 |
+
0.021014528274536134,
|
324 |
+
0.020984832763671874,
|
325 |
+
0.020816896438598635,
|
326 |
+
0.02090291213989258,
|
327 |
+
0.02146918487548828,
|
328 |
+
0.021081087112426757,
|
329 |
+
0.021329919815063478
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 47.728483391927135
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": "11138ca013add0041753aab276e83261c38b08ac",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.0228809757232666,
|
7 |
+
"prefill.throughput.value": 305.93100944038963,
|
8 |
+
"decode.latency.mean": 2.6492465820312496,
|
9 |
+
"decode.throughput.value": 47.93815753557588,
|
10 |
+
"per_token.latency.mean": 0.020951849481333853,
|
11 |
+
"per_token.throughput.value": 47.728483391927135
|
12 |
+
}
|
13 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 11138ca013add0041753aab276e83261c38b08ac
|
82 |
+
accelerate_version: 0.32.0.dev0
|
83 |
+
accelerate_commit: null
|
84 |
+
diffusers_version: null
|
85 |
+
diffusers_commit: null
|
86 |
+
optimum_version: 1.21.0.dev0
|
87 |
+
optimum_commit: null
|
88 |
+
timm_version: 0.9.16
|
89 |
+
timm_commit: null
|
90 |
+
peft_version: 0.11.2.dev0
|
91 |
+
peft_commit: null
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac
|
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/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac
|
88 |
+
- hydra.run.dir=_benchmark/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac/${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/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
- backend.model=google/gemma-2b
|
2 |
+
- backend.cache_implementation=static
|
3 |
+
- backend.torch_compile=True
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1940.865024,
|
109 |
+
"max_global_vram": 6094.848,
|
110 |
+
"max_process_vram": 0.0,
|
111 |
+
"max_reserved": 5379.19488,
|
112 |
+
"max_allocated": 5021.251584
|
113 |
+
},
|
114 |
+
"latency": {
|
115 |
+
"unit": "s",
|
116 |
+
"count": 2,
|
117 |
+
"total": 0.02818406391143799,
|
118 |
+
"mean": 0.014092031955718995,
|
119 |
+
"stdev": 9.398412704467781e-05,
|
120 |
+
"p50": 0.014092031955718995,
|
121 |
+
"p90": 0.014167219257354736,
|
122 |
+
"p95": 0.014176617670059203,
|
123 |
+
"p99": 0.014184136400222778,
|
124 |
+
"values": [
|
125 |
+
0.014186016082763672,
|
126 |
+
0.013998047828674316
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 496.73461016806573
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2284.683264,
|
140 |
+
"max_global_vram": 8907.128832,
|
141 |
+
"max_process_vram": 0.0,
|
142 |
+
"max_reserved": 5379.19488,
|
143 |
+
"max_allocated": 5027.089408
|
144 |
+
},
|
145 |
+
"latency": {
|
146 |
+
"unit": "s",
|
147 |
+
"count": 2,
|
148 |
+
"total": 3.122516845703125,
|
149 |
+
"mean": 1.5612584228515625,
|
150 |
+
"stdev": 0.0021295166015624645,
|
151 |
+
"p50": 1.5612584228515625,
|
152 |
+
"p90": 1.5629620361328125,
|
153 |
+
"p95": 1.5631749877929686,
|
154 |
+
"p99": 1.5633453491210936,
|
155 |
+
"values": [
|
156 |
+
1.563387939453125,
|
157 |
+
1.55912890625
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.3446372113341
|
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.123647418975828,
|
173 |
+
"mean": 0.012346432486070475,
|
174 |
+
"stdev": 0.000893802603033846,
|
175 |
+
"p50": 0.012281855583190919,
|
176 |
+
"p90": 0.012317490959167482,
|
177 |
+
"p95": 0.012348211097717285,
|
178 |
+
"p99": 0.01273618450164795,
|
179 |
+
"values": [
|
180 |
+
0.012666912078857421,
|
181 |
+
0.012768159866333008,
|
182 |
+
0.012706815719604492,
|
183 |
+
0.012728320121765137,
|
184 |
+
0.012744704246520995,
|
185 |
+
0.012313599586486817,
|
186 |
+
0.012275712013244629,
|
187 |
+
0.012312576293945313,
|
188 |
+
0.012263423919677734,
|
189 |
+
0.012308480262756348,
|
190 |
+
0.012273664474487305,
|
191 |
+
0.012317695617675782,
|
192 |
+
0.01224396800994873,
|
193 |
+
0.012281855583190919,
|
194 |
+
0.012246015548706055,
|
195 |
+
0.012302335739135742,
|
196 |
+
0.012247039794921874,
|
197 |
+
0.012313599586486817,
|
198 |
+
0.012244992256164551,
|
199 |
+
0.012308480262756348,
|
200 |
+
0.01226956844329834,
|
201 |
+
0.012292096138000488,
|
202 |
+
0.012248064041137695,
|
203 |
+
0.012321791648864745,
|
204 |
+
0.012275712013244629,
|
205 |
+
0.012290047645568849,
|
206 |
+
0.012238847732543945,
|
207 |
+
0.01228492832183838,
|
208 |
+
0.01225011157989502,
|
209 |
+
0.012285951614379884,
|
210 |
+
0.012248064041137695,
|
211 |
+
0.012306431770324706,
|
212 |
+
0.012280832290649414,
|
213 |
+
0.012294143676757812,
|
214 |
+
0.01225216007232666,
|
215 |
+
0.012282879829406738,
|
216 |
+
0.012296192169189453,
|
217 |
+
0.012288000106811523,
|
218 |
+
0.012272640228271485,
|
219 |
+
0.012291071891784668,
|
220 |
+
0.01224294376373291,
|
221 |
+
0.01229312038421631,
|
222 |
+
0.012259327888488769,
|
223 |
+
0.012322815895080566,
|
224 |
+
0.012614656448364257,
|
225 |
+
0.012347392082214356,
|
226 |
+
0.012233728408813477,
|
227 |
+
0.012303359985351562,
|
228 |
+
0.01225011157989502,
|
229 |
+
0.012277759552001954,
|
230 |
+
0.012254207611083985,
|
231 |
+
0.012299263954162597,
|
232 |
+
0.012253184318542481,
|
233 |
+
0.012291071891784668,
|
234 |
+
0.01224396800994873,
|
235 |
+
0.012290047645568849,
|
236 |
+
0.01225113582611084,
|
237 |
+
0.012282879829406738,
|
238 |
+
0.012248064041137695,
|
239 |
+
0.012306431770324706,
|
240 |
+
0.01226956844329834,
|
241 |
+
0.012291071891784668,
|
242 |
+
0.012247039794921874,
|
243 |
+
0.01244159984588623,
|
244 |
+
0.01225011157989502,
|
245 |
+
0.012312576293945313,
|
246 |
+
0.012278783798217773,
|
247 |
+
0.012283904075622559,
|
248 |
+
0.012246015548706055,
|
249 |
+
0.012288000106811523,
|
250 |
+
0.01226956844329834,
|
251 |
+
0.012292096138000488,
|
252 |
+
0.012259327888488769,
|
253 |
+
0.012313599586486817,
|
254 |
+
0.012271615982055664,
|
255 |
+
0.012281855583190919,
|
256 |
+
0.012249088287353516,
|
257 |
+
0.012303359985351562,
|
258 |
+
0.012237824440002442,
|
259 |
+
0.012303359985351562,
|
260 |
+
0.012289024353027344,
|
261 |
+
0.012336128234863282,
|
262 |
+
0.012312576293945313,
|
263 |
+
0.012349439620971679,
|
264 |
+
0.012406784057617188,
|
265 |
+
0.012318719863891601,
|
266 |
+
0.01227673625946045,
|
267 |
+
0.012317695617675782,
|
268 |
+
0.01225830364227295,
|
269 |
+
0.012290047645568849,
|
270 |
+
0.012263423919677734,
|
271 |
+
0.012304384231567383,
|
272 |
+
0.01226035213470459,
|
273 |
+
0.012317760467529297,
|
274 |
+
0.012244928359985351,
|
275 |
+
0.012297216415405274,
|
276 |
+
0.012255231857299804,
|
277 |
+
0.012299263954162597,
|
278 |
+
0.012279808044433594,
|
279 |
+
0.012387328147888184,
|
280 |
+
0.012434432029724121,
|
281 |
+
0.012349439620971679,
|
282 |
+
0.012249088287353516,
|
283 |
+
0.01229312038421631,
|
284 |
+
0.01227673625946045,
|
285 |
+
0.012285951614379884,
|
286 |
+
0.01226854419708252,
|
287 |
+
0.012280832290649414,
|
288 |
+
0.012266495704650878,
|
289 |
+
0.012295167922973632,
|
290 |
+
0.012238847732543945,
|
291 |
+
0.01229312038421631,
|
292 |
+
0.012254207611083985,
|
293 |
+
0.012298239707946777,
|
294 |
+
0.012265472412109376,
|
295 |
+
0.012299263954162597,
|
296 |
+
0.012240896224975586,
|
297 |
+
0.012284992218017578,
|
298 |
+
0.012251071929931641,
|
299 |
+
0.012289024353027344,
|
300 |
+
0.01226137638092041,
|
301 |
+
0.012310527801513671,
|
302 |
+
0.012246015548706055,
|
303 |
+
0.012292096138000488,
|
304 |
+
0.012263423919677734,
|
305 |
+
0.012331007957458496,
|
306 |
+
0.026488832473754883,
|
307 |
+
0.01225113582611084,
|
308 |
+
0.012306431770324706,
|
309 |
+
0.012248064041137695,
|
310 |
+
0.012281855583190919,
|
311 |
+
0.01224396800994873,
|
312 |
+
0.012311552047729492,
|
313 |
+
0.01225011157989502,
|
314 |
+
0.012314623832702636,
|
315 |
+
0.012264448165893555,
|
316 |
+
0.012290047645568849,
|
317 |
+
0.012259327888488769,
|
318 |
+
0.012290047645568849,
|
319 |
+
0.012244992256164551,
|
320 |
+
0.012286975860595703,
|
321 |
+
0.012257280349731446,
|
322 |
+
0.012306464195251466,
|
323 |
+
0.012240863800048829,
|
324 |
+
0.01227673625946045,
|
325 |
+
0.012257280349731446,
|
326 |
+
0.012291071891784668,
|
327 |
+
0.012294143676757812,
|
328 |
+
0.012283904075622559,
|
329 |
+
0.012275712013244629,
|
330 |
+
0.012299263954162597,
|
331 |
+
0.01225830364227295,
|
332 |
+
0.012277759552001954,
|
333 |
+
0.012241920471191407,
|
334 |
+
0.012294143676757812,
|
335 |
+
0.01225011157989502,
|
336 |
+
0.012288000106811523,
|
337 |
+
0.01226137638092041,
|
338 |
+
0.012289024353027344,
|
339 |
+
0.012229632377624512,
|
340 |
+
0.012299263954162597,
|
341 |
+
0.012283904075622559,
|
342 |
+
0.012323840141296387,
|
343 |
+
0.012259327888488769,
|
344 |
+
0.012327936172485352,
|
345 |
+
0.012277759552001954,
|
346 |
+
0.012286975860595703,
|
347 |
+
0.012249088287353516,
|
348 |
+
0.012291135787963868,
|
349 |
+
0.012257216453552246,
|
350 |
+
0.012292096138000488,
|
351 |
+
0.012253184318542481,
|
352 |
+
0.012292096138000488,
|
353 |
+
0.01224294376373291,
|
354 |
+
0.012303359985351562,
|
355 |
+
0.012246015548706055,
|
356 |
+
0.012289024353027344,
|
357 |
+
0.012238847732543945,
|
358 |
+
0.012306431770324706,
|
359 |
+
0.012300288200378418,
|
360 |
+
0.012282879829406738,
|
361 |
+
0.012249088287353516,
|
362 |
+
0.012283904075622559,
|
363 |
+
0.012299263954162597,
|
364 |
+
0.012280832290649414,
|
365 |
+
0.01225830364227295,
|
366 |
+
0.012278783798217773,
|
367 |
+
0.012281855583190919,
|
368 |
+
0.012286975860595703,
|
369 |
+
0.01224294376373291,
|
370 |
+
0.01227673625946045,
|
371 |
+
0.012239871978759765,
|
372 |
+
0.012313599586486817,
|
373 |
+
0.01226854419708252,
|
374 |
+
0.012292096138000488,
|
375 |
+
0.012238847732543945,
|
376 |
+
0.012278783798217773,
|
377 |
+
0.012254207611083985,
|
378 |
+
0.012280832290649414,
|
379 |
+
0.012248064041137695,
|
380 |
+
0.012295167922973632,
|
381 |
+
0.01226137638092041,
|
382 |
+
0.012280832290649414,
|
383 |
+
0.0122357759475708,
|
384 |
+
0.012329983711242675,
|
385 |
+
0.01225830364227295,
|
386 |
+
0.012307456016540527,
|
387 |
+
0.01225011157989502,
|
388 |
+
0.012307456016540527,
|
389 |
+
0.012253184318542481,
|
390 |
+
0.012299263954162597,
|
391 |
+
0.012246015548706055,
|
392 |
+
0.012294143676757812,
|
393 |
+
0.012262399673461915,
|
394 |
+
0.012281855583190919,
|
395 |
+
0.01226137638092041,
|
396 |
+
0.012288000106811523,
|
397 |
+
0.012246015548706055,
|
398 |
+
0.012285951614379884,
|
399 |
+
0.01228492832183838,
|
400 |
+
0.012288000106811523,
|
401 |
+
0.012254207611083985,
|
402 |
+
0.012299263954162597,
|
403 |
+
0.012256256103515625,
|
404 |
+
0.012295167922973632,
|
405 |
+
0.012232704162597656,
|
406 |
+
0.012277759552001954,
|
407 |
+
0.012241920471191407,
|
408 |
+
0.012278783798217773,
|
409 |
+
0.012253184318542481,
|
410 |
+
0.01228492832183838,
|
411 |
+
0.012238847732543945,
|
412 |
+
0.012288000106811523,
|
413 |
+
0.01225830364227295,
|
414 |
+
0.012312576293945313,
|
415 |
+
0.012238847732543945,
|
416 |
+
0.012299263954162597,
|
417 |
+
0.012255231857299804,
|
418 |
+
0.012310527801513671,
|
419 |
+
0.012240896224975586,
|
420 |
+
0.012273664474487305,
|
421 |
+
0.01225011157989502,
|
422 |
+
0.012316672325134278,
|
423 |
+
0.012236800193786621,
|
424 |
+
0.012297216415405274,
|
425 |
+
0.012238944053649902,
|
426 |
+
0.012279711723327636,
|
427 |
+
0.012254207611083985,
|
428 |
+
0.012286975860595703,
|
429 |
+
0.012306431770324706,
|
430 |
+
0.012278783798217773,
|
431 |
+
0.012312576293945313,
|
432 |
+
0.012340224266052247
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.99505676058429
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "11138ca013add0041753aab276e83261c38b08ac",
|
91 |
+
"accelerate_version": "0.32.0.dev0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": null,
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": "1.21.0.dev0",
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": "0.11.2.dev0",
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": 1940.865024,
|
6 |
+
"max_global_vram": 6094.848,
|
7 |
+
"max_process_vram": 0.0,
|
8 |
+
"max_reserved": 5379.19488,
|
9 |
+
"max_allocated": 5021.251584
|
10 |
+
},
|
11 |
+
"latency": {
|
12 |
+
"unit": "s",
|
13 |
+
"count": 2,
|
14 |
+
"total": 0.02818406391143799,
|
15 |
+
"mean": 0.014092031955718995,
|
16 |
+
"stdev": 9.398412704467781e-05,
|
17 |
+
"p50": 0.014092031955718995,
|
18 |
+
"p90": 0.014167219257354736,
|
19 |
+
"p95": 0.014176617670059203,
|
20 |
+
"p99": 0.014184136400222778,
|
21 |
+
"values": [
|
22 |
+
0.014186016082763672,
|
23 |
+
0.013998047828674316
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 496.73461016806573
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2284.683264,
|
37 |
+
"max_global_vram": 8907.128832,
|
38 |
+
"max_process_vram": 0.0,
|
39 |
+
"max_reserved": 5379.19488,
|
40 |
+
"max_allocated": 5027.089408
|
41 |
+
},
|
42 |
+
"latency": {
|
43 |
+
"unit": "s",
|
44 |
+
"count": 2,
|
45 |
+
"total": 3.122516845703125,
|
46 |
+
"mean": 1.5612584228515625,
|
47 |
+
"stdev": 0.0021295166015624645,
|
48 |
+
"p50": 1.5612584228515625,
|
49 |
+
"p90": 1.5629620361328125,
|
50 |
+
"p95": 1.5631749877929686,
|
51 |
+
"p99": 1.5633453491210936,
|
52 |
+
"values": [
|
53 |
+
1.563387939453125,
|
54 |
+
1.55912890625
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.3446372113341
|
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.123647418975828,
|
70 |
+
"mean": 0.012346432486070475,
|
71 |
+
"stdev": 0.000893802603033846,
|
72 |
+
"p50": 0.012281855583190919,
|
73 |
+
"p90": 0.012317490959167482,
|
74 |
+
"p95": 0.012348211097717285,
|
75 |
+
"p99": 0.01273618450164795,
|
76 |
+
"values": [
|
77 |
+
0.012666912078857421,
|
78 |
+
0.012768159866333008,
|
79 |
+
0.012706815719604492,
|
80 |
+
0.012728320121765137,
|
81 |
+
0.012744704246520995,
|
82 |
+
0.012313599586486817,
|
83 |
+
0.012275712013244629,
|
84 |
+
0.012312576293945313,
|
85 |
+
0.012263423919677734,
|
86 |
+
0.012308480262756348,
|
87 |
+
0.012273664474487305,
|
88 |
+
0.012317695617675782,
|
89 |
+
0.01224396800994873,
|
90 |
+
0.012281855583190919,
|
91 |
+
0.012246015548706055,
|
92 |
+
0.012302335739135742,
|
93 |
+
0.012247039794921874,
|
94 |
+
0.012313599586486817,
|
95 |
+
0.012244992256164551,
|
96 |
+
0.012308480262756348,
|
97 |
+
0.01226956844329834,
|
98 |
+
0.012292096138000488,
|
99 |
+
0.012248064041137695,
|
100 |
+
0.012321791648864745,
|
101 |
+
0.012275712013244629,
|
102 |
+
0.012290047645568849,
|
103 |
+
0.012238847732543945,
|
104 |
+
0.01228492832183838,
|
105 |
+
0.01225011157989502,
|
106 |
+
0.012285951614379884,
|
107 |
+
0.012248064041137695,
|
108 |
+
0.012306431770324706,
|
109 |
+
0.012280832290649414,
|
110 |
+
0.012294143676757812,
|
111 |
+
0.01225216007232666,
|
112 |
+
0.012282879829406738,
|
113 |
+
0.012296192169189453,
|
114 |
+
0.012288000106811523,
|
115 |
+
0.012272640228271485,
|
116 |
+
0.012291071891784668,
|
117 |
+
0.01224294376373291,
|
118 |
+
0.01229312038421631,
|
119 |
+
0.012259327888488769,
|
120 |
+
0.012322815895080566,
|
121 |
+
0.012614656448364257,
|
122 |
+
0.012347392082214356,
|
123 |
+
0.012233728408813477,
|
124 |
+
0.012303359985351562,
|
125 |
+
0.01225011157989502,
|
126 |
+
0.012277759552001954,
|
127 |
+
0.012254207611083985,
|
128 |
+
0.012299263954162597,
|
129 |
+
0.012253184318542481,
|
130 |
+
0.012291071891784668,
|
131 |
+
0.01224396800994873,
|
132 |
+
0.012290047645568849,
|
133 |
+
0.01225113582611084,
|
134 |
+
0.012282879829406738,
|
135 |
+
0.012248064041137695,
|
136 |
+
0.012306431770324706,
|
137 |
+
0.01226956844329834,
|
138 |
+
0.012291071891784668,
|
139 |
+
0.012247039794921874,
|
140 |
+
0.01244159984588623,
|
141 |
+
0.01225011157989502,
|
142 |
+
0.012312576293945313,
|
143 |
+
0.012278783798217773,
|
144 |
+
0.012283904075622559,
|
145 |
+
0.012246015548706055,
|
146 |
+
0.012288000106811523,
|
147 |
+
0.01226956844329834,
|
148 |
+
0.012292096138000488,
|
149 |
+
0.012259327888488769,
|
150 |
+
0.012313599586486817,
|
151 |
+
0.012271615982055664,
|
152 |
+
0.012281855583190919,
|
153 |
+
0.012249088287353516,
|
154 |
+
0.012303359985351562,
|
155 |
+
0.012237824440002442,
|
156 |
+
0.012303359985351562,
|
157 |
+
0.012289024353027344,
|
158 |
+
0.012336128234863282,
|
159 |
+
0.012312576293945313,
|
160 |
+
0.012349439620971679,
|
161 |
+
0.012406784057617188,
|
162 |
+
0.012318719863891601,
|
163 |
+
0.01227673625946045,
|
164 |
+
0.012317695617675782,
|
165 |
+
0.01225830364227295,
|
166 |
+
0.012290047645568849,
|
167 |
+
0.012263423919677734,
|
168 |
+
0.012304384231567383,
|
169 |
+
0.01226035213470459,
|
170 |
+
0.012317760467529297,
|
171 |
+
0.012244928359985351,
|
172 |
+
0.012297216415405274,
|
173 |
+
0.012255231857299804,
|
174 |
+
0.012299263954162597,
|
175 |
+
0.012279808044433594,
|
176 |
+
0.012387328147888184,
|
177 |
+
0.012434432029724121,
|
178 |
+
0.012349439620971679,
|
179 |
+
0.012249088287353516,
|
180 |
+
0.01229312038421631,
|
181 |
+
0.01227673625946045,
|
182 |
+
0.012285951614379884,
|
183 |
+
0.01226854419708252,
|
184 |
+
0.012280832290649414,
|
185 |
+
0.012266495704650878,
|
186 |
+
0.012295167922973632,
|
187 |
+
0.012238847732543945,
|
188 |
+
0.01229312038421631,
|
189 |
+
0.012254207611083985,
|
190 |
+
0.012298239707946777,
|
191 |
+
0.012265472412109376,
|
192 |
+
0.012299263954162597,
|
193 |
+
0.012240896224975586,
|
194 |
+
0.012284992218017578,
|
195 |
+
0.012251071929931641,
|
196 |
+
0.012289024353027344,
|
197 |
+
0.01226137638092041,
|
198 |
+
0.012310527801513671,
|
199 |
+
0.012246015548706055,
|
200 |
+
0.012292096138000488,
|
201 |
+
0.012263423919677734,
|
202 |
+
0.012331007957458496,
|
203 |
+
0.026488832473754883,
|
204 |
+
0.01225113582611084,
|
205 |
+
0.012306431770324706,
|
206 |
+
0.012248064041137695,
|
207 |
+
0.012281855583190919,
|
208 |
+
0.01224396800994873,
|
209 |
+
0.012311552047729492,
|
210 |
+
0.01225011157989502,
|
211 |
+
0.012314623832702636,
|
212 |
+
0.012264448165893555,
|
213 |
+
0.012290047645568849,
|
214 |
+
0.012259327888488769,
|
215 |
+
0.012290047645568849,
|
216 |
+
0.012244992256164551,
|
217 |
+
0.012286975860595703,
|
218 |
+
0.012257280349731446,
|
219 |
+
0.012306464195251466,
|
220 |
+
0.012240863800048829,
|
221 |
+
0.01227673625946045,
|
222 |
+
0.012257280349731446,
|
223 |
+
0.012291071891784668,
|
224 |
+
0.012294143676757812,
|
225 |
+
0.012283904075622559,
|
226 |
+
0.012275712013244629,
|
227 |
+
0.012299263954162597,
|
228 |
+
0.01225830364227295,
|
229 |
+
0.012277759552001954,
|
230 |
+
0.012241920471191407,
|
231 |
+
0.012294143676757812,
|
232 |
+
0.01225011157989502,
|
233 |
+
0.012288000106811523,
|
234 |
+
0.01226137638092041,
|
235 |
+
0.012289024353027344,
|
236 |
+
0.012229632377624512,
|
237 |
+
0.012299263954162597,
|
238 |
+
0.012283904075622559,
|
239 |
+
0.012323840141296387,
|
240 |
+
0.012259327888488769,
|
241 |
+
0.012327936172485352,
|
242 |
+
0.012277759552001954,
|
243 |
+
0.012286975860595703,
|
244 |
+
0.012249088287353516,
|
245 |
+
0.012291135787963868,
|
246 |
+
0.012257216453552246,
|
247 |
+
0.012292096138000488,
|
248 |
+
0.012253184318542481,
|
249 |
+
0.012292096138000488,
|
250 |
+
0.01224294376373291,
|
251 |
+
0.012303359985351562,
|
252 |
+
0.012246015548706055,
|
253 |
+
0.012289024353027344,
|
254 |
+
0.012238847732543945,
|
255 |
+
0.012306431770324706,
|
256 |
+
0.012300288200378418,
|
257 |
+
0.012282879829406738,
|
258 |
+
0.012249088287353516,
|
259 |
+
0.012283904075622559,
|
260 |
+
0.012299263954162597,
|
261 |
+
0.012280832290649414,
|
262 |
+
0.01225830364227295,
|
263 |
+
0.012278783798217773,
|
264 |
+
0.012281855583190919,
|
265 |
+
0.012286975860595703,
|
266 |
+
0.01224294376373291,
|
267 |
+
0.01227673625946045,
|
268 |
+
0.012239871978759765,
|
269 |
+
0.012313599586486817,
|
270 |
+
0.01226854419708252,
|
271 |
+
0.012292096138000488,
|
272 |
+
0.012238847732543945,
|
273 |
+
0.012278783798217773,
|
274 |
+
0.012254207611083985,
|
275 |
+
0.012280832290649414,
|
276 |
+
0.012248064041137695,
|
277 |
+
0.012295167922973632,
|
278 |
+
0.01226137638092041,
|
279 |
+
0.012280832290649414,
|
280 |
+
0.0122357759475708,
|
281 |
+
0.012329983711242675,
|
282 |
+
0.01225830364227295,
|
283 |
+
0.012307456016540527,
|
284 |
+
0.01225011157989502,
|
285 |
+
0.012307456016540527,
|
286 |
+
0.012253184318542481,
|
287 |
+
0.012299263954162597,
|
288 |
+
0.012246015548706055,
|
289 |
+
0.012294143676757812,
|
290 |
+
0.012262399673461915,
|
291 |
+
0.012281855583190919,
|
292 |
+
0.01226137638092041,
|
293 |
+
0.012288000106811523,
|
294 |
+
0.012246015548706055,
|
295 |
+
0.012285951614379884,
|
296 |
+
0.01228492832183838,
|
297 |
+
0.012288000106811523,
|
298 |
+
0.012254207611083985,
|
299 |
+
0.012299263954162597,
|
300 |
+
0.012256256103515625,
|
301 |
+
0.012295167922973632,
|
302 |
+
0.012232704162597656,
|
303 |
+
0.012277759552001954,
|
304 |
+
0.012241920471191407,
|
305 |
+
0.012278783798217773,
|
306 |
+
0.012253184318542481,
|
307 |
+
0.01228492832183838,
|
308 |
+
0.012238847732543945,
|
309 |
+
0.012288000106811523,
|
310 |
+
0.01225830364227295,
|
311 |
+
0.012312576293945313,
|
312 |
+
0.012238847732543945,
|
313 |
+
0.012299263954162597,
|
314 |
+
0.012255231857299804,
|
315 |
+
0.012310527801513671,
|
316 |
+
0.012240896224975586,
|
317 |
+
0.012273664474487305,
|
318 |
+
0.01225011157989502,
|
319 |
+
0.012316672325134278,
|
320 |
+
0.012236800193786621,
|
321 |
+
0.012297216415405274,
|
322 |
+
0.012238944053649902,
|
323 |
+
0.012279711723327636,
|
324 |
+
0.012254207611083985,
|
325 |
+
0.012286975860595703,
|
326 |
+
0.012306431770324706,
|
327 |
+
0.012278783798217773,
|
328 |
+
0.012312576293945313,
|
329 |
+
0.012340224266052247
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.99505676058429
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/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": "11138ca013add0041753aab276e83261c38b08ac",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014092031955718995,
|
7 |
+
"prefill.throughput.value": 496.73461016806573,
|
8 |
+
"decode.latency.mean": 1.5612584228515625,
|
9 |
+
"decode.throughput.value": 81.3446372113341,
|
10 |
+
"per_token.latency.mean": 0.012346432486070475,
|
11 |
+
"per_token.throughput.value": 80.99505676058429
|
12 |
+
}
|
13 |
+
}
|
2024-06-27/commit=11138ca013add0041753aab276e83261c38b08ac/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp039cvp9i/commit=11138ca013add0041753aab276e83261c38b08ac
|
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/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac
|
88 |
+
- hydra.run.dir=_benchmark/tmp039cvp9i/commit\=11138ca013add0041753aab276e83261c38b08ac/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 11138ca013add0041753aab276e83261c38b08ac
|
223 |
+
accelerate_version: 0.32.0.dev0
|
224 |
+
accelerate_commit: null
|
225 |
+
diffusers_version: null
|
226 |
+
diffusers_commit: null
|
227 |
+
optimum_version: 1.21.0.dev0
|
228 |
+
optimum_commit: null
|
229 |
+
timm_version: 0.9.16
|
230 |
+
timm_commit: null
|
231 |
+
peft_version: 0.11.2.dev0
|
232 |
+
peft_commit: null
|
2024-06-27/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "11138ca013add0041753aab276e83261c38b08ac",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.02065000057220459,
|
8 |
+
"prefill.throughput.value": 338.98304145435094,
|
9 |
+
"decode.latency.mean": 2.4808460693359375,
|
10 |
+
"decode.throughput.value": 51.19221283809633,
|
11 |
+
"per_token.latency.mean": 0.019609357132742054,
|
12 |
+
"per_token.throughput.value": 50.99606240177472
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "11138ca013add0041753aab276e83261c38b08ac",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.0228809757232666,
|
21 |
+
"prefill.throughput.value": 305.93100944038963,
|
22 |
+
"decode.latency.mean": 2.6492465820312496,
|
23 |
+
"decode.throughput.value": 47.93815753557588,
|
24 |
+
"per_token.latency.mean": 0.020951849481333853,
|
25 |
+
"per_token.throughput.value": 47.728483391927135
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "11138ca013add0041753aab276e83261c38b08ac",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014092031955718995,
|
34 |
+
"prefill.throughput.value": 496.73461016806573,
|
35 |
+
"decode.latency.mean": 1.5612584228515625,
|
36 |
+
"decode.throughput.value": 81.3446372113341,
|
37 |
+
"per_token.latency.mean": 0.012346432486070475,
|
38 |
+
"per_token.throughput.value": 80.99505676058429
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-27/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"11138ca013add0041753aab276e83261c38b08ac": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.02065000057220459,
|
7 |
+
"prefill.throughput.value": 338.98304145435094,
|
8 |
+
"decode.latency.mean": 2.4808460693359375,
|
9 |
+
"decode.throughput.value": 51.19221283809633,
|
10 |
+
"per_token.latency.mean": 0.019609357132742054,
|
11 |
+
"per_token.throughput.value": 50.99606240177472
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"11138ca013add0041753aab276e83261c38b08ac": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.0228809757232666,
|
19 |
+
"prefill.throughput.value": 305.93100944038963,
|
20 |
+
"decode.latency.mean": 2.6492465820312496,
|
21 |
+
"decode.throughput.value": 47.93815753557588,
|
22 |
+
"per_token.latency.mean": 0.020951849481333853,
|
23 |
+
"per_token.throughput.value": 47.728483391927135
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"11138ca013add0041753aab276e83261c38b08ac": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014092031955718995,
|
31 |
+
"prefill.throughput.value": 496.73461016806573,
|
32 |
+
"decode.latency.mean": 1.5612584228515625,
|
33 |
+
"decode.throughput.value": 81.3446372113341,
|
34 |
+
"per_token.latency.mean": 0.012346432486070475,
|
35 |
+
"per_token.throughput.value": 80.99505676058429
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|