hf-transformers-bot
commited on
Commit
•
3d96c30
1
Parent(s):
bd4e0df
Upload folder using huggingface_hub
Browse files- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/multirun.yaml +232 -0
- 2024-06-28/summaries.json +41 -0
- 2024-06-28/summary.json +40 -0
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.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.43.0.dev0
|
81 |
+
transformers_commit: 1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
88 |
+
- hydra.run.dir=_benchmark/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
91 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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": 1715.175424,
|
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.03884182357788086,
|
118 |
+
"mean": 0.01942091178894043,
|
119 |
+
"stdev": 0.00025048065185546975,
|
120 |
+
"p50": 0.01942091178894043,
|
121 |
+
"p90": 0.019621296310424804,
|
122 |
+
"p95": 0.01964634437561035,
|
123 |
+
"p99": 0.019666382827758788,
|
124 |
+
"values": [
|
125 |
+
0.0196713924407959,
|
126 |
+
0.01917043113708496
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 360.43621824111625
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1715.269632,
|
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.763135009765625,
|
149 |
+
"mean": 2.3815675048828124,
|
150 |
+
"stdev": 0.00046032714843757816,
|
151 |
+
"p50": 2.3815675048828124,
|
152 |
+
"p90": 2.3819357666015626,
|
153 |
+
"p95": 2.381981799316406,
|
154 |
+
"p99": 2.382018625488281,
|
155 |
+
"values": [
|
156 |
+
2.38202783203125,
|
157 |
+
2.381107177734375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 53.32622306091179
|
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.762549264907836,
|
173 |
+
"mean": 0.01882430539489264,
|
174 |
+
"stdev": 0.0012608016881619933,
|
175 |
+
"p50": 0.018589696884155273,
|
176 |
+
"p90": 0.01932881851196289,
|
177 |
+
"p95": 0.019445759582519533,
|
178 |
+
"p99": 0.020038164978027344,
|
179 |
+
"values": [
|
180 |
+
0.02007756805419922,
|
181 |
+
0.018504703521728515,
|
182 |
+
0.018412544250488282,
|
183 |
+
0.018348031997680665,
|
184 |
+
0.01839411163330078,
|
185 |
+
0.019125247955322267,
|
186 |
+
0.01929113578796387,
|
187 |
+
0.019290111541748048,
|
188 |
+
0.01904742431640625,
|
189 |
+
0.01922559928894043,
|
190 |
+
0.01926246452331543,
|
191 |
+
0.019184640884399414,
|
192 |
+
0.019347455978393553,
|
193 |
+
0.01923788833618164,
|
194 |
+
0.018370559692382812,
|
195 |
+
0.018391040802001952,
|
196 |
+
0.018387968063354493,
|
197 |
+
0.018367488861083983,
|
198 |
+
0.018521087646484375,
|
199 |
+
0.01846272087097168,
|
200 |
+
0.01842483139038086,
|
201 |
+
0.018687999725341797,
|
202 |
+
0.01925529670715332,
|
203 |
+
0.019171327590942384,
|
204 |
+
0.019180543899536134,
|
205 |
+
0.019111936569213867,
|
206 |
+
0.01930342483520508,
|
207 |
+
0.018354175567626953,
|
208 |
+
0.01841049575805664,
|
209 |
+
0.018415615081787108,
|
210 |
+
0.018420736312866212,
|
211 |
+
0.018447359085083007,
|
212 |
+
0.01837772750854492,
|
213 |
+
0.01907302474975586,
|
214 |
+
0.01825484848022461,
|
215 |
+
0.018437120437622072,
|
216 |
+
0.018501632690429686,
|
217 |
+
0.01846681594848633,
|
218 |
+
0.018461696624755858,
|
219 |
+
0.018343936920166014,
|
220 |
+
0.01827123260498047,
|
221 |
+
0.01882111930847168,
|
222 |
+
0.018397184371948243,
|
223 |
+
0.018880512237548826,
|
224 |
+
0.019156991958618166,
|
225 |
+
0.019979263305664064,
|
226 |
+
0.019322879791259767,
|
227 |
+
0.01845248031616211,
|
228 |
+
0.018420736312866212,
|
229 |
+
0.018379776000976563,
|
230 |
+
0.018309120178222657,
|
231 |
+
0.018471935272216796,
|
232 |
+
0.018694143295288086,
|
233 |
+
0.01862758445739746,
|
234 |
+
0.01866854476928711,
|
235 |
+
0.018542591094970702,
|
236 |
+
0.01863577651977539,
|
237 |
+
0.018610176086425782,
|
238 |
+
0.018611200332641603,
|
239 |
+
0.01864192008972168,
|
240 |
+
0.018509824752807616,
|
241 |
+
0.018597888946533202,
|
242 |
+
0.018734079360961914,
|
243 |
+
0.01925836753845215,
|
244 |
+
0.019212287902832033,
|
245 |
+
0.018556928634643553,
|
246 |
+
0.018512895584106445,
|
247 |
+
0.018507776260375978,
|
248 |
+
0.018506752014160157,
|
249 |
+
0.018588672637939452,
|
250 |
+
0.018514944076538087,
|
251 |
+
0.018547712326049806,
|
252 |
+
0.018541568756103514,
|
253 |
+
0.01855897521972656,
|
254 |
+
0.01859174346923828,
|
255 |
+
0.01863577651977539,
|
256 |
+
0.01863270378112793,
|
257 |
+
0.018585599899291993,
|
258 |
+
0.018568191528320312,
|
259 |
+
0.01926348876953125,
|
260 |
+
0.019333120346069335,
|
261 |
+
0.019329023361206055,
|
262 |
+
0.0192491512298584,
|
263 |
+
0.01925632095336914,
|
264 |
+
0.018576383590698242,
|
265 |
+
0.018553855895996094,
|
266 |
+
0.018371583938598633,
|
267 |
+
0.01866035270690918,
|
268 |
+
0.0194334716796875,
|
269 |
+
0.019401727676391603,
|
270 |
+
0.01943244743347168,
|
271 |
+
0.01878937530517578,
|
272 |
+
0.018659328460693358,
|
273 |
+
0.018686975479125977,
|
274 |
+
0.01859174346923828,
|
275 |
+
0.01857535934448242,
|
276 |
+
0.018544639587402344,
|
277 |
+
0.018597888946533202,
|
278 |
+
0.0186296329498291,
|
279 |
+
0.018592767715454102,
|
280 |
+
0.018611200332641603,
|
281 |
+
0.018544639587402344,
|
282 |
+
0.018386943817138672,
|
283 |
+
0.018372608184814454,
|
284 |
+
0.0186060791015625,
|
285 |
+
0.01863372802734375,
|
286 |
+
0.01859071922302246,
|
287 |
+
0.018603008270263673,
|
288 |
+
0.01857535934448242,
|
289 |
+
0.019378175735473634,
|
290 |
+
0.019322879791259767,
|
291 |
+
0.01940275192260742,
|
292 |
+
0.01862860870361328,
|
293 |
+
0.01866547203063965,
|
294 |
+
0.01860095977783203,
|
295 |
+
0.01850060844421387,
|
296 |
+
0.018370559692382812,
|
297 |
+
0.01836031913757324,
|
298 |
+
0.018505727767944336,
|
299 |
+
0.01905766487121582,
|
300 |
+
0.019327999114990235,
|
301 |
+
0.01863065528869629,
|
302 |
+
0.01983180809020996,
|
303 |
+
0.01864396858215332,
|
304 |
+
0.018546688079833985,
|
305 |
+
0.01859584045410156,
|
306 |
+
0.03771084976196289,
|
307 |
+
0.019277824401855468,
|
308 |
+
0.01920614433288574,
|
309 |
+
0.019594240188598632,
|
310 |
+
0.019186687469482423,
|
311 |
+
0.01923072052001953,
|
312 |
+
0.0192225284576416,
|
313 |
+
0.01845964813232422,
|
314 |
+
0.01929523277282715,
|
315 |
+
0.019212287902832033,
|
316 |
+
0.019183616638183593,
|
317 |
+
0.018334720611572267,
|
318 |
+
0.018217983245849608,
|
319 |
+
0.01850060844421387,
|
320 |
+
0.01927065658569336,
|
321 |
+
0.01923379135131836,
|
322 |
+
0.019770368576049805,
|
323 |
+
0.019192832946777344,
|
324 |
+
0.01923891258239746,
|
325 |
+
0.01841868782043457,
|
326 |
+
0.018388992309570314,
|
327 |
+
0.01839923286437988,
|
328 |
+
0.018397184371948243,
|
329 |
+
0.018367488861083983,
|
330 |
+
0.018181119918823242,
|
331 |
+
0.018851839065551757,
|
332 |
+
0.01921331214904785,
|
333 |
+
0.0184268798828125,
|
334 |
+
0.018412544250488282,
|
335 |
+
0.01841766357421875,
|
336 |
+
0.01840947151184082,
|
337 |
+
0.01886412811279297,
|
338 |
+
0.01922764778137207,
|
339 |
+
0.01844326400756836,
|
340 |
+
0.01848320007324219,
|
341 |
+
0.01841766357421875,
|
342 |
+
0.01841663932800293,
|
343 |
+
0.01839923286437988,
|
344 |
+
0.01841868782043457,
|
345 |
+
0.01840742492675781,
|
346 |
+
0.01845452880859375,
|
347 |
+
0.018420736312866212,
|
348 |
+
0.01878937530517578,
|
349 |
+
0.01822003173828125,
|
350 |
+
0.018206720352172853,
|
351 |
+
0.018190336227416993,
|
352 |
+
0.01822822380065918,
|
353 |
+
0.01821388816833496,
|
354 |
+
0.01818623924255371,
|
355 |
+
0.018231296539306642,
|
356 |
+
0.018296831130981444,
|
357 |
+
0.018525184631347655,
|
358 |
+
0.018328575134277342,
|
359 |
+
0.01838489532470703,
|
360 |
+
0.018420736312866212,
|
361 |
+
0.018395135879516602,
|
362 |
+
0.018518016815185546,
|
363 |
+
0.019311616897583008,
|
364 |
+
0.020001792907714845,
|
365 |
+
0.01927884864807129,
|
366 |
+
0.018564096450805666,
|
367 |
+
0.018767871856689454,
|
368 |
+
0.01927577590942383,
|
369 |
+
0.01856716728210449,
|
370 |
+
0.018457599639892578,
|
371 |
+
0.018527231216430663,
|
372 |
+
0.019062784194946288,
|
373 |
+
0.019386367797851564,
|
374 |
+
0.01924812889099121,
|
375 |
+
0.019317760467529296,
|
376 |
+
0.019286016464233398,
|
377 |
+
0.01860812759399414,
|
378 |
+
0.01862451171875,
|
379 |
+
0.018520063400268554,
|
380 |
+
0.01849241638183594,
|
381 |
+
0.018311168670654295,
|
382 |
+
0.018333696365356447,
|
383 |
+
0.018364416122436524,
|
384 |
+
0.01847091293334961,
|
385 |
+
0.018328575134277342,
|
386 |
+
0.018618368148803712,
|
387 |
+
0.018586624145507814,
|
388 |
+
0.018565120697021483,
|
389 |
+
0.018551807403564453,
|
390 |
+
0.018534400939941405,
|
391 |
+
0.018877439498901367,
|
392 |
+
0.019314687728881837,
|
393 |
+
0.019323904037475585,
|
394 |
+
0.01937919998168945,
|
395 |
+
0.018497535705566406,
|
396 |
+
0.018494464874267577,
|
397 |
+
0.018526208877563476,
|
398 |
+
0.018588672637939452,
|
399 |
+
0.018461696624755858,
|
400 |
+
0.01946419143676758,
|
401 |
+
0.0194334716796875,
|
402 |
+
0.01868185615539551,
|
403 |
+
0.01855897521972656,
|
404 |
+
0.018571264266967775,
|
405 |
+
0.018597888946533202,
|
406 |
+
0.0186060791015625,
|
407 |
+
0.018547712326049806,
|
408 |
+
0.018589696884155273,
|
409 |
+
0.0185743350982666,
|
410 |
+
0.01846681594848633,
|
411 |
+
0.01962495994567871,
|
412 |
+
0.02048204803466797,
|
413 |
+
0.019586048126220702,
|
414 |
+
0.01946931266784668,
|
415 |
+
0.0194652156829834,
|
416 |
+
0.019347455978393553,
|
417 |
+
0.01941094398498535,
|
418 |
+
0.01865830421447754,
|
419 |
+
0.01850060844421387,
|
420 |
+
0.018564096450805666,
|
421 |
+
0.01857535934448242,
|
422 |
+
0.018523136138916017,
|
423 |
+
0.018556928634643553,
|
424 |
+
0.01859891128540039,
|
425 |
+
0.01858252716064453,
|
426 |
+
0.018626560211181642,
|
427 |
+
0.018727935791015626,
|
428 |
+
0.018754560470581053,
|
429 |
+
0.018601984024047852,
|
430 |
+
0.01862144088745117,
|
431 |
+
0.018557952880859374,
|
432 |
+
0.01864908790588379
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 53.12281005977078
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
90 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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": 1715.175424,
|
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.03884182357788086,
|
15 |
+
"mean": 0.01942091178894043,
|
16 |
+
"stdev": 0.00025048065185546975,
|
17 |
+
"p50": 0.01942091178894043,
|
18 |
+
"p90": 0.019621296310424804,
|
19 |
+
"p95": 0.01964634437561035,
|
20 |
+
"p99": 0.019666382827758788,
|
21 |
+
"values": [
|
22 |
+
0.0196713924407959,
|
23 |
+
0.01917043113708496
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 360.43621824111625
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1715.269632,
|
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.763135009765625,
|
46 |
+
"mean": 2.3815675048828124,
|
47 |
+
"stdev": 0.00046032714843757816,
|
48 |
+
"p50": 2.3815675048828124,
|
49 |
+
"p90": 2.3819357666015626,
|
50 |
+
"p95": 2.381981799316406,
|
51 |
+
"p99": 2.382018625488281,
|
52 |
+
"values": [
|
53 |
+
2.38202783203125,
|
54 |
+
2.381107177734375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 53.32622306091179
|
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.762549264907836,
|
70 |
+
"mean": 0.01882430539489264,
|
71 |
+
"stdev": 0.0012608016881619933,
|
72 |
+
"p50": 0.018589696884155273,
|
73 |
+
"p90": 0.01932881851196289,
|
74 |
+
"p95": 0.019445759582519533,
|
75 |
+
"p99": 0.020038164978027344,
|
76 |
+
"values": [
|
77 |
+
0.02007756805419922,
|
78 |
+
0.018504703521728515,
|
79 |
+
0.018412544250488282,
|
80 |
+
0.018348031997680665,
|
81 |
+
0.01839411163330078,
|
82 |
+
0.019125247955322267,
|
83 |
+
0.01929113578796387,
|
84 |
+
0.019290111541748048,
|
85 |
+
0.01904742431640625,
|
86 |
+
0.01922559928894043,
|
87 |
+
0.01926246452331543,
|
88 |
+
0.019184640884399414,
|
89 |
+
0.019347455978393553,
|
90 |
+
0.01923788833618164,
|
91 |
+
0.018370559692382812,
|
92 |
+
0.018391040802001952,
|
93 |
+
0.018387968063354493,
|
94 |
+
0.018367488861083983,
|
95 |
+
0.018521087646484375,
|
96 |
+
0.01846272087097168,
|
97 |
+
0.01842483139038086,
|
98 |
+
0.018687999725341797,
|
99 |
+
0.01925529670715332,
|
100 |
+
0.019171327590942384,
|
101 |
+
0.019180543899536134,
|
102 |
+
0.019111936569213867,
|
103 |
+
0.01930342483520508,
|
104 |
+
0.018354175567626953,
|
105 |
+
0.01841049575805664,
|
106 |
+
0.018415615081787108,
|
107 |
+
0.018420736312866212,
|
108 |
+
0.018447359085083007,
|
109 |
+
0.01837772750854492,
|
110 |
+
0.01907302474975586,
|
111 |
+
0.01825484848022461,
|
112 |
+
0.018437120437622072,
|
113 |
+
0.018501632690429686,
|
114 |
+
0.01846681594848633,
|
115 |
+
0.018461696624755858,
|
116 |
+
0.018343936920166014,
|
117 |
+
0.01827123260498047,
|
118 |
+
0.01882111930847168,
|
119 |
+
0.018397184371948243,
|
120 |
+
0.018880512237548826,
|
121 |
+
0.019156991958618166,
|
122 |
+
0.019979263305664064,
|
123 |
+
0.019322879791259767,
|
124 |
+
0.01845248031616211,
|
125 |
+
0.018420736312866212,
|
126 |
+
0.018379776000976563,
|
127 |
+
0.018309120178222657,
|
128 |
+
0.018471935272216796,
|
129 |
+
0.018694143295288086,
|
130 |
+
0.01862758445739746,
|
131 |
+
0.01866854476928711,
|
132 |
+
0.018542591094970702,
|
133 |
+
0.01863577651977539,
|
134 |
+
0.018610176086425782,
|
135 |
+
0.018611200332641603,
|
136 |
+
0.01864192008972168,
|
137 |
+
0.018509824752807616,
|
138 |
+
0.018597888946533202,
|
139 |
+
0.018734079360961914,
|
140 |
+
0.01925836753845215,
|
141 |
+
0.019212287902832033,
|
142 |
+
0.018556928634643553,
|
143 |
+
0.018512895584106445,
|
144 |
+
0.018507776260375978,
|
145 |
+
0.018506752014160157,
|
146 |
+
0.018588672637939452,
|
147 |
+
0.018514944076538087,
|
148 |
+
0.018547712326049806,
|
149 |
+
0.018541568756103514,
|
150 |
+
0.01855897521972656,
|
151 |
+
0.01859174346923828,
|
152 |
+
0.01863577651977539,
|
153 |
+
0.01863270378112793,
|
154 |
+
0.018585599899291993,
|
155 |
+
0.018568191528320312,
|
156 |
+
0.01926348876953125,
|
157 |
+
0.019333120346069335,
|
158 |
+
0.019329023361206055,
|
159 |
+
0.0192491512298584,
|
160 |
+
0.01925632095336914,
|
161 |
+
0.018576383590698242,
|
162 |
+
0.018553855895996094,
|
163 |
+
0.018371583938598633,
|
164 |
+
0.01866035270690918,
|
165 |
+
0.0194334716796875,
|
166 |
+
0.019401727676391603,
|
167 |
+
0.01943244743347168,
|
168 |
+
0.01878937530517578,
|
169 |
+
0.018659328460693358,
|
170 |
+
0.018686975479125977,
|
171 |
+
0.01859174346923828,
|
172 |
+
0.01857535934448242,
|
173 |
+
0.018544639587402344,
|
174 |
+
0.018597888946533202,
|
175 |
+
0.0186296329498291,
|
176 |
+
0.018592767715454102,
|
177 |
+
0.018611200332641603,
|
178 |
+
0.018544639587402344,
|
179 |
+
0.018386943817138672,
|
180 |
+
0.018372608184814454,
|
181 |
+
0.0186060791015625,
|
182 |
+
0.01863372802734375,
|
183 |
+
0.01859071922302246,
|
184 |
+
0.018603008270263673,
|
185 |
+
0.01857535934448242,
|
186 |
+
0.019378175735473634,
|
187 |
+
0.019322879791259767,
|
188 |
+
0.01940275192260742,
|
189 |
+
0.01862860870361328,
|
190 |
+
0.01866547203063965,
|
191 |
+
0.01860095977783203,
|
192 |
+
0.01850060844421387,
|
193 |
+
0.018370559692382812,
|
194 |
+
0.01836031913757324,
|
195 |
+
0.018505727767944336,
|
196 |
+
0.01905766487121582,
|
197 |
+
0.019327999114990235,
|
198 |
+
0.01863065528869629,
|
199 |
+
0.01983180809020996,
|
200 |
+
0.01864396858215332,
|
201 |
+
0.018546688079833985,
|
202 |
+
0.01859584045410156,
|
203 |
+
0.03771084976196289,
|
204 |
+
0.019277824401855468,
|
205 |
+
0.01920614433288574,
|
206 |
+
0.019594240188598632,
|
207 |
+
0.019186687469482423,
|
208 |
+
0.01923072052001953,
|
209 |
+
0.0192225284576416,
|
210 |
+
0.01845964813232422,
|
211 |
+
0.01929523277282715,
|
212 |
+
0.019212287902832033,
|
213 |
+
0.019183616638183593,
|
214 |
+
0.018334720611572267,
|
215 |
+
0.018217983245849608,
|
216 |
+
0.01850060844421387,
|
217 |
+
0.01927065658569336,
|
218 |
+
0.01923379135131836,
|
219 |
+
0.019770368576049805,
|
220 |
+
0.019192832946777344,
|
221 |
+
0.01923891258239746,
|
222 |
+
0.01841868782043457,
|
223 |
+
0.018388992309570314,
|
224 |
+
0.01839923286437988,
|
225 |
+
0.018397184371948243,
|
226 |
+
0.018367488861083983,
|
227 |
+
0.018181119918823242,
|
228 |
+
0.018851839065551757,
|
229 |
+
0.01921331214904785,
|
230 |
+
0.0184268798828125,
|
231 |
+
0.018412544250488282,
|
232 |
+
0.01841766357421875,
|
233 |
+
0.01840947151184082,
|
234 |
+
0.01886412811279297,
|
235 |
+
0.01922764778137207,
|
236 |
+
0.01844326400756836,
|
237 |
+
0.01848320007324219,
|
238 |
+
0.01841766357421875,
|
239 |
+
0.01841663932800293,
|
240 |
+
0.01839923286437988,
|
241 |
+
0.01841868782043457,
|
242 |
+
0.01840742492675781,
|
243 |
+
0.01845452880859375,
|
244 |
+
0.018420736312866212,
|
245 |
+
0.01878937530517578,
|
246 |
+
0.01822003173828125,
|
247 |
+
0.018206720352172853,
|
248 |
+
0.018190336227416993,
|
249 |
+
0.01822822380065918,
|
250 |
+
0.01821388816833496,
|
251 |
+
0.01818623924255371,
|
252 |
+
0.018231296539306642,
|
253 |
+
0.018296831130981444,
|
254 |
+
0.018525184631347655,
|
255 |
+
0.018328575134277342,
|
256 |
+
0.01838489532470703,
|
257 |
+
0.018420736312866212,
|
258 |
+
0.018395135879516602,
|
259 |
+
0.018518016815185546,
|
260 |
+
0.019311616897583008,
|
261 |
+
0.020001792907714845,
|
262 |
+
0.01927884864807129,
|
263 |
+
0.018564096450805666,
|
264 |
+
0.018767871856689454,
|
265 |
+
0.01927577590942383,
|
266 |
+
0.01856716728210449,
|
267 |
+
0.018457599639892578,
|
268 |
+
0.018527231216430663,
|
269 |
+
0.019062784194946288,
|
270 |
+
0.019386367797851564,
|
271 |
+
0.01924812889099121,
|
272 |
+
0.019317760467529296,
|
273 |
+
0.019286016464233398,
|
274 |
+
0.01860812759399414,
|
275 |
+
0.01862451171875,
|
276 |
+
0.018520063400268554,
|
277 |
+
0.01849241638183594,
|
278 |
+
0.018311168670654295,
|
279 |
+
0.018333696365356447,
|
280 |
+
0.018364416122436524,
|
281 |
+
0.01847091293334961,
|
282 |
+
0.018328575134277342,
|
283 |
+
0.018618368148803712,
|
284 |
+
0.018586624145507814,
|
285 |
+
0.018565120697021483,
|
286 |
+
0.018551807403564453,
|
287 |
+
0.018534400939941405,
|
288 |
+
0.018877439498901367,
|
289 |
+
0.019314687728881837,
|
290 |
+
0.019323904037475585,
|
291 |
+
0.01937919998168945,
|
292 |
+
0.018497535705566406,
|
293 |
+
0.018494464874267577,
|
294 |
+
0.018526208877563476,
|
295 |
+
0.018588672637939452,
|
296 |
+
0.018461696624755858,
|
297 |
+
0.01946419143676758,
|
298 |
+
0.0194334716796875,
|
299 |
+
0.01868185615539551,
|
300 |
+
0.01855897521972656,
|
301 |
+
0.018571264266967775,
|
302 |
+
0.018597888946533202,
|
303 |
+
0.0186060791015625,
|
304 |
+
0.018547712326049806,
|
305 |
+
0.018589696884155273,
|
306 |
+
0.0185743350982666,
|
307 |
+
0.01846681594848633,
|
308 |
+
0.01962495994567871,
|
309 |
+
0.02048204803466797,
|
310 |
+
0.019586048126220702,
|
311 |
+
0.01946931266784668,
|
312 |
+
0.0194652156829834,
|
313 |
+
0.019347455978393553,
|
314 |
+
0.01941094398498535,
|
315 |
+
0.01865830421447754,
|
316 |
+
0.01850060844421387,
|
317 |
+
0.018564096450805666,
|
318 |
+
0.01857535934448242,
|
319 |
+
0.018523136138916017,
|
320 |
+
0.018556928634643553,
|
321 |
+
0.01859891128540039,
|
322 |
+
0.01858252716064453,
|
323 |
+
0.018626560211181642,
|
324 |
+
0.018727935791015626,
|
325 |
+
0.018754560470581053,
|
326 |
+
0.018601984024047852,
|
327 |
+
0.01862144088745117,
|
328 |
+
0.018557952880859374,
|
329 |
+
0.01864908790588379
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 53.12281005977078
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01942091178894043,
|
7 |
+
"prefill.throughput.value": 360.43621824111625,
|
8 |
+
"decode.latency.mean": 2.3815675048828124,
|
9 |
+
"decode.throughput.value": 53.32622306091179,
|
10 |
+
"per_token.latency.mean": 0.01882430539489264,
|
11 |
+
"per_token.throughput.value": 53.12281005977078
|
12 |
+
}
|
13 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.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.43.0.dev0
|
81 |
+
transformers_commit: 1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
88 |
+
- hydra.run.dir=_benchmark/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-28 02:34:41,712[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
90 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.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.43.0.dev0
|
81 |
+
transformers_commit: 1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
88 |
+
- hydra.run.dir=_benchmark/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
91 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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": 1762.226176,
|
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.04621903991699219,
|
118 |
+
"mean": 0.023109519958496094,
|
119 |
+
"stdev": 0.0003098716735839835,
|
120 |
+
"p50": 0.023109519958496094,
|
121 |
+
"p90": 0.02335741729736328,
|
122 |
+
"p95": 0.02338840446472168,
|
123 |
+
"p99": 0.0234131941986084,
|
124 |
+
"values": [
|
125 |
+
0.02279964828491211,
|
126 |
+
0.023419391632080077
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 302.9054698051608
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1762.238464,
|
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.279913330078125,
|
149 |
+
"mean": 2.6399566650390627,
|
150 |
+
"stdev": 0.011269409179687662,
|
151 |
+
"p50": 2.6399566650390627,
|
152 |
+
"p90": 2.6489721923828125,
|
153 |
+
"p95": 2.6500991333007815,
|
154 |
+
"p99": 2.6510006860351565,
|
155 |
+
"values": [
|
156 |
+
2.65122607421875,
|
157 |
+
2.628687255859375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.10685026836258
|
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.28210941505432,
|
173 |
+
"mean": 0.020877902826301663,
|
174 |
+
"stdev": 0.0015655806670785356,
|
175 |
+
"p50": 0.0206059513092041,
|
176 |
+
"p90": 0.021411635589599607,
|
177 |
+
"p95": 0.021533900833129883,
|
178 |
+
"p99": 0.022309396286010738,
|
179 |
+
"values": [
|
180 |
+
0.02241535949707031,
|
181 |
+
0.022024192810058595,
|
182 |
+
0.021295103073120117,
|
183 |
+
0.021377023696899415,
|
184 |
+
0.02123673629760742,
|
185 |
+
0.021177343368530274,
|
186 |
+
0.021130239486694336,
|
187 |
+
0.020948991775512696,
|
188 |
+
0.021089279174804687,
|
189 |
+
0.021396480560302734,
|
190 |
+
0.021407743453979493,
|
191 |
+
0.02102579116821289,
|
192 |
+
0.02131046485900879,
|
193 |
+
0.021428224563598632,
|
194 |
+
0.02142310333251953,
|
195 |
+
0.021120000839233398,
|
196 |
+
0.021146623611450196,
|
197 |
+
0.021072895050048827,
|
198 |
+
0.021209087371826172,
|
199 |
+
0.021227519989013673,
|
200 |
+
0.02099404716491699,
|
201 |
+
0.02104319953918457,
|
202 |
+
0.02106675148010254,
|
203 |
+
0.020945920944213867,
|
204 |
+
0.021142528533935546,
|
205 |
+
0.021465087890625,
|
206 |
+
0.021411840438842773,
|
207 |
+
0.021227519989013673,
|
208 |
+
0.02142207908630371,
|
209 |
+
0.022525951385498046,
|
210 |
+
0.020946943283081054,
|
211 |
+
0.021782527923583983,
|
212 |
+
0.021412864685058593,
|
213 |
+
0.021133312225341795,
|
214 |
+
0.02104319953918457,
|
215 |
+
0.021015552520751952,
|
216 |
+
0.02101043128967285,
|
217 |
+
0.02104115104675293,
|
218 |
+
0.02131865692138672,
|
219 |
+
0.02086809539794922,
|
220 |
+
0.02084864044189453,
|
221 |
+
0.02085068893432617,
|
222 |
+
0.02104217529296875,
|
223 |
+
0.020996095657348633,
|
224 |
+
0.02065203285217285,
|
225 |
+
0.020526079177856444,
|
226 |
+
0.020527103424072265,
|
227 |
+
0.020501504898071288,
|
228 |
+
0.020540416717529295,
|
229 |
+
0.020521984100341797,
|
230 |
+
0.020537343978881836,
|
231 |
+
0.020544511795043945,
|
232 |
+
0.020567039489746093,
|
233 |
+
0.020726783752441406,
|
234 |
+
0.020585472106933594,
|
235 |
+
0.020558847427368163,
|
236 |
+
0.020624383926391602,
|
237 |
+
0.020540416717529295,
|
238 |
+
0.020556800842285155,
|
239 |
+
0.020520959854125977,
|
240 |
+
0.020553728103637696,
|
241 |
+
0.020509695053100584,
|
242 |
+
0.020516864776611327,
|
243 |
+
0.020611072540283205,
|
244 |
+
0.02062745666503906,
|
245 |
+
0.020572160720825194,
|
246 |
+
0.020700159072875975,
|
247 |
+
0.02063667106628418,
|
248 |
+
0.020725759506225586,
|
249 |
+
0.020668415069580077,
|
250 |
+
0.02066431999206543,
|
251 |
+
0.020634624481201173,
|
252 |
+
0.020617216110229493,
|
253 |
+
0.020599807739257812,
|
254 |
+
0.02062233543395996,
|
255 |
+
0.02063871955871582,
|
256 |
+
0.02062950325012207,
|
257 |
+
0.020590591430664062,
|
258 |
+
0.020566015243530272,
|
259 |
+
0.020990976333618162,
|
260 |
+
0.021557247161865235,
|
261 |
+
0.021551103591918946,
|
262 |
+
0.022211584091186523,
|
263 |
+
0.021493759155273438,
|
264 |
+
0.0206059513092041,
|
265 |
+
0.02063667106628418,
|
266 |
+
0.020658176422119142,
|
267 |
+
0.02066431999206543,
|
268 |
+
0.02065920066833496,
|
269 |
+
0.02063871955871582,
|
270 |
+
0.020661247253417968,
|
271 |
+
0.020723712921142577,
|
272 |
+
0.02065203285217285,
|
273 |
+
0.020789247512817383,
|
274 |
+
0.02065203285217285,
|
275 |
+
0.020569087982177735,
|
276 |
+
0.020572160720825194,
|
277 |
+
0.020552703857421875,
|
278 |
+
0.020588544845581053,
|
279 |
+
0.02057219123840332,
|
280 |
+
0.020615135192871094,
|
281 |
+
0.020582399368286132,
|
282 |
+
0.020543487548828124,
|
283 |
+
0.020556800842285155,
|
284 |
+
0.020541439056396483,
|
285 |
+
0.020547584533691408,
|
286 |
+
0.02063052749633789,
|
287 |
+
0.02067046356201172,
|
288 |
+
0.020562944412231447,
|
289 |
+
0.020567039489746093,
|
290 |
+
0.020566015243530272,
|
291 |
+
0.020550655364990233,
|
292 |
+
0.02049126434326172,
|
293 |
+
0.02060492706298828,
|
294 |
+
0.02058956718444824,
|
295 |
+
0.0206878719329834,
|
296 |
+
0.020525056838989256,
|
297 |
+
0.020580352783203124,
|
298 |
+
0.020537343978881836,
|
299 |
+
0.020536319732666015,
|
300 |
+
0.020556800842285155,
|
301 |
+
0.020531200408935548,
|
302 |
+
0.020530176162719727,
|
303 |
+
0.020562944412231447,
|
304 |
+
0.021098495483398438,
|
305 |
+
0.02146406364440918,
|
306 |
+
0.04498329544067383,
|
307 |
+
0.020495359420776366,
|
308 |
+
0.020560895919799805,
|
309 |
+
0.020511743545532226,
|
310 |
+
0.021001216888427734,
|
311 |
+
0.020551679611206054,
|
312 |
+
0.020590591430664062,
|
313 |
+
0.020555776596069338,
|
314 |
+
0.020513792037963868,
|
315 |
+
0.02064588737487793,
|
316 |
+
0.02049228858947754,
|
317 |
+
0.020478975296020507,
|
318 |
+
0.020609024047851563,
|
319 |
+
0.02058137512207031,
|
320 |
+
0.020570112228393556,
|
321 |
+
0.020554752349853517,
|
322 |
+
0.02046668815612793,
|
323 |
+
0.020557823181152343,
|
324 |
+
0.020561920166015626,
|
325 |
+
0.02058137512207031,
|
326 |
+
0.020553728103637696,
|
327 |
+
0.020518911361694335,
|
328 |
+
0.02046976089477539,
|
329 |
+
0.020509695053100584,
|
330 |
+
0.02108723258972168,
|
331 |
+
0.02182246398925781,
|
332 |
+
0.021563392639160156,
|
333 |
+
0.021522432327270507,
|
334 |
+
0.021522432327270507,
|
335 |
+
0.021400575637817384,
|
336 |
+
0.021445632934570313,
|
337 |
+
0.021410816192626952,
|
338 |
+
0.02050662422180176,
|
339 |
+
0.02049945640563965,
|
340 |
+
0.020543487548828124,
|
341 |
+
0.020541439056396483,
|
342 |
+
0.020619264602661135,
|
343 |
+
0.02043903923034668,
|
344 |
+
0.02046156883239746,
|
345 |
+
0.020454399108886717,
|
346 |
+
0.020436992645263673,
|
347 |
+
0.021112831115722656,
|
348 |
+
0.020534271240234374,
|
349 |
+
0.020495359420776366,
|
350 |
+
0.021122047424316406,
|
351 |
+
0.021402624130249022,
|
352 |
+
0.021596160888671875,
|
353 |
+
0.021412864685058593,
|
354 |
+
0.021840896606445313,
|
355 |
+
0.021410816192626952,
|
356 |
+
0.020503551483154296,
|
357 |
+
0.020478975296020507,
|
358 |
+
0.020479999542236327,
|
359 |
+
0.020529151916503906,
|
360 |
+
0.020568063735961914,
|
361 |
+
0.020526079177856444,
|
362 |
+
0.02045849609375,
|
363 |
+
0.020626432418823244,
|
364 |
+
0.020496383666992187,
|
365 |
+
0.02048307228088379,
|
366 |
+
0.020529151916503906,
|
367 |
+
0.0204902400970459,
|
368 |
+
0.020599807739257812,
|
369 |
+
0.020609024047851563,
|
370 |
+
0.020575231552124023,
|
371 |
+
0.02048102378845215,
|
372 |
+
0.020489215850830078,
|
373 |
+
0.02049945640563965,
|
374 |
+
0.020502527236938475,
|
375 |
+
0.020518911361694335,
|
376 |
+
0.020502527236938475,
|
377 |
+
0.020521984100341797,
|
378 |
+
0.020526079177856444,
|
379 |
+
0.02058137512207031,
|
380 |
+
0.020602880477905275,
|
381 |
+
0.020574207305908202,
|
382 |
+
0.020578304290771485,
|
383 |
+
0.020592639923095703,
|
384 |
+
0.020641792297363282,
|
385 |
+
0.020587520599365236,
|
386 |
+
0.020556800842285155,
|
387 |
+
0.020554752349853517,
|
388 |
+
0.02065203285217285,
|
389 |
+
0.020644863128662108,
|
390 |
+
0.020703231811523438,
|
391 |
+
0.020577280044555665,
|
392 |
+
0.021497856140136717,
|
393 |
+
0.020577280044555665,
|
394 |
+
0.020703231811523438,
|
395 |
+
0.02062950325012207,
|
396 |
+
0.020575231552124023,
|
397 |
+
0.02062848091125488,
|
398 |
+
0.020554752349853517,
|
399 |
+
0.02059878349304199,
|
400 |
+
0.020752384185791017,
|
401 |
+
0.021715967178344727,
|
402 |
+
0.020626432418823244,
|
403 |
+
0.020538368225097657,
|
404 |
+
0.020552703857421875,
|
405 |
+
0.02058956718444824,
|
406 |
+
0.02079539108276367,
|
407 |
+
0.020797439575195312,
|
408 |
+
0.020558847427368163,
|
409 |
+
0.020658176422119142,
|
410 |
+
0.02058956718444824,
|
411 |
+
0.020601856231689454,
|
412 |
+
0.020616191864013672,
|
413 |
+
0.02045747184753418,
|
414 |
+
0.02045644760131836,
|
415 |
+
0.020496383666992187,
|
416 |
+
0.020595712661743162,
|
417 |
+
0.020669439315795898,
|
418 |
+
0.020710399627685547,
|
419 |
+
0.02065510368347168,
|
420 |
+
0.02063667106628418,
|
421 |
+
0.02058137512207031,
|
422 |
+
0.020595712661743162,
|
423 |
+
0.020620288848876952,
|
424 |
+
0.020586496353149415,
|
425 |
+
0.020661247253417968,
|
426 |
+
0.02063155174255371,
|
427 |
+
0.020620288848876952,
|
428 |
+
0.02082099151611328,
|
429 |
+
0.020564992904663085,
|
430 |
+
0.020552703857421875,
|
431 |
+
0.020536319732666015,
|
432 |
+
0.020571136474609376
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 47.897531103565406
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
90 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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": 1762.226176,
|
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.04621903991699219,
|
15 |
+
"mean": 0.023109519958496094,
|
16 |
+
"stdev": 0.0003098716735839835,
|
17 |
+
"p50": 0.023109519958496094,
|
18 |
+
"p90": 0.02335741729736328,
|
19 |
+
"p95": 0.02338840446472168,
|
20 |
+
"p99": 0.0234131941986084,
|
21 |
+
"values": [
|
22 |
+
0.02279964828491211,
|
23 |
+
0.023419391632080077
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 302.9054698051608
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1762.238464,
|
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.279913330078125,
|
46 |
+
"mean": 2.6399566650390627,
|
47 |
+
"stdev": 0.011269409179687662,
|
48 |
+
"p50": 2.6399566650390627,
|
49 |
+
"p90": 2.6489721923828125,
|
50 |
+
"p95": 2.6500991333007815,
|
51 |
+
"p99": 2.6510006860351565,
|
52 |
+
"values": [
|
53 |
+
2.65122607421875,
|
54 |
+
2.628687255859375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.10685026836258
|
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.28210941505432,
|
70 |
+
"mean": 0.020877902826301663,
|
71 |
+
"stdev": 0.0015655806670785356,
|
72 |
+
"p50": 0.0206059513092041,
|
73 |
+
"p90": 0.021411635589599607,
|
74 |
+
"p95": 0.021533900833129883,
|
75 |
+
"p99": 0.022309396286010738,
|
76 |
+
"values": [
|
77 |
+
0.02241535949707031,
|
78 |
+
0.022024192810058595,
|
79 |
+
0.021295103073120117,
|
80 |
+
0.021377023696899415,
|
81 |
+
0.02123673629760742,
|
82 |
+
0.021177343368530274,
|
83 |
+
0.021130239486694336,
|
84 |
+
0.020948991775512696,
|
85 |
+
0.021089279174804687,
|
86 |
+
0.021396480560302734,
|
87 |
+
0.021407743453979493,
|
88 |
+
0.02102579116821289,
|
89 |
+
0.02131046485900879,
|
90 |
+
0.021428224563598632,
|
91 |
+
0.02142310333251953,
|
92 |
+
0.021120000839233398,
|
93 |
+
0.021146623611450196,
|
94 |
+
0.021072895050048827,
|
95 |
+
0.021209087371826172,
|
96 |
+
0.021227519989013673,
|
97 |
+
0.02099404716491699,
|
98 |
+
0.02104319953918457,
|
99 |
+
0.02106675148010254,
|
100 |
+
0.020945920944213867,
|
101 |
+
0.021142528533935546,
|
102 |
+
0.021465087890625,
|
103 |
+
0.021411840438842773,
|
104 |
+
0.021227519989013673,
|
105 |
+
0.02142207908630371,
|
106 |
+
0.022525951385498046,
|
107 |
+
0.020946943283081054,
|
108 |
+
0.021782527923583983,
|
109 |
+
0.021412864685058593,
|
110 |
+
0.021133312225341795,
|
111 |
+
0.02104319953918457,
|
112 |
+
0.021015552520751952,
|
113 |
+
0.02101043128967285,
|
114 |
+
0.02104115104675293,
|
115 |
+
0.02131865692138672,
|
116 |
+
0.02086809539794922,
|
117 |
+
0.02084864044189453,
|
118 |
+
0.02085068893432617,
|
119 |
+
0.02104217529296875,
|
120 |
+
0.020996095657348633,
|
121 |
+
0.02065203285217285,
|
122 |
+
0.020526079177856444,
|
123 |
+
0.020527103424072265,
|
124 |
+
0.020501504898071288,
|
125 |
+
0.020540416717529295,
|
126 |
+
0.020521984100341797,
|
127 |
+
0.020537343978881836,
|
128 |
+
0.020544511795043945,
|
129 |
+
0.020567039489746093,
|
130 |
+
0.020726783752441406,
|
131 |
+
0.020585472106933594,
|
132 |
+
0.020558847427368163,
|
133 |
+
0.020624383926391602,
|
134 |
+
0.020540416717529295,
|
135 |
+
0.020556800842285155,
|
136 |
+
0.020520959854125977,
|
137 |
+
0.020553728103637696,
|
138 |
+
0.020509695053100584,
|
139 |
+
0.020516864776611327,
|
140 |
+
0.020611072540283205,
|
141 |
+
0.02062745666503906,
|
142 |
+
0.020572160720825194,
|
143 |
+
0.020700159072875975,
|
144 |
+
0.02063667106628418,
|
145 |
+
0.020725759506225586,
|
146 |
+
0.020668415069580077,
|
147 |
+
0.02066431999206543,
|
148 |
+
0.020634624481201173,
|
149 |
+
0.020617216110229493,
|
150 |
+
0.020599807739257812,
|
151 |
+
0.02062233543395996,
|
152 |
+
0.02063871955871582,
|
153 |
+
0.02062950325012207,
|
154 |
+
0.020590591430664062,
|
155 |
+
0.020566015243530272,
|
156 |
+
0.020990976333618162,
|
157 |
+
0.021557247161865235,
|
158 |
+
0.021551103591918946,
|
159 |
+
0.022211584091186523,
|
160 |
+
0.021493759155273438,
|
161 |
+
0.0206059513092041,
|
162 |
+
0.02063667106628418,
|
163 |
+
0.020658176422119142,
|
164 |
+
0.02066431999206543,
|
165 |
+
0.02065920066833496,
|
166 |
+
0.02063871955871582,
|
167 |
+
0.020661247253417968,
|
168 |
+
0.020723712921142577,
|
169 |
+
0.02065203285217285,
|
170 |
+
0.020789247512817383,
|
171 |
+
0.02065203285217285,
|
172 |
+
0.020569087982177735,
|
173 |
+
0.020572160720825194,
|
174 |
+
0.020552703857421875,
|
175 |
+
0.020588544845581053,
|
176 |
+
0.02057219123840332,
|
177 |
+
0.020615135192871094,
|
178 |
+
0.020582399368286132,
|
179 |
+
0.020543487548828124,
|
180 |
+
0.020556800842285155,
|
181 |
+
0.020541439056396483,
|
182 |
+
0.020547584533691408,
|
183 |
+
0.02063052749633789,
|
184 |
+
0.02067046356201172,
|
185 |
+
0.020562944412231447,
|
186 |
+
0.020567039489746093,
|
187 |
+
0.020566015243530272,
|
188 |
+
0.020550655364990233,
|
189 |
+
0.02049126434326172,
|
190 |
+
0.02060492706298828,
|
191 |
+
0.02058956718444824,
|
192 |
+
0.0206878719329834,
|
193 |
+
0.020525056838989256,
|
194 |
+
0.020580352783203124,
|
195 |
+
0.020537343978881836,
|
196 |
+
0.020536319732666015,
|
197 |
+
0.020556800842285155,
|
198 |
+
0.020531200408935548,
|
199 |
+
0.020530176162719727,
|
200 |
+
0.020562944412231447,
|
201 |
+
0.021098495483398438,
|
202 |
+
0.02146406364440918,
|
203 |
+
0.04498329544067383,
|
204 |
+
0.020495359420776366,
|
205 |
+
0.020560895919799805,
|
206 |
+
0.020511743545532226,
|
207 |
+
0.021001216888427734,
|
208 |
+
0.020551679611206054,
|
209 |
+
0.020590591430664062,
|
210 |
+
0.020555776596069338,
|
211 |
+
0.020513792037963868,
|
212 |
+
0.02064588737487793,
|
213 |
+
0.02049228858947754,
|
214 |
+
0.020478975296020507,
|
215 |
+
0.020609024047851563,
|
216 |
+
0.02058137512207031,
|
217 |
+
0.020570112228393556,
|
218 |
+
0.020554752349853517,
|
219 |
+
0.02046668815612793,
|
220 |
+
0.020557823181152343,
|
221 |
+
0.020561920166015626,
|
222 |
+
0.02058137512207031,
|
223 |
+
0.020553728103637696,
|
224 |
+
0.020518911361694335,
|
225 |
+
0.02046976089477539,
|
226 |
+
0.020509695053100584,
|
227 |
+
0.02108723258972168,
|
228 |
+
0.02182246398925781,
|
229 |
+
0.021563392639160156,
|
230 |
+
0.021522432327270507,
|
231 |
+
0.021522432327270507,
|
232 |
+
0.021400575637817384,
|
233 |
+
0.021445632934570313,
|
234 |
+
0.021410816192626952,
|
235 |
+
0.02050662422180176,
|
236 |
+
0.02049945640563965,
|
237 |
+
0.020543487548828124,
|
238 |
+
0.020541439056396483,
|
239 |
+
0.020619264602661135,
|
240 |
+
0.02043903923034668,
|
241 |
+
0.02046156883239746,
|
242 |
+
0.020454399108886717,
|
243 |
+
0.020436992645263673,
|
244 |
+
0.021112831115722656,
|
245 |
+
0.020534271240234374,
|
246 |
+
0.020495359420776366,
|
247 |
+
0.021122047424316406,
|
248 |
+
0.021402624130249022,
|
249 |
+
0.021596160888671875,
|
250 |
+
0.021412864685058593,
|
251 |
+
0.021840896606445313,
|
252 |
+
0.021410816192626952,
|
253 |
+
0.020503551483154296,
|
254 |
+
0.020478975296020507,
|
255 |
+
0.020479999542236327,
|
256 |
+
0.020529151916503906,
|
257 |
+
0.020568063735961914,
|
258 |
+
0.020526079177856444,
|
259 |
+
0.02045849609375,
|
260 |
+
0.020626432418823244,
|
261 |
+
0.020496383666992187,
|
262 |
+
0.02048307228088379,
|
263 |
+
0.020529151916503906,
|
264 |
+
0.0204902400970459,
|
265 |
+
0.020599807739257812,
|
266 |
+
0.020609024047851563,
|
267 |
+
0.020575231552124023,
|
268 |
+
0.02048102378845215,
|
269 |
+
0.020489215850830078,
|
270 |
+
0.02049945640563965,
|
271 |
+
0.020502527236938475,
|
272 |
+
0.020518911361694335,
|
273 |
+
0.020502527236938475,
|
274 |
+
0.020521984100341797,
|
275 |
+
0.020526079177856444,
|
276 |
+
0.02058137512207031,
|
277 |
+
0.020602880477905275,
|
278 |
+
0.020574207305908202,
|
279 |
+
0.020578304290771485,
|
280 |
+
0.020592639923095703,
|
281 |
+
0.020641792297363282,
|
282 |
+
0.020587520599365236,
|
283 |
+
0.020556800842285155,
|
284 |
+
0.020554752349853517,
|
285 |
+
0.02065203285217285,
|
286 |
+
0.020644863128662108,
|
287 |
+
0.020703231811523438,
|
288 |
+
0.020577280044555665,
|
289 |
+
0.021497856140136717,
|
290 |
+
0.020577280044555665,
|
291 |
+
0.020703231811523438,
|
292 |
+
0.02062950325012207,
|
293 |
+
0.020575231552124023,
|
294 |
+
0.02062848091125488,
|
295 |
+
0.020554752349853517,
|
296 |
+
0.02059878349304199,
|
297 |
+
0.020752384185791017,
|
298 |
+
0.021715967178344727,
|
299 |
+
0.020626432418823244,
|
300 |
+
0.020538368225097657,
|
301 |
+
0.020552703857421875,
|
302 |
+
0.02058956718444824,
|
303 |
+
0.02079539108276367,
|
304 |
+
0.020797439575195312,
|
305 |
+
0.020558847427368163,
|
306 |
+
0.020658176422119142,
|
307 |
+
0.02058956718444824,
|
308 |
+
0.020601856231689454,
|
309 |
+
0.020616191864013672,
|
310 |
+
0.02045747184753418,
|
311 |
+
0.02045644760131836,
|
312 |
+
0.020496383666992187,
|
313 |
+
0.020595712661743162,
|
314 |
+
0.020669439315795898,
|
315 |
+
0.020710399627685547,
|
316 |
+
0.02065510368347168,
|
317 |
+
0.02063667106628418,
|
318 |
+
0.02058137512207031,
|
319 |
+
0.020595712661743162,
|
320 |
+
0.020620288848876952,
|
321 |
+
0.020586496353149415,
|
322 |
+
0.020661247253417968,
|
323 |
+
0.02063155174255371,
|
324 |
+
0.020620288848876952,
|
325 |
+
0.02082099151611328,
|
326 |
+
0.020564992904663085,
|
327 |
+
0.020552703857421875,
|
328 |
+
0.020536319732666015,
|
329 |
+
0.020571136474609376
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 47.897531103565406
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.023109519958496094,
|
7 |
+
"prefill.throughput.value": 302.9054698051608,
|
8 |
+
"decode.latency.mean": 2.6399566650390627,
|
9 |
+
"decode.throughput.value": 48.10685026836258,
|
10 |
+
"per_token.latency.mean": 0.020877902826301663,
|
11 |
+
"per_token.throughput.value": 47.897531103565406
|
12 |
+
}
|
13 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.219-208.866.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.43.0.dev0
|
81 |
+
transformers_commit: 1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
88 |
+
- hydra.run.dir=_benchmark/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${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/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
91 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
92 |
+
"accelerate_version": "0.32.0.dev0",
|
93 |
+
"accelerate_commit": null,
|
94 |
+
"diffusers_version": null,
|
95 |
+
"diffusers_commit": null,
|
96 |
+
"optimum_version": "1.21.0.dev0",
|
97 |
+
"optimum_commit": null,
|
98 |
+
"timm_version": "0.9.16",
|
99 |
+
"timm_commit": null,
|
100 |
+
"peft_version": "0.11.2.dev0",
|
101 |
+
"peft_commit": null
|
102 |
+
}
|
103 |
+
},
|
104 |
+
"report": {
|
105 |
+
"prefill": {
|
106 |
+
"memory": {
|
107 |
+
"unit": "MB",
|
108 |
+
"max_ram": 1928.159232,
|
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.028283679962158206,
|
118 |
+
"mean": 0.014141839981079103,
|
119 |
+
"stdev": 0.00012878417968749997,
|
120 |
+
"p50": 0.014141839981079103,
|
121 |
+
"p90": 0.014244867324829102,
|
122 |
+
"p95": 0.014257745742797851,
|
123 |
+
"p99": 0.014268048477172852,
|
124 |
+
"values": [
|
125 |
+
0.014270624160766602,
|
126 |
+
0.014013055801391602
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 494.98509453971775
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2272.0512,
|
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.152967895507812,
|
149 |
+
"mean": 1.576483947753906,
|
150 |
+
"stdev": 0.01732476806640626,
|
151 |
+
"p50": 1.576483947753906,
|
152 |
+
"p90": 1.5903437622070313,
|
153 |
+
"p95": 1.5920762390136718,
|
154 |
+
"p99": 1.5934622204589843,
|
155 |
+
"values": [
|
156 |
+
1.5938087158203125,
|
157 |
+
1.5591591796875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 80.55901880951158
|
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.15407155227661,
|
173 |
+
"mean": 0.01246668597737791,
|
174 |
+
"stdev": 0.0009094033128073883,
|
175 |
+
"p50": 0.012291071891784668,
|
176 |
+
"p90": 0.012769075584411621,
|
177 |
+
"p95": 0.012789555358886718,
|
178 |
+
"p99": 0.012844891738891601,
|
179 |
+
"values": [
|
180 |
+
0.012717056274414062,
|
181 |
+
0.012833791732788086,
|
182 |
+
0.012731391906738282,
|
183 |
+
0.012797951698303223,
|
184 |
+
0.012728320121765137,
|
185 |
+
0.012769280433654785,
|
186 |
+
0.012790783882141114,
|
187 |
+
0.012791872024536133,
|
188 |
+
0.012724160194396972,
|
189 |
+
0.01277337646484375,
|
190 |
+
0.01276416015625,
|
191 |
+
0.012829695701599121,
|
192 |
+
0.012718079566955566,
|
193 |
+
0.012761088371276855,
|
194 |
+
0.012699647903442383,
|
195 |
+
0.012772352218627929,
|
196 |
+
0.012777471542358398,
|
197 |
+
0.012802047729492188,
|
198 |
+
0.012726335525512696,
|
199 |
+
0.012784576416015625,
|
200 |
+
0.012717056274414062,
|
201 |
+
0.012724287986755371,
|
202 |
+
0.012786623954772949,
|
203 |
+
0.012790783882141114,
|
204 |
+
0.012731391906738282,
|
205 |
+
0.012775424003601075,
|
206 |
+
0.012691455841064453,
|
207 |
+
0.012815360069274903,
|
208 |
+
0.012723199844360352,
|
209 |
+
0.012742655754089355,
|
210 |
+
0.012702719688415527,
|
211 |
+
0.012766207695007324,
|
212 |
+
0.012734463691711426,
|
213 |
+
0.012770303726196289,
|
214 |
+
0.012691455841064453,
|
215 |
+
0.012687359809875488,
|
216 |
+
0.012690431594848632,
|
217 |
+
0.0127457275390625,
|
218 |
+
0.012726271629333496,
|
219 |
+
0.012744704246520995,
|
220 |
+
0.012698623657226562,
|
221 |
+
0.012769311904907226,
|
222 |
+
0.012729311943054199,
|
223 |
+
0.01287065601348877,
|
224 |
+
0.01274675178527832,
|
225 |
+
0.012775424003601075,
|
226 |
+
0.012726271629333496,
|
227 |
+
0.012768256187438964,
|
228 |
+
0.01275391960144043,
|
229 |
+
0.012822527885437012,
|
230 |
+
0.01273036766052246,
|
231 |
+
0.012788736343383789,
|
232 |
+
0.012718079566955566,
|
233 |
+
0.012772352218627929,
|
234 |
+
0.012849151611328125,
|
235 |
+
0.01278771209716797,
|
236 |
+
0.012694527626037597,
|
237 |
+
0.01274060821533203,
|
238 |
+
0.012708864212036132,
|
239 |
+
0.012840959548950195,
|
240 |
+
0.012707839965820313,
|
241 |
+
0.012760064125061036,
|
242 |
+
0.012697600364685058,
|
243 |
+
0.0127457275390625,
|
244 |
+
0.012608511924743653,
|
245 |
+
0.012670975685119629,
|
246 |
+
0.012697600364685058,
|
247 |
+
0.012621824264526366,
|
248 |
+
0.012316672325134278,
|
249 |
+
0.012509183883666992,
|
250 |
+
0.012535807609558105,
|
251 |
+
0.012704768180847169,
|
252 |
+
0.012704768180847169,
|
253 |
+
0.012397567749023437,
|
254 |
+
0.012344320297241211,
|
255 |
+
0.012368895530700684,
|
256 |
+
0.012411904335021973,
|
257 |
+
0.012315648078918457,
|
258 |
+
0.012267519950866699,
|
259 |
+
0.012320768356323243,
|
260 |
+
0.01224396800994873,
|
261 |
+
0.012298239707946777,
|
262 |
+
0.012305407524108887,
|
263 |
+
0.012319744110107422,
|
264 |
+
0.012249088287353516,
|
265 |
+
0.012298239707946777,
|
266 |
+
0.012326911926269531,
|
267 |
+
0.01237299156188965,
|
268 |
+
0.012278783798217773,
|
269 |
+
0.012304384231567383,
|
270 |
+
0.01226956844329834,
|
271 |
+
0.012305407524108887,
|
272 |
+
0.012247039794921874,
|
273 |
+
0.012296192169189453,
|
274 |
+
0.012253184318542481,
|
275 |
+
0.012297216415405274,
|
276 |
+
0.012275712013244629,
|
277 |
+
0.012319744110107422,
|
278 |
+
0.012244992256164551,
|
279 |
+
0.012294143676757812,
|
280 |
+
0.012244992256164551,
|
281 |
+
0.012285951614379884,
|
282 |
+
0.012248064041137695,
|
283 |
+
0.012289024353027344,
|
284 |
+
0.012254207611083985,
|
285 |
+
0.012297216415405274,
|
286 |
+
0.01225011157989502,
|
287 |
+
0.012282879829406738,
|
288 |
+
0.012247039794921874,
|
289 |
+
0.01228492832183838,
|
290 |
+
0.012233728408813477,
|
291 |
+
0.012312576293945313,
|
292 |
+
0.01225216007232666,
|
293 |
+
0.012286975860595703,
|
294 |
+
0.012241920471191407,
|
295 |
+
0.012290111541748047,
|
296 |
+
0.01226028823852539,
|
297 |
+
0.012288000106811523,
|
298 |
+
0.012253184318542481,
|
299 |
+
0.012296192169189453,
|
300 |
+
0.012246015548706055,
|
301 |
+
0.012285951614379884,
|
302 |
+
0.01226035213470459,
|
303 |
+
0.012282879829406738,
|
304 |
+
0.012244992256164551,
|
305 |
+
0.012297216415405274,
|
306 |
+
0.02650111961364746,
|
307 |
+
0.012239871978759765,
|
308 |
+
0.012290047645568849,
|
309 |
+
0.012264448165893555,
|
310 |
+
0.012303359985351562,
|
311 |
+
0.012239871978759765,
|
312 |
+
0.012308480262756348,
|
313 |
+
0.01226854419708252,
|
314 |
+
0.01229312038421631,
|
315 |
+
0.012263423919677734,
|
316 |
+
0.012291071891784668,
|
317 |
+
0.01224396800994873,
|
318 |
+
0.012286975860595703,
|
319 |
+
0.01225830364227295,
|
320 |
+
0.012294143676757812,
|
321 |
+
0.012256256103515625,
|
322 |
+
0.012278783798217773,
|
323 |
+
0.012248064041137695,
|
324 |
+
0.012348416328430176,
|
325 |
+
0.01225216007232666,
|
326 |
+
0.012320768356323243,
|
327 |
+
0.01226854419708252,
|
328 |
+
0.012281855583190919,
|
329 |
+
0.01226137638092041,
|
330 |
+
0.012285951614379884,
|
331 |
+
0.012244992256164551,
|
332 |
+
0.012292096138000488,
|
333 |
+
0.01225113582611084,
|
334 |
+
0.012285951614379884,
|
335 |
+
0.012253184318542481,
|
336 |
+
0.012294143676757812,
|
337 |
+
0.012241920471191407,
|
338 |
+
0.01228492832183838,
|
339 |
+
0.012239871978759765,
|
340 |
+
0.01228492832183838,
|
341 |
+
0.012253184318542481,
|
342 |
+
0.012328960418701173,
|
343 |
+
0.012244992256164551,
|
344 |
+
0.012285951614379884,
|
345 |
+
0.012248064041137695,
|
346 |
+
0.012298239707946777,
|
347 |
+
0.012255231857299804,
|
348 |
+
0.012281855583190919,
|
349 |
+
0.01225216007232666,
|
350 |
+
0.012279808044433594,
|
351 |
+
0.012253184318542481,
|
352 |
+
0.012291071891784668,
|
353 |
+
0.01225113582611084,
|
354 |
+
0.012275712013244629,
|
355 |
+
0.012240896224975586,
|
356 |
+
0.012324864387512208,
|
357 |
+
0.01225830364227295,
|
358 |
+
0.01228492832183838,
|
359 |
+
0.01224294376373291,
|
360 |
+
0.012292096138000488,
|
361 |
+
0.012259327888488769,
|
362 |
+
0.012277759552001954,
|
363 |
+
0.012237824440002442,
|
364 |
+
0.012280832290649414,
|
365 |
+
0.012264448165893555,
|
366 |
+
0.012282879829406738,
|
367 |
+
0.012247039794921874,
|
368 |
+
0.012283904075622559,
|
369 |
+
0.012237824440002442,
|
370 |
+
0.012294143676757812,
|
371 |
+
0.01226035213470459,
|
372 |
+
0.012304384231567383,
|
373 |
+
0.012237824440002442,
|
374 |
+
0.012289024353027344,
|
375 |
+
0.01225113582611084,
|
376 |
+
0.012283904075622559,
|
377 |
+
0.01224396800994873,
|
378 |
+
0.012277759552001954,
|
379 |
+
0.012246015548706055,
|
380 |
+
0.012291071891784668,
|
381 |
+
0.012229632377624512,
|
382 |
+
0.012290047645568849,
|
383 |
+
0.01224294376373291,
|
384 |
+
0.012286975860595703,
|
385 |
+
0.012241920471191407,
|
386 |
+
0.012303359985351562,
|
387 |
+
0.012254207611083985,
|
388 |
+
0.012288000106811523,
|
389 |
+
0.012248064041137695,
|
390 |
+
0.012292096138000488,
|
391 |
+
0.012239871978759765,
|
392 |
+
0.012286975860595703,
|
393 |
+
0.01226956844329834,
|
394 |
+
0.012288000106811523,
|
395 |
+
0.01223475170135498,
|
396 |
+
0.012283904075622559,
|
397 |
+
0.012257280349731446,
|
398 |
+
0.012296192169189453,
|
399 |
+
0.01239244842529297,
|
400 |
+
0.01245081615447998,
|
401 |
+
0.012306431770324706,
|
402 |
+
0.012297216415405274,
|
403 |
+
0.01226137638092041,
|
404 |
+
0.012299263954162597,
|
405 |
+
0.012255231857299804,
|
406 |
+
0.012299263954162597,
|
407 |
+
0.012254207611083985,
|
408 |
+
0.012281855583190919,
|
409 |
+
0.01224396800994873,
|
410 |
+
0.012285951614379884,
|
411 |
+
0.012244992256164551,
|
412 |
+
0.012292096138000488,
|
413 |
+
0.012246015548706055,
|
414 |
+
0.012555264472961425,
|
415 |
+
0.012246015548706055,
|
416 |
+
0.012288000106811523,
|
417 |
+
0.012241920471191407,
|
418 |
+
0.012291071891784668,
|
419 |
+
0.012233728408813477,
|
420 |
+
0.01226854419708252,
|
421 |
+
0.012241920471191407,
|
422 |
+
0.01228492832183838,
|
423 |
+
0.012247039794921874,
|
424 |
+
0.012280832290649414,
|
425 |
+
0.0122357759475708,
|
426 |
+
0.01228492832183838,
|
427 |
+
0.012248064041137695,
|
428 |
+
0.012299263954162597,
|
429 |
+
0.012271615982055664,
|
430 |
+
0.012281855583190919,
|
431 |
+
0.012241920471191407,
|
432 |
+
0.012297216415405274
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 80.21377949317112
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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.293824,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
|
90 |
+
"transformers_commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
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-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"prefill": {
|
3 |
+
"memory": {
|
4 |
+
"unit": "MB",
|
5 |
+
"max_ram": 1928.159232,
|
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.028283679962158206,
|
15 |
+
"mean": 0.014141839981079103,
|
16 |
+
"stdev": 0.00012878417968749997,
|
17 |
+
"p50": 0.014141839981079103,
|
18 |
+
"p90": 0.014244867324829102,
|
19 |
+
"p95": 0.014257745742797851,
|
20 |
+
"p99": 0.014268048477172852,
|
21 |
+
"values": [
|
22 |
+
0.014270624160766602,
|
23 |
+
0.014013055801391602
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 494.98509453971775
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2272.0512,
|
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.152967895507812,
|
46 |
+
"mean": 1.576483947753906,
|
47 |
+
"stdev": 0.01732476806640626,
|
48 |
+
"p50": 1.576483947753906,
|
49 |
+
"p90": 1.5903437622070313,
|
50 |
+
"p95": 1.5920762390136718,
|
51 |
+
"p99": 1.5934622204589843,
|
52 |
+
"values": [
|
53 |
+
1.5938087158203125,
|
54 |
+
1.5591591796875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 80.55901880951158
|
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.15407155227661,
|
70 |
+
"mean": 0.01246668597737791,
|
71 |
+
"stdev": 0.0009094033128073883,
|
72 |
+
"p50": 0.012291071891784668,
|
73 |
+
"p90": 0.012769075584411621,
|
74 |
+
"p95": 0.012789555358886718,
|
75 |
+
"p99": 0.012844891738891601,
|
76 |
+
"values": [
|
77 |
+
0.012717056274414062,
|
78 |
+
0.012833791732788086,
|
79 |
+
0.012731391906738282,
|
80 |
+
0.012797951698303223,
|
81 |
+
0.012728320121765137,
|
82 |
+
0.012769280433654785,
|
83 |
+
0.012790783882141114,
|
84 |
+
0.012791872024536133,
|
85 |
+
0.012724160194396972,
|
86 |
+
0.01277337646484375,
|
87 |
+
0.01276416015625,
|
88 |
+
0.012829695701599121,
|
89 |
+
0.012718079566955566,
|
90 |
+
0.012761088371276855,
|
91 |
+
0.012699647903442383,
|
92 |
+
0.012772352218627929,
|
93 |
+
0.012777471542358398,
|
94 |
+
0.012802047729492188,
|
95 |
+
0.012726335525512696,
|
96 |
+
0.012784576416015625,
|
97 |
+
0.012717056274414062,
|
98 |
+
0.012724287986755371,
|
99 |
+
0.012786623954772949,
|
100 |
+
0.012790783882141114,
|
101 |
+
0.012731391906738282,
|
102 |
+
0.012775424003601075,
|
103 |
+
0.012691455841064453,
|
104 |
+
0.012815360069274903,
|
105 |
+
0.012723199844360352,
|
106 |
+
0.012742655754089355,
|
107 |
+
0.012702719688415527,
|
108 |
+
0.012766207695007324,
|
109 |
+
0.012734463691711426,
|
110 |
+
0.012770303726196289,
|
111 |
+
0.012691455841064453,
|
112 |
+
0.012687359809875488,
|
113 |
+
0.012690431594848632,
|
114 |
+
0.0127457275390625,
|
115 |
+
0.012726271629333496,
|
116 |
+
0.012744704246520995,
|
117 |
+
0.012698623657226562,
|
118 |
+
0.012769311904907226,
|
119 |
+
0.012729311943054199,
|
120 |
+
0.01287065601348877,
|
121 |
+
0.01274675178527832,
|
122 |
+
0.012775424003601075,
|
123 |
+
0.012726271629333496,
|
124 |
+
0.012768256187438964,
|
125 |
+
0.01275391960144043,
|
126 |
+
0.012822527885437012,
|
127 |
+
0.01273036766052246,
|
128 |
+
0.012788736343383789,
|
129 |
+
0.012718079566955566,
|
130 |
+
0.012772352218627929,
|
131 |
+
0.012849151611328125,
|
132 |
+
0.01278771209716797,
|
133 |
+
0.012694527626037597,
|
134 |
+
0.01274060821533203,
|
135 |
+
0.012708864212036132,
|
136 |
+
0.012840959548950195,
|
137 |
+
0.012707839965820313,
|
138 |
+
0.012760064125061036,
|
139 |
+
0.012697600364685058,
|
140 |
+
0.0127457275390625,
|
141 |
+
0.012608511924743653,
|
142 |
+
0.012670975685119629,
|
143 |
+
0.012697600364685058,
|
144 |
+
0.012621824264526366,
|
145 |
+
0.012316672325134278,
|
146 |
+
0.012509183883666992,
|
147 |
+
0.012535807609558105,
|
148 |
+
0.012704768180847169,
|
149 |
+
0.012704768180847169,
|
150 |
+
0.012397567749023437,
|
151 |
+
0.012344320297241211,
|
152 |
+
0.012368895530700684,
|
153 |
+
0.012411904335021973,
|
154 |
+
0.012315648078918457,
|
155 |
+
0.012267519950866699,
|
156 |
+
0.012320768356323243,
|
157 |
+
0.01224396800994873,
|
158 |
+
0.012298239707946777,
|
159 |
+
0.012305407524108887,
|
160 |
+
0.012319744110107422,
|
161 |
+
0.012249088287353516,
|
162 |
+
0.012298239707946777,
|
163 |
+
0.012326911926269531,
|
164 |
+
0.01237299156188965,
|
165 |
+
0.012278783798217773,
|
166 |
+
0.012304384231567383,
|
167 |
+
0.01226956844329834,
|
168 |
+
0.012305407524108887,
|
169 |
+
0.012247039794921874,
|
170 |
+
0.012296192169189453,
|
171 |
+
0.012253184318542481,
|
172 |
+
0.012297216415405274,
|
173 |
+
0.012275712013244629,
|
174 |
+
0.012319744110107422,
|
175 |
+
0.012244992256164551,
|
176 |
+
0.012294143676757812,
|
177 |
+
0.012244992256164551,
|
178 |
+
0.012285951614379884,
|
179 |
+
0.012248064041137695,
|
180 |
+
0.012289024353027344,
|
181 |
+
0.012254207611083985,
|
182 |
+
0.012297216415405274,
|
183 |
+
0.01225011157989502,
|
184 |
+
0.012282879829406738,
|
185 |
+
0.012247039794921874,
|
186 |
+
0.01228492832183838,
|
187 |
+
0.012233728408813477,
|
188 |
+
0.012312576293945313,
|
189 |
+
0.01225216007232666,
|
190 |
+
0.012286975860595703,
|
191 |
+
0.012241920471191407,
|
192 |
+
0.012290111541748047,
|
193 |
+
0.01226028823852539,
|
194 |
+
0.012288000106811523,
|
195 |
+
0.012253184318542481,
|
196 |
+
0.012296192169189453,
|
197 |
+
0.012246015548706055,
|
198 |
+
0.012285951614379884,
|
199 |
+
0.01226035213470459,
|
200 |
+
0.012282879829406738,
|
201 |
+
0.012244992256164551,
|
202 |
+
0.012297216415405274,
|
203 |
+
0.02650111961364746,
|
204 |
+
0.012239871978759765,
|
205 |
+
0.012290047645568849,
|
206 |
+
0.012264448165893555,
|
207 |
+
0.012303359985351562,
|
208 |
+
0.012239871978759765,
|
209 |
+
0.012308480262756348,
|
210 |
+
0.01226854419708252,
|
211 |
+
0.01229312038421631,
|
212 |
+
0.012263423919677734,
|
213 |
+
0.012291071891784668,
|
214 |
+
0.01224396800994873,
|
215 |
+
0.012286975860595703,
|
216 |
+
0.01225830364227295,
|
217 |
+
0.012294143676757812,
|
218 |
+
0.012256256103515625,
|
219 |
+
0.012278783798217773,
|
220 |
+
0.012248064041137695,
|
221 |
+
0.012348416328430176,
|
222 |
+
0.01225216007232666,
|
223 |
+
0.012320768356323243,
|
224 |
+
0.01226854419708252,
|
225 |
+
0.012281855583190919,
|
226 |
+
0.01226137638092041,
|
227 |
+
0.012285951614379884,
|
228 |
+
0.012244992256164551,
|
229 |
+
0.012292096138000488,
|
230 |
+
0.01225113582611084,
|
231 |
+
0.012285951614379884,
|
232 |
+
0.012253184318542481,
|
233 |
+
0.012294143676757812,
|
234 |
+
0.012241920471191407,
|
235 |
+
0.01228492832183838,
|
236 |
+
0.012239871978759765,
|
237 |
+
0.01228492832183838,
|
238 |
+
0.012253184318542481,
|
239 |
+
0.012328960418701173,
|
240 |
+
0.012244992256164551,
|
241 |
+
0.012285951614379884,
|
242 |
+
0.012248064041137695,
|
243 |
+
0.012298239707946777,
|
244 |
+
0.012255231857299804,
|
245 |
+
0.012281855583190919,
|
246 |
+
0.01225216007232666,
|
247 |
+
0.012279808044433594,
|
248 |
+
0.012253184318542481,
|
249 |
+
0.012291071891784668,
|
250 |
+
0.01225113582611084,
|
251 |
+
0.012275712013244629,
|
252 |
+
0.012240896224975586,
|
253 |
+
0.012324864387512208,
|
254 |
+
0.01225830364227295,
|
255 |
+
0.01228492832183838,
|
256 |
+
0.01224294376373291,
|
257 |
+
0.012292096138000488,
|
258 |
+
0.012259327888488769,
|
259 |
+
0.012277759552001954,
|
260 |
+
0.012237824440002442,
|
261 |
+
0.012280832290649414,
|
262 |
+
0.012264448165893555,
|
263 |
+
0.012282879829406738,
|
264 |
+
0.012247039794921874,
|
265 |
+
0.012283904075622559,
|
266 |
+
0.012237824440002442,
|
267 |
+
0.012294143676757812,
|
268 |
+
0.01226035213470459,
|
269 |
+
0.012304384231567383,
|
270 |
+
0.012237824440002442,
|
271 |
+
0.012289024353027344,
|
272 |
+
0.01225113582611084,
|
273 |
+
0.012283904075622559,
|
274 |
+
0.01224396800994873,
|
275 |
+
0.012277759552001954,
|
276 |
+
0.012246015548706055,
|
277 |
+
0.012291071891784668,
|
278 |
+
0.012229632377624512,
|
279 |
+
0.012290047645568849,
|
280 |
+
0.01224294376373291,
|
281 |
+
0.012286975860595703,
|
282 |
+
0.012241920471191407,
|
283 |
+
0.012303359985351562,
|
284 |
+
0.012254207611083985,
|
285 |
+
0.012288000106811523,
|
286 |
+
0.012248064041137695,
|
287 |
+
0.012292096138000488,
|
288 |
+
0.012239871978759765,
|
289 |
+
0.012286975860595703,
|
290 |
+
0.01226956844329834,
|
291 |
+
0.012288000106811523,
|
292 |
+
0.01223475170135498,
|
293 |
+
0.012283904075622559,
|
294 |
+
0.012257280349731446,
|
295 |
+
0.012296192169189453,
|
296 |
+
0.01239244842529297,
|
297 |
+
0.01245081615447998,
|
298 |
+
0.012306431770324706,
|
299 |
+
0.012297216415405274,
|
300 |
+
0.01226137638092041,
|
301 |
+
0.012299263954162597,
|
302 |
+
0.012255231857299804,
|
303 |
+
0.012299263954162597,
|
304 |
+
0.012254207611083985,
|
305 |
+
0.012281855583190919,
|
306 |
+
0.01224396800994873,
|
307 |
+
0.012285951614379884,
|
308 |
+
0.012244992256164551,
|
309 |
+
0.012292096138000488,
|
310 |
+
0.012246015548706055,
|
311 |
+
0.012555264472961425,
|
312 |
+
0.012246015548706055,
|
313 |
+
0.012288000106811523,
|
314 |
+
0.012241920471191407,
|
315 |
+
0.012291071891784668,
|
316 |
+
0.012233728408813477,
|
317 |
+
0.01226854419708252,
|
318 |
+
0.012241920471191407,
|
319 |
+
0.01228492832183838,
|
320 |
+
0.012247039794921874,
|
321 |
+
0.012280832290649414,
|
322 |
+
0.0122357759475708,
|
323 |
+
0.01228492832183838,
|
324 |
+
0.012248064041137695,
|
325 |
+
0.012299263954162597,
|
326 |
+
0.012271615982055664,
|
327 |
+
0.012281855583190919,
|
328 |
+
0.012241920471191407,
|
329 |
+
0.012297216415405274
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 80.21377949317112
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/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": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.014141839981079103,
|
7 |
+
"prefill.throughput.value": 494.98509453971775,
|
8 |
+
"decode.latency.mean": 1.576483947753906,
|
9 |
+
"decode.throughput.value": 80.55901880951158,
|
10 |
+
"per_token.latency.mean": 0.01246668597737791,
|
11 |
+
"per_token.throughput.value": 80.21377949317112
|
12 |
+
}
|
13 |
+
}
|
2024-06-28/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmp8h7qih8k/commit=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
88 |
+
- hydra.run.dir=_benchmark/tmp8h7qih8k/commit\=1c68f2cafb4ca54562f74b66d1085b68dd6682f5/${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.293824
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.219-208.866.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.43.0.dev0
|
222 |
+
transformers_commit: 1c68f2cafb4ca54562f74b66d1085b68dd6682f5
|
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-28/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.01942091178894043,
|
8 |
+
"prefill.throughput.value": 360.43621824111625,
|
9 |
+
"decode.latency.mean": 2.3815675048828124,
|
10 |
+
"decode.throughput.value": 53.32622306091179,
|
11 |
+
"per_token.latency.mean": 0.01882430539489264,
|
12 |
+
"per_token.throughput.value": 53.12281005977078
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.023109519958496094,
|
21 |
+
"prefill.throughput.value": 302.9054698051608,
|
22 |
+
"decode.latency.mean": 2.6399566650390627,
|
23 |
+
"decode.throughput.value": 48.10685026836258,
|
24 |
+
"per_token.latency.mean": 0.020877902826301663,
|
25 |
+
"per_token.throughput.value": 47.897531103565406
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.014141839981079103,
|
34 |
+
"prefill.throughput.value": 494.98509453971775,
|
35 |
+
"decode.latency.mean": 1.576483947753906,
|
36 |
+
"decode.throughput.value": 80.55901880951158,
|
37 |
+
"per_token.latency.mean": 0.01246668597737791,
|
38 |
+
"per_token.throughput.value": 80.21377949317112
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-28/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"1c68f2cafb4ca54562f74b66d1085b68dd6682f5": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01942091178894043,
|
7 |
+
"prefill.throughput.value": 360.43621824111625,
|
8 |
+
"decode.latency.mean": 2.3815675048828124,
|
9 |
+
"decode.throughput.value": 53.32622306091179,
|
10 |
+
"per_token.latency.mean": 0.01882430539489264,
|
11 |
+
"per_token.throughput.value": 53.12281005977078
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"1c68f2cafb4ca54562f74b66d1085b68dd6682f5": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.023109519958496094,
|
19 |
+
"prefill.throughput.value": 302.9054698051608,
|
20 |
+
"decode.latency.mean": 2.6399566650390627,
|
21 |
+
"decode.throughput.value": 48.10685026836258,
|
22 |
+
"per_token.latency.mean": 0.020877902826301663,
|
23 |
+
"per_token.throughput.value": 47.897531103565406
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"1c68f2cafb4ca54562f74b66d1085b68dd6682f5": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.014141839981079103,
|
31 |
+
"prefill.throughput.value": 494.98509453971775,
|
32 |
+
"decode.latency.mean": 1.576483947753906,
|
33 |
+
"decode.throughput.value": 80.55901880951158,
|
34 |
+
"per_token.latency.mean": 0.01246668597737791,
|
35 |
+
"per_token.throughput.value": 80.21377949317112
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|