Upload folder using huggingface_hub
Browse files- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/multirun.yaml +232 -0
- 2024-06-27/summaries.json +41 -0
- 2024-06-27/summary.json +40 -0
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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: 1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 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/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=False
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 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": 1730.535424,
|
| 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.03975424003601074,
|
| 118 |
+
"mean": 0.01987712001800537,
|
| 119 |
+
"stdev": 0.0001449594497680666,
|
| 120 |
+
"p50": 0.01987712001800537,
|
| 121 |
+
"p90": 0.019993087577819823,
|
| 122 |
+
"p95": 0.020007583522796628,
|
| 123 |
+
"p99": 0.020019180278778075,
|
| 124 |
+
"values": [
|
| 125 |
+
0.020022079467773436,
|
| 126 |
+
0.019732160568237303
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 352.16369341530174
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1730.617344,
|
| 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.788974609375,
|
| 149 |
+
"mean": 2.3944873046875,
|
| 150 |
+
"stdev": 0.0072429199218748685,
|
| 151 |
+
"p50": 2.3944873046875,
|
| 152 |
+
"p90": 2.400281640625,
|
| 153 |
+
"p95": 2.401005932617187,
|
| 154 |
+
"p99": 2.4015853662109374,
|
| 155 |
+
"values": [
|
| 156 |
+
2.401730224609375,
|
| 157 |
+
2.387244384765625
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 53.03849377333597
|
| 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.789055486679078,
|
| 173 |
+
"mean": 0.018929073069877775,
|
| 174 |
+
"stdev": 0.0013167771977965525,
|
| 175 |
+
"p50": 0.01884774398803711,
|
| 176 |
+
"p90": 0.019217817306518555,
|
| 177 |
+
"p95": 0.019372851181030274,
|
| 178 |
+
"p99": 0.02100580284118652,
|
| 179 |
+
"values": [
|
| 180 |
+
0.02079641532897949,
|
| 181 |
+
0.018611200332641603,
|
| 182 |
+
0.018375680923461913,
|
| 183 |
+
0.018353151321411132,
|
| 184 |
+
0.018342912673950194,
|
| 185 |
+
0.018343936920166014,
|
| 186 |
+
0.018356224060058594,
|
| 187 |
+
0.018390016555786134,
|
| 188 |
+
0.018348031997680665,
|
| 189 |
+
0.018544639587402344,
|
| 190 |
+
0.018551807403564453,
|
| 191 |
+
0.01845452880859375,
|
| 192 |
+
0.018354175567626953,
|
| 193 |
+
0.01841971206665039,
|
| 194 |
+
0.01840127944946289,
|
| 195 |
+
0.01841049575805664,
|
| 196 |
+
0.01855897521972656,
|
| 197 |
+
0.01841868782043457,
|
| 198 |
+
0.018280448913574218,
|
| 199 |
+
0.01825279998779297,
|
| 200 |
+
0.01836031913757324,
|
| 201 |
+
0.01842278480529785,
|
| 202 |
+
0.018415615081787108,
|
| 203 |
+
0.018381824493408205,
|
| 204 |
+
0.01839820861816406,
|
| 205 |
+
0.018415615081787108,
|
| 206 |
+
0.01842790412902832,
|
| 207 |
+
0.01838489532470703,
|
| 208 |
+
0.01844428825378418,
|
| 209 |
+
0.018420736312866212,
|
| 210 |
+
0.018380800247192384,
|
| 211 |
+
0.018372608184814454,
|
| 212 |
+
0.018363391876220703,
|
| 213 |
+
0.01839923286437988,
|
| 214 |
+
0.01866854476928711,
|
| 215 |
+
0.0190382080078125,
|
| 216 |
+
0.01900441551208496,
|
| 217 |
+
0.019005439758300782,
|
| 218 |
+
0.018971647262573242,
|
| 219 |
+
0.018670591354370117,
|
| 220 |
+
0.01882828712463379,
|
| 221 |
+
0.018967552185058592,
|
| 222 |
+
0.01904537582397461,
|
| 223 |
+
0.019129344940185547,
|
| 224 |
+
0.019141632080078123,
|
| 225 |
+
0.018903039932250978,
|
| 226 |
+
0.01900032043457031,
|
| 227 |
+
0.018807807922363282,
|
| 228 |
+
0.018580480575561522,
|
| 229 |
+
0.018749439239501953,
|
| 230 |
+
0.01884774398803711,
|
| 231 |
+
0.018980863571166993,
|
| 232 |
+
0.019308544158935546,
|
| 233 |
+
0.0193832950592041,
|
| 234 |
+
0.020512767791748047,
|
| 235 |
+
0.02000383949279785,
|
| 236 |
+
0.02027827262878418,
|
| 237 |
+
0.01946112060546875,
|
| 238 |
+
0.018569215774536133,
|
| 239 |
+
0.018976768493652343,
|
| 240 |
+
0.019105791091918945,
|
| 241 |
+
0.019104768753051758,
|
| 242 |
+
0.019573759078979493,
|
| 243 |
+
0.019150848388671874,
|
| 244 |
+
0.019331071853637697,
|
| 245 |
+
0.019215360641479492,
|
| 246 |
+
0.019154943466186524,
|
| 247 |
+
0.019105791091918945,
|
| 248 |
+
0.019133440017700197,
|
| 249 |
+
0.018930688858032226,
|
| 250 |
+
0.019144704818725586,
|
| 251 |
+
0.019090431213378906,
|
| 252 |
+
0.01927884864807129,
|
| 253 |
+
0.019360767364501954,
|
| 254 |
+
0.019122175216674805,
|
| 255 |
+
0.01929523277282715,
|
| 256 |
+
0.019107839584350587,
|
| 257 |
+
0.019129344940185547,
|
| 258 |
+
0.019186687469482423,
|
| 259 |
+
0.019111936569213867,
|
| 260 |
+
0.018946048736572265,
|
| 261 |
+
0.018503679275512695,
|
| 262 |
+
0.018525184631347655,
|
| 263 |
+
0.018536447525024414,
|
| 264 |
+
0.018531328201293946,
|
| 265 |
+
0.01863987159729004,
|
| 266 |
+
0.019104768753051758,
|
| 267 |
+
0.01904025650024414,
|
| 268 |
+
0.019072000503540038,
|
| 269 |
+
0.018917375564575196,
|
| 270 |
+
0.018526208877563476,
|
| 271 |
+
0.019143680572509765,
|
| 272 |
+
0.019104768753051758,
|
| 273 |
+
0.019099647521972657,
|
| 274 |
+
0.019170303344726563,
|
| 275 |
+
0.019078144073486326,
|
| 276 |
+
0.019152896881103516,
|
| 277 |
+
0.019117055892944337,
|
| 278 |
+
0.019171327590942384,
|
| 279 |
+
0.019130367279052735,
|
| 280 |
+
0.01921843147277832,
|
| 281 |
+
0.01921023941040039,
|
| 282 |
+
0.019147775650024415,
|
| 283 |
+
0.01904844856262207,
|
| 284 |
+
0.019100671768188478,
|
| 285 |
+
0.019155967712402345,
|
| 286 |
+
0.019325952529907226,
|
| 287 |
+
0.019133440017700197,
|
| 288 |
+
0.018563072204589845,
|
| 289 |
+
0.018486272811889647,
|
| 290 |
+
0.018852863311767578,
|
| 291 |
+
0.019110912322998046,
|
| 292 |
+
0.019195903778076173,
|
| 293 |
+
0.019365888595581054,
|
| 294 |
+
0.01924300765991211,
|
| 295 |
+
0.019116031646728517,
|
| 296 |
+
0.019165184020996092,
|
| 297 |
+
0.019161088943481445,
|
| 298 |
+
0.019087360382080077,
|
| 299 |
+
0.01906892776489258,
|
| 300 |
+
0.018592767715454102,
|
| 301 |
+
0.019191808700561523,
|
| 302 |
+
0.019112960815429687,
|
| 303 |
+
0.019129344940185547,
|
| 304 |
+
0.01859686470031738,
|
| 305 |
+
0.018536447525024414,
|
| 306 |
+
0.03857100677490234,
|
| 307 |
+
0.01882828712463379,
|
| 308 |
+
0.019087423324584962,
|
| 309 |
+
0.018466751098632814,
|
| 310 |
+
0.018811904907226562,
|
| 311 |
+
0.018766847610473633,
|
| 312 |
+
0.018877439498901367,
|
| 313 |
+
0.018408447265625,
|
| 314 |
+
0.018762752532958983,
|
| 315 |
+
0.01899519920349121,
|
| 316 |
+
0.018977792739868164,
|
| 317 |
+
0.019107839584350587,
|
| 318 |
+
0.019021823883056642,
|
| 319 |
+
0.01900032043457031,
|
| 320 |
+
0.018980863571166993,
|
| 321 |
+
0.01845145606994629,
|
| 322 |
+
0.01843609619140625,
|
| 323 |
+
0.018495487213134765,
|
| 324 |
+
0.018431999206542968,
|
| 325 |
+
0.01865727996826172,
|
| 326 |
+
0.018408447265625,
|
| 327 |
+
0.018365440368652345,
|
| 328 |
+
0.01843609619140625,
|
| 329 |
+
0.018449407577514648,
|
| 330 |
+
0.019135488510131835,
|
| 331 |
+
0.018447359085083007,
|
| 332 |
+
0.018491392135620118,
|
| 333 |
+
0.018479103088378905,
|
| 334 |
+
0.01906380844116211,
|
| 335 |
+
0.0190248966217041,
|
| 336 |
+
0.01938739204406738,
|
| 337 |
+
0.01926655960083008,
|
| 338 |
+
0.019162111282348633,
|
| 339 |
+
0.019219455718994142,
|
| 340 |
+
0.019594240188598632,
|
| 341 |
+
0.01902694320678711,
|
| 342 |
+
0.01904640007019043,
|
| 343 |
+
0.019334144592285156,
|
| 344 |
+
0.019056640625,
|
| 345 |
+
0.019389440536499023,
|
| 346 |
+
0.018969600677490234,
|
| 347 |
+
0.018962432861328125,
|
| 348 |
+
0.018964479446411133,
|
| 349 |
+
0.018898944854736328,
|
| 350 |
+
0.018923519134521484,
|
| 351 |
+
0.018907136917114258,
|
| 352 |
+
0.018974720001220705,
|
| 353 |
+
0.018469888687133788,
|
| 354 |
+
0.018412544250488282,
|
| 355 |
+
0.019042303085327148,
|
| 356 |
+
0.01861529541015625,
|
| 357 |
+
0.018504703521728515,
|
| 358 |
+
0.018954240798950195,
|
| 359 |
+
0.018982912063598634,
|
| 360 |
+
0.019074047088623047,
|
| 361 |
+
0.018984960556030273,
|
| 362 |
+
0.01842790412902832,
|
| 363 |
+
0.018720767974853517,
|
| 364 |
+
0.019171327590942384,
|
| 365 |
+
0.01920921516418457,
|
| 366 |
+
0.019170303344726563,
|
| 367 |
+
0.019086336135864256,
|
| 368 |
+
0.019143680572509765,
|
| 369 |
+
0.019204095840454103,
|
| 370 |
+
0.019139583587646485,
|
| 371 |
+
0.01920204734802246,
|
| 372 |
+
0.01908940887451172,
|
| 373 |
+
0.019159040451049804,
|
| 374 |
+
0.019186687469482423,
|
| 375 |
+
0.02123263931274414,
|
| 376 |
+
0.021794815063476563,
|
| 377 |
+
0.019360767364501954,
|
| 378 |
+
0.019105791091918945,
|
| 379 |
+
0.019072000503540038,
|
| 380 |
+
0.01907302474975586,
|
| 381 |
+
0.018535423278808593,
|
| 382 |
+
0.018584575653076172,
|
| 383 |
+
0.01861324882507324,
|
| 384 |
+
0.01857535934448242,
|
| 385 |
+
0.018531328201293946,
|
| 386 |
+
0.018514944076538087,
|
| 387 |
+
0.01856716728210449,
|
| 388 |
+
0.018538496017456055,
|
| 389 |
+
0.018493440628051756,
|
| 390 |
+
0.018537471771240235,
|
| 391 |
+
0.01901670455932617,
|
| 392 |
+
0.01862451171875,
|
| 393 |
+
0.018557952880859374,
|
| 394 |
+
0.01863987159729004,
|
| 395 |
+
0.018521087646484375,
|
| 396 |
+
0.018588672637939452,
|
| 397 |
+
0.018557952880859374,
|
| 398 |
+
0.018569215774536133,
|
| 399 |
+
0.018505727767944336,
|
| 400 |
+
0.018534400939941405,
|
| 401 |
+
0.018551807403564453,
|
| 402 |
+
0.018544639587402344,
|
| 403 |
+
0.01856716728210449,
|
| 404 |
+
0.018532352447509767,
|
| 405 |
+
0.018519039154052733,
|
| 406 |
+
0.018578432083129884,
|
| 407 |
+
0.018497535705566406,
|
| 408 |
+
0.018534400939941405,
|
| 409 |
+
0.018543615341186523,
|
| 410 |
+
0.01843609619140625,
|
| 411 |
+
0.018526208877563476,
|
| 412 |
+
0.018556928634643553,
|
| 413 |
+
0.01847500801086426,
|
| 414 |
+
0.018485248565673826,
|
| 415 |
+
0.018499584197998048,
|
| 416 |
+
0.018478080749511717,
|
| 417 |
+
0.01848422431945801,
|
| 418 |
+
0.018537471771240235,
|
| 419 |
+
0.0184770565032959,
|
| 420 |
+
0.018504703521728515,
|
| 421 |
+
0.018485248565673826,
|
| 422 |
+
0.0184586238861084,
|
| 423 |
+
0.018510847091674804,
|
| 424 |
+
0.018506752014160157,
|
| 425 |
+
0.01848422431945801,
|
| 426 |
+
0.018485248565673826,
|
| 427 |
+
0.018503679275512695,
|
| 428 |
+
0.018529279708862305,
|
| 429 |
+
0.018465791702270508,
|
| 430 |
+
0.018494464874267577,
|
| 431 |
+
0.018521087646484375,
|
| 432 |
+
0.018508800506591795
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 52.82878862099807
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": 1730.535424,
|
| 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.03975424003601074,
|
| 15 |
+
"mean": 0.01987712001800537,
|
| 16 |
+
"stdev": 0.0001449594497680666,
|
| 17 |
+
"p50": 0.01987712001800537,
|
| 18 |
+
"p90": 0.019993087577819823,
|
| 19 |
+
"p95": 0.020007583522796628,
|
| 20 |
+
"p99": 0.020019180278778075,
|
| 21 |
+
"values": [
|
| 22 |
+
0.020022079467773436,
|
| 23 |
+
0.019732160568237303
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 352.16369341530174
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1730.617344,
|
| 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.788974609375,
|
| 46 |
+
"mean": 2.3944873046875,
|
| 47 |
+
"stdev": 0.0072429199218748685,
|
| 48 |
+
"p50": 2.3944873046875,
|
| 49 |
+
"p90": 2.400281640625,
|
| 50 |
+
"p95": 2.401005932617187,
|
| 51 |
+
"p99": 2.4015853662109374,
|
| 52 |
+
"values": [
|
| 53 |
+
2.401730224609375,
|
| 54 |
+
2.387244384765625
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 53.03849377333597
|
| 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.789055486679078,
|
| 70 |
+
"mean": 0.018929073069877775,
|
| 71 |
+
"stdev": 0.0013167771977965525,
|
| 72 |
+
"p50": 0.01884774398803711,
|
| 73 |
+
"p90": 0.019217817306518555,
|
| 74 |
+
"p95": 0.019372851181030274,
|
| 75 |
+
"p99": 0.02100580284118652,
|
| 76 |
+
"values": [
|
| 77 |
+
0.02079641532897949,
|
| 78 |
+
0.018611200332641603,
|
| 79 |
+
0.018375680923461913,
|
| 80 |
+
0.018353151321411132,
|
| 81 |
+
0.018342912673950194,
|
| 82 |
+
0.018343936920166014,
|
| 83 |
+
0.018356224060058594,
|
| 84 |
+
0.018390016555786134,
|
| 85 |
+
0.018348031997680665,
|
| 86 |
+
0.018544639587402344,
|
| 87 |
+
0.018551807403564453,
|
| 88 |
+
0.01845452880859375,
|
| 89 |
+
0.018354175567626953,
|
| 90 |
+
0.01841971206665039,
|
| 91 |
+
0.01840127944946289,
|
| 92 |
+
0.01841049575805664,
|
| 93 |
+
0.01855897521972656,
|
| 94 |
+
0.01841868782043457,
|
| 95 |
+
0.018280448913574218,
|
| 96 |
+
0.01825279998779297,
|
| 97 |
+
0.01836031913757324,
|
| 98 |
+
0.01842278480529785,
|
| 99 |
+
0.018415615081787108,
|
| 100 |
+
0.018381824493408205,
|
| 101 |
+
0.01839820861816406,
|
| 102 |
+
0.018415615081787108,
|
| 103 |
+
0.01842790412902832,
|
| 104 |
+
0.01838489532470703,
|
| 105 |
+
0.01844428825378418,
|
| 106 |
+
0.018420736312866212,
|
| 107 |
+
0.018380800247192384,
|
| 108 |
+
0.018372608184814454,
|
| 109 |
+
0.018363391876220703,
|
| 110 |
+
0.01839923286437988,
|
| 111 |
+
0.01866854476928711,
|
| 112 |
+
0.0190382080078125,
|
| 113 |
+
0.01900441551208496,
|
| 114 |
+
0.019005439758300782,
|
| 115 |
+
0.018971647262573242,
|
| 116 |
+
0.018670591354370117,
|
| 117 |
+
0.01882828712463379,
|
| 118 |
+
0.018967552185058592,
|
| 119 |
+
0.01904537582397461,
|
| 120 |
+
0.019129344940185547,
|
| 121 |
+
0.019141632080078123,
|
| 122 |
+
0.018903039932250978,
|
| 123 |
+
0.01900032043457031,
|
| 124 |
+
0.018807807922363282,
|
| 125 |
+
0.018580480575561522,
|
| 126 |
+
0.018749439239501953,
|
| 127 |
+
0.01884774398803711,
|
| 128 |
+
0.018980863571166993,
|
| 129 |
+
0.019308544158935546,
|
| 130 |
+
0.0193832950592041,
|
| 131 |
+
0.020512767791748047,
|
| 132 |
+
0.02000383949279785,
|
| 133 |
+
0.02027827262878418,
|
| 134 |
+
0.01946112060546875,
|
| 135 |
+
0.018569215774536133,
|
| 136 |
+
0.018976768493652343,
|
| 137 |
+
0.019105791091918945,
|
| 138 |
+
0.019104768753051758,
|
| 139 |
+
0.019573759078979493,
|
| 140 |
+
0.019150848388671874,
|
| 141 |
+
0.019331071853637697,
|
| 142 |
+
0.019215360641479492,
|
| 143 |
+
0.019154943466186524,
|
| 144 |
+
0.019105791091918945,
|
| 145 |
+
0.019133440017700197,
|
| 146 |
+
0.018930688858032226,
|
| 147 |
+
0.019144704818725586,
|
| 148 |
+
0.019090431213378906,
|
| 149 |
+
0.01927884864807129,
|
| 150 |
+
0.019360767364501954,
|
| 151 |
+
0.019122175216674805,
|
| 152 |
+
0.01929523277282715,
|
| 153 |
+
0.019107839584350587,
|
| 154 |
+
0.019129344940185547,
|
| 155 |
+
0.019186687469482423,
|
| 156 |
+
0.019111936569213867,
|
| 157 |
+
0.018946048736572265,
|
| 158 |
+
0.018503679275512695,
|
| 159 |
+
0.018525184631347655,
|
| 160 |
+
0.018536447525024414,
|
| 161 |
+
0.018531328201293946,
|
| 162 |
+
0.01863987159729004,
|
| 163 |
+
0.019104768753051758,
|
| 164 |
+
0.01904025650024414,
|
| 165 |
+
0.019072000503540038,
|
| 166 |
+
0.018917375564575196,
|
| 167 |
+
0.018526208877563476,
|
| 168 |
+
0.019143680572509765,
|
| 169 |
+
0.019104768753051758,
|
| 170 |
+
0.019099647521972657,
|
| 171 |
+
0.019170303344726563,
|
| 172 |
+
0.019078144073486326,
|
| 173 |
+
0.019152896881103516,
|
| 174 |
+
0.019117055892944337,
|
| 175 |
+
0.019171327590942384,
|
| 176 |
+
0.019130367279052735,
|
| 177 |
+
0.01921843147277832,
|
| 178 |
+
0.01921023941040039,
|
| 179 |
+
0.019147775650024415,
|
| 180 |
+
0.01904844856262207,
|
| 181 |
+
0.019100671768188478,
|
| 182 |
+
0.019155967712402345,
|
| 183 |
+
0.019325952529907226,
|
| 184 |
+
0.019133440017700197,
|
| 185 |
+
0.018563072204589845,
|
| 186 |
+
0.018486272811889647,
|
| 187 |
+
0.018852863311767578,
|
| 188 |
+
0.019110912322998046,
|
| 189 |
+
0.019195903778076173,
|
| 190 |
+
0.019365888595581054,
|
| 191 |
+
0.01924300765991211,
|
| 192 |
+
0.019116031646728517,
|
| 193 |
+
0.019165184020996092,
|
| 194 |
+
0.019161088943481445,
|
| 195 |
+
0.019087360382080077,
|
| 196 |
+
0.01906892776489258,
|
| 197 |
+
0.018592767715454102,
|
| 198 |
+
0.019191808700561523,
|
| 199 |
+
0.019112960815429687,
|
| 200 |
+
0.019129344940185547,
|
| 201 |
+
0.01859686470031738,
|
| 202 |
+
0.018536447525024414,
|
| 203 |
+
0.03857100677490234,
|
| 204 |
+
0.01882828712463379,
|
| 205 |
+
0.019087423324584962,
|
| 206 |
+
0.018466751098632814,
|
| 207 |
+
0.018811904907226562,
|
| 208 |
+
0.018766847610473633,
|
| 209 |
+
0.018877439498901367,
|
| 210 |
+
0.018408447265625,
|
| 211 |
+
0.018762752532958983,
|
| 212 |
+
0.01899519920349121,
|
| 213 |
+
0.018977792739868164,
|
| 214 |
+
0.019107839584350587,
|
| 215 |
+
0.019021823883056642,
|
| 216 |
+
0.01900032043457031,
|
| 217 |
+
0.018980863571166993,
|
| 218 |
+
0.01845145606994629,
|
| 219 |
+
0.01843609619140625,
|
| 220 |
+
0.018495487213134765,
|
| 221 |
+
0.018431999206542968,
|
| 222 |
+
0.01865727996826172,
|
| 223 |
+
0.018408447265625,
|
| 224 |
+
0.018365440368652345,
|
| 225 |
+
0.01843609619140625,
|
| 226 |
+
0.018449407577514648,
|
| 227 |
+
0.019135488510131835,
|
| 228 |
+
0.018447359085083007,
|
| 229 |
+
0.018491392135620118,
|
| 230 |
+
0.018479103088378905,
|
| 231 |
+
0.01906380844116211,
|
| 232 |
+
0.0190248966217041,
|
| 233 |
+
0.01938739204406738,
|
| 234 |
+
0.01926655960083008,
|
| 235 |
+
0.019162111282348633,
|
| 236 |
+
0.019219455718994142,
|
| 237 |
+
0.019594240188598632,
|
| 238 |
+
0.01902694320678711,
|
| 239 |
+
0.01904640007019043,
|
| 240 |
+
0.019334144592285156,
|
| 241 |
+
0.019056640625,
|
| 242 |
+
0.019389440536499023,
|
| 243 |
+
0.018969600677490234,
|
| 244 |
+
0.018962432861328125,
|
| 245 |
+
0.018964479446411133,
|
| 246 |
+
0.018898944854736328,
|
| 247 |
+
0.018923519134521484,
|
| 248 |
+
0.018907136917114258,
|
| 249 |
+
0.018974720001220705,
|
| 250 |
+
0.018469888687133788,
|
| 251 |
+
0.018412544250488282,
|
| 252 |
+
0.019042303085327148,
|
| 253 |
+
0.01861529541015625,
|
| 254 |
+
0.018504703521728515,
|
| 255 |
+
0.018954240798950195,
|
| 256 |
+
0.018982912063598634,
|
| 257 |
+
0.019074047088623047,
|
| 258 |
+
0.018984960556030273,
|
| 259 |
+
0.01842790412902832,
|
| 260 |
+
0.018720767974853517,
|
| 261 |
+
0.019171327590942384,
|
| 262 |
+
0.01920921516418457,
|
| 263 |
+
0.019170303344726563,
|
| 264 |
+
0.019086336135864256,
|
| 265 |
+
0.019143680572509765,
|
| 266 |
+
0.019204095840454103,
|
| 267 |
+
0.019139583587646485,
|
| 268 |
+
0.01920204734802246,
|
| 269 |
+
0.01908940887451172,
|
| 270 |
+
0.019159040451049804,
|
| 271 |
+
0.019186687469482423,
|
| 272 |
+
0.02123263931274414,
|
| 273 |
+
0.021794815063476563,
|
| 274 |
+
0.019360767364501954,
|
| 275 |
+
0.019105791091918945,
|
| 276 |
+
0.019072000503540038,
|
| 277 |
+
0.01907302474975586,
|
| 278 |
+
0.018535423278808593,
|
| 279 |
+
0.018584575653076172,
|
| 280 |
+
0.01861324882507324,
|
| 281 |
+
0.01857535934448242,
|
| 282 |
+
0.018531328201293946,
|
| 283 |
+
0.018514944076538087,
|
| 284 |
+
0.01856716728210449,
|
| 285 |
+
0.018538496017456055,
|
| 286 |
+
0.018493440628051756,
|
| 287 |
+
0.018537471771240235,
|
| 288 |
+
0.01901670455932617,
|
| 289 |
+
0.01862451171875,
|
| 290 |
+
0.018557952880859374,
|
| 291 |
+
0.01863987159729004,
|
| 292 |
+
0.018521087646484375,
|
| 293 |
+
0.018588672637939452,
|
| 294 |
+
0.018557952880859374,
|
| 295 |
+
0.018569215774536133,
|
| 296 |
+
0.018505727767944336,
|
| 297 |
+
0.018534400939941405,
|
| 298 |
+
0.018551807403564453,
|
| 299 |
+
0.018544639587402344,
|
| 300 |
+
0.01856716728210449,
|
| 301 |
+
0.018532352447509767,
|
| 302 |
+
0.018519039154052733,
|
| 303 |
+
0.018578432083129884,
|
| 304 |
+
0.018497535705566406,
|
| 305 |
+
0.018534400939941405,
|
| 306 |
+
0.018543615341186523,
|
| 307 |
+
0.01843609619140625,
|
| 308 |
+
0.018526208877563476,
|
| 309 |
+
0.018556928634643553,
|
| 310 |
+
0.01847500801086426,
|
| 311 |
+
0.018485248565673826,
|
| 312 |
+
0.018499584197998048,
|
| 313 |
+
0.018478080749511717,
|
| 314 |
+
0.01848422431945801,
|
| 315 |
+
0.018537471771240235,
|
| 316 |
+
0.0184770565032959,
|
| 317 |
+
0.018504703521728515,
|
| 318 |
+
0.018485248565673826,
|
| 319 |
+
0.0184586238861084,
|
| 320 |
+
0.018510847091674804,
|
| 321 |
+
0.018506752014160157,
|
| 322 |
+
0.01848422431945801,
|
| 323 |
+
0.018485248565673826,
|
| 324 |
+
0.018503679275512695,
|
| 325 |
+
0.018529279708862305,
|
| 326 |
+
0.018465791702270508,
|
| 327 |
+
0.018494464874267577,
|
| 328 |
+
0.018521087646484375,
|
| 329 |
+
0.018508800506591795
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 52.82878862099807
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.01987712001800537,
|
| 7 |
+
"prefill.throughput.value": 352.16369341530174,
|
| 8 |
+
"decode.latency.mean": 2.3944873046875,
|
| 9 |
+
"decode.throughput.value": 53.03849377333597,
|
| 10 |
+
"per_token.latency.mean": 0.018929073069877775,
|
| 11 |
+
"per_token.throughput.value": 52.82878862099807
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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: 1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 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/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=True
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-06-27 02:34:09,106[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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: 1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 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/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=False
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 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": 1764.80256,
|
| 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.04531289672851563,
|
| 118 |
+
"mean": 0.022656448364257814,
|
| 119 |
+
"stdev": 0.00025440025329589826,
|
| 120 |
+
"p50": 0.022656448364257814,
|
| 121 |
+
"p90": 0.022859968566894533,
|
| 122 |
+
"p95": 0.02288540859222412,
|
| 123 |
+
"p99": 0.022905760612487794,
|
| 124 |
+
"values": [
|
| 125 |
+
0.02291084861755371,
|
| 126 |
+
0.022402048110961914
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 308.96281215210263
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1764.82304,
|
| 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.30516650390625,
|
| 149 |
+
"mean": 2.652583251953125,
|
| 150 |
+
"stdev": 0.005426025390625089,
|
| 151 |
+
"p50": 2.652583251953125,
|
| 152 |
+
"p90": 2.656924072265625,
|
| 153 |
+
"p95": 2.6574666748046876,
|
| 154 |
+
"p99": 2.6579007568359376,
|
| 155 |
+
"values": [
|
| 156 |
+
2.65800927734375,
|
| 157 |
+
2.6471572265625
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 47.877856390176845
|
| 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.306186786651615,
|
| 173 |
+
"mean": 0.020973070302970798,
|
| 174 |
+
"stdev": 0.0014580768080943384,
|
| 175 |
+
"p50": 0.02063052749633789,
|
| 176 |
+
"p90": 0.021450136947631836,
|
| 177 |
+
"p95": 0.02177372169494629,
|
| 178 |
+
"p99": 0.022235545425415035,
|
| 179 |
+
"values": [
|
| 180 |
+
0.02268262481689453,
|
| 181 |
+
0.02208153533935547,
|
| 182 |
+
0.021651456832885742,
|
| 183 |
+
0.021392383575439454,
|
| 184 |
+
0.022079488754272462,
|
| 185 |
+
0.022304767608642577,
|
| 186 |
+
0.0219238395690918,
|
| 187 |
+
0.02165247917175293,
|
| 188 |
+
0.021702655792236326,
|
| 189 |
+
0.021378047943115236,
|
| 190 |
+
0.021403648376464843,
|
| 191 |
+
0.02102681541442871,
|
| 192 |
+
0.021575679779052736,
|
| 193 |
+
0.02150092887878418,
|
| 194 |
+
0.022171648025512695,
|
| 195 |
+
0.02187468719482422,
|
| 196 |
+
0.021182464599609374,
|
| 197 |
+
0.02122956848144531,
|
| 198 |
+
0.021190656661987304,
|
| 199 |
+
0.021013504028320314,
|
| 200 |
+
0.020966400146484376,
|
| 201 |
+
0.02145382308959961,
|
| 202 |
+
0.02108415985107422,
|
| 203 |
+
0.020943872451782225,
|
| 204 |
+
0.021178367614746094,
|
| 205 |
+
0.021522432327270507,
|
| 206 |
+
0.021526527404785157,
|
| 207 |
+
0.02123263931274414,
|
| 208 |
+
0.0216627197265625,
|
| 209 |
+
0.021810176849365235,
|
| 210 |
+
0.021576704025268553,
|
| 211 |
+
0.0210565128326416,
|
| 212 |
+
0.021551103591918946,
|
| 213 |
+
0.020941823959350587,
|
| 214 |
+
0.021204992294311522,
|
| 215 |
+
0.021098495483398438,
|
| 216 |
+
0.021769216537475586,
|
| 217 |
+
0.02170675277709961,
|
| 218 |
+
0.02143436813354492,
|
| 219 |
+
0.02108415985107422,
|
| 220 |
+
0.020864000320434572,
|
| 221 |
+
0.020898815155029296,
|
| 222 |
+
0.021246976852416992,
|
| 223 |
+
0.021780479431152345,
|
| 224 |
+
0.02143539237976074,
|
| 225 |
+
0.02088755226135254,
|
| 226 |
+
0.020616191864013672,
|
| 227 |
+
0.02060492706298828,
|
| 228 |
+
0.020610048294067384,
|
| 229 |
+
0.020570112228393556,
|
| 230 |
+
0.020975616455078124,
|
| 231 |
+
0.021110784530639647,
|
| 232 |
+
0.020580352783203124,
|
| 233 |
+
0.020560895919799805,
|
| 234 |
+
0.020616191864013672,
|
| 235 |
+
0.020555776596069338,
|
| 236 |
+
0.020568063735961914,
|
| 237 |
+
0.020577280044555665,
|
| 238 |
+
0.02065715217590332,
|
| 239 |
+
0.020563968658447264,
|
| 240 |
+
0.020571136474609376,
|
| 241 |
+
0.020595712661743162,
|
| 242 |
+
0.02062131118774414,
|
| 243 |
+
0.020559871673583984,
|
| 244 |
+
0.020602880477905275,
|
| 245 |
+
0.02059775924682617,
|
| 246 |
+
0.02065100860595703,
|
| 247 |
+
0.020571136474609376,
|
| 248 |
+
0.020612096786499022,
|
| 249 |
+
0.020580352783203124,
|
| 250 |
+
0.020570112228393556,
|
| 251 |
+
0.020592639923095703,
|
| 252 |
+
0.02059878349304199,
|
| 253 |
+
0.02058956718444824,
|
| 254 |
+
0.02065715217590332,
|
| 255 |
+
0.02061516761779785,
|
| 256 |
+
0.020558847427368163,
|
| 257 |
+
0.020592639923095703,
|
| 258 |
+
0.020582399368286132,
|
| 259 |
+
0.02061311912536621,
|
| 260 |
+
0.02059775924682617,
|
| 261 |
+
0.020594688415527345,
|
| 262 |
+
0.020545536041259766,
|
| 263 |
+
0.020541439056396483,
|
| 264 |
+
0.02059878349304199,
|
| 265 |
+
0.020543487548828124,
|
| 266 |
+
0.02059878349304199,
|
| 267 |
+
0.020586496353149415,
|
| 268 |
+
0.02063871955871582,
|
| 269 |
+
0.0206561279296875,
|
| 270 |
+
0.020632575988769532,
|
| 271 |
+
0.02060492706298828,
|
| 272 |
+
0.020617216110229493,
|
| 273 |
+
0.020569087982177735,
|
| 274 |
+
0.020603904724121092,
|
| 275 |
+
0.02064691162109375,
|
| 276 |
+
0.020626432418823244,
|
| 277 |
+
0.020594688415527345,
|
| 278 |
+
0.02068889617919922,
|
| 279 |
+
0.021180416107177736,
|
| 280 |
+
0.020739072799682616,
|
| 281 |
+
0.020592639923095703,
|
| 282 |
+
0.020567039489746093,
|
| 283 |
+
0.02057318305969238,
|
| 284 |
+
0.020610048294067384,
|
| 285 |
+
0.02062848091125488,
|
| 286 |
+
0.020579328536987306,
|
| 287 |
+
0.020792320251464845,
|
| 288 |
+
0.020583423614501953,
|
| 289 |
+
0.020599807739257812,
|
| 290 |
+
0.020601856231689454,
|
| 291 |
+
0.020612096786499022,
|
| 292 |
+
0.020666368484497072,
|
| 293 |
+
0.02060492706298828,
|
| 294 |
+
0.02061414337158203,
|
| 295 |
+
0.020594688415527345,
|
| 296 |
+
0.020601856231689454,
|
| 297 |
+
0.020576255798339844,
|
| 298 |
+
0.020607999801635742,
|
| 299 |
+
0.02066227149963379,
|
| 300 |
+
0.02064793586730957,
|
| 301 |
+
0.020607999801635742,
|
| 302 |
+
0.020585472106933594,
|
| 303 |
+
0.020544511795043945,
|
| 304 |
+
0.020570112228393556,
|
| 305 |
+
0.020535295486450195,
|
| 306 |
+
0.04320153427124023,
|
| 307 |
+
0.02062131118774414,
|
| 308 |
+
0.020594688415527345,
|
| 309 |
+
0.020588544845581053,
|
| 310 |
+
0.020563968658447264,
|
| 311 |
+
0.020566015243530272,
|
| 312 |
+
0.020554752349853517,
|
| 313 |
+
0.020579328536987306,
|
| 314 |
+
0.020587520599365236,
|
| 315 |
+
0.02060697555541992,
|
| 316 |
+
0.020583423614501953,
|
| 317 |
+
0.020585472106933594,
|
| 318 |
+
0.020564992904663085,
|
| 319 |
+
0.020579328536987306,
|
| 320 |
+
0.020590591430664062,
|
| 321 |
+
0.020975616455078124,
|
| 322 |
+
0.020653055191040038,
|
| 323 |
+
0.020632575988769532,
|
| 324 |
+
0.020596736907958983,
|
| 325 |
+
0.020610048294067384,
|
| 326 |
+
0.020900863647460938,
|
| 327 |
+
0.020966400146484376,
|
| 328 |
+
0.020632575988769532,
|
| 329 |
+
0.020625408172607423,
|
| 330 |
+
0.02059775924682617,
|
| 331 |
+
0.02057318305969238,
|
| 332 |
+
0.020572160720825194,
|
| 333 |
+
0.02064793586730957,
|
| 334 |
+
0.020644863128662108,
|
| 335 |
+
0.020611072540283205,
|
| 336 |
+
0.02062950325012207,
|
| 337 |
+
0.020570112228393556,
|
| 338 |
+
0.020626432418823244,
|
| 339 |
+
0.02058137512207031,
|
| 340 |
+
0.02061516761779785,
|
| 341 |
+
0.020579328536987306,
|
| 342 |
+
0.020599807739257812,
|
| 343 |
+
0.02064896011352539,
|
| 344 |
+
0.02067865562438965,
|
| 345 |
+
0.020601856231689454,
|
| 346 |
+
0.02108006477355957,
|
| 347 |
+
0.020753408432006838,
|
| 348 |
+
0.02057318305969238,
|
| 349 |
+
0.020559871673583984,
|
| 350 |
+
0.020584447860717774,
|
| 351 |
+
0.020556800842285155,
|
| 352 |
+
0.020595712661743162,
|
| 353 |
+
0.020544511795043945,
|
| 354 |
+
0.02058137512207031,
|
| 355 |
+
0.020556800842285155,
|
| 356 |
+
0.020569087982177735,
|
| 357 |
+
0.02058137512207031,
|
| 358 |
+
0.020590591430664062,
|
| 359 |
+
0.020743167877197266,
|
| 360 |
+
0.021186559677124024,
|
| 361 |
+
0.020619264602661135,
|
| 362 |
+
0.02062335968017578,
|
| 363 |
+
0.020625408172607423,
|
| 364 |
+
0.02060492706298828,
|
| 365 |
+
0.020568063735961914,
|
| 366 |
+
0.020612096786499022,
|
| 367 |
+
0.020571136474609376,
|
| 368 |
+
0.02058137512207031,
|
| 369 |
+
0.0206059513092041,
|
| 370 |
+
0.020592639923095703,
|
| 371 |
+
0.02063052749633789,
|
| 372 |
+
0.020593664169311524,
|
| 373 |
+
0.020617216110229493,
|
| 374 |
+
0.02059878349304199,
|
| 375 |
+
0.021283840179443358,
|
| 376 |
+
0.022046720504760742,
|
| 377 |
+
0.021840896606445313,
|
| 378 |
+
0.021300224304199217,
|
| 379 |
+
0.021203968048095705,
|
| 380 |
+
0.021158912658691405,
|
| 381 |
+
0.02122854423522949,
|
| 382 |
+
0.021143552780151367,
|
| 383 |
+
0.021133312225341795,
|
| 384 |
+
0.021176319122314453,
|
| 385 |
+
0.02120806312561035,
|
| 386 |
+
0.02111692810058594,
|
| 387 |
+
0.02109542465209961,
|
| 388 |
+
0.021160959243774414,
|
| 389 |
+
0.021038080215454103,
|
| 390 |
+
0.02109542465209961,
|
| 391 |
+
0.02126540756225586,
|
| 392 |
+
0.021313535690307618,
|
| 393 |
+
0.021105663299560547,
|
| 394 |
+
0.02109644889831543,
|
| 395 |
+
0.02124185562133789,
|
| 396 |
+
0.021124095916748048,
|
| 397 |
+
0.02127872085571289,
|
| 398 |
+
0.021141504287719725,
|
| 399 |
+
0.021174272537231444,
|
| 400 |
+
0.0210831356048584,
|
| 401 |
+
0.02102272033691406,
|
| 402 |
+
0.021190656661987304,
|
| 403 |
+
0.021146623611450196,
|
| 404 |
+
0.02104422378540039,
|
| 405 |
+
0.021196800231933592,
|
| 406 |
+
0.021185535430908203,
|
| 407 |
+
0.021141504287719725,
|
| 408 |
+
0.021006336212158205,
|
| 409 |
+
0.021210111618041993,
|
| 410 |
+
0.0210513916015625,
|
| 411 |
+
0.021176319122314453,
|
| 412 |
+
0.021150720596313476,
|
| 413 |
+
0.020719615936279297,
|
| 414 |
+
0.02104729652404785,
|
| 415 |
+
0.02104934310913086,
|
| 416 |
+
0.021150720596313476,
|
| 417 |
+
0.02110873603820801,
|
| 418 |
+
0.021150720596313476,
|
| 419 |
+
0.02108518409729004,
|
| 420 |
+
0.02112512016296387,
|
| 421 |
+
0.021086208343505858,
|
| 422 |
+
0.021906431198120118,
|
| 423 |
+
0.0210882568359375,
|
| 424 |
+
0.020571136474609376,
|
| 425 |
+
0.020561920166015626,
|
| 426 |
+
0.020526079177856444,
|
| 427 |
+
0.020601856231689454,
|
| 428 |
+
0.020594688415527345,
|
| 429 |
+
0.020596736907958983,
|
| 430 |
+
0.020620288848876952,
|
| 431 |
+
0.020563968658447264,
|
| 432 |
+
0.0206080322265625
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 47.68019110002944
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": 1764.80256,
|
| 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.04531289672851563,
|
| 15 |
+
"mean": 0.022656448364257814,
|
| 16 |
+
"stdev": 0.00025440025329589826,
|
| 17 |
+
"p50": 0.022656448364257814,
|
| 18 |
+
"p90": 0.022859968566894533,
|
| 19 |
+
"p95": 0.02288540859222412,
|
| 20 |
+
"p99": 0.022905760612487794,
|
| 21 |
+
"values": [
|
| 22 |
+
0.02291084861755371,
|
| 23 |
+
0.022402048110961914
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 308.96281215210263
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1764.82304,
|
| 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.30516650390625,
|
| 46 |
+
"mean": 2.652583251953125,
|
| 47 |
+
"stdev": 0.005426025390625089,
|
| 48 |
+
"p50": 2.652583251953125,
|
| 49 |
+
"p90": 2.656924072265625,
|
| 50 |
+
"p95": 2.6574666748046876,
|
| 51 |
+
"p99": 2.6579007568359376,
|
| 52 |
+
"values": [
|
| 53 |
+
2.65800927734375,
|
| 54 |
+
2.6471572265625
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 47.877856390176845
|
| 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.306186786651615,
|
| 70 |
+
"mean": 0.020973070302970798,
|
| 71 |
+
"stdev": 0.0014580768080943384,
|
| 72 |
+
"p50": 0.02063052749633789,
|
| 73 |
+
"p90": 0.021450136947631836,
|
| 74 |
+
"p95": 0.02177372169494629,
|
| 75 |
+
"p99": 0.022235545425415035,
|
| 76 |
+
"values": [
|
| 77 |
+
0.02268262481689453,
|
| 78 |
+
0.02208153533935547,
|
| 79 |
+
0.021651456832885742,
|
| 80 |
+
0.021392383575439454,
|
| 81 |
+
0.022079488754272462,
|
| 82 |
+
0.022304767608642577,
|
| 83 |
+
0.0219238395690918,
|
| 84 |
+
0.02165247917175293,
|
| 85 |
+
0.021702655792236326,
|
| 86 |
+
0.021378047943115236,
|
| 87 |
+
0.021403648376464843,
|
| 88 |
+
0.02102681541442871,
|
| 89 |
+
0.021575679779052736,
|
| 90 |
+
0.02150092887878418,
|
| 91 |
+
0.022171648025512695,
|
| 92 |
+
0.02187468719482422,
|
| 93 |
+
0.021182464599609374,
|
| 94 |
+
0.02122956848144531,
|
| 95 |
+
0.021190656661987304,
|
| 96 |
+
0.021013504028320314,
|
| 97 |
+
0.020966400146484376,
|
| 98 |
+
0.02145382308959961,
|
| 99 |
+
0.02108415985107422,
|
| 100 |
+
0.020943872451782225,
|
| 101 |
+
0.021178367614746094,
|
| 102 |
+
0.021522432327270507,
|
| 103 |
+
0.021526527404785157,
|
| 104 |
+
0.02123263931274414,
|
| 105 |
+
0.0216627197265625,
|
| 106 |
+
0.021810176849365235,
|
| 107 |
+
0.021576704025268553,
|
| 108 |
+
0.0210565128326416,
|
| 109 |
+
0.021551103591918946,
|
| 110 |
+
0.020941823959350587,
|
| 111 |
+
0.021204992294311522,
|
| 112 |
+
0.021098495483398438,
|
| 113 |
+
0.021769216537475586,
|
| 114 |
+
0.02170675277709961,
|
| 115 |
+
0.02143436813354492,
|
| 116 |
+
0.02108415985107422,
|
| 117 |
+
0.020864000320434572,
|
| 118 |
+
0.020898815155029296,
|
| 119 |
+
0.021246976852416992,
|
| 120 |
+
0.021780479431152345,
|
| 121 |
+
0.02143539237976074,
|
| 122 |
+
0.02088755226135254,
|
| 123 |
+
0.020616191864013672,
|
| 124 |
+
0.02060492706298828,
|
| 125 |
+
0.020610048294067384,
|
| 126 |
+
0.020570112228393556,
|
| 127 |
+
0.020975616455078124,
|
| 128 |
+
0.021110784530639647,
|
| 129 |
+
0.020580352783203124,
|
| 130 |
+
0.020560895919799805,
|
| 131 |
+
0.020616191864013672,
|
| 132 |
+
0.020555776596069338,
|
| 133 |
+
0.020568063735961914,
|
| 134 |
+
0.020577280044555665,
|
| 135 |
+
0.02065715217590332,
|
| 136 |
+
0.020563968658447264,
|
| 137 |
+
0.020571136474609376,
|
| 138 |
+
0.020595712661743162,
|
| 139 |
+
0.02062131118774414,
|
| 140 |
+
0.020559871673583984,
|
| 141 |
+
0.020602880477905275,
|
| 142 |
+
0.02059775924682617,
|
| 143 |
+
0.02065100860595703,
|
| 144 |
+
0.020571136474609376,
|
| 145 |
+
0.020612096786499022,
|
| 146 |
+
0.020580352783203124,
|
| 147 |
+
0.020570112228393556,
|
| 148 |
+
0.020592639923095703,
|
| 149 |
+
0.02059878349304199,
|
| 150 |
+
0.02058956718444824,
|
| 151 |
+
0.02065715217590332,
|
| 152 |
+
0.02061516761779785,
|
| 153 |
+
0.020558847427368163,
|
| 154 |
+
0.020592639923095703,
|
| 155 |
+
0.020582399368286132,
|
| 156 |
+
0.02061311912536621,
|
| 157 |
+
0.02059775924682617,
|
| 158 |
+
0.020594688415527345,
|
| 159 |
+
0.020545536041259766,
|
| 160 |
+
0.020541439056396483,
|
| 161 |
+
0.02059878349304199,
|
| 162 |
+
0.020543487548828124,
|
| 163 |
+
0.02059878349304199,
|
| 164 |
+
0.020586496353149415,
|
| 165 |
+
0.02063871955871582,
|
| 166 |
+
0.0206561279296875,
|
| 167 |
+
0.020632575988769532,
|
| 168 |
+
0.02060492706298828,
|
| 169 |
+
0.020617216110229493,
|
| 170 |
+
0.020569087982177735,
|
| 171 |
+
0.020603904724121092,
|
| 172 |
+
0.02064691162109375,
|
| 173 |
+
0.020626432418823244,
|
| 174 |
+
0.020594688415527345,
|
| 175 |
+
0.02068889617919922,
|
| 176 |
+
0.021180416107177736,
|
| 177 |
+
0.020739072799682616,
|
| 178 |
+
0.020592639923095703,
|
| 179 |
+
0.020567039489746093,
|
| 180 |
+
0.02057318305969238,
|
| 181 |
+
0.020610048294067384,
|
| 182 |
+
0.02062848091125488,
|
| 183 |
+
0.020579328536987306,
|
| 184 |
+
0.020792320251464845,
|
| 185 |
+
0.020583423614501953,
|
| 186 |
+
0.020599807739257812,
|
| 187 |
+
0.020601856231689454,
|
| 188 |
+
0.020612096786499022,
|
| 189 |
+
0.020666368484497072,
|
| 190 |
+
0.02060492706298828,
|
| 191 |
+
0.02061414337158203,
|
| 192 |
+
0.020594688415527345,
|
| 193 |
+
0.020601856231689454,
|
| 194 |
+
0.020576255798339844,
|
| 195 |
+
0.020607999801635742,
|
| 196 |
+
0.02066227149963379,
|
| 197 |
+
0.02064793586730957,
|
| 198 |
+
0.020607999801635742,
|
| 199 |
+
0.020585472106933594,
|
| 200 |
+
0.020544511795043945,
|
| 201 |
+
0.020570112228393556,
|
| 202 |
+
0.020535295486450195,
|
| 203 |
+
0.04320153427124023,
|
| 204 |
+
0.02062131118774414,
|
| 205 |
+
0.020594688415527345,
|
| 206 |
+
0.020588544845581053,
|
| 207 |
+
0.020563968658447264,
|
| 208 |
+
0.020566015243530272,
|
| 209 |
+
0.020554752349853517,
|
| 210 |
+
0.020579328536987306,
|
| 211 |
+
0.020587520599365236,
|
| 212 |
+
0.02060697555541992,
|
| 213 |
+
0.020583423614501953,
|
| 214 |
+
0.020585472106933594,
|
| 215 |
+
0.020564992904663085,
|
| 216 |
+
0.020579328536987306,
|
| 217 |
+
0.020590591430664062,
|
| 218 |
+
0.020975616455078124,
|
| 219 |
+
0.020653055191040038,
|
| 220 |
+
0.020632575988769532,
|
| 221 |
+
0.020596736907958983,
|
| 222 |
+
0.020610048294067384,
|
| 223 |
+
0.020900863647460938,
|
| 224 |
+
0.020966400146484376,
|
| 225 |
+
0.020632575988769532,
|
| 226 |
+
0.020625408172607423,
|
| 227 |
+
0.02059775924682617,
|
| 228 |
+
0.02057318305969238,
|
| 229 |
+
0.020572160720825194,
|
| 230 |
+
0.02064793586730957,
|
| 231 |
+
0.020644863128662108,
|
| 232 |
+
0.020611072540283205,
|
| 233 |
+
0.02062950325012207,
|
| 234 |
+
0.020570112228393556,
|
| 235 |
+
0.020626432418823244,
|
| 236 |
+
0.02058137512207031,
|
| 237 |
+
0.02061516761779785,
|
| 238 |
+
0.020579328536987306,
|
| 239 |
+
0.020599807739257812,
|
| 240 |
+
0.02064896011352539,
|
| 241 |
+
0.02067865562438965,
|
| 242 |
+
0.020601856231689454,
|
| 243 |
+
0.02108006477355957,
|
| 244 |
+
0.020753408432006838,
|
| 245 |
+
0.02057318305969238,
|
| 246 |
+
0.020559871673583984,
|
| 247 |
+
0.020584447860717774,
|
| 248 |
+
0.020556800842285155,
|
| 249 |
+
0.020595712661743162,
|
| 250 |
+
0.020544511795043945,
|
| 251 |
+
0.02058137512207031,
|
| 252 |
+
0.020556800842285155,
|
| 253 |
+
0.020569087982177735,
|
| 254 |
+
0.02058137512207031,
|
| 255 |
+
0.020590591430664062,
|
| 256 |
+
0.020743167877197266,
|
| 257 |
+
0.021186559677124024,
|
| 258 |
+
0.020619264602661135,
|
| 259 |
+
0.02062335968017578,
|
| 260 |
+
0.020625408172607423,
|
| 261 |
+
0.02060492706298828,
|
| 262 |
+
0.020568063735961914,
|
| 263 |
+
0.020612096786499022,
|
| 264 |
+
0.020571136474609376,
|
| 265 |
+
0.02058137512207031,
|
| 266 |
+
0.0206059513092041,
|
| 267 |
+
0.020592639923095703,
|
| 268 |
+
0.02063052749633789,
|
| 269 |
+
0.020593664169311524,
|
| 270 |
+
0.020617216110229493,
|
| 271 |
+
0.02059878349304199,
|
| 272 |
+
0.021283840179443358,
|
| 273 |
+
0.022046720504760742,
|
| 274 |
+
0.021840896606445313,
|
| 275 |
+
0.021300224304199217,
|
| 276 |
+
0.021203968048095705,
|
| 277 |
+
0.021158912658691405,
|
| 278 |
+
0.02122854423522949,
|
| 279 |
+
0.021143552780151367,
|
| 280 |
+
0.021133312225341795,
|
| 281 |
+
0.021176319122314453,
|
| 282 |
+
0.02120806312561035,
|
| 283 |
+
0.02111692810058594,
|
| 284 |
+
0.02109542465209961,
|
| 285 |
+
0.021160959243774414,
|
| 286 |
+
0.021038080215454103,
|
| 287 |
+
0.02109542465209961,
|
| 288 |
+
0.02126540756225586,
|
| 289 |
+
0.021313535690307618,
|
| 290 |
+
0.021105663299560547,
|
| 291 |
+
0.02109644889831543,
|
| 292 |
+
0.02124185562133789,
|
| 293 |
+
0.021124095916748048,
|
| 294 |
+
0.02127872085571289,
|
| 295 |
+
0.021141504287719725,
|
| 296 |
+
0.021174272537231444,
|
| 297 |
+
0.0210831356048584,
|
| 298 |
+
0.02102272033691406,
|
| 299 |
+
0.021190656661987304,
|
| 300 |
+
0.021146623611450196,
|
| 301 |
+
0.02104422378540039,
|
| 302 |
+
0.021196800231933592,
|
| 303 |
+
0.021185535430908203,
|
| 304 |
+
0.021141504287719725,
|
| 305 |
+
0.021006336212158205,
|
| 306 |
+
0.021210111618041993,
|
| 307 |
+
0.0210513916015625,
|
| 308 |
+
0.021176319122314453,
|
| 309 |
+
0.021150720596313476,
|
| 310 |
+
0.020719615936279297,
|
| 311 |
+
0.02104729652404785,
|
| 312 |
+
0.02104934310913086,
|
| 313 |
+
0.021150720596313476,
|
| 314 |
+
0.02110873603820801,
|
| 315 |
+
0.021150720596313476,
|
| 316 |
+
0.02108518409729004,
|
| 317 |
+
0.02112512016296387,
|
| 318 |
+
0.021086208343505858,
|
| 319 |
+
0.021906431198120118,
|
| 320 |
+
0.0210882568359375,
|
| 321 |
+
0.020571136474609376,
|
| 322 |
+
0.020561920166015626,
|
| 323 |
+
0.020526079177856444,
|
| 324 |
+
0.020601856231689454,
|
| 325 |
+
0.020594688415527345,
|
| 326 |
+
0.020596736907958983,
|
| 327 |
+
0.020620288848876952,
|
| 328 |
+
0.020563968658447264,
|
| 329 |
+
0.0206080322265625
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 47.68019110002944
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.022656448364257814,
|
| 7 |
+
"prefill.throughput.value": 308.96281215210263,
|
| 8 |
+
"decode.latency.mean": 2.652583251953125,
|
| 9 |
+
"decode.throughput.value": 47.877856390176845,
|
| 10 |
+
"per_token.latency.mean": 0.020973070302970798,
|
| 11 |
+
"per_token.throughput.value": 47.68019110002944
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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: 1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 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/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${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/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=True
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 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.14976,
|
| 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.028479583740234377,
|
| 118 |
+
"mean": 0.014239791870117188,
|
| 119 |
+
"stdev": 0.00024481582641601527,
|
| 120 |
+
"p50": 0.014239791870117188,
|
| 121 |
+
"p90": 0.01443564453125,
|
| 122 |
+
"p95": 0.014460126113891601,
|
| 123 |
+
"p99": 0.014479711380004883,
|
| 124 |
+
"values": [
|
| 125 |
+
0.014484607696533203,
|
| 126 |
+
0.013994976043701172
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 491.5802185767756
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 2259.898368,
|
| 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.14495654296875,
|
| 149 |
+
"mean": 1.572478271484375,
|
| 150 |
+
"stdev": 0.016987304687499982,
|
| 151 |
+
"p50": 1.572478271484375,
|
| 152 |
+
"p90": 1.586068115234375,
|
| 153 |
+
"p95": 1.587766845703125,
|
| 154 |
+
"p99": 1.589125830078125,
|
| 155 |
+
"values": [
|
| 156 |
+
1.589465576171875,
|
| 157 |
+
1.555490966796875
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 80.76423204252966
|
| 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.146045446395877,
|
| 173 |
+
"mean": 0.01243496223871887,
|
| 174 |
+
"stdev": 0.0009081284315448639,
|
| 175 |
+
"p50": 0.012266495704650878,
|
| 176 |
+
"p90": 0.012724019241333009,
|
| 177 |
+
"p95": 0.01275166721343994,
|
| 178 |
+
"p99": 0.012791111679077148,
|
| 179 |
+
"values": [
|
| 180 |
+
0.012653568267822265,
|
| 181 |
+
0.01277337646484375,
|
| 182 |
+
0.012687359809875488,
|
| 183 |
+
0.012769280433654785,
|
| 184 |
+
0.012736512184143066,
|
| 185 |
+
0.012766207695007324,
|
| 186 |
+
0.012687359809875488,
|
| 187 |
+
0.012736512184143066,
|
| 188 |
+
0.012752896308898925,
|
| 189 |
+
0.01274060821533203,
|
| 190 |
+
0.012731391906738282,
|
| 191 |
+
0.012749823570251465,
|
| 192 |
+
0.01267404842376709,
|
| 193 |
+
0.012729344367980957,
|
| 194 |
+
0.012662783622741699,
|
| 195 |
+
0.012721152305603027,
|
| 196 |
+
0.012692480087280274,
|
| 197 |
+
0.012750847816467285,
|
| 198 |
+
0.012681216239929198,
|
| 199 |
+
0.01276211166381836,
|
| 200 |
+
0.012696576118469239,
|
| 201 |
+
0.012749823570251465,
|
| 202 |
+
0.012696576118469239,
|
| 203 |
+
0.012739583969116211,
|
| 204 |
+
0.012691455841064453,
|
| 205 |
+
0.012774399757385254,
|
| 206 |
+
0.012650495529174804,
|
| 207 |
+
0.012734463691711426,
|
| 208 |
+
0.012692480087280274,
|
| 209 |
+
0.012713983535766601,
|
| 210 |
+
0.012683263778686523,
|
| 211 |
+
0.01275391960144043,
|
| 212 |
+
0.012705792427062988,
|
| 213 |
+
0.012701696395874023,
|
| 214 |
+
0.012786687850952149,
|
| 215 |
+
0.012770303726196289,
|
| 216 |
+
0.012721152305603027,
|
| 217 |
+
0.012734463691711426,
|
| 218 |
+
0.01267404842376709,
|
| 219 |
+
0.012693504333496093,
|
| 220 |
+
0.01262284755706787,
|
| 221 |
+
0.012723199844360352,
|
| 222 |
+
0.012691455841064453,
|
| 223 |
+
0.012766207695007324,
|
| 224 |
+
0.012670975685119629,
|
| 225 |
+
0.01273855972290039,
|
| 226 |
+
0.012696576118469239,
|
| 227 |
+
0.012724224090576173,
|
| 228 |
+
0.012660736083984376,
|
| 229 |
+
0.012700672149658204,
|
| 230 |
+
0.012705792427062988,
|
| 231 |
+
0.012704768180847169,
|
| 232 |
+
0.012668928146362305,
|
| 233 |
+
0.012704768180847169,
|
| 234 |
+
0.012646400451660156,
|
| 235 |
+
0.012715007781982422,
|
| 236 |
+
0.012635135650634765,
|
| 237 |
+
0.012675071716308594,
|
| 238 |
+
0.01295462417602539,
|
| 239 |
+
0.012795904159545898,
|
| 240 |
+
0.01267302417755127,
|
| 241 |
+
0.012706815719604492,
|
| 242 |
+
0.012627967834472656,
|
| 243 |
+
0.012713983535766601,
|
| 244 |
+
0.012554240226745606,
|
| 245 |
+
0.012610560417175292,
|
| 246 |
+
0.012390399932861328,
|
| 247 |
+
0.012684288024902344,
|
| 248 |
+
0.012297216415405274,
|
| 249 |
+
0.012316672325134278,
|
| 250 |
+
0.01238425636291504,
|
| 251 |
+
0.01248256015777588,
|
| 252 |
+
0.01255731201171875,
|
| 253 |
+
0.012637184143066407,
|
| 254 |
+
0.012265472412109376,
|
| 255 |
+
0.012321791648864745,
|
| 256 |
+
0.012327936172485352,
|
| 257 |
+
0.012365823745727538,
|
| 258 |
+
0.012409855842590332,
|
| 259 |
+
0.012292096138000488,
|
| 260 |
+
0.012228608131408691,
|
| 261 |
+
0.01226035213470459,
|
| 262 |
+
0.012233728408813477,
|
| 263 |
+
0.012282879829406738,
|
| 264 |
+
0.012357631683349609,
|
| 265 |
+
0.012290047645568849,
|
| 266 |
+
0.01224294376373291,
|
| 267 |
+
0.012303359985351562,
|
| 268 |
+
0.012231679916381836,
|
| 269 |
+
0.012315648078918457,
|
| 270 |
+
0.012218367576599122,
|
| 271 |
+
0.012283904075622559,
|
| 272 |
+
0.01222051239013672,
|
| 273 |
+
0.012262304306030274,
|
| 274 |
+
0.012215295791625976,
|
| 275 |
+
0.012424192428588866,
|
| 276 |
+
0.012231679916381836,
|
| 277 |
+
0.01226956844329834,
|
| 278 |
+
0.012217344284057617,
|
| 279 |
+
0.01226956844329834,
|
| 280 |
+
0.0122357759475708,
|
| 281 |
+
0.012306431770324706,
|
| 282 |
+
0.012224512100219726,
|
| 283 |
+
0.012267519950866699,
|
| 284 |
+
0.012225536346435547,
|
| 285 |
+
0.012270591735839843,
|
| 286 |
+
0.012244992256164551,
|
| 287 |
+
0.012263423919677734,
|
| 288 |
+
0.012225536346435547,
|
| 289 |
+
0.01226137638092041,
|
| 290 |
+
0.012237824440002442,
|
| 291 |
+
0.01226854419708252,
|
| 292 |
+
0.012212224006652832,
|
| 293 |
+
0.01226035213470459,
|
| 294 |
+
0.01224396800994873,
|
| 295 |
+
0.012254207611083985,
|
| 296 |
+
0.012215295791625976,
|
| 297 |
+
0.012275712013244629,
|
| 298 |
+
0.012230655670166016,
|
| 299 |
+
0.01226035213470459,
|
| 300 |
+
0.012225536346435547,
|
| 301 |
+
0.012266495704650878,
|
| 302 |
+
0.012237824440002442,
|
| 303 |
+
0.012274687767028808,
|
| 304 |
+
0.012240896224975586,
|
| 305 |
+
0.01228492832183838,
|
| 306 |
+
0.02647555160522461,
|
| 307 |
+
0.01222755241394043,
|
| 308 |
+
0.012282879829406738,
|
| 309 |
+
0.01223475170135498,
|
| 310 |
+
0.012264448165893555,
|
| 311 |
+
0.012224512100219726,
|
| 312 |
+
0.01226137638092041,
|
| 313 |
+
0.012229632377624512,
|
| 314 |
+
0.012265472412109376,
|
| 315 |
+
0.01222758388519287,
|
| 316 |
+
0.012273664474487305,
|
| 317 |
+
0.012233728408813477,
|
| 318 |
+
0.012278783798217773,
|
| 319 |
+
0.012236800193786621,
|
| 320 |
+
0.012285951614379884,
|
| 321 |
+
0.012241920471191407,
|
| 322 |
+
0.01226137638092041,
|
| 323 |
+
0.012220416069030762,
|
| 324 |
+
0.01226035213470459,
|
| 325 |
+
0.012229632377624512,
|
| 326 |
+
0.012255231857299804,
|
| 327 |
+
0.012206080436706544,
|
| 328 |
+
0.012257280349731446,
|
| 329 |
+
0.012216320037841797,
|
| 330 |
+
0.01226137638092041,
|
| 331 |
+
0.012255231857299804,
|
| 332 |
+
0.012259327888488769,
|
| 333 |
+
0.012223487854003906,
|
| 334 |
+
0.01225113582611084,
|
| 335 |
+
0.012213248252868653,
|
| 336 |
+
0.012279808044433594,
|
| 337 |
+
0.012247039794921874,
|
| 338 |
+
0.012267519950866699,
|
| 339 |
+
0.012220416069030762,
|
| 340 |
+
0.012267519950866699,
|
| 341 |
+
0.012223487854003906,
|
| 342 |
+
0.012265472412109376,
|
| 343 |
+
0.012229632377624512,
|
| 344 |
+
0.012270591735839843,
|
| 345 |
+
0.012211199760437011,
|
| 346 |
+
0.012271615982055664,
|
| 347 |
+
0.012210176467895508,
|
| 348 |
+
0.012267519950866699,
|
| 349 |
+
0.012214271545410157,
|
| 350 |
+
0.012294143676757812,
|
| 351 |
+
0.012229632377624512,
|
| 352 |
+
0.012288000106811523,
|
| 353 |
+
0.012239871978759765,
|
| 354 |
+
0.01225216007232666,
|
| 355 |
+
0.012229632377624512,
|
| 356 |
+
0.012264448165893555,
|
| 357 |
+
0.012238847732543945,
|
| 358 |
+
0.01227673625946045,
|
| 359 |
+
0.012218367576599122,
|
| 360 |
+
0.01225830364227295,
|
| 361 |
+
0.012212224006652832,
|
| 362 |
+
0.012263423919677734,
|
| 363 |
+
0.012214271545410157,
|
| 364 |
+
0.012249088287353516,
|
| 365 |
+
0.012226559638977052,
|
| 366 |
+
0.01225011157989502,
|
| 367 |
+
0.012221440315246582,
|
| 368 |
+
0.012256256103515625,
|
| 369 |
+
0.012237824440002442,
|
| 370 |
+
0.012282879829406738,
|
| 371 |
+
0.012216320037841797,
|
| 372 |
+
0.01225830364227295,
|
| 373 |
+
0.012221440315246582,
|
| 374 |
+
0.01226035213470459,
|
| 375 |
+
0.012221440315246582,
|
| 376 |
+
0.012262399673461915,
|
| 377 |
+
0.012221440315246582,
|
| 378 |
+
0.012255231857299804,
|
| 379 |
+
0.012223487854003906,
|
| 380 |
+
0.01226035213470459,
|
| 381 |
+
0.012221440315246582,
|
| 382 |
+
0.01225216007232666,
|
| 383 |
+
0.012222463607788087,
|
| 384 |
+
0.012275712013244629,
|
| 385 |
+
0.012256256103515625,
|
| 386 |
+
0.012282879829406738,
|
| 387 |
+
0.012232704162597656,
|
| 388 |
+
0.012262399673461915,
|
| 389 |
+
0.01221939182281494,
|
| 390 |
+
0.01229312038421631,
|
| 391 |
+
0.012237824440002442,
|
| 392 |
+
0.012272640228271485,
|
| 393 |
+
0.012238847732543945,
|
| 394 |
+
0.01226854419708252,
|
| 395 |
+
0.012222463607788087,
|
| 396 |
+
0.012273664474487305,
|
| 397 |
+
0.012217344284057617,
|
| 398 |
+
0.012262399673461915,
|
| 399 |
+
0.01224294376373291,
|
| 400 |
+
0.012274687767028808,
|
| 401 |
+
0.012237824440002442,
|
| 402 |
+
0.01227673625946045,
|
| 403 |
+
0.012216320037841797,
|
| 404 |
+
0.012254207611083985,
|
| 405 |
+
0.012210176467895508,
|
| 406 |
+
0.012267519950866699,
|
| 407 |
+
0.012226559638977052,
|
| 408 |
+
0.012259327888488769,
|
| 409 |
+
0.012205056190490723,
|
| 410 |
+
0.012255231857299804,
|
| 411 |
+
0.012224512100219726,
|
| 412 |
+
0.012263423919677734,
|
| 413 |
+
0.012220416069030762,
|
| 414 |
+
0.012266495704650878,
|
| 415 |
+
0.012215295791625976,
|
| 416 |
+
0.012247039794921874,
|
| 417 |
+
0.012205056190490723,
|
| 418 |
+
0.012267519950866699,
|
| 419 |
+
0.012228608131408691,
|
| 420 |
+
0.012274687767028808,
|
| 421 |
+
0.012238847732543945,
|
| 422 |
+
0.012254207611083985,
|
| 423 |
+
0.012224512100219726,
|
| 424 |
+
0.012271615982055664,
|
| 425 |
+
0.012230655670166016,
|
| 426 |
+
0.012279808044433594,
|
| 427 |
+
0.012239871978759765,
|
| 428 |
+
0.012256256103515625,
|
| 429 |
+
0.012215295791625976,
|
| 430 |
+
0.012272640228271485,
|
| 431 |
+
0.012225536346435547,
|
| 432 |
+
0.012298239707946777
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 80.41841871351163
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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.14976,
|
| 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.028479583740234377,
|
| 15 |
+
"mean": 0.014239791870117188,
|
| 16 |
+
"stdev": 0.00024481582641601527,
|
| 17 |
+
"p50": 0.014239791870117188,
|
| 18 |
+
"p90": 0.01443564453125,
|
| 19 |
+
"p95": 0.014460126113891601,
|
| 20 |
+
"p99": 0.014479711380004883,
|
| 21 |
+
"values": [
|
| 22 |
+
0.014484607696533203,
|
| 23 |
+
0.013994976043701172
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 491.5802185767756
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 2259.898368,
|
| 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.14495654296875,
|
| 46 |
+
"mean": 1.572478271484375,
|
| 47 |
+
"stdev": 0.016987304687499982,
|
| 48 |
+
"p50": 1.572478271484375,
|
| 49 |
+
"p90": 1.586068115234375,
|
| 50 |
+
"p95": 1.587766845703125,
|
| 51 |
+
"p99": 1.589125830078125,
|
| 52 |
+
"values": [
|
| 53 |
+
1.589465576171875,
|
| 54 |
+
1.555490966796875
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 80.76423204252966
|
| 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.146045446395877,
|
| 70 |
+
"mean": 0.01243496223871887,
|
| 71 |
+
"stdev": 0.0009081284315448639,
|
| 72 |
+
"p50": 0.012266495704650878,
|
| 73 |
+
"p90": 0.012724019241333009,
|
| 74 |
+
"p95": 0.01275166721343994,
|
| 75 |
+
"p99": 0.012791111679077148,
|
| 76 |
+
"values": [
|
| 77 |
+
0.012653568267822265,
|
| 78 |
+
0.01277337646484375,
|
| 79 |
+
0.012687359809875488,
|
| 80 |
+
0.012769280433654785,
|
| 81 |
+
0.012736512184143066,
|
| 82 |
+
0.012766207695007324,
|
| 83 |
+
0.012687359809875488,
|
| 84 |
+
0.012736512184143066,
|
| 85 |
+
0.012752896308898925,
|
| 86 |
+
0.01274060821533203,
|
| 87 |
+
0.012731391906738282,
|
| 88 |
+
0.012749823570251465,
|
| 89 |
+
0.01267404842376709,
|
| 90 |
+
0.012729344367980957,
|
| 91 |
+
0.012662783622741699,
|
| 92 |
+
0.012721152305603027,
|
| 93 |
+
0.012692480087280274,
|
| 94 |
+
0.012750847816467285,
|
| 95 |
+
0.012681216239929198,
|
| 96 |
+
0.01276211166381836,
|
| 97 |
+
0.012696576118469239,
|
| 98 |
+
0.012749823570251465,
|
| 99 |
+
0.012696576118469239,
|
| 100 |
+
0.012739583969116211,
|
| 101 |
+
0.012691455841064453,
|
| 102 |
+
0.012774399757385254,
|
| 103 |
+
0.012650495529174804,
|
| 104 |
+
0.012734463691711426,
|
| 105 |
+
0.012692480087280274,
|
| 106 |
+
0.012713983535766601,
|
| 107 |
+
0.012683263778686523,
|
| 108 |
+
0.01275391960144043,
|
| 109 |
+
0.012705792427062988,
|
| 110 |
+
0.012701696395874023,
|
| 111 |
+
0.012786687850952149,
|
| 112 |
+
0.012770303726196289,
|
| 113 |
+
0.012721152305603027,
|
| 114 |
+
0.012734463691711426,
|
| 115 |
+
0.01267404842376709,
|
| 116 |
+
0.012693504333496093,
|
| 117 |
+
0.01262284755706787,
|
| 118 |
+
0.012723199844360352,
|
| 119 |
+
0.012691455841064453,
|
| 120 |
+
0.012766207695007324,
|
| 121 |
+
0.012670975685119629,
|
| 122 |
+
0.01273855972290039,
|
| 123 |
+
0.012696576118469239,
|
| 124 |
+
0.012724224090576173,
|
| 125 |
+
0.012660736083984376,
|
| 126 |
+
0.012700672149658204,
|
| 127 |
+
0.012705792427062988,
|
| 128 |
+
0.012704768180847169,
|
| 129 |
+
0.012668928146362305,
|
| 130 |
+
0.012704768180847169,
|
| 131 |
+
0.012646400451660156,
|
| 132 |
+
0.012715007781982422,
|
| 133 |
+
0.012635135650634765,
|
| 134 |
+
0.012675071716308594,
|
| 135 |
+
0.01295462417602539,
|
| 136 |
+
0.012795904159545898,
|
| 137 |
+
0.01267302417755127,
|
| 138 |
+
0.012706815719604492,
|
| 139 |
+
0.012627967834472656,
|
| 140 |
+
0.012713983535766601,
|
| 141 |
+
0.012554240226745606,
|
| 142 |
+
0.012610560417175292,
|
| 143 |
+
0.012390399932861328,
|
| 144 |
+
0.012684288024902344,
|
| 145 |
+
0.012297216415405274,
|
| 146 |
+
0.012316672325134278,
|
| 147 |
+
0.01238425636291504,
|
| 148 |
+
0.01248256015777588,
|
| 149 |
+
0.01255731201171875,
|
| 150 |
+
0.012637184143066407,
|
| 151 |
+
0.012265472412109376,
|
| 152 |
+
0.012321791648864745,
|
| 153 |
+
0.012327936172485352,
|
| 154 |
+
0.012365823745727538,
|
| 155 |
+
0.012409855842590332,
|
| 156 |
+
0.012292096138000488,
|
| 157 |
+
0.012228608131408691,
|
| 158 |
+
0.01226035213470459,
|
| 159 |
+
0.012233728408813477,
|
| 160 |
+
0.012282879829406738,
|
| 161 |
+
0.012357631683349609,
|
| 162 |
+
0.012290047645568849,
|
| 163 |
+
0.01224294376373291,
|
| 164 |
+
0.012303359985351562,
|
| 165 |
+
0.012231679916381836,
|
| 166 |
+
0.012315648078918457,
|
| 167 |
+
0.012218367576599122,
|
| 168 |
+
0.012283904075622559,
|
| 169 |
+
0.01222051239013672,
|
| 170 |
+
0.012262304306030274,
|
| 171 |
+
0.012215295791625976,
|
| 172 |
+
0.012424192428588866,
|
| 173 |
+
0.012231679916381836,
|
| 174 |
+
0.01226956844329834,
|
| 175 |
+
0.012217344284057617,
|
| 176 |
+
0.01226956844329834,
|
| 177 |
+
0.0122357759475708,
|
| 178 |
+
0.012306431770324706,
|
| 179 |
+
0.012224512100219726,
|
| 180 |
+
0.012267519950866699,
|
| 181 |
+
0.012225536346435547,
|
| 182 |
+
0.012270591735839843,
|
| 183 |
+
0.012244992256164551,
|
| 184 |
+
0.012263423919677734,
|
| 185 |
+
0.012225536346435547,
|
| 186 |
+
0.01226137638092041,
|
| 187 |
+
0.012237824440002442,
|
| 188 |
+
0.01226854419708252,
|
| 189 |
+
0.012212224006652832,
|
| 190 |
+
0.01226035213470459,
|
| 191 |
+
0.01224396800994873,
|
| 192 |
+
0.012254207611083985,
|
| 193 |
+
0.012215295791625976,
|
| 194 |
+
0.012275712013244629,
|
| 195 |
+
0.012230655670166016,
|
| 196 |
+
0.01226035213470459,
|
| 197 |
+
0.012225536346435547,
|
| 198 |
+
0.012266495704650878,
|
| 199 |
+
0.012237824440002442,
|
| 200 |
+
0.012274687767028808,
|
| 201 |
+
0.012240896224975586,
|
| 202 |
+
0.01228492832183838,
|
| 203 |
+
0.02647555160522461,
|
| 204 |
+
0.01222755241394043,
|
| 205 |
+
0.012282879829406738,
|
| 206 |
+
0.01223475170135498,
|
| 207 |
+
0.012264448165893555,
|
| 208 |
+
0.012224512100219726,
|
| 209 |
+
0.01226137638092041,
|
| 210 |
+
0.012229632377624512,
|
| 211 |
+
0.012265472412109376,
|
| 212 |
+
0.01222758388519287,
|
| 213 |
+
0.012273664474487305,
|
| 214 |
+
0.012233728408813477,
|
| 215 |
+
0.012278783798217773,
|
| 216 |
+
0.012236800193786621,
|
| 217 |
+
0.012285951614379884,
|
| 218 |
+
0.012241920471191407,
|
| 219 |
+
0.01226137638092041,
|
| 220 |
+
0.012220416069030762,
|
| 221 |
+
0.01226035213470459,
|
| 222 |
+
0.012229632377624512,
|
| 223 |
+
0.012255231857299804,
|
| 224 |
+
0.012206080436706544,
|
| 225 |
+
0.012257280349731446,
|
| 226 |
+
0.012216320037841797,
|
| 227 |
+
0.01226137638092041,
|
| 228 |
+
0.012255231857299804,
|
| 229 |
+
0.012259327888488769,
|
| 230 |
+
0.012223487854003906,
|
| 231 |
+
0.01225113582611084,
|
| 232 |
+
0.012213248252868653,
|
| 233 |
+
0.012279808044433594,
|
| 234 |
+
0.012247039794921874,
|
| 235 |
+
0.012267519950866699,
|
| 236 |
+
0.012220416069030762,
|
| 237 |
+
0.012267519950866699,
|
| 238 |
+
0.012223487854003906,
|
| 239 |
+
0.012265472412109376,
|
| 240 |
+
0.012229632377624512,
|
| 241 |
+
0.012270591735839843,
|
| 242 |
+
0.012211199760437011,
|
| 243 |
+
0.012271615982055664,
|
| 244 |
+
0.012210176467895508,
|
| 245 |
+
0.012267519950866699,
|
| 246 |
+
0.012214271545410157,
|
| 247 |
+
0.012294143676757812,
|
| 248 |
+
0.012229632377624512,
|
| 249 |
+
0.012288000106811523,
|
| 250 |
+
0.012239871978759765,
|
| 251 |
+
0.01225216007232666,
|
| 252 |
+
0.012229632377624512,
|
| 253 |
+
0.012264448165893555,
|
| 254 |
+
0.012238847732543945,
|
| 255 |
+
0.01227673625946045,
|
| 256 |
+
0.012218367576599122,
|
| 257 |
+
0.01225830364227295,
|
| 258 |
+
0.012212224006652832,
|
| 259 |
+
0.012263423919677734,
|
| 260 |
+
0.012214271545410157,
|
| 261 |
+
0.012249088287353516,
|
| 262 |
+
0.012226559638977052,
|
| 263 |
+
0.01225011157989502,
|
| 264 |
+
0.012221440315246582,
|
| 265 |
+
0.012256256103515625,
|
| 266 |
+
0.012237824440002442,
|
| 267 |
+
0.012282879829406738,
|
| 268 |
+
0.012216320037841797,
|
| 269 |
+
0.01225830364227295,
|
| 270 |
+
0.012221440315246582,
|
| 271 |
+
0.01226035213470459,
|
| 272 |
+
0.012221440315246582,
|
| 273 |
+
0.012262399673461915,
|
| 274 |
+
0.012221440315246582,
|
| 275 |
+
0.012255231857299804,
|
| 276 |
+
0.012223487854003906,
|
| 277 |
+
0.01226035213470459,
|
| 278 |
+
0.012221440315246582,
|
| 279 |
+
0.01225216007232666,
|
| 280 |
+
0.012222463607788087,
|
| 281 |
+
0.012275712013244629,
|
| 282 |
+
0.012256256103515625,
|
| 283 |
+
0.012282879829406738,
|
| 284 |
+
0.012232704162597656,
|
| 285 |
+
0.012262399673461915,
|
| 286 |
+
0.01221939182281494,
|
| 287 |
+
0.01229312038421631,
|
| 288 |
+
0.012237824440002442,
|
| 289 |
+
0.012272640228271485,
|
| 290 |
+
0.012238847732543945,
|
| 291 |
+
0.01226854419708252,
|
| 292 |
+
0.012222463607788087,
|
| 293 |
+
0.012273664474487305,
|
| 294 |
+
0.012217344284057617,
|
| 295 |
+
0.012262399673461915,
|
| 296 |
+
0.01224294376373291,
|
| 297 |
+
0.012274687767028808,
|
| 298 |
+
0.012237824440002442,
|
| 299 |
+
0.01227673625946045,
|
| 300 |
+
0.012216320037841797,
|
| 301 |
+
0.012254207611083985,
|
| 302 |
+
0.012210176467895508,
|
| 303 |
+
0.012267519950866699,
|
| 304 |
+
0.012226559638977052,
|
| 305 |
+
0.012259327888488769,
|
| 306 |
+
0.012205056190490723,
|
| 307 |
+
0.012255231857299804,
|
| 308 |
+
0.012224512100219726,
|
| 309 |
+
0.012263423919677734,
|
| 310 |
+
0.012220416069030762,
|
| 311 |
+
0.012266495704650878,
|
| 312 |
+
0.012215295791625976,
|
| 313 |
+
0.012247039794921874,
|
| 314 |
+
0.012205056190490723,
|
| 315 |
+
0.012267519950866699,
|
| 316 |
+
0.012228608131408691,
|
| 317 |
+
0.012274687767028808,
|
| 318 |
+
0.012238847732543945,
|
| 319 |
+
0.012254207611083985,
|
| 320 |
+
0.012224512100219726,
|
| 321 |
+
0.012271615982055664,
|
| 322 |
+
0.012230655670166016,
|
| 323 |
+
0.012279808044433594,
|
| 324 |
+
0.012239871978759765,
|
| 325 |
+
0.012256256103515625,
|
| 326 |
+
0.012215295791625976,
|
| 327 |
+
0.012272640228271485,
|
| 328 |
+
0.012225536346435547,
|
| 329 |
+
0.012298239707946777
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 80.41841871351163
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014239791870117188,
|
| 7 |
+
"prefill.throughput.value": 491.5802185767756,
|
| 8 |
+
"decode.latency.mean": 1.572478271484375,
|
| 9 |
+
"decode.throughput.value": 80.76423204252966,
|
| 10 |
+
"per_token.latency.mean": 0.01243496223871887,
|
| 11 |
+
"per_token.throughput.value": 80.41841871351163
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-27/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/multirun.yaml
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpnqjysp93/commit=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 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/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpnqjysp93/commit\=1de7dc7403b3b89ec421d43a8c9ee245211a61f6/${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: 1de7dc7403b3b89ec421d43a8c9ee245211a61f6
|
| 223 |
+
accelerate_version: 0.32.0.dev0
|
| 224 |
+
accelerate_commit: null
|
| 225 |
+
diffusers_version: null
|
| 226 |
+
diffusers_commit: null
|
| 227 |
+
optimum_version: 1.21.0.dev0
|
| 228 |
+
optimum_commit: null
|
| 229 |
+
timm_version: 0.9.16
|
| 230 |
+
timm_commit: null
|
| 231 |
+
peft_version: 0.11.2.dev0
|
| 232 |
+
peft_commit: null
|
2024-06-27/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.01987712001800537,
|
| 8 |
+
"prefill.throughput.value": 352.16369341530174,
|
| 9 |
+
"decode.latency.mean": 2.3944873046875,
|
| 10 |
+
"decode.throughput.value": 53.03849377333597,
|
| 11 |
+
"per_token.latency.mean": 0.018929073069877775,
|
| 12 |
+
"per_token.throughput.value": 52.82878862099807
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.022656448364257814,
|
| 21 |
+
"prefill.throughput.value": 308.96281215210263,
|
| 22 |
+
"decode.latency.mean": 2.652583251953125,
|
| 23 |
+
"decode.throughput.value": 47.877856390176845,
|
| 24 |
+
"per_token.latency.mean": 0.020973070302970798,
|
| 25 |
+
"per_token.throughput.value": 47.68019110002944
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014239791870117188,
|
| 34 |
+
"prefill.throughput.value": 491.5802185767756,
|
| 35 |
+
"decode.latency.mean": 1.572478271484375,
|
| 36 |
+
"decode.throughput.value": 80.76423204252966,
|
| 37 |
+
"per_token.latency.mean": 0.01243496223871887,
|
| 38 |
+
"per_token.throughput.value": 80.41841871351163
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-06-27/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"1de7dc7403b3b89ec421d43a8c9ee245211a61f6": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.01987712001800537,
|
| 7 |
+
"prefill.throughput.value": 352.16369341530174,
|
| 8 |
+
"decode.latency.mean": 2.3944873046875,
|
| 9 |
+
"decode.throughput.value": 53.03849377333597,
|
| 10 |
+
"per_token.latency.mean": 0.018929073069877775,
|
| 11 |
+
"per_token.throughput.value": 52.82878862099807
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"1de7dc7403b3b89ec421d43a8c9ee245211a61f6": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.022656448364257814,
|
| 19 |
+
"prefill.throughput.value": 308.96281215210263,
|
| 20 |
+
"decode.latency.mean": 2.652583251953125,
|
| 21 |
+
"decode.throughput.value": 47.877856390176845,
|
| 22 |
+
"per_token.latency.mean": 0.020973070302970798,
|
| 23 |
+
"per_token.throughput.value": 47.68019110002944
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"1de7dc7403b3b89ec421d43a8c9ee245211a61f6": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014239791870117188,
|
| 31 |
+
"prefill.throughput.value": 491.5802185767756,
|
| 32 |
+
"decode.latency.mean": 1.572478271484375,
|
| 33 |
+
"decode.throughput.value": 80.76423204252966,
|
| 34 |
+
"per_token.latency.mean": 0.01243496223871887,
|
| 35 |
+
"per_token.throughput.value": 80.41841871351163
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|