hf-transformers-bot
commited on
Upload folder using huggingface_hub
Browse files- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/multirun.yaml +232 -0
- 2024-06-23/summaries.json +41 -0
- 2024-06-23/summary.json +40 -0
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 74a207404e8d4524d1fdc4aa23789694f9eef347
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347
|
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/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347
|
88 |
+
- hydra.run.dir=_benchmark/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347/${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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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": 1703.632896,
|
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.04071708679199219,
|
118 |
+
"mean": 0.020358543395996093,
|
119 |
+
"stdev": 0.0008383522033691415,
|
120 |
+
"p50": 0.020358543395996093,
|
121 |
+
"p90": 0.021029225158691406,
|
122 |
+
"p95": 0.021113060379028322,
|
123 |
+
"p99": 0.021180128555297852,
|
124 |
+
"values": [
|
125 |
+
0.021196895599365235,
|
126 |
+
0.019520191192626952
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 343.8359937566401
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1703.71072,
|
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.9845209960937495,
|
149 |
+
"mean": 2.4922604980468748,
|
150 |
+
"stdev": 0.03530932617187488,
|
151 |
+
"p50": 2.4922604980468748,
|
152 |
+
"p90": 2.520507958984375,
|
153 |
+
"p95": 2.5240388916015624,
|
154 |
+
"p99": 2.526863637695312,
|
155 |
+
"values": [
|
156 |
+
2.52756982421875,
|
157 |
+
2.456951171875
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 50.95775505791906
|
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.983474189758297,
|
173 |
+
"mean": 0.019697526441732414,
|
174 |
+
"stdev": 0.0013307183085213379,
|
175 |
+
"p50": 0.01982259178161621,
|
176 |
+
"p90": 0.020457881546020507,
|
177 |
+
"p95": 0.020566835021972655,
|
178 |
+
"p99": 0.020841471786499022,
|
179 |
+
"values": [
|
180 |
+
0.02089574432373047,
|
181 |
+
0.0204902400970459,
|
182 |
+
0.02062335968017578,
|
183 |
+
0.020497407913208008,
|
184 |
+
0.020521984100341797,
|
185 |
+
0.020365312576293947,
|
186 |
+
0.020478975296020507,
|
187 |
+
0.02026188850402832,
|
188 |
+
0.020351999282836913,
|
189 |
+
0.02045849609375,
|
190 |
+
0.020690944671630858,
|
191 |
+
0.020580352783203124,
|
192 |
+
0.02030899238586426,
|
193 |
+
0.02082918357849121,
|
194 |
+
0.020358144760131838,
|
195 |
+
0.020634624481201173,
|
196 |
+
0.020612096786499022,
|
197 |
+
0.020365312576293947,
|
198 |
+
0.020557823181152343,
|
199 |
+
0.020555776596069338,
|
200 |
+
0.020271104812622072,
|
201 |
+
0.020331520080566406,
|
202 |
+
0.020314111709594726,
|
203 |
+
0.020295679092407228,
|
204 |
+
0.02027008056640625,
|
205 |
+
0.020346879959106445,
|
206 |
+
0.02066227149963379,
|
207 |
+
0.020733951568603515,
|
208 |
+
0.02085478401184082,
|
209 |
+
0.020527103424072265,
|
210 |
+
0.020633600234985353,
|
211 |
+
0.02047385597229004,
|
212 |
+
0.020494335174560546,
|
213 |
+
0.020434944152832032,
|
214 |
+
0.020726783752441406,
|
215 |
+
0.02026803207397461,
|
216 |
+
0.020349952697753908,
|
217 |
+
0.020344831466674804,
|
218 |
+
0.02031718444824219,
|
219 |
+
0.02030284881591797,
|
220 |
+
0.020150272369384766,
|
221 |
+
0.02045849609375,
|
222 |
+
0.020155391693115234,
|
223 |
+
0.02031001663208008,
|
224 |
+
0.020380672454833985,
|
225 |
+
0.020199424743652345,
|
226 |
+
0.01902079963684082,
|
227 |
+
0.01885593605041504,
|
228 |
+
0.018768896102905275,
|
229 |
+
0.018754560470581053,
|
230 |
+
0.018718719482421875,
|
231 |
+
0.018755584716796874,
|
232 |
+
0.018726911544799805,
|
233 |
+
0.018717695236206054,
|
234 |
+
0.019703807830810546,
|
235 |
+
0.01971609687805176,
|
236 |
+
0.019869695663452147,
|
237 |
+
0.018922496795654296,
|
238 |
+
0.018882560729980468,
|
239 |
+
0.018916351318359375,
|
240 |
+
0.01886310386657715,
|
241 |
+
0.018944000244140623,
|
242 |
+
0.018893823623657227,
|
243 |
+
0.01887129592895508,
|
244 |
+
0.020324352264404297,
|
245 |
+
0.020392959594726562,
|
246 |
+
0.020013088226318358,
|
247 |
+
0.019931104660034178,
|
248 |
+
0.01986355209350586,
|
249 |
+
0.01985536003112793,
|
250 |
+
0.01984716796875,
|
251 |
+
0.01990553665161133,
|
252 |
+
0.019878911972045898,
|
253 |
+
0.01984921646118164,
|
254 |
+
0.018916351318359375,
|
255 |
+
0.01887129592895508,
|
256 |
+
0.019917823791503905,
|
257 |
+
0.019983360290527344,
|
258 |
+
0.01984409523010254,
|
259 |
+
0.019920896530151368,
|
260 |
+
0.019915775299072267,
|
261 |
+
0.019817472457885742,
|
262 |
+
0.01987276840209961,
|
263 |
+
0.01986764717102051,
|
264 |
+
0.019870719909667968,
|
265 |
+
0.019854335784912108,
|
266 |
+
0.01982361602783203,
|
267 |
+
0.01987481689453125,
|
268 |
+
0.019893247604370116,
|
269 |
+
0.019912704467773438,
|
270 |
+
0.019818496704101563,
|
271 |
+
0.018927616119384767,
|
272 |
+
0.018950143814086915,
|
273 |
+
0.018892799377441406,
|
274 |
+
0.018721792221069337,
|
275 |
+
0.01865318489074707,
|
276 |
+
0.01880166435241699,
|
277 |
+
0.018918399810791017,
|
278 |
+
0.01883340835571289,
|
279 |
+
0.01885081672668457,
|
280 |
+
0.019834880828857423,
|
281 |
+
0.019817472457885742,
|
282 |
+
0.019793920516967774,
|
283 |
+
0.01980723190307617,
|
284 |
+
0.01984921646118164,
|
285 |
+
0.019842048645019532,
|
286 |
+
0.01983180809020996,
|
287 |
+
0.01983692741394043,
|
288 |
+
0.020140031814575195,
|
289 |
+
0.019810304641723633,
|
290 |
+
0.01982259178161621,
|
291 |
+
0.019883007049560548,
|
292 |
+
0.019835968017578125,
|
293 |
+
0.019874752044677733,
|
294 |
+
0.020290559768676757,
|
295 |
+
0.020239360809326173,
|
296 |
+
0.02045849609375,
|
297 |
+
0.020477951049804686,
|
298 |
+
0.019998720169067383,
|
299 |
+
0.019949567794799804,
|
300 |
+
0.019895296096801757,
|
301 |
+
0.019927040100097656,
|
302 |
+
0.019891199111938478,
|
303 |
+
0.019803136825561524,
|
304 |
+
0.01985228729248047,
|
305 |
+
0.01986867141723633,
|
306 |
+
0.03832729721069336,
|
307 |
+
0.018705408096313478,
|
308 |
+
0.018626560211181642,
|
309 |
+
0.01878835105895996,
|
310 |
+
0.018684928894042968,
|
311 |
+
0.019365888595581054,
|
312 |
+
0.019689472198486328,
|
313 |
+
0.01967001533508301,
|
314 |
+
0.018703359603881836,
|
315 |
+
0.018729984283447267,
|
316 |
+
0.0188221435546875,
|
317 |
+
0.01879449653625488,
|
318 |
+
0.018948095321655273,
|
319 |
+
0.019700735092163087,
|
320 |
+
0.019705856323242187,
|
321 |
+
0.019720191955566405,
|
322 |
+
0.019738624572753907,
|
323 |
+
0.019655679702758787,
|
324 |
+
0.019732479095458985,
|
325 |
+
0.019758079528808595,
|
326 |
+
0.019680255889892577,
|
327 |
+
0.01971609687805176,
|
328 |
+
0.019735551834106444,
|
329 |
+
0.019764223098754884,
|
330 |
+
0.019735551834106444,
|
331 |
+
0.018747392654418944,
|
332 |
+
0.018876415252685547,
|
333 |
+
0.019713024139404296,
|
334 |
+
0.018817024230957033,
|
335 |
+
0.018786304473876952,
|
336 |
+
0.018704383850097657,
|
337 |
+
0.018593791961669923,
|
338 |
+
0.018556928634643553,
|
339 |
+
0.018750463485717773,
|
340 |
+
0.01880575942993164,
|
341 |
+
0.018728960037231446,
|
342 |
+
0.018759679794311524,
|
343 |
+
0.01902079963684082,
|
344 |
+
0.018755584716796874,
|
345 |
+
0.018770944595336913,
|
346 |
+
0.01946828842163086,
|
347 |
+
0.019759103775024413,
|
348 |
+
0.020305919647216796,
|
349 |
+
0.019735551834106444,
|
350 |
+
0.01970278358459473,
|
351 |
+
0.01965056037902832,
|
352 |
+
0.018761728286743166,
|
353 |
+
0.018729984283447267,
|
354 |
+
0.018711551666259766,
|
355 |
+
0.018713600158691408,
|
356 |
+
0.01928704071044922,
|
357 |
+
0.019710975646972655,
|
358 |
+
0.019731456756591798,
|
359 |
+
0.019689472198486328,
|
360 |
+
0.01968230438232422,
|
361 |
+
0.019718143463134767,
|
362 |
+
0.019700735092163087,
|
363 |
+
0.01887539291381836,
|
364 |
+
0.018941951751708985,
|
365 |
+
0.018898944854736328,
|
366 |
+
0.018884607315063476,
|
367 |
+
0.018917375564575196,
|
368 |
+
0.018928640365600585,
|
369 |
+
0.0189040641784668,
|
370 |
+
0.018896896362304686,
|
371 |
+
0.0189040641784668,
|
372 |
+
0.018908159255981445,
|
373 |
+
0.01886310386657715,
|
374 |
+
0.019588096618652344,
|
375 |
+
0.01884671974182129,
|
376 |
+
0.01884569549560547,
|
377 |
+
0.018913280487060546,
|
378 |
+
0.018737152099609376,
|
379 |
+
0.0186746883392334,
|
380 |
+
0.019885055541992186,
|
381 |
+
0.01984819221496582,
|
382 |
+
0.01984102439880371,
|
383 |
+
0.019974143981933593,
|
384 |
+
0.01989836883544922,
|
385 |
+
0.019877887725830077,
|
386 |
+
0.01982361602783203,
|
387 |
+
0.019883007049560548,
|
388 |
+
0.019910655975341796,
|
389 |
+
0.019804159164428712,
|
390 |
+
0.020291584014892578,
|
391 |
+
0.019946495056152345,
|
392 |
+
0.01984716796875,
|
393 |
+
0.019919872283935547,
|
394 |
+
0.019842048645019532,
|
395 |
+
0.019895296096801757,
|
396 |
+
0.019264511108398438,
|
397 |
+
0.019919872283935547,
|
398 |
+
0.01883852767944336,
|
399 |
+
0.018880512237548826,
|
400 |
+
0.020455423355102538,
|
401 |
+
0.01985843276977539,
|
402 |
+
0.019931135177612306,
|
403 |
+
0.019896320343017578,
|
404 |
+
0.01985843276977539,
|
405 |
+
0.019870719909667968,
|
406 |
+
0.019885055541992186,
|
407 |
+
0.019768320083618163,
|
408 |
+
0.019910655975341796,
|
409 |
+
0.01988915252685547,
|
410 |
+
0.019957759857177734,
|
411 |
+
0.01990656089782715,
|
412 |
+
0.019885055541992186,
|
413 |
+
0.019843072891235353,
|
414 |
+
0.018897920608520507,
|
415 |
+
0.01885593605041504,
|
416 |
+
0.01884160041809082,
|
417 |
+
0.01887129592895508,
|
418 |
+
0.018897920608520507,
|
419 |
+
0.01883955192565918,
|
420 |
+
0.0187064323425293,
|
421 |
+
0.018610176086425782,
|
422 |
+
0.018754560470581053,
|
423 |
+
0.01882009506225586,
|
424 |
+
0.0188272647857666,
|
425 |
+
0.01883750343322754,
|
426 |
+
0.020191232681274415,
|
427 |
+
0.01983897590637207,
|
428 |
+
0.019862527847290038,
|
429 |
+
0.019587072372436523,
|
430 |
+
0.019766271591186522,
|
431 |
+
0.01987481689453125,
|
432 |
+
0.019842048645019532
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 50.76779579192935
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": 1703.632896,
|
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.04071708679199219,
|
15 |
+
"mean": 0.020358543395996093,
|
16 |
+
"stdev": 0.0008383522033691415,
|
17 |
+
"p50": 0.020358543395996093,
|
18 |
+
"p90": 0.021029225158691406,
|
19 |
+
"p95": 0.021113060379028322,
|
20 |
+
"p99": 0.021180128555297852,
|
21 |
+
"values": [
|
22 |
+
0.021196895599365235,
|
23 |
+
0.019520191192626952
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 343.8359937566401
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1703.71072,
|
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.9845209960937495,
|
46 |
+
"mean": 2.4922604980468748,
|
47 |
+
"stdev": 0.03530932617187488,
|
48 |
+
"p50": 2.4922604980468748,
|
49 |
+
"p90": 2.520507958984375,
|
50 |
+
"p95": 2.5240388916015624,
|
51 |
+
"p99": 2.526863637695312,
|
52 |
+
"values": [
|
53 |
+
2.52756982421875,
|
54 |
+
2.456951171875
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 50.95775505791906
|
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.983474189758297,
|
70 |
+
"mean": 0.019697526441732414,
|
71 |
+
"stdev": 0.0013307183085213379,
|
72 |
+
"p50": 0.01982259178161621,
|
73 |
+
"p90": 0.020457881546020507,
|
74 |
+
"p95": 0.020566835021972655,
|
75 |
+
"p99": 0.020841471786499022,
|
76 |
+
"values": [
|
77 |
+
0.02089574432373047,
|
78 |
+
0.0204902400970459,
|
79 |
+
0.02062335968017578,
|
80 |
+
0.020497407913208008,
|
81 |
+
0.020521984100341797,
|
82 |
+
0.020365312576293947,
|
83 |
+
0.020478975296020507,
|
84 |
+
0.02026188850402832,
|
85 |
+
0.020351999282836913,
|
86 |
+
0.02045849609375,
|
87 |
+
0.020690944671630858,
|
88 |
+
0.020580352783203124,
|
89 |
+
0.02030899238586426,
|
90 |
+
0.02082918357849121,
|
91 |
+
0.020358144760131838,
|
92 |
+
0.020634624481201173,
|
93 |
+
0.020612096786499022,
|
94 |
+
0.020365312576293947,
|
95 |
+
0.020557823181152343,
|
96 |
+
0.020555776596069338,
|
97 |
+
0.020271104812622072,
|
98 |
+
0.020331520080566406,
|
99 |
+
0.020314111709594726,
|
100 |
+
0.020295679092407228,
|
101 |
+
0.02027008056640625,
|
102 |
+
0.020346879959106445,
|
103 |
+
0.02066227149963379,
|
104 |
+
0.020733951568603515,
|
105 |
+
0.02085478401184082,
|
106 |
+
0.020527103424072265,
|
107 |
+
0.020633600234985353,
|
108 |
+
0.02047385597229004,
|
109 |
+
0.020494335174560546,
|
110 |
+
0.020434944152832032,
|
111 |
+
0.020726783752441406,
|
112 |
+
0.02026803207397461,
|
113 |
+
0.020349952697753908,
|
114 |
+
0.020344831466674804,
|
115 |
+
0.02031718444824219,
|
116 |
+
0.02030284881591797,
|
117 |
+
0.020150272369384766,
|
118 |
+
0.02045849609375,
|
119 |
+
0.020155391693115234,
|
120 |
+
0.02031001663208008,
|
121 |
+
0.020380672454833985,
|
122 |
+
0.020199424743652345,
|
123 |
+
0.01902079963684082,
|
124 |
+
0.01885593605041504,
|
125 |
+
0.018768896102905275,
|
126 |
+
0.018754560470581053,
|
127 |
+
0.018718719482421875,
|
128 |
+
0.018755584716796874,
|
129 |
+
0.018726911544799805,
|
130 |
+
0.018717695236206054,
|
131 |
+
0.019703807830810546,
|
132 |
+
0.01971609687805176,
|
133 |
+
0.019869695663452147,
|
134 |
+
0.018922496795654296,
|
135 |
+
0.018882560729980468,
|
136 |
+
0.018916351318359375,
|
137 |
+
0.01886310386657715,
|
138 |
+
0.018944000244140623,
|
139 |
+
0.018893823623657227,
|
140 |
+
0.01887129592895508,
|
141 |
+
0.020324352264404297,
|
142 |
+
0.020392959594726562,
|
143 |
+
0.020013088226318358,
|
144 |
+
0.019931104660034178,
|
145 |
+
0.01986355209350586,
|
146 |
+
0.01985536003112793,
|
147 |
+
0.01984716796875,
|
148 |
+
0.01990553665161133,
|
149 |
+
0.019878911972045898,
|
150 |
+
0.01984921646118164,
|
151 |
+
0.018916351318359375,
|
152 |
+
0.01887129592895508,
|
153 |
+
0.019917823791503905,
|
154 |
+
0.019983360290527344,
|
155 |
+
0.01984409523010254,
|
156 |
+
0.019920896530151368,
|
157 |
+
0.019915775299072267,
|
158 |
+
0.019817472457885742,
|
159 |
+
0.01987276840209961,
|
160 |
+
0.01986764717102051,
|
161 |
+
0.019870719909667968,
|
162 |
+
0.019854335784912108,
|
163 |
+
0.01982361602783203,
|
164 |
+
0.01987481689453125,
|
165 |
+
0.019893247604370116,
|
166 |
+
0.019912704467773438,
|
167 |
+
0.019818496704101563,
|
168 |
+
0.018927616119384767,
|
169 |
+
0.018950143814086915,
|
170 |
+
0.018892799377441406,
|
171 |
+
0.018721792221069337,
|
172 |
+
0.01865318489074707,
|
173 |
+
0.01880166435241699,
|
174 |
+
0.018918399810791017,
|
175 |
+
0.01883340835571289,
|
176 |
+
0.01885081672668457,
|
177 |
+
0.019834880828857423,
|
178 |
+
0.019817472457885742,
|
179 |
+
0.019793920516967774,
|
180 |
+
0.01980723190307617,
|
181 |
+
0.01984921646118164,
|
182 |
+
0.019842048645019532,
|
183 |
+
0.01983180809020996,
|
184 |
+
0.01983692741394043,
|
185 |
+
0.020140031814575195,
|
186 |
+
0.019810304641723633,
|
187 |
+
0.01982259178161621,
|
188 |
+
0.019883007049560548,
|
189 |
+
0.019835968017578125,
|
190 |
+
0.019874752044677733,
|
191 |
+
0.020290559768676757,
|
192 |
+
0.020239360809326173,
|
193 |
+
0.02045849609375,
|
194 |
+
0.020477951049804686,
|
195 |
+
0.019998720169067383,
|
196 |
+
0.019949567794799804,
|
197 |
+
0.019895296096801757,
|
198 |
+
0.019927040100097656,
|
199 |
+
0.019891199111938478,
|
200 |
+
0.019803136825561524,
|
201 |
+
0.01985228729248047,
|
202 |
+
0.01986867141723633,
|
203 |
+
0.03832729721069336,
|
204 |
+
0.018705408096313478,
|
205 |
+
0.018626560211181642,
|
206 |
+
0.01878835105895996,
|
207 |
+
0.018684928894042968,
|
208 |
+
0.019365888595581054,
|
209 |
+
0.019689472198486328,
|
210 |
+
0.01967001533508301,
|
211 |
+
0.018703359603881836,
|
212 |
+
0.018729984283447267,
|
213 |
+
0.0188221435546875,
|
214 |
+
0.01879449653625488,
|
215 |
+
0.018948095321655273,
|
216 |
+
0.019700735092163087,
|
217 |
+
0.019705856323242187,
|
218 |
+
0.019720191955566405,
|
219 |
+
0.019738624572753907,
|
220 |
+
0.019655679702758787,
|
221 |
+
0.019732479095458985,
|
222 |
+
0.019758079528808595,
|
223 |
+
0.019680255889892577,
|
224 |
+
0.01971609687805176,
|
225 |
+
0.019735551834106444,
|
226 |
+
0.019764223098754884,
|
227 |
+
0.019735551834106444,
|
228 |
+
0.018747392654418944,
|
229 |
+
0.018876415252685547,
|
230 |
+
0.019713024139404296,
|
231 |
+
0.018817024230957033,
|
232 |
+
0.018786304473876952,
|
233 |
+
0.018704383850097657,
|
234 |
+
0.018593791961669923,
|
235 |
+
0.018556928634643553,
|
236 |
+
0.018750463485717773,
|
237 |
+
0.01880575942993164,
|
238 |
+
0.018728960037231446,
|
239 |
+
0.018759679794311524,
|
240 |
+
0.01902079963684082,
|
241 |
+
0.018755584716796874,
|
242 |
+
0.018770944595336913,
|
243 |
+
0.01946828842163086,
|
244 |
+
0.019759103775024413,
|
245 |
+
0.020305919647216796,
|
246 |
+
0.019735551834106444,
|
247 |
+
0.01970278358459473,
|
248 |
+
0.01965056037902832,
|
249 |
+
0.018761728286743166,
|
250 |
+
0.018729984283447267,
|
251 |
+
0.018711551666259766,
|
252 |
+
0.018713600158691408,
|
253 |
+
0.01928704071044922,
|
254 |
+
0.019710975646972655,
|
255 |
+
0.019731456756591798,
|
256 |
+
0.019689472198486328,
|
257 |
+
0.01968230438232422,
|
258 |
+
0.019718143463134767,
|
259 |
+
0.019700735092163087,
|
260 |
+
0.01887539291381836,
|
261 |
+
0.018941951751708985,
|
262 |
+
0.018898944854736328,
|
263 |
+
0.018884607315063476,
|
264 |
+
0.018917375564575196,
|
265 |
+
0.018928640365600585,
|
266 |
+
0.0189040641784668,
|
267 |
+
0.018896896362304686,
|
268 |
+
0.0189040641784668,
|
269 |
+
0.018908159255981445,
|
270 |
+
0.01886310386657715,
|
271 |
+
0.019588096618652344,
|
272 |
+
0.01884671974182129,
|
273 |
+
0.01884569549560547,
|
274 |
+
0.018913280487060546,
|
275 |
+
0.018737152099609376,
|
276 |
+
0.0186746883392334,
|
277 |
+
0.019885055541992186,
|
278 |
+
0.01984819221496582,
|
279 |
+
0.01984102439880371,
|
280 |
+
0.019974143981933593,
|
281 |
+
0.01989836883544922,
|
282 |
+
0.019877887725830077,
|
283 |
+
0.01982361602783203,
|
284 |
+
0.019883007049560548,
|
285 |
+
0.019910655975341796,
|
286 |
+
0.019804159164428712,
|
287 |
+
0.020291584014892578,
|
288 |
+
0.019946495056152345,
|
289 |
+
0.01984716796875,
|
290 |
+
0.019919872283935547,
|
291 |
+
0.019842048645019532,
|
292 |
+
0.019895296096801757,
|
293 |
+
0.019264511108398438,
|
294 |
+
0.019919872283935547,
|
295 |
+
0.01883852767944336,
|
296 |
+
0.018880512237548826,
|
297 |
+
0.020455423355102538,
|
298 |
+
0.01985843276977539,
|
299 |
+
0.019931135177612306,
|
300 |
+
0.019896320343017578,
|
301 |
+
0.01985843276977539,
|
302 |
+
0.019870719909667968,
|
303 |
+
0.019885055541992186,
|
304 |
+
0.019768320083618163,
|
305 |
+
0.019910655975341796,
|
306 |
+
0.01988915252685547,
|
307 |
+
0.019957759857177734,
|
308 |
+
0.01990656089782715,
|
309 |
+
0.019885055541992186,
|
310 |
+
0.019843072891235353,
|
311 |
+
0.018897920608520507,
|
312 |
+
0.01885593605041504,
|
313 |
+
0.01884160041809082,
|
314 |
+
0.01887129592895508,
|
315 |
+
0.018897920608520507,
|
316 |
+
0.01883955192565918,
|
317 |
+
0.0187064323425293,
|
318 |
+
0.018610176086425782,
|
319 |
+
0.018754560470581053,
|
320 |
+
0.01882009506225586,
|
321 |
+
0.0188272647857666,
|
322 |
+
0.01883750343322754,
|
323 |
+
0.020191232681274415,
|
324 |
+
0.01983897590637207,
|
325 |
+
0.019862527847290038,
|
326 |
+
0.019587072372436523,
|
327 |
+
0.019766271591186522,
|
328 |
+
0.01987481689453125,
|
329 |
+
0.019842048645019532
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 50.76779579192935
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020358543395996093,
|
7 |
+
"prefill.throughput.value": 343.8359937566401,
|
8 |
+
"decode.latency.mean": 2.4922604980468748,
|
9 |
+
"decode.throughput.value": 50.95775505791906,
|
10 |
+
"per_token.latency.mean": 0.019697526441732414,
|
11 |
+
"per_token.throughput.value": 50.76779579192935
|
12 |
+
}
|
13 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: null
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 74a207404e8d4524d1fdc4aa23789694f9eef347
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347
|
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/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347
|
88 |
+
- hydra.run.dir=_benchmark/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347/${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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[ISOLATED-PROCESS][[36m2024-06-23 02:34:42,723[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": null,
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: false
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 74a207404e8d4524d1fdc4aa23789694f9eef347
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347
|
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/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347
|
88 |
+
- hydra.run.dir=_benchmark/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347/${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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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": 1756.188672,
|
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.044299072265625,
|
118 |
+
"mean": 0.0221495361328125,
|
119 |
+
"stdev": 0.0002369594573974603,
|
120 |
+
"p50": 0.0221495361328125,
|
121 |
+
"p90": 0.02233910369873047,
|
122 |
+
"p95": 0.022362799644470212,
|
123 |
+
"p99": 0.02238175640106201,
|
124 |
+
"values": [
|
125 |
+
0.02238649559020996,
|
126 |
+
0.02191257667541504
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 316.03370644092826
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 1756.205056,
|
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.20422802734375,
|
149 |
+
"mean": 2.602114013671875,
|
150 |
+
"stdev": 0.011708496093750131,
|
151 |
+
"p50": 2.602114013671875,
|
152 |
+
"p90": 2.611480810546875,
|
153 |
+
"p95": 2.61265166015625,
|
154 |
+
"p99": 2.61358833984375,
|
155 |
+
"values": [
|
156 |
+
2.613822509765625,
|
157 |
+
2.590405517578125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 48.80647017491318
|
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.205268470764162,
|
173 |
+
"mean": 0.020574183678909723,
|
174 |
+
"stdev": 0.0014684998951447511,
|
175 |
+
"p50": 0.020150272369384766,
|
176 |
+
"p90": 0.021069210052490232,
|
177 |
+
"p95": 0.021171814346313475,
|
178 |
+
"p99": 0.02232107696533203,
|
179 |
+
"values": [
|
180 |
+
0.021943296432495117,
|
181 |
+
0.022305824279785155,
|
182 |
+
0.021975008010864258,
|
183 |
+
0.021965824127197265,
|
184 |
+
0.0204083194732666,
|
185 |
+
0.020249599456787108,
|
186 |
+
0.020257791519165038,
|
187 |
+
0.020625408172607423,
|
188 |
+
0.021109760284423826,
|
189 |
+
0.021009408950805664,
|
190 |
+
0.020993024826049804,
|
191 |
+
0.020951040267944337,
|
192 |
+
0.02103603172302246,
|
193 |
+
0.020962303161621093,
|
194 |
+
0.021038080215454103,
|
195 |
+
0.02099404716491699,
|
196 |
+
0.02107596778869629,
|
197 |
+
0.020173824310302735,
|
198 |
+
0.020197376251220703,
|
199 |
+
0.020835391998291014,
|
200 |
+
0.0201727352142334,
|
201 |
+
0.020970495223999023,
|
202 |
+
0.020966400146484376,
|
203 |
+
0.020975616455078124,
|
204 |
+
0.021006336212158205,
|
205 |
+
0.020124671936035156,
|
206 |
+
0.020180992126464844,
|
207 |
+
0.020117504119873047,
|
208 |
+
0.020196352005004883,
|
209 |
+
0.02047385597229004,
|
210 |
+
0.021133312225341795,
|
211 |
+
0.021078016281127928,
|
212 |
+
0.02107904052734375,
|
213 |
+
0.02103398323059082,
|
214 |
+
0.020987903594970703,
|
215 |
+
0.020964351654052735,
|
216 |
+
0.02107084846496582,
|
217 |
+
0.020954111099243163,
|
218 |
+
0.020970495223999023,
|
219 |
+
0.02093984031677246,
|
220 |
+
0.021024703979492188,
|
221 |
+
0.02106265640258789,
|
222 |
+
0.021113855361938477,
|
223 |
+
0.02105855941772461,
|
224 |
+
0.021037055969238282,
|
225 |
+
0.021013504028320314,
|
226 |
+
0.023981056213378905,
|
227 |
+
0.02233760070800781,
|
228 |
+
0.0205413761138916,
|
229 |
+
0.020349952697753908,
|
230 |
+
0.020211776733398436,
|
231 |
+
0.020092863082885742,
|
232 |
+
0.020075519561767577,
|
233 |
+
0.02005299186706543,
|
234 |
+
0.02006937599182129,
|
235 |
+
0.020149248123168945,
|
236 |
+
0.020444160461425782,
|
237 |
+
0.020115455627441405,
|
238 |
+
0.020121599197387697,
|
239 |
+
0.020116479873657226,
|
240 |
+
0.020060159683227538,
|
241 |
+
0.0200447998046875,
|
242 |
+
0.020092927932739257,
|
243 |
+
0.020076543807983398,
|
244 |
+
0.020117504119873047,
|
245 |
+
0.02006220817565918,
|
246 |
+
0.02007756805419922,
|
247 |
+
0.020150272369384766,
|
248 |
+
0.02009600067138672,
|
249 |
+
0.021526527404785157,
|
250 |
+
0.020925439834594727,
|
251 |
+
0.02091929626464844,
|
252 |
+
0.020957183837890626,
|
253 |
+
0.0208855037689209,
|
254 |
+
0.020958208084106447,
|
255 |
+
0.020896768569946288,
|
256 |
+
0.020116479873657226,
|
257 |
+
0.02007142448425293,
|
258 |
+
0.02007859230041504,
|
259 |
+
0.02007756805419922,
|
260 |
+
0.0200949764251709,
|
261 |
+
0.020102144241333008,
|
262 |
+
0.020146175384521483,
|
263 |
+
0.02005606460571289,
|
264 |
+
0.020099071502685546,
|
265 |
+
0.020065280914306642,
|
266 |
+
0.020084735870361328,
|
267 |
+
0.020099071502685546,
|
268 |
+
0.020059135437011717,
|
269 |
+
0.020057088851928712,
|
270 |
+
0.0200447998046875,
|
271 |
+
0.020083711624145507,
|
272 |
+
0.020470783233642577,
|
273 |
+
0.020105215072631837,
|
274 |
+
0.020861984252929688,
|
275 |
+
0.020853727340698243,
|
276 |
+
0.020920320510864256,
|
277 |
+
0.02087116813659668,
|
278 |
+
0.02089369583129883,
|
279 |
+
0.02087014389038086,
|
280 |
+
0.021013504028320314,
|
281 |
+
0.020932607650756836,
|
282 |
+
0.021009408950805664,
|
283 |
+
0.020857952117919923,
|
284 |
+
0.020909984588623046,
|
285 |
+
0.020925439834594727,
|
286 |
+
0.02022502326965332,
|
287 |
+
0.020092927932739257,
|
288 |
+
0.02017791938781738,
|
289 |
+
0.020076543807983398,
|
290 |
+
0.020123647689819335,
|
291 |
+
0.020076543807983398,
|
292 |
+
0.020105215072631837,
|
293 |
+
0.020122623443603514,
|
294 |
+
0.020084735870361328,
|
295 |
+
0.02002943992614746,
|
296 |
+
0.020109312057495117,
|
297 |
+
0.02005606460571289,
|
298 |
+
0.02012876892089844,
|
299 |
+
0.020033536911010744,
|
300 |
+
0.020090879440307616,
|
301 |
+
0.02004582405090332,
|
302 |
+
0.02004275131225586,
|
303 |
+
0.020032512664794923,
|
304 |
+
0.0200263671875,
|
305 |
+
0.020082687377929686,
|
306 |
+
0.04223590469360351,
|
307 |
+
0.020123647689819335,
|
308 |
+
0.02007859230041504,
|
309 |
+
0.02010419273376465,
|
310 |
+
0.020118528366088868,
|
311 |
+
0.020074495315551756,
|
312 |
+
0.02007961654663086,
|
313 |
+
0.020065280914306642,
|
314 |
+
0.020101119995117187,
|
315 |
+
0.020133888244628906,
|
316 |
+
0.020059135437011717,
|
317 |
+
0.020067327499389647,
|
318 |
+
0.020048896789550782,
|
319 |
+
0.02007040023803711,
|
320 |
+
0.020154367446899413,
|
321 |
+
0.020164608001708984,
|
322 |
+
0.020142080307006836,
|
323 |
+
0.020093952178955078,
|
324 |
+
0.02010419273376465,
|
325 |
+
0.020092927932739257,
|
326 |
+
0.020016128540039063,
|
327 |
+
0.02003865623474121,
|
328 |
+
0.020140031814575195,
|
329 |
+
0.020145151138305666,
|
330 |
+
0.020051967620849608,
|
331 |
+
0.020100095748901366,
|
332 |
+
0.020222976684570314,
|
333 |
+
0.020100095748901366,
|
334 |
+
0.020107263565063475,
|
335 |
+
0.020281343460083007,
|
336 |
+
0.02146406364440918,
|
337 |
+
0.021202943801879884,
|
338 |
+
0.021072895050048827,
|
339 |
+
0.021105663299560547,
|
340 |
+
0.020959232330322267,
|
341 |
+
0.020986879348754883,
|
342 |
+
0.021046272277832033,
|
343 |
+
0.021014528274536134,
|
344 |
+
0.020986879348754883,
|
345 |
+
0.02099404716491699,
|
346 |
+
0.02105548858642578,
|
347 |
+
0.020959232330322267,
|
348 |
+
0.02108518409729004,
|
349 |
+
0.02103910446166992,
|
350 |
+
0.020995071411132812,
|
351 |
+
0.021008384704589843,
|
352 |
+
0.02104115104675293,
|
353 |
+
0.021712896347045898,
|
354 |
+
0.021198848724365234,
|
355 |
+
0.021111808776855468,
|
356 |
+
0.020264959335327147,
|
357 |
+
0.02007142448425293,
|
358 |
+
0.02007859230041504,
|
359 |
+
0.020121599197387697,
|
360 |
+
0.020105215072631837,
|
361 |
+
0.020189184188842774,
|
362 |
+
0.020123647689819335,
|
363 |
+
0.020154367446899413,
|
364 |
+
0.02007244873046875,
|
365 |
+
0.0200581111907959,
|
366 |
+
0.02006630325317383,
|
367 |
+
0.02008166313171387,
|
368 |
+
0.02146303939819336,
|
369 |
+
0.021153791427612305,
|
370 |
+
0.021128192901611328,
|
371 |
+
0.020985855102539062,
|
372 |
+
0.02106265640258789,
|
373 |
+
0.020981760025024415,
|
374 |
+
0.020970495223999023,
|
375 |
+
0.020977664947509765,
|
376 |
+
0.021014528274536134,
|
377 |
+
0.021013504028320314,
|
378 |
+
0.020969472885131835,
|
379 |
+
0.020987903594970703,
|
380 |
+
0.02104319953918457,
|
381 |
+
0.020979711532592774,
|
382 |
+
0.020944896697998046,
|
383 |
+
0.020935680389404295,
|
384 |
+
0.02091929626464844,
|
385 |
+
0.020979711532592774,
|
386 |
+
0.020099071502685546,
|
387 |
+
0.02005401611328125,
|
388 |
+
0.020102144241333008,
|
389 |
+
0.02007142448425293,
|
390 |
+
0.020113407135009767,
|
391 |
+
0.020176895141601564,
|
392 |
+
0.020067327499389647,
|
393 |
+
0.020137983322143553,
|
394 |
+
0.020084735870361328,
|
395 |
+
0.020118528366088868,
|
396 |
+
0.02011955261230469,
|
397 |
+
0.020161535263061522,
|
398 |
+
0.02009702491760254,
|
399 |
+
0.02006937599182129,
|
400 |
+
0.020092927932739257,
|
401 |
+
0.02008064079284668,
|
402 |
+
0.02007040023803711,
|
403 |
+
0.020100095748901366,
|
404 |
+
0.02010316848754883,
|
405 |
+
0.020059135437011717,
|
406 |
+
0.0200898551940918,
|
407 |
+
0.020110336303710938,
|
408 |
+
0.02008576011657715,
|
409 |
+
0.020075519561767577,
|
410 |
+
0.02009702491760254,
|
411 |
+
0.020139007568359374,
|
412 |
+
0.02011238479614258,
|
413 |
+
0.020125696182250977,
|
414 |
+
0.020091903686523437,
|
415 |
+
0.020121599197387697,
|
416 |
+
0.020141056060791016,
|
417 |
+
0.020149248123168945,
|
418 |
+
0.020175872802734376,
|
419 |
+
0.02019327926635742,
|
420 |
+
0.020158464431762696,
|
421 |
+
0.020185087203979494,
|
422 |
+
0.020123647689819335,
|
423 |
+
0.020179967880249023,
|
424 |
+
0.02007142448425293,
|
425 |
+
0.02006118392944336,
|
426 |
+
0.020074495315551756,
|
427 |
+
0.020109312057495117,
|
428 |
+
0.020092927932739257,
|
429 |
+
0.02004787254333496,
|
430 |
+
0.020154367446899413,
|
431 |
+
0.02005504035949707,
|
432 |
+
0.020093952178955078
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 48.6046015534062
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
File without changes
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": false,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": 1756.188672,
|
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.044299072265625,
|
15 |
+
"mean": 0.0221495361328125,
|
16 |
+
"stdev": 0.0002369594573974603,
|
17 |
+
"p50": 0.0221495361328125,
|
18 |
+
"p90": 0.02233910369873047,
|
19 |
+
"p95": 0.022362799644470212,
|
20 |
+
"p99": 0.02238175640106201,
|
21 |
+
"values": [
|
22 |
+
0.02238649559020996,
|
23 |
+
0.02191257667541504
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 316.03370644092826
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 1756.205056,
|
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.20422802734375,
|
46 |
+
"mean": 2.602114013671875,
|
47 |
+
"stdev": 0.011708496093750131,
|
48 |
+
"p50": 2.602114013671875,
|
49 |
+
"p90": 2.611480810546875,
|
50 |
+
"p95": 2.61265166015625,
|
51 |
+
"p99": 2.61358833984375,
|
52 |
+
"values": [
|
53 |
+
2.613822509765625,
|
54 |
+
2.590405517578125
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 48.80647017491318
|
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.205268470764162,
|
70 |
+
"mean": 0.020574183678909723,
|
71 |
+
"stdev": 0.0014684998951447511,
|
72 |
+
"p50": 0.020150272369384766,
|
73 |
+
"p90": 0.021069210052490232,
|
74 |
+
"p95": 0.021171814346313475,
|
75 |
+
"p99": 0.02232107696533203,
|
76 |
+
"values": [
|
77 |
+
0.021943296432495117,
|
78 |
+
0.022305824279785155,
|
79 |
+
0.021975008010864258,
|
80 |
+
0.021965824127197265,
|
81 |
+
0.0204083194732666,
|
82 |
+
0.020249599456787108,
|
83 |
+
0.020257791519165038,
|
84 |
+
0.020625408172607423,
|
85 |
+
0.021109760284423826,
|
86 |
+
0.021009408950805664,
|
87 |
+
0.020993024826049804,
|
88 |
+
0.020951040267944337,
|
89 |
+
0.02103603172302246,
|
90 |
+
0.020962303161621093,
|
91 |
+
0.021038080215454103,
|
92 |
+
0.02099404716491699,
|
93 |
+
0.02107596778869629,
|
94 |
+
0.020173824310302735,
|
95 |
+
0.020197376251220703,
|
96 |
+
0.020835391998291014,
|
97 |
+
0.0201727352142334,
|
98 |
+
0.020970495223999023,
|
99 |
+
0.020966400146484376,
|
100 |
+
0.020975616455078124,
|
101 |
+
0.021006336212158205,
|
102 |
+
0.020124671936035156,
|
103 |
+
0.020180992126464844,
|
104 |
+
0.020117504119873047,
|
105 |
+
0.020196352005004883,
|
106 |
+
0.02047385597229004,
|
107 |
+
0.021133312225341795,
|
108 |
+
0.021078016281127928,
|
109 |
+
0.02107904052734375,
|
110 |
+
0.02103398323059082,
|
111 |
+
0.020987903594970703,
|
112 |
+
0.020964351654052735,
|
113 |
+
0.02107084846496582,
|
114 |
+
0.020954111099243163,
|
115 |
+
0.020970495223999023,
|
116 |
+
0.02093984031677246,
|
117 |
+
0.021024703979492188,
|
118 |
+
0.02106265640258789,
|
119 |
+
0.021113855361938477,
|
120 |
+
0.02105855941772461,
|
121 |
+
0.021037055969238282,
|
122 |
+
0.021013504028320314,
|
123 |
+
0.023981056213378905,
|
124 |
+
0.02233760070800781,
|
125 |
+
0.0205413761138916,
|
126 |
+
0.020349952697753908,
|
127 |
+
0.020211776733398436,
|
128 |
+
0.020092863082885742,
|
129 |
+
0.020075519561767577,
|
130 |
+
0.02005299186706543,
|
131 |
+
0.02006937599182129,
|
132 |
+
0.020149248123168945,
|
133 |
+
0.020444160461425782,
|
134 |
+
0.020115455627441405,
|
135 |
+
0.020121599197387697,
|
136 |
+
0.020116479873657226,
|
137 |
+
0.020060159683227538,
|
138 |
+
0.0200447998046875,
|
139 |
+
0.020092927932739257,
|
140 |
+
0.020076543807983398,
|
141 |
+
0.020117504119873047,
|
142 |
+
0.02006220817565918,
|
143 |
+
0.02007756805419922,
|
144 |
+
0.020150272369384766,
|
145 |
+
0.02009600067138672,
|
146 |
+
0.021526527404785157,
|
147 |
+
0.020925439834594727,
|
148 |
+
0.02091929626464844,
|
149 |
+
0.020957183837890626,
|
150 |
+
0.0208855037689209,
|
151 |
+
0.020958208084106447,
|
152 |
+
0.020896768569946288,
|
153 |
+
0.020116479873657226,
|
154 |
+
0.02007142448425293,
|
155 |
+
0.02007859230041504,
|
156 |
+
0.02007756805419922,
|
157 |
+
0.0200949764251709,
|
158 |
+
0.020102144241333008,
|
159 |
+
0.020146175384521483,
|
160 |
+
0.02005606460571289,
|
161 |
+
0.020099071502685546,
|
162 |
+
0.020065280914306642,
|
163 |
+
0.020084735870361328,
|
164 |
+
0.020099071502685546,
|
165 |
+
0.020059135437011717,
|
166 |
+
0.020057088851928712,
|
167 |
+
0.0200447998046875,
|
168 |
+
0.020083711624145507,
|
169 |
+
0.020470783233642577,
|
170 |
+
0.020105215072631837,
|
171 |
+
0.020861984252929688,
|
172 |
+
0.020853727340698243,
|
173 |
+
0.020920320510864256,
|
174 |
+
0.02087116813659668,
|
175 |
+
0.02089369583129883,
|
176 |
+
0.02087014389038086,
|
177 |
+
0.021013504028320314,
|
178 |
+
0.020932607650756836,
|
179 |
+
0.021009408950805664,
|
180 |
+
0.020857952117919923,
|
181 |
+
0.020909984588623046,
|
182 |
+
0.020925439834594727,
|
183 |
+
0.02022502326965332,
|
184 |
+
0.020092927932739257,
|
185 |
+
0.02017791938781738,
|
186 |
+
0.020076543807983398,
|
187 |
+
0.020123647689819335,
|
188 |
+
0.020076543807983398,
|
189 |
+
0.020105215072631837,
|
190 |
+
0.020122623443603514,
|
191 |
+
0.020084735870361328,
|
192 |
+
0.02002943992614746,
|
193 |
+
0.020109312057495117,
|
194 |
+
0.02005606460571289,
|
195 |
+
0.02012876892089844,
|
196 |
+
0.020033536911010744,
|
197 |
+
0.020090879440307616,
|
198 |
+
0.02004582405090332,
|
199 |
+
0.02004275131225586,
|
200 |
+
0.020032512664794923,
|
201 |
+
0.0200263671875,
|
202 |
+
0.020082687377929686,
|
203 |
+
0.04223590469360351,
|
204 |
+
0.020123647689819335,
|
205 |
+
0.02007859230041504,
|
206 |
+
0.02010419273376465,
|
207 |
+
0.020118528366088868,
|
208 |
+
0.020074495315551756,
|
209 |
+
0.02007961654663086,
|
210 |
+
0.020065280914306642,
|
211 |
+
0.020101119995117187,
|
212 |
+
0.020133888244628906,
|
213 |
+
0.020059135437011717,
|
214 |
+
0.020067327499389647,
|
215 |
+
0.020048896789550782,
|
216 |
+
0.02007040023803711,
|
217 |
+
0.020154367446899413,
|
218 |
+
0.020164608001708984,
|
219 |
+
0.020142080307006836,
|
220 |
+
0.020093952178955078,
|
221 |
+
0.02010419273376465,
|
222 |
+
0.020092927932739257,
|
223 |
+
0.020016128540039063,
|
224 |
+
0.02003865623474121,
|
225 |
+
0.020140031814575195,
|
226 |
+
0.020145151138305666,
|
227 |
+
0.020051967620849608,
|
228 |
+
0.020100095748901366,
|
229 |
+
0.020222976684570314,
|
230 |
+
0.020100095748901366,
|
231 |
+
0.020107263565063475,
|
232 |
+
0.020281343460083007,
|
233 |
+
0.02146406364440918,
|
234 |
+
0.021202943801879884,
|
235 |
+
0.021072895050048827,
|
236 |
+
0.021105663299560547,
|
237 |
+
0.020959232330322267,
|
238 |
+
0.020986879348754883,
|
239 |
+
0.021046272277832033,
|
240 |
+
0.021014528274536134,
|
241 |
+
0.020986879348754883,
|
242 |
+
0.02099404716491699,
|
243 |
+
0.02105548858642578,
|
244 |
+
0.020959232330322267,
|
245 |
+
0.02108518409729004,
|
246 |
+
0.02103910446166992,
|
247 |
+
0.020995071411132812,
|
248 |
+
0.021008384704589843,
|
249 |
+
0.02104115104675293,
|
250 |
+
0.021712896347045898,
|
251 |
+
0.021198848724365234,
|
252 |
+
0.021111808776855468,
|
253 |
+
0.020264959335327147,
|
254 |
+
0.02007142448425293,
|
255 |
+
0.02007859230041504,
|
256 |
+
0.020121599197387697,
|
257 |
+
0.020105215072631837,
|
258 |
+
0.020189184188842774,
|
259 |
+
0.020123647689819335,
|
260 |
+
0.020154367446899413,
|
261 |
+
0.02007244873046875,
|
262 |
+
0.0200581111907959,
|
263 |
+
0.02006630325317383,
|
264 |
+
0.02008166313171387,
|
265 |
+
0.02146303939819336,
|
266 |
+
0.021153791427612305,
|
267 |
+
0.021128192901611328,
|
268 |
+
0.020985855102539062,
|
269 |
+
0.02106265640258789,
|
270 |
+
0.020981760025024415,
|
271 |
+
0.020970495223999023,
|
272 |
+
0.020977664947509765,
|
273 |
+
0.021014528274536134,
|
274 |
+
0.021013504028320314,
|
275 |
+
0.020969472885131835,
|
276 |
+
0.020987903594970703,
|
277 |
+
0.02104319953918457,
|
278 |
+
0.020979711532592774,
|
279 |
+
0.020944896697998046,
|
280 |
+
0.020935680389404295,
|
281 |
+
0.02091929626464844,
|
282 |
+
0.020979711532592774,
|
283 |
+
0.020099071502685546,
|
284 |
+
0.02005401611328125,
|
285 |
+
0.020102144241333008,
|
286 |
+
0.02007142448425293,
|
287 |
+
0.020113407135009767,
|
288 |
+
0.020176895141601564,
|
289 |
+
0.020067327499389647,
|
290 |
+
0.020137983322143553,
|
291 |
+
0.020084735870361328,
|
292 |
+
0.020118528366088868,
|
293 |
+
0.02011955261230469,
|
294 |
+
0.020161535263061522,
|
295 |
+
0.02009702491760254,
|
296 |
+
0.02006937599182129,
|
297 |
+
0.020092927932739257,
|
298 |
+
0.02008064079284668,
|
299 |
+
0.02007040023803711,
|
300 |
+
0.020100095748901366,
|
301 |
+
0.02010316848754883,
|
302 |
+
0.020059135437011717,
|
303 |
+
0.0200898551940918,
|
304 |
+
0.020110336303710938,
|
305 |
+
0.02008576011657715,
|
306 |
+
0.020075519561767577,
|
307 |
+
0.02009702491760254,
|
308 |
+
0.020139007568359374,
|
309 |
+
0.02011238479614258,
|
310 |
+
0.020125696182250977,
|
311 |
+
0.020091903686523437,
|
312 |
+
0.020121599197387697,
|
313 |
+
0.020141056060791016,
|
314 |
+
0.020149248123168945,
|
315 |
+
0.020175872802734376,
|
316 |
+
0.02019327926635742,
|
317 |
+
0.020158464431762696,
|
318 |
+
0.020185087203979494,
|
319 |
+
0.020123647689819335,
|
320 |
+
0.020179967880249023,
|
321 |
+
0.02007142448425293,
|
322 |
+
0.02006118392944336,
|
323 |
+
0.020074495315551756,
|
324 |
+
0.020109312057495117,
|
325 |
+
0.020092927932739257,
|
326 |
+
0.02004787254333496,
|
327 |
+
0.020154367446899413,
|
328 |
+
0.02005504035949707,
|
329 |
+
0.020093952178955078
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 48.6046015534062
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.0221495361328125,
|
7 |
+
"prefill.throughput.value": 316.03370644092826,
|
8 |
+
"decode.latency.mean": 2.602114013671875,
|
9 |
+
"decode.throughput.value": 48.80647017491318,
|
10 |
+
"per_token.latency.mean": 0.020574183678909723,
|
11 |
+
"per_token.throughput.value": 48.6046015534062
|
12 |
+
}
|
13 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: pytorch_generate
|
2 |
+
backend:
|
3 |
+
name: pytorch
|
4 |
+
version: 2.3.0+cu121
|
5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
6 |
+
task: null
|
7 |
+
library: null
|
8 |
+
model: google/gemma-2b
|
9 |
+
processor: null
|
10 |
+
device: cuda
|
11 |
+
device_ids: '0'
|
12 |
+
seed: 42
|
13 |
+
inter_op_num_threads: null
|
14 |
+
intra_op_num_threads: null
|
15 |
+
model_kwargs: {}
|
16 |
+
processor_kwargs: {}
|
17 |
+
hub_kwargs: {}
|
18 |
+
no_weights: true
|
19 |
+
device_map: null
|
20 |
+
torch_dtype: float16
|
21 |
+
eval_mode: true
|
22 |
+
to_bettertransformer: false
|
23 |
+
low_cpu_mem_usage: null
|
24 |
+
attn_implementation: null
|
25 |
+
cache_implementation: static
|
26 |
+
autocast_enabled: false
|
27 |
+
autocast_dtype: null
|
28 |
+
torch_compile: true
|
29 |
+
torch_compile_target: forward
|
30 |
+
torch_compile_config:
|
31 |
+
backend: inductor
|
32 |
+
mode: reduce-overhead
|
33 |
+
fullgraph: true
|
34 |
+
quantization_scheme: null
|
35 |
+
quantization_config: {}
|
36 |
+
deepspeed_inference: false
|
37 |
+
deepspeed_inference_config: {}
|
38 |
+
peft_type: null
|
39 |
+
peft_config: {}
|
40 |
+
scenario:
|
41 |
+
name: inference
|
42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
43 |
+
iterations: 2
|
44 |
+
duration: 0
|
45 |
+
warmup_runs: 10
|
46 |
+
input_shapes:
|
47 |
+
batch_size: 1
|
48 |
+
sequence_length: 7
|
49 |
+
new_tokens: null
|
50 |
+
latency: true
|
51 |
+
memory: true
|
52 |
+
energy: false
|
53 |
+
forward_kwargs: {}
|
54 |
+
generate_kwargs:
|
55 |
+
max_new_tokens: 128
|
56 |
+
min_new_tokens: 128
|
57 |
+
do_sample: false
|
58 |
+
call_kwargs: {}
|
59 |
+
launcher:
|
60 |
+
name: process
|
61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
62 |
+
device_isolation: true
|
63 |
+
device_isolation_action: warn
|
64 |
+
start_method: spawn
|
65 |
+
environment:
|
66 |
+
cpu: ' AMD EPYC 7R32'
|
67 |
+
cpu_count: 16
|
68 |
+
cpu_ram_mb: 66697.29792
|
69 |
+
system: Linux
|
70 |
+
machine: x86_64
|
71 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
72 |
+
processor: x86_64
|
73 |
+
python_version: 3.8.10
|
74 |
+
gpu:
|
75 |
+
- NVIDIA A10G
|
76 |
+
gpu_count: 1
|
77 |
+
gpu_vram_mb: 24146608128
|
78 |
+
optimum_benchmark_version: 0.2.1
|
79 |
+
optimum_benchmark_commit: null
|
80 |
+
transformers_version: 4.42.0.dev0
|
81 |
+
transformers_commit: 74a207404e8d4524d1fdc4aa23789694f9eef347
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347
|
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/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347
|
88 |
+
- hydra.run.dir=_benchmark/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347/${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/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "pytorch_generate",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cu121",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-generation",
|
9 |
+
"library": "transformers",
|
10 |
+
"model": "google/gemma-2b",
|
11 |
+
"processor": "google/gemma-2b",
|
12 |
+
"device": "cuda",
|
13 |
+
"device_ids": "0",
|
14 |
+
"seed": 42,
|
15 |
+
"inter_op_num_threads": null,
|
16 |
+
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
20 |
+
"no_weights": true,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": "static",
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": true,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {
|
33 |
+
"backend": "inductor",
|
34 |
+
"mode": "reduce-overhead",
|
35 |
+
"fullgraph": true
|
36 |
+
},
|
37 |
+
"quantization_scheme": null,
|
38 |
+
"quantization_config": {},
|
39 |
+
"deepspeed_inference": false,
|
40 |
+
"deepspeed_inference_config": {},
|
41 |
+
"peft_type": null,
|
42 |
+
"peft_config": {}
|
43 |
+
},
|
44 |
+
"scenario": {
|
45 |
+
"name": "inference",
|
46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
47 |
+
"iterations": 2,
|
48 |
+
"duration": 0,
|
49 |
+
"warmup_runs": 10,
|
50 |
+
"input_shapes": {
|
51 |
+
"batch_size": 1,
|
52 |
+
"num_choices": 2,
|
53 |
+
"sequence_length": 7
|
54 |
+
},
|
55 |
+
"new_tokens": null,
|
56 |
+
"latency": true,
|
57 |
+
"memory": true,
|
58 |
+
"energy": false,
|
59 |
+
"forward_kwargs": {},
|
60 |
+
"generate_kwargs": {
|
61 |
+
"max_new_tokens": 128,
|
62 |
+
"min_new_tokens": 128,
|
63 |
+
"do_sample": false
|
64 |
+
},
|
65 |
+
"call_kwargs": {}
|
66 |
+
},
|
67 |
+
"launcher": {
|
68 |
+
"name": "process",
|
69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
70 |
+
"device_isolation": true,
|
71 |
+
"device_isolation_action": "warn",
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R32",
|
76 |
+
"cpu_count": 16,
|
77 |
+
"cpu_ram_mb": 66697.29792,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
81 |
+
"processor": "x86_64",
|
82 |
+
"python_version": "3.8.10",
|
83 |
+
"gpu": [
|
84 |
+
"NVIDIA A10G"
|
85 |
+
],
|
86 |
+
"gpu_count": 1,
|
87 |
+
"gpu_vram_mb": 24146608128,
|
88 |
+
"optimum_benchmark_version": "0.2.1",
|
89 |
+
"optimum_benchmark_commit": null,
|
90 |
+
"transformers_version": "4.42.0.dev0",
|
91 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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": 1916.74368,
|
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.0281844482421875,
|
118 |
+
"mean": 0.01409222412109375,
|
119 |
+
"stdev": 0.00012092781066894501,
|
120 |
+
"p50": 0.01409222412109375,
|
121 |
+
"p90": 0.014188966369628906,
|
122 |
+
"p95": 0.0142010591506958,
|
123 |
+
"p99": 0.014210733375549315,
|
124 |
+
"values": [
|
125 |
+
0.014213151931762695,
|
126 |
+
0.013971296310424805
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "tokens/s",
|
131 |
+
"value": 496.7278365607418
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"decode": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2260.578304,
|
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.1208486328125,
|
149 |
+
"mean": 1.56042431640625,
|
150 |
+
"stdev": 0.001412841796874953,
|
151 |
+
"p50": 1.56042431640625,
|
152 |
+
"p90": 1.56155458984375,
|
153 |
+
"p95": 1.5616958740234375,
|
154 |
+
"p99": 1.5618089013671874,
|
155 |
+
"values": [
|
156 |
+
1.561837158203125,
|
157 |
+
1.559011474609375
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "tokens/s",
|
162 |
+
"value": 81.38811902937309
|
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.121907714843749,
|
173 |
+
"mean": 0.012339556185153163,
|
174 |
+
"stdev": 0.0008937742263380202,
|
175 |
+
"p50": 0.012279808044433594,
|
176 |
+
"p90": 0.012317695617675782,
|
177 |
+
"p95": 0.012331827354431153,
|
178 |
+
"p99": 0.012725903472900391,
|
179 |
+
"values": [
|
180 |
+
0.012717056274414062,
|
181 |
+
0.01275391960144043,
|
182 |
+
0.012735487937927246,
|
183 |
+
0.012321791648864745,
|
184 |
+
0.012258367538452148,
|
185 |
+
0.012301247596740722,
|
186 |
+
0.012279808044433594,
|
187 |
+
0.012321791648864745,
|
188 |
+
0.012247039794921874,
|
189 |
+
0.012297216415405274,
|
190 |
+
0.01225830364227295,
|
191 |
+
0.012277759552001954,
|
192 |
+
0.012257280349731446,
|
193 |
+
0.01229312038421631,
|
194 |
+
0.012288000106811523,
|
195 |
+
0.012317695617675782,
|
196 |
+
0.012281855583190919,
|
197 |
+
0.012309503555297852,
|
198 |
+
0.012256256103515625,
|
199 |
+
0.012286975860595703,
|
200 |
+
0.012263423919677734,
|
201 |
+
0.012331007957458496,
|
202 |
+
0.01225216007232666,
|
203 |
+
0.012300288200378418,
|
204 |
+
0.01225216007232666,
|
205 |
+
0.012291071891784668,
|
206 |
+
0.012263423919677734,
|
207 |
+
0.012318719863891601,
|
208 |
+
0.01225830364227295,
|
209 |
+
0.012322815895080566,
|
210 |
+
0.01226035213470459,
|
211 |
+
0.012298239707946777,
|
212 |
+
0.012249088287353516,
|
213 |
+
0.012281855583190919,
|
214 |
+
0.012262432098388672,
|
215 |
+
0.01232380771636963,
|
216 |
+
0.012248064041137695,
|
217 |
+
0.012280896186828613,
|
218 |
+
0.012237759590148925,
|
219 |
+
0.012296192169189453,
|
220 |
+
0.012278783798217773,
|
221 |
+
0.012311552047729492,
|
222 |
+
0.012270591735839843,
|
223 |
+
0.012393471717834472,
|
224 |
+
0.01225830364227295,
|
225 |
+
0.012299263954162597,
|
226 |
+
0.01225830364227295,
|
227 |
+
0.012299263954162597,
|
228 |
+
0.012271615982055664,
|
229 |
+
0.012308480262756348,
|
230 |
+
0.012257280349731446,
|
231 |
+
0.012290047645568849,
|
232 |
+
0.012248064041137695,
|
233 |
+
0.01234124755859375,
|
234 |
+
0.012249088287353516,
|
235 |
+
0.012300288200378418,
|
236 |
+
0.012255328178405762,
|
237 |
+
0.012289952278137208,
|
238 |
+
0.012240896224975586,
|
239 |
+
0.012296192169189453,
|
240 |
+
0.012272640228271485,
|
241 |
+
0.012321791648864745,
|
242 |
+
0.012298239707946777,
|
243 |
+
0.012312576293945313,
|
244 |
+
0.01225011157989502,
|
245 |
+
0.012271615982055664,
|
246 |
+
0.012348416328430176,
|
247 |
+
0.01229312038421631,
|
248 |
+
0.01225216007232666,
|
249 |
+
0.012317695617675782,
|
250 |
+
0.012248064041137695,
|
251 |
+
0.012312576293945313,
|
252 |
+
0.012255231857299804,
|
253 |
+
0.012296192169189453,
|
254 |
+
0.012256256103515625,
|
255 |
+
0.012297216415405274,
|
256 |
+
0.01224294376373291,
|
257 |
+
0.012317695617675782,
|
258 |
+
0.012246015548706055,
|
259 |
+
0.012324864387512208,
|
260 |
+
0.012289024353027344,
|
261 |
+
0.012370944023132324,
|
262 |
+
0.012292096138000488,
|
263 |
+
0.012404735565185548,
|
264 |
+
0.012270591735839843,
|
265 |
+
0.012308480262756348,
|
266 |
+
0.012246015548706055,
|
267 |
+
0.012295167922973632,
|
268 |
+
0.012255231857299804,
|
269 |
+
0.012303359985351562,
|
270 |
+
0.012265472412109376,
|
271 |
+
0.012312576293945313,
|
272 |
+
0.012240896224975586,
|
273 |
+
0.012294143676757812,
|
274 |
+
0.012239871978759765,
|
275 |
+
0.012280832290649414,
|
276 |
+
0.012233728408813477,
|
277 |
+
0.012288000106811523,
|
278 |
+
0.012241920471191407,
|
279 |
+
0.012301312446594239,
|
280 |
+
0.01226854419708252,
|
281 |
+
0.012295167922973632,
|
282 |
+
0.0122357759475708,
|
283 |
+
0.012275712013244629,
|
284 |
+
0.012239871978759765,
|
285 |
+
0.012320768356323243,
|
286 |
+
0.012249088287353516,
|
287 |
+
0.012288000106811523,
|
288 |
+
0.012256256103515625,
|
289 |
+
0.012291071891784668,
|
290 |
+
0.012239871978759765,
|
291 |
+
0.012290047645568849,
|
292 |
+
0.01225011157989502,
|
293 |
+
0.01227673625946045,
|
294 |
+
0.012248064041137695,
|
295 |
+
0.012292096138000488,
|
296 |
+
0.012241920471191407,
|
297 |
+
0.012291071891784668,
|
298 |
+
0.012241920471191407,
|
299 |
+
0.01229315185546875,
|
300 |
+
0.012281824111938476,
|
301 |
+
0.012298239707946777,
|
302 |
+
0.012247039794921874,
|
303 |
+
0.012300288200378418,
|
304 |
+
0.012249088287353516,
|
305 |
+
0.01229312038421631,
|
306 |
+
0.02649395179748535,
|
307 |
+
0.012272640228271485,
|
308 |
+
0.012298239707946777,
|
309 |
+
0.012237824440002442,
|
310 |
+
0.01234124755859375,
|
311 |
+
0.01225113582611084,
|
312 |
+
0.012297216415405274,
|
313 |
+
0.012258336067199707,
|
314 |
+
0.012287967681884766,
|
315 |
+
0.012257280349731446,
|
316 |
+
0.012321791648864745,
|
317 |
+
0.012256256103515625,
|
318 |
+
0.01228492832183838,
|
319 |
+
0.012249088287353516,
|
320 |
+
0.012301312446594239,
|
321 |
+
0.012292096138000488,
|
322 |
+
0.012277759552001954,
|
323 |
+
0.012244992256164551,
|
324 |
+
0.01232588768005371,
|
325 |
+
0.012254207611083985,
|
326 |
+
0.012279808044433594,
|
327 |
+
0.012263423919677734,
|
328 |
+
0.01228492832183838,
|
329 |
+
0.012244992256164551,
|
330 |
+
0.012292096138000488,
|
331 |
+
0.012244992256164551,
|
332 |
+
0.012297216415405274,
|
333 |
+
0.012240896224975586,
|
334 |
+
0.012279808044433594,
|
335 |
+
0.012279808044433594,
|
336 |
+
0.012300288200378418,
|
337 |
+
0.012240896224975586,
|
338 |
+
0.012291071891784668,
|
339 |
+
0.012236800193786621,
|
340 |
+
0.012290047645568849,
|
341 |
+
0.012239871978759765,
|
342 |
+
0.012280832290649414,
|
343 |
+
0.0122357759475708,
|
344 |
+
0.012309503555297852,
|
345 |
+
0.01225216007232666,
|
346 |
+
0.012281855583190919,
|
347 |
+
0.012232704162597656,
|
348 |
+
0.01228492832183838,
|
349 |
+
0.012249088287353516,
|
350 |
+
0.012317695617675782,
|
351 |
+
0.012255264282226562,
|
352 |
+
0.0123023042678833,
|
353 |
+
0.012240896224975586,
|
354 |
+
0.012291071891784668,
|
355 |
+
0.012246015548706055,
|
356 |
+
0.012275712013244629,
|
357 |
+
0.012240896224975586,
|
358 |
+
0.012297216415405274,
|
359 |
+
0.012244992256164551,
|
360 |
+
0.012292096138000488,
|
361 |
+
0.012288000106811523,
|
362 |
+
0.012285951614379884,
|
363 |
+
0.012236800193786621,
|
364 |
+
0.012288000106811523,
|
365 |
+
0.01225011157989502,
|
366 |
+
0.012277759552001954,
|
367 |
+
0.012248064041137695,
|
368 |
+
0.01229312038421631,
|
369 |
+
0.012248064041137695,
|
370 |
+
0.012285951614379884,
|
371 |
+
0.012233728408813477,
|
372 |
+
0.012290047645568849,
|
373 |
+
0.01224294376373291,
|
374 |
+
0.012298239707946777,
|
375 |
+
0.01225216007232666,
|
376 |
+
0.012292096138000488,
|
377 |
+
0.012233728408813477,
|
378 |
+
0.012279808044433594,
|
379 |
+
0.012233728408813477,
|
380 |
+
0.012333056449890138,
|
381 |
+
0.012237824440002442,
|
382 |
+
0.012280832290649414,
|
383 |
+
0.012247039794921874,
|
384 |
+
0.012303359985351562,
|
385 |
+
0.012247039794921874,
|
386 |
+
0.012299263954162597,
|
387 |
+
0.012256256103515625,
|
388 |
+
0.012294143676757812,
|
389 |
+
0.012256256103515625,
|
390 |
+
0.012297216415405274,
|
391 |
+
0.01224396800994873,
|
392 |
+
0.012286975860595703,
|
393 |
+
0.01224396800994873,
|
394 |
+
0.012313599586486817,
|
395 |
+
0.012253184318542481,
|
396 |
+
0.012277759552001954,
|
397 |
+
0.012233728408813477,
|
398 |
+
0.01228492832183838,
|
399 |
+
0.012247039794921874,
|
400 |
+
0.012277759552001954,
|
401 |
+
0.012229632377624512,
|
402 |
+
0.012292096138000488,
|
403 |
+
0.01223475170135498,
|
404 |
+
0.012292096138000488,
|
405 |
+
0.012236800193786621,
|
406 |
+
0.012282879829406738,
|
407 |
+
0.01223475170135498,
|
408 |
+
0.012281855583190919,
|
409 |
+
0.012239871978759765,
|
410 |
+
0.012295167922973632,
|
411 |
+
0.012241984367370605,
|
412 |
+
0.01228384017944336,
|
413 |
+
0.012244992256164551,
|
414 |
+
0.012289024353027344,
|
415 |
+
0.012231679916381836,
|
416 |
+
0.012275712013244629,
|
417 |
+
0.01224396800994873,
|
418 |
+
0.012283904075622559,
|
419 |
+
0.01225011157989502,
|
420 |
+
0.012291071891784668,
|
421 |
+
0.01225216007232666,
|
422 |
+
0.012282879829406738,
|
423 |
+
0.012228608131408691,
|
424 |
+
0.012279808044433594,
|
425 |
+
0.012281855583190919,
|
426 |
+
0.012523520469665527,
|
427 |
+
0.012522496223449708,
|
428 |
+
0.012305407524108887,
|
429 |
+
0.01225113582611084,
|
430 |
+
0.012282879829406738,
|
431 |
+
0.012236800193786621,
|
432 |
+
0.01229312038421631
|
433 |
+
]
|
434 |
+
},
|
435 |
+
"throughput": {
|
436 |
+
"unit": "tokens/s",
|
437 |
+
"value": 81.04019180229436
|
438 |
+
},
|
439 |
+
"energy": null,
|
440 |
+
"efficiency": null
|
441 |
+
}
|
442 |
+
}
|
443 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
File without changes
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "pytorch_generate",
|
3 |
+
"backend": {
|
4 |
+
"name": "pytorch",
|
5 |
+
"version": "2.3.0+cu121",
|
6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
7 |
+
"task": "text-generation",
|
8 |
+
"library": "transformers",
|
9 |
+
"model": "google/gemma-2b",
|
10 |
+
"processor": "google/gemma-2b",
|
11 |
+
"device": "cuda",
|
12 |
+
"device_ids": "0",
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"model_kwargs": {},
|
17 |
+
"processor_kwargs": {},
|
18 |
+
"hub_kwargs": {},
|
19 |
+
"no_weights": true,
|
20 |
+
"device_map": null,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"eval_mode": true,
|
23 |
+
"to_bettertransformer": false,
|
24 |
+
"low_cpu_mem_usage": null,
|
25 |
+
"attn_implementation": null,
|
26 |
+
"cache_implementation": "static",
|
27 |
+
"autocast_enabled": false,
|
28 |
+
"autocast_dtype": null,
|
29 |
+
"torch_compile": true,
|
30 |
+
"torch_compile_target": "forward",
|
31 |
+
"torch_compile_config": {
|
32 |
+
"backend": "inductor",
|
33 |
+
"mode": "reduce-overhead",
|
34 |
+
"fullgraph": true
|
35 |
+
},
|
36 |
+
"quantization_scheme": null,
|
37 |
+
"quantization_config": {},
|
38 |
+
"deepspeed_inference": false,
|
39 |
+
"deepspeed_inference_config": {},
|
40 |
+
"peft_type": null,
|
41 |
+
"peft_config": {}
|
42 |
+
},
|
43 |
+
"scenario": {
|
44 |
+
"name": "inference",
|
45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
46 |
+
"iterations": 2,
|
47 |
+
"duration": 0,
|
48 |
+
"warmup_runs": 10,
|
49 |
+
"input_shapes": {
|
50 |
+
"batch_size": 1,
|
51 |
+
"num_choices": 2,
|
52 |
+
"sequence_length": 7
|
53 |
+
},
|
54 |
+
"new_tokens": null,
|
55 |
+
"latency": true,
|
56 |
+
"memory": true,
|
57 |
+
"energy": false,
|
58 |
+
"forward_kwargs": {},
|
59 |
+
"generate_kwargs": {
|
60 |
+
"max_new_tokens": 128,
|
61 |
+
"min_new_tokens": 128,
|
62 |
+
"do_sample": false
|
63 |
+
},
|
64 |
+
"call_kwargs": {}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "warn",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.8.10",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.1",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.42.0.dev0",
|
90 |
+
"transformers_commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
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-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": 1916.74368,
|
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.0281844482421875,
|
15 |
+
"mean": 0.01409222412109375,
|
16 |
+
"stdev": 0.00012092781066894501,
|
17 |
+
"p50": 0.01409222412109375,
|
18 |
+
"p90": 0.014188966369628906,
|
19 |
+
"p95": 0.0142010591506958,
|
20 |
+
"p99": 0.014210733375549315,
|
21 |
+
"values": [
|
22 |
+
0.014213151931762695,
|
23 |
+
0.013971296310424805
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"throughput": {
|
27 |
+
"unit": "tokens/s",
|
28 |
+
"value": 496.7278365607418
|
29 |
+
},
|
30 |
+
"energy": null,
|
31 |
+
"efficiency": null
|
32 |
+
},
|
33 |
+
"decode": {
|
34 |
+
"memory": {
|
35 |
+
"unit": "MB",
|
36 |
+
"max_ram": 2260.578304,
|
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.1208486328125,
|
46 |
+
"mean": 1.56042431640625,
|
47 |
+
"stdev": 0.001412841796874953,
|
48 |
+
"p50": 1.56042431640625,
|
49 |
+
"p90": 1.56155458984375,
|
50 |
+
"p95": 1.5616958740234375,
|
51 |
+
"p99": 1.5618089013671874,
|
52 |
+
"values": [
|
53 |
+
1.561837158203125,
|
54 |
+
1.559011474609375
|
55 |
+
]
|
56 |
+
},
|
57 |
+
"throughput": {
|
58 |
+
"unit": "tokens/s",
|
59 |
+
"value": 81.38811902937309
|
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.121907714843749,
|
70 |
+
"mean": 0.012339556185153163,
|
71 |
+
"stdev": 0.0008937742263380202,
|
72 |
+
"p50": 0.012279808044433594,
|
73 |
+
"p90": 0.012317695617675782,
|
74 |
+
"p95": 0.012331827354431153,
|
75 |
+
"p99": 0.012725903472900391,
|
76 |
+
"values": [
|
77 |
+
0.012717056274414062,
|
78 |
+
0.01275391960144043,
|
79 |
+
0.012735487937927246,
|
80 |
+
0.012321791648864745,
|
81 |
+
0.012258367538452148,
|
82 |
+
0.012301247596740722,
|
83 |
+
0.012279808044433594,
|
84 |
+
0.012321791648864745,
|
85 |
+
0.012247039794921874,
|
86 |
+
0.012297216415405274,
|
87 |
+
0.01225830364227295,
|
88 |
+
0.012277759552001954,
|
89 |
+
0.012257280349731446,
|
90 |
+
0.01229312038421631,
|
91 |
+
0.012288000106811523,
|
92 |
+
0.012317695617675782,
|
93 |
+
0.012281855583190919,
|
94 |
+
0.012309503555297852,
|
95 |
+
0.012256256103515625,
|
96 |
+
0.012286975860595703,
|
97 |
+
0.012263423919677734,
|
98 |
+
0.012331007957458496,
|
99 |
+
0.01225216007232666,
|
100 |
+
0.012300288200378418,
|
101 |
+
0.01225216007232666,
|
102 |
+
0.012291071891784668,
|
103 |
+
0.012263423919677734,
|
104 |
+
0.012318719863891601,
|
105 |
+
0.01225830364227295,
|
106 |
+
0.012322815895080566,
|
107 |
+
0.01226035213470459,
|
108 |
+
0.012298239707946777,
|
109 |
+
0.012249088287353516,
|
110 |
+
0.012281855583190919,
|
111 |
+
0.012262432098388672,
|
112 |
+
0.01232380771636963,
|
113 |
+
0.012248064041137695,
|
114 |
+
0.012280896186828613,
|
115 |
+
0.012237759590148925,
|
116 |
+
0.012296192169189453,
|
117 |
+
0.012278783798217773,
|
118 |
+
0.012311552047729492,
|
119 |
+
0.012270591735839843,
|
120 |
+
0.012393471717834472,
|
121 |
+
0.01225830364227295,
|
122 |
+
0.012299263954162597,
|
123 |
+
0.01225830364227295,
|
124 |
+
0.012299263954162597,
|
125 |
+
0.012271615982055664,
|
126 |
+
0.012308480262756348,
|
127 |
+
0.012257280349731446,
|
128 |
+
0.012290047645568849,
|
129 |
+
0.012248064041137695,
|
130 |
+
0.01234124755859375,
|
131 |
+
0.012249088287353516,
|
132 |
+
0.012300288200378418,
|
133 |
+
0.012255328178405762,
|
134 |
+
0.012289952278137208,
|
135 |
+
0.012240896224975586,
|
136 |
+
0.012296192169189453,
|
137 |
+
0.012272640228271485,
|
138 |
+
0.012321791648864745,
|
139 |
+
0.012298239707946777,
|
140 |
+
0.012312576293945313,
|
141 |
+
0.01225011157989502,
|
142 |
+
0.012271615982055664,
|
143 |
+
0.012348416328430176,
|
144 |
+
0.01229312038421631,
|
145 |
+
0.01225216007232666,
|
146 |
+
0.012317695617675782,
|
147 |
+
0.012248064041137695,
|
148 |
+
0.012312576293945313,
|
149 |
+
0.012255231857299804,
|
150 |
+
0.012296192169189453,
|
151 |
+
0.012256256103515625,
|
152 |
+
0.012297216415405274,
|
153 |
+
0.01224294376373291,
|
154 |
+
0.012317695617675782,
|
155 |
+
0.012246015548706055,
|
156 |
+
0.012324864387512208,
|
157 |
+
0.012289024353027344,
|
158 |
+
0.012370944023132324,
|
159 |
+
0.012292096138000488,
|
160 |
+
0.012404735565185548,
|
161 |
+
0.012270591735839843,
|
162 |
+
0.012308480262756348,
|
163 |
+
0.012246015548706055,
|
164 |
+
0.012295167922973632,
|
165 |
+
0.012255231857299804,
|
166 |
+
0.012303359985351562,
|
167 |
+
0.012265472412109376,
|
168 |
+
0.012312576293945313,
|
169 |
+
0.012240896224975586,
|
170 |
+
0.012294143676757812,
|
171 |
+
0.012239871978759765,
|
172 |
+
0.012280832290649414,
|
173 |
+
0.012233728408813477,
|
174 |
+
0.012288000106811523,
|
175 |
+
0.012241920471191407,
|
176 |
+
0.012301312446594239,
|
177 |
+
0.01226854419708252,
|
178 |
+
0.012295167922973632,
|
179 |
+
0.0122357759475708,
|
180 |
+
0.012275712013244629,
|
181 |
+
0.012239871978759765,
|
182 |
+
0.012320768356323243,
|
183 |
+
0.012249088287353516,
|
184 |
+
0.012288000106811523,
|
185 |
+
0.012256256103515625,
|
186 |
+
0.012291071891784668,
|
187 |
+
0.012239871978759765,
|
188 |
+
0.012290047645568849,
|
189 |
+
0.01225011157989502,
|
190 |
+
0.01227673625946045,
|
191 |
+
0.012248064041137695,
|
192 |
+
0.012292096138000488,
|
193 |
+
0.012241920471191407,
|
194 |
+
0.012291071891784668,
|
195 |
+
0.012241920471191407,
|
196 |
+
0.01229315185546875,
|
197 |
+
0.012281824111938476,
|
198 |
+
0.012298239707946777,
|
199 |
+
0.012247039794921874,
|
200 |
+
0.012300288200378418,
|
201 |
+
0.012249088287353516,
|
202 |
+
0.01229312038421631,
|
203 |
+
0.02649395179748535,
|
204 |
+
0.012272640228271485,
|
205 |
+
0.012298239707946777,
|
206 |
+
0.012237824440002442,
|
207 |
+
0.01234124755859375,
|
208 |
+
0.01225113582611084,
|
209 |
+
0.012297216415405274,
|
210 |
+
0.012258336067199707,
|
211 |
+
0.012287967681884766,
|
212 |
+
0.012257280349731446,
|
213 |
+
0.012321791648864745,
|
214 |
+
0.012256256103515625,
|
215 |
+
0.01228492832183838,
|
216 |
+
0.012249088287353516,
|
217 |
+
0.012301312446594239,
|
218 |
+
0.012292096138000488,
|
219 |
+
0.012277759552001954,
|
220 |
+
0.012244992256164551,
|
221 |
+
0.01232588768005371,
|
222 |
+
0.012254207611083985,
|
223 |
+
0.012279808044433594,
|
224 |
+
0.012263423919677734,
|
225 |
+
0.01228492832183838,
|
226 |
+
0.012244992256164551,
|
227 |
+
0.012292096138000488,
|
228 |
+
0.012244992256164551,
|
229 |
+
0.012297216415405274,
|
230 |
+
0.012240896224975586,
|
231 |
+
0.012279808044433594,
|
232 |
+
0.012279808044433594,
|
233 |
+
0.012300288200378418,
|
234 |
+
0.012240896224975586,
|
235 |
+
0.012291071891784668,
|
236 |
+
0.012236800193786621,
|
237 |
+
0.012290047645568849,
|
238 |
+
0.012239871978759765,
|
239 |
+
0.012280832290649414,
|
240 |
+
0.0122357759475708,
|
241 |
+
0.012309503555297852,
|
242 |
+
0.01225216007232666,
|
243 |
+
0.012281855583190919,
|
244 |
+
0.012232704162597656,
|
245 |
+
0.01228492832183838,
|
246 |
+
0.012249088287353516,
|
247 |
+
0.012317695617675782,
|
248 |
+
0.012255264282226562,
|
249 |
+
0.0123023042678833,
|
250 |
+
0.012240896224975586,
|
251 |
+
0.012291071891784668,
|
252 |
+
0.012246015548706055,
|
253 |
+
0.012275712013244629,
|
254 |
+
0.012240896224975586,
|
255 |
+
0.012297216415405274,
|
256 |
+
0.012244992256164551,
|
257 |
+
0.012292096138000488,
|
258 |
+
0.012288000106811523,
|
259 |
+
0.012285951614379884,
|
260 |
+
0.012236800193786621,
|
261 |
+
0.012288000106811523,
|
262 |
+
0.01225011157989502,
|
263 |
+
0.012277759552001954,
|
264 |
+
0.012248064041137695,
|
265 |
+
0.01229312038421631,
|
266 |
+
0.012248064041137695,
|
267 |
+
0.012285951614379884,
|
268 |
+
0.012233728408813477,
|
269 |
+
0.012290047645568849,
|
270 |
+
0.01224294376373291,
|
271 |
+
0.012298239707946777,
|
272 |
+
0.01225216007232666,
|
273 |
+
0.012292096138000488,
|
274 |
+
0.012233728408813477,
|
275 |
+
0.012279808044433594,
|
276 |
+
0.012233728408813477,
|
277 |
+
0.012333056449890138,
|
278 |
+
0.012237824440002442,
|
279 |
+
0.012280832290649414,
|
280 |
+
0.012247039794921874,
|
281 |
+
0.012303359985351562,
|
282 |
+
0.012247039794921874,
|
283 |
+
0.012299263954162597,
|
284 |
+
0.012256256103515625,
|
285 |
+
0.012294143676757812,
|
286 |
+
0.012256256103515625,
|
287 |
+
0.012297216415405274,
|
288 |
+
0.01224396800994873,
|
289 |
+
0.012286975860595703,
|
290 |
+
0.01224396800994873,
|
291 |
+
0.012313599586486817,
|
292 |
+
0.012253184318542481,
|
293 |
+
0.012277759552001954,
|
294 |
+
0.012233728408813477,
|
295 |
+
0.01228492832183838,
|
296 |
+
0.012247039794921874,
|
297 |
+
0.012277759552001954,
|
298 |
+
0.012229632377624512,
|
299 |
+
0.012292096138000488,
|
300 |
+
0.01223475170135498,
|
301 |
+
0.012292096138000488,
|
302 |
+
0.012236800193786621,
|
303 |
+
0.012282879829406738,
|
304 |
+
0.01223475170135498,
|
305 |
+
0.012281855583190919,
|
306 |
+
0.012239871978759765,
|
307 |
+
0.012295167922973632,
|
308 |
+
0.012241984367370605,
|
309 |
+
0.01228384017944336,
|
310 |
+
0.012244992256164551,
|
311 |
+
0.012289024353027344,
|
312 |
+
0.012231679916381836,
|
313 |
+
0.012275712013244629,
|
314 |
+
0.01224396800994873,
|
315 |
+
0.012283904075622559,
|
316 |
+
0.01225011157989502,
|
317 |
+
0.012291071891784668,
|
318 |
+
0.01225216007232666,
|
319 |
+
0.012282879829406738,
|
320 |
+
0.012228608131408691,
|
321 |
+
0.012279808044433594,
|
322 |
+
0.012281855583190919,
|
323 |
+
0.012523520469665527,
|
324 |
+
0.012522496223449708,
|
325 |
+
0.012305407524108887,
|
326 |
+
0.01225113582611084,
|
327 |
+
0.012282879829406738,
|
328 |
+
0.012236800193786621,
|
329 |
+
0.01229312038421631
|
330 |
+
]
|
331 |
+
},
|
332 |
+
"throughput": {
|
333 |
+
"unit": "tokens/s",
|
334 |
+
"value": 81.04019180229436
|
335 |
+
},
|
336 |
+
"energy": null,
|
337 |
+
"efficiency": null
|
338 |
+
}
|
339 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/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": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.01409222412109375,
|
7 |
+
"prefill.throughput.value": 496.7278365607418,
|
8 |
+
"decode.latency.mean": 1.56042431640625,
|
9 |
+
"decode.throughput.value": 81.38811902937309,
|
10 |
+
"per_token.latency.mean": 0.012339556185153163,
|
11 |
+
"per_token.throughput.value": 81.04019180229436
|
12 |
+
}
|
13 |
+
}
|
2024-06-23/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/multirun.yaml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
4 |
+
sweep:
|
5 |
+
dir: _benchmark/tmpr23pmll0/commit=74a207404e8d4524d1fdc4aa23789694f9eef347
|
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/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347
|
88 |
+
- hydra.run.dir=_benchmark/tmpr23pmll0/commit\=74a207404e8d4524d1fdc4aa23789694f9eef347/${hydra.job.override_dirname}
|
89 |
+
- hydra.mode=MULTIRUN
|
90 |
+
task:
|
91 |
+
- backend.model=google/gemma-2b
|
92 |
+
- backend.cache_implementation=null,static
|
93 |
+
- backend.torch_compile=false,true
|
94 |
+
job:
|
95 |
+
name: cli
|
96 |
+
chdir: true
|
97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
98 |
+
id: ???
|
99 |
+
num: ???
|
100 |
+
config_name: generation
|
101 |
+
env_set:
|
102 |
+
OVERRIDE_BENCHMARKS: '1'
|
103 |
+
LOG_LEVEL: WARN
|
104 |
+
env_copy: []
|
105 |
+
config:
|
106 |
+
override_dirname:
|
107 |
+
kv_sep: '='
|
108 |
+
item_sep: ','
|
109 |
+
exclude_keys: []
|
110 |
+
runtime:
|
111 |
+
version: 1.3.2
|
112 |
+
version_base: '1.3'
|
113 |
+
cwd: /transformers
|
114 |
+
config_sources:
|
115 |
+
- path: hydra.conf
|
116 |
+
schema: pkg
|
117 |
+
provider: hydra
|
118 |
+
- path: optimum_benchmark
|
119 |
+
schema: pkg
|
120 |
+
provider: main
|
121 |
+
- path: /transformers/benchmark/config
|
122 |
+
schema: file
|
123 |
+
provider: command-line
|
124 |
+
- path: ''
|
125 |
+
schema: structured
|
126 |
+
provider: schema
|
127 |
+
output_dir: ???
|
128 |
+
choices:
|
129 |
+
backend: pytorch
|
130 |
+
launcher: process
|
131 |
+
scenario: inference
|
132 |
+
hydra/env: default
|
133 |
+
hydra/callbacks: null
|
134 |
+
hydra/job_logging: disabled
|
135 |
+
hydra/hydra_logging: disabled
|
136 |
+
hydra/hydra_help: default
|
137 |
+
hydra/help: default
|
138 |
+
hydra/sweeper: basic
|
139 |
+
hydra/launcher: basic
|
140 |
+
hydra/output: default
|
141 |
+
verbose: false
|
142 |
+
name: pytorch_generate
|
143 |
+
backend:
|
144 |
+
name: pytorch
|
145 |
+
version: 2.3.0+cu121
|
146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
147 |
+
task: null
|
148 |
+
library: null
|
149 |
+
model: google/gemma-2b
|
150 |
+
processor: null
|
151 |
+
device: cuda
|
152 |
+
device_ids: '0'
|
153 |
+
seed: 42
|
154 |
+
inter_op_num_threads: null
|
155 |
+
intra_op_num_threads: null
|
156 |
+
model_kwargs: {}
|
157 |
+
processor_kwargs: {}
|
158 |
+
hub_kwargs: {}
|
159 |
+
no_weights: true
|
160 |
+
device_map: null
|
161 |
+
torch_dtype: float16
|
162 |
+
eval_mode: true
|
163 |
+
to_bettertransformer: false
|
164 |
+
low_cpu_mem_usage: null
|
165 |
+
attn_implementation: null
|
166 |
+
cache_implementation: static
|
167 |
+
autocast_enabled: false
|
168 |
+
autocast_dtype: null
|
169 |
+
torch_compile: true
|
170 |
+
torch_compile_target: forward
|
171 |
+
torch_compile_config:
|
172 |
+
backend: inductor
|
173 |
+
mode: reduce-overhead
|
174 |
+
fullgraph: true
|
175 |
+
quantization_scheme: null
|
176 |
+
quantization_config: {}
|
177 |
+
deepspeed_inference: false
|
178 |
+
deepspeed_inference_config: {}
|
179 |
+
peft_type: null
|
180 |
+
peft_config: {}
|
181 |
+
scenario:
|
182 |
+
name: inference
|
183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
184 |
+
iterations: 2
|
185 |
+
duration: 0
|
186 |
+
warmup_runs: 10
|
187 |
+
input_shapes:
|
188 |
+
batch_size: 1
|
189 |
+
sequence_length: 7
|
190 |
+
new_tokens: null
|
191 |
+
latency: true
|
192 |
+
memory: true
|
193 |
+
energy: false
|
194 |
+
forward_kwargs: {}
|
195 |
+
generate_kwargs:
|
196 |
+
max_new_tokens: 128
|
197 |
+
min_new_tokens: 128
|
198 |
+
do_sample: false
|
199 |
+
call_kwargs: {}
|
200 |
+
launcher:
|
201 |
+
name: process
|
202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
203 |
+
device_isolation: true
|
204 |
+
device_isolation_action: warn
|
205 |
+
start_method: spawn
|
206 |
+
environment:
|
207 |
+
cpu: ' AMD EPYC 7R32'
|
208 |
+
cpu_count: 16
|
209 |
+
cpu_ram_mb: 66697.29792
|
210 |
+
system: Linux
|
211 |
+
machine: x86_64
|
212 |
+
platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
|
213 |
+
processor: x86_64
|
214 |
+
python_version: 3.8.10
|
215 |
+
gpu:
|
216 |
+
- NVIDIA A10G
|
217 |
+
gpu_count: 1
|
218 |
+
gpu_vram_mb: 24146608128
|
219 |
+
optimum_benchmark_version: 0.2.1
|
220 |
+
optimum_benchmark_commit: null
|
221 |
+
transformers_version: 4.42.0.dev0
|
222 |
+
transformers_commit: 74a207404e8d4524d1fdc4aa23789694f9eef347
|
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-23/summaries.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"model": "google/gemma-2b",
|
4 |
+
"commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
6 |
+
"metrics": {
|
7 |
+
"prefill.latency.mean": 0.020358543395996093,
|
8 |
+
"prefill.throughput.value": 343.8359937566401,
|
9 |
+
"decode.latency.mean": 2.4922604980468748,
|
10 |
+
"decode.throughput.value": 50.95775505791906,
|
11 |
+
"per_token.latency.mean": 0.019697526441732414,
|
12 |
+
"per_token.throughput.value": 50.76779579192935
|
13 |
+
}
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"model": "google/gemma-2b",
|
17 |
+
"commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
19 |
+
"metrics": {
|
20 |
+
"prefill.latency.mean": 0.0221495361328125,
|
21 |
+
"prefill.throughput.value": 316.03370644092826,
|
22 |
+
"decode.latency.mean": 2.602114013671875,
|
23 |
+
"decode.throughput.value": 48.80647017491318,
|
24 |
+
"per_token.latency.mean": 0.020574183678909723,
|
25 |
+
"per_token.throughput.value": 48.6046015534062
|
26 |
+
}
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"model": "google/gemma-2b",
|
30 |
+
"commit": "74a207404e8d4524d1fdc4aa23789694f9eef347",
|
31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
32 |
+
"metrics": {
|
33 |
+
"prefill.latency.mean": 0.01409222412109375,
|
34 |
+
"prefill.throughput.value": 496.7278365607418,
|
35 |
+
"decode.latency.mean": 1.56042431640625,
|
36 |
+
"decode.throughput.value": 81.38811902937309,
|
37 |
+
"per_token.latency.mean": 0.012339556185153163,
|
38 |
+
"per_token.throughput.value": 81.04019180229436
|
39 |
+
}
|
40 |
+
}
|
41 |
+
]
|
2024-06-23/summary.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"google/gemma-2b": {
|
3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
4 |
+
"74a207404e8d4524d1fdc4aa23789694f9eef347": {
|
5 |
+
"metrics": {
|
6 |
+
"prefill.latency.mean": 0.020358543395996093,
|
7 |
+
"prefill.throughput.value": 343.8359937566401,
|
8 |
+
"decode.latency.mean": 2.4922604980468748,
|
9 |
+
"decode.throughput.value": 50.95775505791906,
|
10 |
+
"per_token.latency.mean": 0.019697526441732414,
|
11 |
+
"per_token.throughput.value": 50.76779579192935
|
12 |
+
}
|
13 |
+
}
|
14 |
+
},
|
15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
16 |
+
"74a207404e8d4524d1fdc4aa23789694f9eef347": {
|
17 |
+
"metrics": {
|
18 |
+
"prefill.latency.mean": 0.0221495361328125,
|
19 |
+
"prefill.throughput.value": 316.03370644092826,
|
20 |
+
"decode.latency.mean": 2.602114013671875,
|
21 |
+
"decode.throughput.value": 48.80647017491318,
|
22 |
+
"per_token.latency.mean": 0.020574183678909723,
|
23 |
+
"per_token.throughput.value": 48.6046015534062
|
24 |
+
}
|
25 |
+
}
|
26 |
+
},
|
27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
28 |
+
"74a207404e8d4524d1fdc4aa23789694f9eef347": {
|
29 |
+
"metrics": {
|
30 |
+
"prefill.latency.mean": 0.01409222412109375,
|
31 |
+
"prefill.throughput.value": 496.7278365607418,
|
32 |
+
"decode.latency.mean": 1.56042431640625,
|
33 |
+
"decode.throughput.value": 81.38811902937309,
|
34 |
+
"per_token.latency.mean": 0.012339556185153163,
|
35 |
+
"per_token.throughput.value": 81.04019180229436
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|