Upload folder using huggingface_hub
Browse files- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml +232 -0
- 2024-07-01/summaries.json +41 -0
- 2024-07-01/summary.json +40 -0
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.293824
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.43.0.dev0
|
| 81 |
+
transformers_commit: e65502951593a76844e872fee9c56b805598538a
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a
|
| 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/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.293824,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.43.0.dev0",
|
| 91 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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": 1708.478464,
|
| 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.04127776145935058,
|
| 118 |
+
"mean": 0.02063888072967529,
|
| 119 |
+
"stdev": 9.279251098632396e-07,
|
| 120 |
+
"p50": 0.02063888072967529,
|
| 121 |
+
"p90": 0.020639623069763184,
|
| 122 |
+
"p95": 0.020639715862274168,
|
| 123 |
+
"p99": 0.02063979009628296,
|
| 124 |
+
"values": [
|
| 125 |
+
0.020639808654785156,
|
| 126 |
+
0.02063795280456543
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 339.1656791705356
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1708.556288,
|
| 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": 5.034170166015625,
|
| 149 |
+
"mean": 2.5170850830078124,
|
| 150 |
+
"stdev": 0.0037408447265625533,
|
| 151 |
+
"p50": 2.5170850830078124,
|
| 152 |
+
"p90": 2.5200777587890624,
|
| 153 |
+
"p95": 2.5204518432617187,
|
| 154 |
+
"p99": 2.5207511108398437,
|
| 155 |
+
"values": [
|
| 156 |
+
2.520825927734375,
|
| 157 |
+
2.51334423828125
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 50.4551875728572
|
| 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.035425800323488,
|
| 173 |
+
"mean": 0.019902868775982158,
|
| 174 |
+
"stdev": 0.0013455101035836567,
|
| 175 |
+
"p50": 0.01991372871398926,
|
| 176 |
+
"p90": 0.02004193229675293,
|
| 177 |
+
"p95": 0.02020945930480957,
|
| 178 |
+
"p99": 0.020863917770385737,
|
| 179 |
+
"values": [
|
| 180 |
+
0.019333120346069335,
|
| 181 |
+
0.01962598419189453,
|
| 182 |
+
0.019615743637084963,
|
| 183 |
+
0.01964543914794922,
|
| 184 |
+
0.019587072372436523,
|
| 185 |
+
0.019430400848388672,
|
| 186 |
+
0.01965363121032715,
|
| 187 |
+
0.019353599548339845,
|
| 188 |
+
0.019341312408447265,
|
| 189 |
+
0.01939455986022949,
|
| 190 |
+
0.0196945915222168,
|
| 191 |
+
0.019762176513671875,
|
| 192 |
+
0.019940351486206053,
|
| 193 |
+
0.020497407913208008,
|
| 194 |
+
0.020304895401000975,
|
| 195 |
+
0.020338687896728515,
|
| 196 |
+
0.02025369644165039,
|
| 197 |
+
0.01944473648071289,
|
| 198 |
+
0.01945395278930664,
|
| 199 |
+
0.01963724708557129,
|
| 200 |
+
0.019471359252929688,
|
| 201 |
+
0.019347455978393553,
|
| 202 |
+
0.019791872024536132,
|
| 203 |
+
0.01988403129577637,
|
| 204 |
+
0.01937919998168945,
|
| 205 |
+
0.019276800155639647,
|
| 206 |
+
0.01942937660217285,
|
| 207 |
+
0.019587072372436523,
|
| 208 |
+
0.01982259178161621,
|
| 209 |
+
0.019771392822265626,
|
| 210 |
+
0.01946214485168457,
|
| 211 |
+
0.01980723190307617,
|
| 212 |
+
0.019574783325195313,
|
| 213 |
+
0.01946112060546875,
|
| 214 |
+
0.019568639755249022,
|
| 215 |
+
0.01972428894042969,
|
| 216 |
+
0.019629056930541993,
|
| 217 |
+
0.019414016723632813,
|
| 218 |
+
0.01944780731201172,
|
| 219 |
+
0.021105663299560547,
|
| 220 |
+
0.019999744415283204,
|
| 221 |
+
0.019903488159179687,
|
| 222 |
+
0.019309568405151366,
|
| 223 |
+
0.01977446365356445,
|
| 224 |
+
0.019741695404052736,
|
| 225 |
+
0.02059775924682617,
|
| 226 |
+
0.02000588798522949,
|
| 227 |
+
0.01979801559448242,
|
| 228 |
+
0.019833856582641602,
|
| 229 |
+
0.019854335784912108,
|
| 230 |
+
0.019870719909667968,
|
| 231 |
+
0.019786752700805665,
|
| 232 |
+
0.019752960205078125,
|
| 233 |
+
0.019795967102050782,
|
| 234 |
+
0.01979903984069824,
|
| 235 |
+
0.01987379264831543,
|
| 236 |
+
0.019985408782958985,
|
| 237 |
+
0.02003865623474121,
|
| 238 |
+
0.019968000411987305,
|
| 239 |
+
0.019932159423828123,
|
| 240 |
+
0.02003558349609375,
|
| 241 |
+
0.0200130558013916,
|
| 242 |
+
0.020009983062744142,
|
| 243 |
+
0.019982336044311523,
|
| 244 |
+
0.020281343460083007,
|
| 245 |
+
0.02005504035949707,
|
| 246 |
+
0.019979263305664064,
|
| 247 |
+
0.01988403129577637,
|
| 248 |
+
0.019945472717285157,
|
| 249 |
+
0.019947519302368166,
|
| 250 |
+
0.019912704467773438,
|
| 251 |
+
0.019936256408691407,
|
| 252 |
+
0.020016128540039063,
|
| 253 |
+
0.019975168228149414,
|
| 254 |
+
0.02009600067138672,
|
| 255 |
+
0.02001919937133789,
|
| 256 |
+
0.019984384536743165,
|
| 257 |
+
0.019959808349609375,
|
| 258 |
+
0.019943424224853516,
|
| 259 |
+
0.019937280654907227,
|
| 260 |
+
0.019948543548583983,
|
| 261 |
+
0.01987993621826172,
|
| 262 |
+
0.019901439666748046,
|
| 263 |
+
0.019922943115234376,
|
| 264 |
+
0.019943424224853516,
|
| 265 |
+
0.019968000411987305,
|
| 266 |
+
0.019945472717285157,
|
| 267 |
+
0.019993600845336915,
|
| 268 |
+
0.019933183670043944,
|
| 269 |
+
0.019973119735717772,
|
| 270 |
+
0.01998847961425781,
|
| 271 |
+
0.019997695922851562,
|
| 272 |
+
0.019970048904418947,
|
| 273 |
+
0.019951616287231445,
|
| 274 |
+
0.02002943992614746,
|
| 275 |
+
0.020059135437011717,
|
| 276 |
+
0.020023296356201172,
|
| 277 |
+
0.02005299186706543,
|
| 278 |
+
0.01988812828063965,
|
| 279 |
+
0.019998720169067383,
|
| 280 |
+
0.02003763198852539,
|
| 281 |
+
0.01999667167663574,
|
| 282 |
+
0.019987455368041994,
|
| 283 |
+
0.019976192474365235,
|
| 284 |
+
0.019964927673339843,
|
| 285 |
+
0.01997209548950195,
|
| 286 |
+
0.02002227210998535,
|
| 287 |
+
0.020011007308959963,
|
| 288 |
+
0.019954687118530275,
|
| 289 |
+
0.019869695663452147,
|
| 290 |
+
0.01987174415588379,
|
| 291 |
+
0.01965875244140625,
|
| 292 |
+
0.019978239059448243,
|
| 293 |
+
0.019989503860473632,
|
| 294 |
+
0.019934207916259765,
|
| 295 |
+
0.019938304901123048,
|
| 296 |
+
0.019184640884399414,
|
| 297 |
+
0.019161088943481445,
|
| 298 |
+
0.019963903427124022,
|
| 299 |
+
0.02001203155517578,
|
| 300 |
+
0.019945472717285157,
|
| 301 |
+
0.020015104293823242,
|
| 302 |
+
0.019924991607666014,
|
| 303 |
+
0.019947519302368166,
|
| 304 |
+
0.019894271850585937,
|
| 305 |
+
0.02002841567993164,
|
| 306 |
+
0.04057088088989258,
|
| 307 |
+
0.019767295837402343,
|
| 308 |
+
0.019783679962158202,
|
| 309 |
+
0.01982156753540039,
|
| 310 |
+
0.019765247344970704,
|
| 311 |
+
0.019784704208374023,
|
| 312 |
+
0.019825664520263672,
|
| 313 |
+
0.019751935958862304,
|
| 314 |
+
0.019773439407348634,
|
| 315 |
+
0.01982771110534668,
|
| 316 |
+
0.019795967102050782,
|
| 317 |
+
0.018921472549438476,
|
| 318 |
+
0.018982912063598634,
|
| 319 |
+
0.018968576431274413,
|
| 320 |
+
0.019500032424926757,
|
| 321 |
+
0.019948543548583983,
|
| 322 |
+
0.02002739143371582,
|
| 323 |
+
0.01988198471069336,
|
| 324 |
+
0.019819520950317384,
|
| 325 |
+
0.019826688766479493,
|
| 326 |
+
0.01983078384399414,
|
| 327 |
+
0.020155391693115234,
|
| 328 |
+
0.019776512145996093,
|
| 329 |
+
0.019949567794799804,
|
| 330 |
+
0.019752960205078125,
|
| 331 |
+
0.019914751052856446,
|
| 332 |
+
0.019780607223510743,
|
| 333 |
+
0.019764223098754884,
|
| 334 |
+
0.01968435287475586,
|
| 335 |
+
0.019727359771728514,
|
| 336 |
+
0.01963417625427246,
|
| 337 |
+
0.01985024070739746,
|
| 338 |
+
0.019776512145996093,
|
| 339 |
+
0.019738624572753907,
|
| 340 |
+
0.02004275131225586,
|
| 341 |
+
0.01984716796875,
|
| 342 |
+
0.019853311538696287,
|
| 343 |
+
0.02004377555847168,
|
| 344 |
+
0.020319232940673827,
|
| 345 |
+
0.020024320602416993,
|
| 346 |
+
0.01922764778137207,
|
| 347 |
+
0.019981311798095702,
|
| 348 |
+
0.019810304641723633,
|
| 349 |
+
0.019786752700805665,
|
| 350 |
+
0.020179967880249023,
|
| 351 |
+
0.019720191955566405,
|
| 352 |
+
0.019795967102050782,
|
| 353 |
+
0.019791872024536132,
|
| 354 |
+
0.02003046417236328,
|
| 355 |
+
0.01959219169616699,
|
| 356 |
+
0.019694623947143556,
|
| 357 |
+
0.01935971260070801,
|
| 358 |
+
0.018927616119384767,
|
| 359 |
+
0.018948095321655273,
|
| 360 |
+
0.018948095321655273,
|
| 361 |
+
0.0196945915222168,
|
| 362 |
+
0.019757055282592775,
|
| 363 |
+
0.019127296447753905,
|
| 364 |
+
0.019115007400512696,
|
| 365 |
+
0.019104768753051758,
|
| 366 |
+
0.019727359771728514,
|
| 367 |
+
0.01946214485168457,
|
| 368 |
+
0.020015104293823242,
|
| 369 |
+
0.019924991607666014,
|
| 370 |
+
0.019080192565917968,
|
| 371 |
+
0.019323904037475585,
|
| 372 |
+
0.019982336044311523,
|
| 373 |
+
0.019957759857177734,
|
| 374 |
+
0.019914751052856446,
|
| 375 |
+
0.019992576599121094,
|
| 376 |
+
0.021910528182983398,
|
| 377 |
+
0.020304895401000975,
|
| 378 |
+
0.020023296356201172,
|
| 379 |
+
0.019973184585571287,
|
| 380 |
+
0.02000480079650879,
|
| 381 |
+
0.019393535614013673,
|
| 382 |
+
0.01906483268737793,
|
| 383 |
+
0.01906380844116211,
|
| 384 |
+
0.019146751403808594,
|
| 385 |
+
0.01923379135131836,
|
| 386 |
+
0.019098623275756836,
|
| 387 |
+
0.01903206443786621,
|
| 388 |
+
0.019134464263916014,
|
| 389 |
+
0.019943424224853516,
|
| 390 |
+
0.019910655975341796,
|
| 391 |
+
0.019911680221557617,
|
| 392 |
+
0.01998028755187988,
|
| 393 |
+
0.02002124786376953,
|
| 394 |
+
0.02004991912841797,
|
| 395 |
+
0.019938304901123048,
|
| 396 |
+
0.019977216720581056,
|
| 397 |
+
0.020102144241333008,
|
| 398 |
+
0.02007040023803711,
|
| 399 |
+
0.019970048904418947,
|
| 400 |
+
0.019936256408691407,
|
| 401 |
+
0.02048409652709961,
|
| 402 |
+
0.02064076805114746,
|
| 403 |
+
0.02004582405090332,
|
| 404 |
+
0.019956735610961913,
|
| 405 |
+
0.020100095748901366,
|
| 406 |
+
0.019987455368041994,
|
| 407 |
+
0.019960832595825196,
|
| 408 |
+
0.019986431121826173,
|
| 409 |
+
0.019989503860473632,
|
| 410 |
+
0.019953664779663087,
|
| 411 |
+
0.019951616287231445,
|
| 412 |
+
0.019761152267456054,
|
| 413 |
+
0.019954687118530275,
|
| 414 |
+
0.019895296096801757,
|
| 415 |
+
0.01992192077636719,
|
| 416 |
+
0.019936256408691407,
|
| 417 |
+
0.019956735610961913,
|
| 418 |
+
0.019965951919555663,
|
| 419 |
+
0.019918848037719726,
|
| 420 |
+
0.01991372871398926,
|
| 421 |
+
0.01985024070739746,
|
| 422 |
+
0.01985638427734375,
|
| 423 |
+
0.019939327239990236,
|
| 424 |
+
0.019935232162475586,
|
| 425 |
+
0.019953664779663087,
|
| 426 |
+
0.019951616287231445,
|
| 427 |
+
0.019912704467773438,
|
| 428 |
+
0.019989503860473632,
|
| 429 |
+
0.01989836883544922,
|
| 430 |
+
0.020001792907714845,
|
| 431 |
+
0.019936256408691407,
|
| 432 |
+
0.019525632858276368
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 50.24401312471862
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.293824,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.43.0.dev0",
|
| 90 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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": 1708.478464,
|
| 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.04127776145935058,
|
| 15 |
+
"mean": 0.02063888072967529,
|
| 16 |
+
"stdev": 9.279251098632396e-07,
|
| 17 |
+
"p50": 0.02063888072967529,
|
| 18 |
+
"p90": 0.020639623069763184,
|
| 19 |
+
"p95": 0.020639715862274168,
|
| 20 |
+
"p99": 0.02063979009628296,
|
| 21 |
+
"values": [
|
| 22 |
+
0.020639808654785156,
|
| 23 |
+
0.02063795280456543
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 339.1656791705356
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1708.556288,
|
| 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": 5.034170166015625,
|
| 46 |
+
"mean": 2.5170850830078124,
|
| 47 |
+
"stdev": 0.0037408447265625533,
|
| 48 |
+
"p50": 2.5170850830078124,
|
| 49 |
+
"p90": 2.5200777587890624,
|
| 50 |
+
"p95": 2.5204518432617187,
|
| 51 |
+
"p99": 2.5207511108398437,
|
| 52 |
+
"values": [
|
| 53 |
+
2.520825927734375,
|
| 54 |
+
2.51334423828125
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 50.4551875728572
|
| 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.035425800323488,
|
| 70 |
+
"mean": 0.019902868775982158,
|
| 71 |
+
"stdev": 0.0013455101035836567,
|
| 72 |
+
"p50": 0.01991372871398926,
|
| 73 |
+
"p90": 0.02004193229675293,
|
| 74 |
+
"p95": 0.02020945930480957,
|
| 75 |
+
"p99": 0.020863917770385737,
|
| 76 |
+
"values": [
|
| 77 |
+
0.019333120346069335,
|
| 78 |
+
0.01962598419189453,
|
| 79 |
+
0.019615743637084963,
|
| 80 |
+
0.01964543914794922,
|
| 81 |
+
0.019587072372436523,
|
| 82 |
+
0.019430400848388672,
|
| 83 |
+
0.01965363121032715,
|
| 84 |
+
0.019353599548339845,
|
| 85 |
+
0.019341312408447265,
|
| 86 |
+
0.01939455986022949,
|
| 87 |
+
0.0196945915222168,
|
| 88 |
+
0.019762176513671875,
|
| 89 |
+
0.019940351486206053,
|
| 90 |
+
0.020497407913208008,
|
| 91 |
+
0.020304895401000975,
|
| 92 |
+
0.020338687896728515,
|
| 93 |
+
0.02025369644165039,
|
| 94 |
+
0.01944473648071289,
|
| 95 |
+
0.01945395278930664,
|
| 96 |
+
0.01963724708557129,
|
| 97 |
+
0.019471359252929688,
|
| 98 |
+
0.019347455978393553,
|
| 99 |
+
0.019791872024536132,
|
| 100 |
+
0.01988403129577637,
|
| 101 |
+
0.01937919998168945,
|
| 102 |
+
0.019276800155639647,
|
| 103 |
+
0.01942937660217285,
|
| 104 |
+
0.019587072372436523,
|
| 105 |
+
0.01982259178161621,
|
| 106 |
+
0.019771392822265626,
|
| 107 |
+
0.01946214485168457,
|
| 108 |
+
0.01980723190307617,
|
| 109 |
+
0.019574783325195313,
|
| 110 |
+
0.01946112060546875,
|
| 111 |
+
0.019568639755249022,
|
| 112 |
+
0.01972428894042969,
|
| 113 |
+
0.019629056930541993,
|
| 114 |
+
0.019414016723632813,
|
| 115 |
+
0.01944780731201172,
|
| 116 |
+
0.021105663299560547,
|
| 117 |
+
0.019999744415283204,
|
| 118 |
+
0.019903488159179687,
|
| 119 |
+
0.019309568405151366,
|
| 120 |
+
0.01977446365356445,
|
| 121 |
+
0.019741695404052736,
|
| 122 |
+
0.02059775924682617,
|
| 123 |
+
0.02000588798522949,
|
| 124 |
+
0.01979801559448242,
|
| 125 |
+
0.019833856582641602,
|
| 126 |
+
0.019854335784912108,
|
| 127 |
+
0.019870719909667968,
|
| 128 |
+
0.019786752700805665,
|
| 129 |
+
0.019752960205078125,
|
| 130 |
+
0.019795967102050782,
|
| 131 |
+
0.01979903984069824,
|
| 132 |
+
0.01987379264831543,
|
| 133 |
+
0.019985408782958985,
|
| 134 |
+
0.02003865623474121,
|
| 135 |
+
0.019968000411987305,
|
| 136 |
+
0.019932159423828123,
|
| 137 |
+
0.02003558349609375,
|
| 138 |
+
0.0200130558013916,
|
| 139 |
+
0.020009983062744142,
|
| 140 |
+
0.019982336044311523,
|
| 141 |
+
0.020281343460083007,
|
| 142 |
+
0.02005504035949707,
|
| 143 |
+
0.019979263305664064,
|
| 144 |
+
0.01988403129577637,
|
| 145 |
+
0.019945472717285157,
|
| 146 |
+
0.019947519302368166,
|
| 147 |
+
0.019912704467773438,
|
| 148 |
+
0.019936256408691407,
|
| 149 |
+
0.020016128540039063,
|
| 150 |
+
0.019975168228149414,
|
| 151 |
+
0.02009600067138672,
|
| 152 |
+
0.02001919937133789,
|
| 153 |
+
0.019984384536743165,
|
| 154 |
+
0.019959808349609375,
|
| 155 |
+
0.019943424224853516,
|
| 156 |
+
0.019937280654907227,
|
| 157 |
+
0.019948543548583983,
|
| 158 |
+
0.01987993621826172,
|
| 159 |
+
0.019901439666748046,
|
| 160 |
+
0.019922943115234376,
|
| 161 |
+
0.019943424224853516,
|
| 162 |
+
0.019968000411987305,
|
| 163 |
+
0.019945472717285157,
|
| 164 |
+
0.019993600845336915,
|
| 165 |
+
0.019933183670043944,
|
| 166 |
+
0.019973119735717772,
|
| 167 |
+
0.01998847961425781,
|
| 168 |
+
0.019997695922851562,
|
| 169 |
+
0.019970048904418947,
|
| 170 |
+
0.019951616287231445,
|
| 171 |
+
0.02002943992614746,
|
| 172 |
+
0.020059135437011717,
|
| 173 |
+
0.020023296356201172,
|
| 174 |
+
0.02005299186706543,
|
| 175 |
+
0.01988812828063965,
|
| 176 |
+
0.019998720169067383,
|
| 177 |
+
0.02003763198852539,
|
| 178 |
+
0.01999667167663574,
|
| 179 |
+
0.019987455368041994,
|
| 180 |
+
0.019976192474365235,
|
| 181 |
+
0.019964927673339843,
|
| 182 |
+
0.01997209548950195,
|
| 183 |
+
0.02002227210998535,
|
| 184 |
+
0.020011007308959963,
|
| 185 |
+
0.019954687118530275,
|
| 186 |
+
0.019869695663452147,
|
| 187 |
+
0.01987174415588379,
|
| 188 |
+
0.01965875244140625,
|
| 189 |
+
0.019978239059448243,
|
| 190 |
+
0.019989503860473632,
|
| 191 |
+
0.019934207916259765,
|
| 192 |
+
0.019938304901123048,
|
| 193 |
+
0.019184640884399414,
|
| 194 |
+
0.019161088943481445,
|
| 195 |
+
0.019963903427124022,
|
| 196 |
+
0.02001203155517578,
|
| 197 |
+
0.019945472717285157,
|
| 198 |
+
0.020015104293823242,
|
| 199 |
+
0.019924991607666014,
|
| 200 |
+
0.019947519302368166,
|
| 201 |
+
0.019894271850585937,
|
| 202 |
+
0.02002841567993164,
|
| 203 |
+
0.04057088088989258,
|
| 204 |
+
0.019767295837402343,
|
| 205 |
+
0.019783679962158202,
|
| 206 |
+
0.01982156753540039,
|
| 207 |
+
0.019765247344970704,
|
| 208 |
+
0.019784704208374023,
|
| 209 |
+
0.019825664520263672,
|
| 210 |
+
0.019751935958862304,
|
| 211 |
+
0.019773439407348634,
|
| 212 |
+
0.01982771110534668,
|
| 213 |
+
0.019795967102050782,
|
| 214 |
+
0.018921472549438476,
|
| 215 |
+
0.018982912063598634,
|
| 216 |
+
0.018968576431274413,
|
| 217 |
+
0.019500032424926757,
|
| 218 |
+
0.019948543548583983,
|
| 219 |
+
0.02002739143371582,
|
| 220 |
+
0.01988198471069336,
|
| 221 |
+
0.019819520950317384,
|
| 222 |
+
0.019826688766479493,
|
| 223 |
+
0.01983078384399414,
|
| 224 |
+
0.020155391693115234,
|
| 225 |
+
0.019776512145996093,
|
| 226 |
+
0.019949567794799804,
|
| 227 |
+
0.019752960205078125,
|
| 228 |
+
0.019914751052856446,
|
| 229 |
+
0.019780607223510743,
|
| 230 |
+
0.019764223098754884,
|
| 231 |
+
0.01968435287475586,
|
| 232 |
+
0.019727359771728514,
|
| 233 |
+
0.01963417625427246,
|
| 234 |
+
0.01985024070739746,
|
| 235 |
+
0.019776512145996093,
|
| 236 |
+
0.019738624572753907,
|
| 237 |
+
0.02004275131225586,
|
| 238 |
+
0.01984716796875,
|
| 239 |
+
0.019853311538696287,
|
| 240 |
+
0.02004377555847168,
|
| 241 |
+
0.020319232940673827,
|
| 242 |
+
0.020024320602416993,
|
| 243 |
+
0.01922764778137207,
|
| 244 |
+
0.019981311798095702,
|
| 245 |
+
0.019810304641723633,
|
| 246 |
+
0.019786752700805665,
|
| 247 |
+
0.020179967880249023,
|
| 248 |
+
0.019720191955566405,
|
| 249 |
+
0.019795967102050782,
|
| 250 |
+
0.019791872024536132,
|
| 251 |
+
0.02003046417236328,
|
| 252 |
+
0.01959219169616699,
|
| 253 |
+
0.019694623947143556,
|
| 254 |
+
0.01935971260070801,
|
| 255 |
+
0.018927616119384767,
|
| 256 |
+
0.018948095321655273,
|
| 257 |
+
0.018948095321655273,
|
| 258 |
+
0.0196945915222168,
|
| 259 |
+
0.019757055282592775,
|
| 260 |
+
0.019127296447753905,
|
| 261 |
+
0.019115007400512696,
|
| 262 |
+
0.019104768753051758,
|
| 263 |
+
0.019727359771728514,
|
| 264 |
+
0.01946214485168457,
|
| 265 |
+
0.020015104293823242,
|
| 266 |
+
0.019924991607666014,
|
| 267 |
+
0.019080192565917968,
|
| 268 |
+
0.019323904037475585,
|
| 269 |
+
0.019982336044311523,
|
| 270 |
+
0.019957759857177734,
|
| 271 |
+
0.019914751052856446,
|
| 272 |
+
0.019992576599121094,
|
| 273 |
+
0.021910528182983398,
|
| 274 |
+
0.020304895401000975,
|
| 275 |
+
0.020023296356201172,
|
| 276 |
+
0.019973184585571287,
|
| 277 |
+
0.02000480079650879,
|
| 278 |
+
0.019393535614013673,
|
| 279 |
+
0.01906483268737793,
|
| 280 |
+
0.01906380844116211,
|
| 281 |
+
0.019146751403808594,
|
| 282 |
+
0.01923379135131836,
|
| 283 |
+
0.019098623275756836,
|
| 284 |
+
0.01903206443786621,
|
| 285 |
+
0.019134464263916014,
|
| 286 |
+
0.019943424224853516,
|
| 287 |
+
0.019910655975341796,
|
| 288 |
+
0.019911680221557617,
|
| 289 |
+
0.01998028755187988,
|
| 290 |
+
0.02002124786376953,
|
| 291 |
+
0.02004991912841797,
|
| 292 |
+
0.019938304901123048,
|
| 293 |
+
0.019977216720581056,
|
| 294 |
+
0.020102144241333008,
|
| 295 |
+
0.02007040023803711,
|
| 296 |
+
0.019970048904418947,
|
| 297 |
+
0.019936256408691407,
|
| 298 |
+
0.02048409652709961,
|
| 299 |
+
0.02064076805114746,
|
| 300 |
+
0.02004582405090332,
|
| 301 |
+
0.019956735610961913,
|
| 302 |
+
0.020100095748901366,
|
| 303 |
+
0.019987455368041994,
|
| 304 |
+
0.019960832595825196,
|
| 305 |
+
0.019986431121826173,
|
| 306 |
+
0.019989503860473632,
|
| 307 |
+
0.019953664779663087,
|
| 308 |
+
0.019951616287231445,
|
| 309 |
+
0.019761152267456054,
|
| 310 |
+
0.019954687118530275,
|
| 311 |
+
0.019895296096801757,
|
| 312 |
+
0.01992192077636719,
|
| 313 |
+
0.019936256408691407,
|
| 314 |
+
0.019956735610961913,
|
| 315 |
+
0.019965951919555663,
|
| 316 |
+
0.019918848037719726,
|
| 317 |
+
0.01991372871398926,
|
| 318 |
+
0.01985024070739746,
|
| 319 |
+
0.01985638427734375,
|
| 320 |
+
0.019939327239990236,
|
| 321 |
+
0.019935232162475586,
|
| 322 |
+
0.019953664779663087,
|
| 323 |
+
0.019951616287231445,
|
| 324 |
+
0.019912704467773438,
|
| 325 |
+
0.019989503860473632,
|
| 326 |
+
0.01989836883544922,
|
| 327 |
+
0.020001792907714845,
|
| 328 |
+
0.019936256408691407,
|
| 329 |
+
0.019525632858276368
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 50.24401312471862
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02063888072967529,
|
| 7 |
+
"prefill.throughput.value": 339.1656791705356,
|
| 8 |
+
"decode.latency.mean": 2.5170850830078124,
|
| 9 |
+
"decode.throughput.value": 50.4551875728572,
|
| 10 |
+
"per_token.latency.mean": 0.019902868775982158,
|
| 11 |
+
"per_token.throughput.value": 50.24401312471862
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.293824
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.43.0.dev0
|
| 81 |
+
transformers_commit: e65502951593a76844e872fee9c56b805598538a
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a
|
| 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/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-07-01 02:37:43,276[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.293824,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.43.0.dev0",
|
| 90 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.293824
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.43.0.dev0
|
| 81 |
+
transformers_commit: e65502951593a76844e872fee9c56b805598538a
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a
|
| 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/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.293824,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.43.0.dev0",
|
| 91 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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": 1749.21728,
|
| 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.04383222389221191,
|
| 118 |
+
"mean": 0.021916111946105956,
|
| 119 |
+
"stdev": 0.0002918558120727534,
|
| 120 |
+
"p50": 0.021916111946105956,
|
| 121 |
+
"p90": 0.022149596595764157,
|
| 122 |
+
"p95": 0.022178782176971435,
|
| 123 |
+
"p99": 0.022202130641937254,
|
| 124 |
+
"values": [
|
| 125 |
+
0.02220796775817871,
|
| 126 |
+
0.021624256134033203
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 319.39971912964046
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1749.229568,
|
| 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.1213916015625,
|
| 149 |
+
"mean": 2.56069580078125,
|
| 150 |
+
"stdev": 0.027504882812499964,
|
| 151 |
+
"p50": 2.56069580078125,
|
| 152 |
+
"p90": 2.5826997070312503,
|
| 153 |
+
"p95": 2.5854501953125,
|
| 154 |
+
"p99": 2.5876505859375003,
|
| 155 |
+
"values": [
|
| 156 |
+
2.58820068359375,
|
| 157 |
+
2.53319091796875
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 49.59589497559733
|
| 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.121275915145878,
|
| 173 |
+
"mean": 0.020242197293066696,
|
| 174 |
+
"stdev": 0.0014166243982787412,
|
| 175 |
+
"p50": 0.019946527481079102,
|
| 176 |
+
"p90": 0.020613938903808592,
|
| 177 |
+
"p95": 0.02074173469543457,
|
| 178 |
+
"p99": 0.02136395736694336,
|
| 179 |
+
"values": [
|
| 180 |
+
0.023966720581054687,
|
| 181 |
+
0.020561920166015626,
|
| 182 |
+
0.019946527481079102,
|
| 183 |
+
0.019881952285766603,
|
| 184 |
+
0.019970048904418947,
|
| 185 |
+
0.01988915252685547,
|
| 186 |
+
0.019955711364746095,
|
| 187 |
+
0.01984716796875,
|
| 188 |
+
0.019887104034423828,
|
| 189 |
+
0.019907583236694337,
|
| 190 |
+
0.019895296096801757,
|
| 191 |
+
0.0198604793548584,
|
| 192 |
+
0.019883007049560548,
|
| 193 |
+
0.019904512405395508,
|
| 194 |
+
0.01990553665161133,
|
| 195 |
+
0.019923967361450197,
|
| 196 |
+
0.020000768661499024,
|
| 197 |
+
0.019940351486206053,
|
| 198 |
+
0.019916799545288084,
|
| 199 |
+
0.01985228729248047,
|
| 200 |
+
0.019893247604370116,
|
| 201 |
+
0.01986662483215332,
|
| 202 |
+
0.020175872802734376,
|
| 203 |
+
0.020101119995117187,
|
| 204 |
+
0.02024550437927246,
|
| 205 |
+
0.01988812828063965,
|
| 206 |
+
0.020518911361694335,
|
| 207 |
+
0.020520959854125977,
|
| 208 |
+
0.02002227210998535,
|
| 209 |
+
0.020101119995117187,
|
| 210 |
+
0.019952640533447266,
|
| 211 |
+
0.020101119995117187,
|
| 212 |
+
0.0203623046875,
|
| 213 |
+
0.02015430450439453,
|
| 214 |
+
0.02039091110229492,
|
| 215 |
+
0.01987993621826172,
|
| 216 |
+
0.020358144760131838,
|
| 217 |
+
0.020563968658447264,
|
| 218 |
+
0.020690944671630858,
|
| 219 |
+
0.020723712921142577,
|
| 220 |
+
0.020644863128662108,
|
| 221 |
+
0.02061516761779785,
|
| 222 |
+
0.020711423873901368,
|
| 223 |
+
0.02106368064880371,
|
| 224 |
+
0.020727807998657227,
|
| 225 |
+
0.02052403259277344,
|
| 226 |
+
0.02053222465515137,
|
| 227 |
+
0.020419584274291993,
|
| 228 |
+
0.02102272033691406,
|
| 229 |
+
0.021135360717773437,
|
| 230 |
+
0.0210513916015625,
|
| 231 |
+
0.02060697555541992,
|
| 232 |
+
0.020494335174560546,
|
| 233 |
+
0.020564992904663085,
|
| 234 |
+
0.020517887115478514,
|
| 235 |
+
0.020600831985473633,
|
| 236 |
+
0.02050048065185547,
|
| 237 |
+
0.0202106876373291,
|
| 238 |
+
0.020590591430664062,
|
| 239 |
+
0.020526079177856444,
|
| 240 |
+
0.020609024047851563,
|
| 241 |
+
0.020547584533691408,
|
| 242 |
+
0.02062233543395996,
|
| 243 |
+
0.020661247253417968,
|
| 244 |
+
0.020346879959106445,
|
| 245 |
+
0.02063564872741699,
|
| 246 |
+
0.020347904205322266,
|
| 247 |
+
0.020582399368286132,
|
| 248 |
+
0.020488191604614257,
|
| 249 |
+
0.020508672714233397,
|
| 250 |
+
0.020762624740600585,
|
| 251 |
+
0.02125823974609375,
|
| 252 |
+
0.02060492706298828,
|
| 253 |
+
0.020600831985473633,
|
| 254 |
+
0.0206059513092041,
|
| 255 |
+
0.020553728103637696,
|
| 256 |
+
0.020563968658447264,
|
| 257 |
+
0.020541439056396483,
|
| 258 |
+
0.02048102378845215,
|
| 259 |
+
0.020543487548828124,
|
| 260 |
+
0.020580352783203124,
|
| 261 |
+
0.02062131118774414,
|
| 262 |
+
0.02070425605773926,
|
| 263 |
+
0.020525056838989256,
|
| 264 |
+
0.020560895919799805,
|
| 265 |
+
0.020561920166015626,
|
| 266 |
+
0.020541439056396483,
|
| 267 |
+
0.020578304290771485,
|
| 268 |
+
0.021345279693603517,
|
| 269 |
+
0.021209087371826172,
|
| 270 |
+
0.02089472007751465,
|
| 271 |
+
0.02067251205444336,
|
| 272 |
+
0.02039910316467285,
|
| 273 |
+
0.02059775924682617,
|
| 274 |
+
0.020632575988769532,
|
| 275 |
+
0.020539392471313478,
|
| 276 |
+
0.020387840270996094,
|
| 277 |
+
0.020563968658447264,
|
| 278 |
+
0.02043187141418457,
|
| 279 |
+
0.020580352783203124,
|
| 280 |
+
0.020554752349853517,
|
| 281 |
+
0.020512767791748047,
|
| 282 |
+
0.020559871673583984,
|
| 283 |
+
0.01987174415588379,
|
| 284 |
+
0.019974143981933593,
|
| 285 |
+
0.01985024070739746,
|
| 286 |
+
0.0198922233581543,
|
| 287 |
+
0.019984384536743165,
|
| 288 |
+
0.019896320343017578,
|
| 289 |
+
0.019949567794799804,
|
| 290 |
+
0.019886079788208007,
|
| 291 |
+
0.01987481689453125,
|
| 292 |
+
0.019945472717285157,
|
| 293 |
+
0.01990656089782715,
|
| 294 |
+
0.019981311798095702,
|
| 295 |
+
0.019962879180908204,
|
| 296 |
+
0.019960832595825196,
|
| 297 |
+
0.019900415420532228,
|
| 298 |
+
0.02007756805419922,
|
| 299 |
+
0.01985024070739746,
|
| 300 |
+
0.01987174415588379,
|
| 301 |
+
0.021384191513061524,
|
| 302 |
+
0.019961856842041017,
|
| 303 |
+
0.01987583923339844,
|
| 304 |
+
0.019833856582641602,
|
| 305 |
+
0.01984921646118164,
|
| 306 |
+
0.0416993293762207,
|
| 307 |
+
0.01989017677307129,
|
| 308 |
+
0.019899391174316407,
|
| 309 |
+
0.01987583923339844,
|
| 310 |
+
0.019851264953613282,
|
| 311 |
+
0.019927040100097656,
|
| 312 |
+
0.0198656005859375,
|
| 313 |
+
0.019894271850585937,
|
| 314 |
+
0.01987174415588379,
|
| 315 |
+
0.019902463912963866,
|
| 316 |
+
0.01988198471069336,
|
| 317 |
+
0.019891199111938478,
|
| 318 |
+
0.019893247604370116,
|
| 319 |
+
0.02091110420227051,
|
| 320 |
+
0.01992192077636719,
|
| 321 |
+
0.01984102439880371,
|
| 322 |
+
0.01984614372253418,
|
| 323 |
+
0.019895296096801757,
|
| 324 |
+
0.0198604793548584,
|
| 325 |
+
0.01988915252685547,
|
| 326 |
+
0.01988915252685547,
|
| 327 |
+
0.01998028755187988,
|
| 328 |
+
0.019899391174316407,
|
| 329 |
+
0.019917823791503905,
|
| 330 |
+
0.019910655975341796,
|
| 331 |
+
0.01987174415588379,
|
| 332 |
+
0.019887104034423828,
|
| 333 |
+
0.020304895401000975,
|
| 334 |
+
0.020542463302612304,
|
| 335 |
+
0.01988096046447754,
|
| 336 |
+
0.020329471588134765,
|
| 337 |
+
0.01989017677307129,
|
| 338 |
+
0.01987583923339844,
|
| 339 |
+
0.01985638427734375,
|
| 340 |
+
0.019842048645019532,
|
| 341 |
+
0.01989017677307129,
|
| 342 |
+
0.01988198471069336,
|
| 343 |
+
0.019902463912963866,
|
| 344 |
+
0.019878911972045898,
|
| 345 |
+
0.01988812828063965,
|
| 346 |
+
0.01984614372253418,
|
| 347 |
+
0.019861503601074217,
|
| 348 |
+
0.019924991607666014,
|
| 349 |
+
0.019885055541992186,
|
| 350 |
+
0.020076543807983398,
|
| 351 |
+
0.020067327499389647,
|
| 352 |
+
0.02004991912841797,
|
| 353 |
+
0.019945472717285157,
|
| 354 |
+
0.019911680221557617,
|
| 355 |
+
0.01988915252685547,
|
| 356 |
+
0.019878911972045898,
|
| 357 |
+
0.01986662483215332,
|
| 358 |
+
0.01993011283874512,
|
| 359 |
+
0.019895296096801757,
|
| 360 |
+
0.019949567794799804,
|
| 361 |
+
0.019937280654907227,
|
| 362 |
+
0.01988198471069336,
|
| 363 |
+
0.019878911972045898,
|
| 364 |
+
0.01985945510864258,
|
| 365 |
+
0.019950592041015625,
|
| 366 |
+
0.019869695663452147,
|
| 367 |
+
0.019960832595825196,
|
| 368 |
+
0.019940351486206053,
|
| 369 |
+
0.019891199111938478,
|
| 370 |
+
0.01987174415588379,
|
| 371 |
+
0.01982975959777832,
|
| 372 |
+
0.01993011283874512,
|
| 373 |
+
0.01987993621826172,
|
| 374 |
+
0.01985228729248047,
|
| 375 |
+
0.01988198471069336,
|
| 376 |
+
0.019854335784912108,
|
| 377 |
+
0.019958784103393554,
|
| 378 |
+
0.019908607482910155,
|
| 379 |
+
0.01988915252685547,
|
| 380 |
+
0.019997695922851562,
|
| 381 |
+
0.019957759857177734,
|
| 382 |
+
0.019965951919555663,
|
| 383 |
+
0.019869695663452147,
|
| 384 |
+
0.019917823791503905,
|
| 385 |
+
0.019899391174316407,
|
| 386 |
+
0.019877887725830077,
|
| 387 |
+
0.019922943115234376,
|
| 388 |
+
0.019883007049560548,
|
| 389 |
+
0.019861503601074217,
|
| 390 |
+
0.01987481689453125,
|
| 391 |
+
0.01991372871398926,
|
| 392 |
+
0.01989836883544922,
|
| 393 |
+
0.01988915252685547,
|
| 394 |
+
0.019867712020874024,
|
| 395 |
+
0.019904447555541993,
|
| 396 |
+
0.019900415420532228,
|
| 397 |
+
0.019986431121826173,
|
| 398 |
+
0.019919872283935547,
|
| 399 |
+
0.01987379264831543,
|
| 400 |
+
0.019916799545288084,
|
| 401 |
+
0.019990528106689453,
|
| 402 |
+
0.019904512405395508,
|
| 403 |
+
0.019940351486206053,
|
| 404 |
+
0.01992192077636719,
|
| 405 |
+
0.019953664779663087,
|
| 406 |
+
0.019958784103393554,
|
| 407 |
+
0.020332544326782227,
|
| 408 |
+
0.019948543548583983,
|
| 409 |
+
0.01990656089782715,
|
| 410 |
+
0.019932159423828123,
|
| 411 |
+
0.019951616287231445,
|
| 412 |
+
0.019920896530151368,
|
| 413 |
+
0.019966976165771484,
|
| 414 |
+
0.01986662483215332,
|
| 415 |
+
0.019916799545288084,
|
| 416 |
+
0.01984716796875,
|
| 417 |
+
0.01989836883544922,
|
| 418 |
+
0.019887104034423828,
|
| 419 |
+
0.020525056838989256,
|
| 420 |
+
0.020238336563110353,
|
| 421 |
+
0.019941375732421874,
|
| 422 |
+
0.019951616287231445,
|
| 423 |
+
0.019952640533447266,
|
| 424 |
+
0.01987481689453125,
|
| 425 |
+
0.019886079788208007,
|
| 426 |
+
0.019968000411987305,
|
| 427 |
+
0.019956735610961913,
|
| 428 |
+
0.019935232162475586,
|
| 429 |
+
0.019936256408691407,
|
| 430 |
+
0.020134912490844727,
|
| 431 |
+
0.020161535263061522,
|
| 432 |
+
0.020402175903320312
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 49.4017514759881
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.293824,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.43.0.dev0",
|
| 90 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1749.21728,
|
| 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.04383222389221191,
|
| 15 |
+
"mean": 0.021916111946105956,
|
| 16 |
+
"stdev": 0.0002918558120727534,
|
| 17 |
+
"p50": 0.021916111946105956,
|
| 18 |
+
"p90": 0.022149596595764157,
|
| 19 |
+
"p95": 0.022178782176971435,
|
| 20 |
+
"p99": 0.022202130641937254,
|
| 21 |
+
"values": [
|
| 22 |
+
0.02220796775817871,
|
| 23 |
+
0.021624256134033203
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 319.39971912964046
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1749.229568,
|
| 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.1213916015625,
|
| 46 |
+
"mean": 2.56069580078125,
|
| 47 |
+
"stdev": 0.027504882812499964,
|
| 48 |
+
"p50": 2.56069580078125,
|
| 49 |
+
"p90": 2.5826997070312503,
|
| 50 |
+
"p95": 2.5854501953125,
|
| 51 |
+
"p99": 2.5876505859375003,
|
| 52 |
+
"values": [
|
| 53 |
+
2.58820068359375,
|
| 54 |
+
2.53319091796875
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 49.59589497559733
|
| 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.121275915145878,
|
| 70 |
+
"mean": 0.020242197293066696,
|
| 71 |
+
"stdev": 0.0014166243982787412,
|
| 72 |
+
"p50": 0.019946527481079102,
|
| 73 |
+
"p90": 0.020613938903808592,
|
| 74 |
+
"p95": 0.02074173469543457,
|
| 75 |
+
"p99": 0.02136395736694336,
|
| 76 |
+
"values": [
|
| 77 |
+
0.023966720581054687,
|
| 78 |
+
0.020561920166015626,
|
| 79 |
+
0.019946527481079102,
|
| 80 |
+
0.019881952285766603,
|
| 81 |
+
0.019970048904418947,
|
| 82 |
+
0.01988915252685547,
|
| 83 |
+
0.019955711364746095,
|
| 84 |
+
0.01984716796875,
|
| 85 |
+
0.019887104034423828,
|
| 86 |
+
0.019907583236694337,
|
| 87 |
+
0.019895296096801757,
|
| 88 |
+
0.0198604793548584,
|
| 89 |
+
0.019883007049560548,
|
| 90 |
+
0.019904512405395508,
|
| 91 |
+
0.01990553665161133,
|
| 92 |
+
0.019923967361450197,
|
| 93 |
+
0.020000768661499024,
|
| 94 |
+
0.019940351486206053,
|
| 95 |
+
0.019916799545288084,
|
| 96 |
+
0.01985228729248047,
|
| 97 |
+
0.019893247604370116,
|
| 98 |
+
0.01986662483215332,
|
| 99 |
+
0.020175872802734376,
|
| 100 |
+
0.020101119995117187,
|
| 101 |
+
0.02024550437927246,
|
| 102 |
+
0.01988812828063965,
|
| 103 |
+
0.020518911361694335,
|
| 104 |
+
0.020520959854125977,
|
| 105 |
+
0.02002227210998535,
|
| 106 |
+
0.020101119995117187,
|
| 107 |
+
0.019952640533447266,
|
| 108 |
+
0.020101119995117187,
|
| 109 |
+
0.0203623046875,
|
| 110 |
+
0.02015430450439453,
|
| 111 |
+
0.02039091110229492,
|
| 112 |
+
0.01987993621826172,
|
| 113 |
+
0.020358144760131838,
|
| 114 |
+
0.020563968658447264,
|
| 115 |
+
0.020690944671630858,
|
| 116 |
+
0.020723712921142577,
|
| 117 |
+
0.020644863128662108,
|
| 118 |
+
0.02061516761779785,
|
| 119 |
+
0.020711423873901368,
|
| 120 |
+
0.02106368064880371,
|
| 121 |
+
0.020727807998657227,
|
| 122 |
+
0.02052403259277344,
|
| 123 |
+
0.02053222465515137,
|
| 124 |
+
0.020419584274291993,
|
| 125 |
+
0.02102272033691406,
|
| 126 |
+
0.021135360717773437,
|
| 127 |
+
0.0210513916015625,
|
| 128 |
+
0.02060697555541992,
|
| 129 |
+
0.020494335174560546,
|
| 130 |
+
0.020564992904663085,
|
| 131 |
+
0.020517887115478514,
|
| 132 |
+
0.020600831985473633,
|
| 133 |
+
0.02050048065185547,
|
| 134 |
+
0.0202106876373291,
|
| 135 |
+
0.020590591430664062,
|
| 136 |
+
0.020526079177856444,
|
| 137 |
+
0.020609024047851563,
|
| 138 |
+
0.020547584533691408,
|
| 139 |
+
0.02062233543395996,
|
| 140 |
+
0.020661247253417968,
|
| 141 |
+
0.020346879959106445,
|
| 142 |
+
0.02063564872741699,
|
| 143 |
+
0.020347904205322266,
|
| 144 |
+
0.020582399368286132,
|
| 145 |
+
0.020488191604614257,
|
| 146 |
+
0.020508672714233397,
|
| 147 |
+
0.020762624740600585,
|
| 148 |
+
0.02125823974609375,
|
| 149 |
+
0.02060492706298828,
|
| 150 |
+
0.020600831985473633,
|
| 151 |
+
0.0206059513092041,
|
| 152 |
+
0.020553728103637696,
|
| 153 |
+
0.020563968658447264,
|
| 154 |
+
0.020541439056396483,
|
| 155 |
+
0.02048102378845215,
|
| 156 |
+
0.020543487548828124,
|
| 157 |
+
0.020580352783203124,
|
| 158 |
+
0.02062131118774414,
|
| 159 |
+
0.02070425605773926,
|
| 160 |
+
0.020525056838989256,
|
| 161 |
+
0.020560895919799805,
|
| 162 |
+
0.020561920166015626,
|
| 163 |
+
0.020541439056396483,
|
| 164 |
+
0.020578304290771485,
|
| 165 |
+
0.021345279693603517,
|
| 166 |
+
0.021209087371826172,
|
| 167 |
+
0.02089472007751465,
|
| 168 |
+
0.02067251205444336,
|
| 169 |
+
0.02039910316467285,
|
| 170 |
+
0.02059775924682617,
|
| 171 |
+
0.020632575988769532,
|
| 172 |
+
0.020539392471313478,
|
| 173 |
+
0.020387840270996094,
|
| 174 |
+
0.020563968658447264,
|
| 175 |
+
0.02043187141418457,
|
| 176 |
+
0.020580352783203124,
|
| 177 |
+
0.020554752349853517,
|
| 178 |
+
0.020512767791748047,
|
| 179 |
+
0.020559871673583984,
|
| 180 |
+
0.01987174415588379,
|
| 181 |
+
0.019974143981933593,
|
| 182 |
+
0.01985024070739746,
|
| 183 |
+
0.0198922233581543,
|
| 184 |
+
0.019984384536743165,
|
| 185 |
+
0.019896320343017578,
|
| 186 |
+
0.019949567794799804,
|
| 187 |
+
0.019886079788208007,
|
| 188 |
+
0.01987481689453125,
|
| 189 |
+
0.019945472717285157,
|
| 190 |
+
0.01990656089782715,
|
| 191 |
+
0.019981311798095702,
|
| 192 |
+
0.019962879180908204,
|
| 193 |
+
0.019960832595825196,
|
| 194 |
+
0.019900415420532228,
|
| 195 |
+
0.02007756805419922,
|
| 196 |
+
0.01985024070739746,
|
| 197 |
+
0.01987174415588379,
|
| 198 |
+
0.021384191513061524,
|
| 199 |
+
0.019961856842041017,
|
| 200 |
+
0.01987583923339844,
|
| 201 |
+
0.019833856582641602,
|
| 202 |
+
0.01984921646118164,
|
| 203 |
+
0.0416993293762207,
|
| 204 |
+
0.01989017677307129,
|
| 205 |
+
0.019899391174316407,
|
| 206 |
+
0.01987583923339844,
|
| 207 |
+
0.019851264953613282,
|
| 208 |
+
0.019927040100097656,
|
| 209 |
+
0.0198656005859375,
|
| 210 |
+
0.019894271850585937,
|
| 211 |
+
0.01987174415588379,
|
| 212 |
+
0.019902463912963866,
|
| 213 |
+
0.01988198471069336,
|
| 214 |
+
0.019891199111938478,
|
| 215 |
+
0.019893247604370116,
|
| 216 |
+
0.02091110420227051,
|
| 217 |
+
0.01992192077636719,
|
| 218 |
+
0.01984102439880371,
|
| 219 |
+
0.01984614372253418,
|
| 220 |
+
0.019895296096801757,
|
| 221 |
+
0.0198604793548584,
|
| 222 |
+
0.01988915252685547,
|
| 223 |
+
0.01988915252685547,
|
| 224 |
+
0.01998028755187988,
|
| 225 |
+
0.019899391174316407,
|
| 226 |
+
0.019917823791503905,
|
| 227 |
+
0.019910655975341796,
|
| 228 |
+
0.01987174415588379,
|
| 229 |
+
0.019887104034423828,
|
| 230 |
+
0.020304895401000975,
|
| 231 |
+
0.020542463302612304,
|
| 232 |
+
0.01988096046447754,
|
| 233 |
+
0.020329471588134765,
|
| 234 |
+
0.01989017677307129,
|
| 235 |
+
0.01987583923339844,
|
| 236 |
+
0.01985638427734375,
|
| 237 |
+
0.019842048645019532,
|
| 238 |
+
0.01989017677307129,
|
| 239 |
+
0.01988198471069336,
|
| 240 |
+
0.019902463912963866,
|
| 241 |
+
0.019878911972045898,
|
| 242 |
+
0.01988812828063965,
|
| 243 |
+
0.01984614372253418,
|
| 244 |
+
0.019861503601074217,
|
| 245 |
+
0.019924991607666014,
|
| 246 |
+
0.019885055541992186,
|
| 247 |
+
0.020076543807983398,
|
| 248 |
+
0.020067327499389647,
|
| 249 |
+
0.02004991912841797,
|
| 250 |
+
0.019945472717285157,
|
| 251 |
+
0.019911680221557617,
|
| 252 |
+
0.01988915252685547,
|
| 253 |
+
0.019878911972045898,
|
| 254 |
+
0.01986662483215332,
|
| 255 |
+
0.01993011283874512,
|
| 256 |
+
0.019895296096801757,
|
| 257 |
+
0.019949567794799804,
|
| 258 |
+
0.019937280654907227,
|
| 259 |
+
0.01988198471069336,
|
| 260 |
+
0.019878911972045898,
|
| 261 |
+
0.01985945510864258,
|
| 262 |
+
0.019950592041015625,
|
| 263 |
+
0.019869695663452147,
|
| 264 |
+
0.019960832595825196,
|
| 265 |
+
0.019940351486206053,
|
| 266 |
+
0.019891199111938478,
|
| 267 |
+
0.01987174415588379,
|
| 268 |
+
0.01982975959777832,
|
| 269 |
+
0.01993011283874512,
|
| 270 |
+
0.01987993621826172,
|
| 271 |
+
0.01985228729248047,
|
| 272 |
+
0.01988198471069336,
|
| 273 |
+
0.019854335784912108,
|
| 274 |
+
0.019958784103393554,
|
| 275 |
+
0.019908607482910155,
|
| 276 |
+
0.01988915252685547,
|
| 277 |
+
0.019997695922851562,
|
| 278 |
+
0.019957759857177734,
|
| 279 |
+
0.019965951919555663,
|
| 280 |
+
0.019869695663452147,
|
| 281 |
+
0.019917823791503905,
|
| 282 |
+
0.019899391174316407,
|
| 283 |
+
0.019877887725830077,
|
| 284 |
+
0.019922943115234376,
|
| 285 |
+
0.019883007049560548,
|
| 286 |
+
0.019861503601074217,
|
| 287 |
+
0.01987481689453125,
|
| 288 |
+
0.01991372871398926,
|
| 289 |
+
0.01989836883544922,
|
| 290 |
+
0.01988915252685547,
|
| 291 |
+
0.019867712020874024,
|
| 292 |
+
0.019904447555541993,
|
| 293 |
+
0.019900415420532228,
|
| 294 |
+
0.019986431121826173,
|
| 295 |
+
0.019919872283935547,
|
| 296 |
+
0.01987379264831543,
|
| 297 |
+
0.019916799545288084,
|
| 298 |
+
0.019990528106689453,
|
| 299 |
+
0.019904512405395508,
|
| 300 |
+
0.019940351486206053,
|
| 301 |
+
0.01992192077636719,
|
| 302 |
+
0.019953664779663087,
|
| 303 |
+
0.019958784103393554,
|
| 304 |
+
0.020332544326782227,
|
| 305 |
+
0.019948543548583983,
|
| 306 |
+
0.01990656089782715,
|
| 307 |
+
0.019932159423828123,
|
| 308 |
+
0.019951616287231445,
|
| 309 |
+
0.019920896530151368,
|
| 310 |
+
0.019966976165771484,
|
| 311 |
+
0.01986662483215332,
|
| 312 |
+
0.019916799545288084,
|
| 313 |
+
0.01984716796875,
|
| 314 |
+
0.01989836883544922,
|
| 315 |
+
0.019887104034423828,
|
| 316 |
+
0.020525056838989256,
|
| 317 |
+
0.020238336563110353,
|
| 318 |
+
0.019941375732421874,
|
| 319 |
+
0.019951616287231445,
|
| 320 |
+
0.019952640533447266,
|
| 321 |
+
0.01987481689453125,
|
| 322 |
+
0.019886079788208007,
|
| 323 |
+
0.019968000411987305,
|
| 324 |
+
0.019956735610961913,
|
| 325 |
+
0.019935232162475586,
|
| 326 |
+
0.019936256408691407,
|
| 327 |
+
0.020134912490844727,
|
| 328 |
+
0.020161535263061522,
|
| 329 |
+
0.020402175903320312
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 49.4017514759881
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021916111946105956,
|
| 7 |
+
"prefill.throughput.value": 319.39971912964046,
|
| 8 |
+
"decode.latency.mean": 2.56069580078125,
|
| 9 |
+
"decode.throughput.value": 49.59589497559733,
|
| 10 |
+
"per_token.latency.mean": 0.020242197293066696,
|
| 11 |
+
"per_token.throughput.value": 49.4017514759881
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.293824
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.43.0.dev0
|
| 81 |
+
transformers_commit: e65502951593a76844e872fee9c56b805598538a
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a
|
| 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/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": true,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.293824,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.43.0.dev0",
|
| 91 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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": 1918.75072,
|
| 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.02888710403442383,
|
| 118 |
+
"mean": 0.014443552017211914,
|
| 119 |
+
"stdev": 0.000482815742492676,
|
| 120 |
+
"p50": 0.014443552017211914,
|
| 121 |
+
"p90": 0.014829804611206055,
|
| 122 |
+
"p95": 0.014878086185455323,
|
| 123 |
+
"p99": 0.014916711444854737,
|
| 124 |
+
"values": [
|
| 125 |
+
0.01492636775970459,
|
| 126 |
+
0.013960736274719238
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 484.6453276630517
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 2262.675456,
|
| 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.14601513671875,
|
| 149 |
+
"mean": 1.573007568359375,
|
| 150 |
+
"stdev": 0.01592126464843746,
|
| 151 |
+
"p50": 1.573007568359375,
|
| 152 |
+
"p90": 1.585744580078125,
|
| 153 |
+
"p95": 1.5873367065429687,
|
| 154 |
+
"p99": 1.5886104077148437,
|
| 155 |
+
"values": [
|
| 156 |
+
1.5889288330078124,
|
| 157 |
+
1.5570863037109375
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 80.73705591414239
|
| 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.1467980871200547,
|
| 173 |
+
"mean": 0.012437937103241328,
|
| 174 |
+
"stdev": 0.0009045044470887226,
|
| 175 |
+
"p50": 0.012273664474487305,
|
| 176 |
+
"p90": 0.012715007781982422,
|
| 177 |
+
"p95": 0.01273282585144043,
|
| 178 |
+
"p99": 0.012806661148071288,
|
| 179 |
+
"values": [
|
| 180 |
+
0.012945440292358399,
|
| 181 |
+
0.01284604835510254,
|
| 182 |
+
0.01274675178527832,
|
| 183 |
+
0.012719103813171387,
|
| 184 |
+
0.01266483211517334,
|
| 185 |
+
0.012767231941223145,
|
| 186 |
+
0.01267404842376709,
|
| 187 |
+
0.01275391960144043,
|
| 188 |
+
0.012723199844360352,
|
| 189 |
+
0.012715007781982422,
|
| 190 |
+
0.01268838405609131,
|
| 191 |
+
0.012724224090576173,
|
| 192 |
+
0.012684288024902344,
|
| 193 |
+
0.012734463691711426,
|
| 194 |
+
0.012693504333496093,
|
| 195 |
+
0.012752896308898925,
|
| 196 |
+
0.012691455841064453,
|
| 197 |
+
0.012732416152954102,
|
| 198 |
+
0.012747776031494141,
|
| 199 |
+
0.012715007781982422,
|
| 200 |
+
0.012677120208740235,
|
| 201 |
+
0.012715007781982422,
|
| 202 |
+
0.012685312271118163,
|
| 203 |
+
0.012770303726196289,
|
| 204 |
+
0.012679167747497559,
|
| 205 |
+
0.012721152305603027,
|
| 206 |
+
0.012700672149658204,
|
| 207 |
+
0.012704768180847169,
|
| 208 |
+
0.012704768180847169,
|
| 209 |
+
0.012751872062683106,
|
| 210 |
+
0.012706815719604492,
|
| 211 |
+
0.012721152305603027,
|
| 212 |
+
0.012697600364685058,
|
| 213 |
+
0.01269660758972168,
|
| 214 |
+
0.012671968460083009,
|
| 215 |
+
0.012618751525878906,
|
| 216 |
+
0.012645376205444337,
|
| 217 |
+
0.012698623657226562,
|
| 218 |
+
0.012640255928039551,
|
| 219 |
+
0.012700672149658204,
|
| 220 |
+
0.012618751525878906,
|
| 221 |
+
0.012744704246520995,
|
| 222 |
+
0.012733440399169921,
|
| 223 |
+
0.012726271629333496,
|
| 224 |
+
0.012670975685119629,
|
| 225 |
+
0.012727295875549317,
|
| 226 |
+
0.012694527626037597,
|
| 227 |
+
0.012708864212036132,
|
| 228 |
+
0.012675071716308594,
|
| 229 |
+
0.012719103813171387,
|
| 230 |
+
0.012661760330200195,
|
| 231 |
+
0.012710911750793457,
|
| 232 |
+
0.012687359809875488,
|
| 233 |
+
0.012710911750793457,
|
| 234 |
+
0.01268019199371338,
|
| 235 |
+
0.012716032028198243,
|
| 236 |
+
0.012661760330200195,
|
| 237 |
+
0.012709888458251953,
|
| 238 |
+
0.01267199993133545,
|
| 239 |
+
0.01273036766052246,
|
| 240 |
+
0.01267302417755127,
|
| 241 |
+
0.012707839965820313,
|
| 242 |
+
0.012636159896850586,
|
| 243 |
+
0.012678144454956054,
|
| 244 |
+
0.012512255668640136,
|
| 245 |
+
0.01257369613647461,
|
| 246 |
+
0.012652544021606446,
|
| 247 |
+
0.01248256015777588,
|
| 248 |
+
0.012291071891784668,
|
| 249 |
+
0.012498944282531739,
|
| 250 |
+
0.0124334077835083,
|
| 251 |
+
0.012679167747497559,
|
| 252 |
+
0.012500991821289062,
|
| 253 |
+
0.012302335739135742,
|
| 254 |
+
0.012267519950866699,
|
| 255 |
+
0.012283904075622559,
|
| 256 |
+
0.012236800193786621,
|
| 257 |
+
0.012267519950866699,
|
| 258 |
+
0.012248064041137695,
|
| 259 |
+
0.01227673625946045,
|
| 260 |
+
0.012264448165893555,
|
| 261 |
+
0.012295167922973632,
|
| 262 |
+
0.012244992256164551,
|
| 263 |
+
0.012289024353027344,
|
| 264 |
+
0.012247039794921874,
|
| 265 |
+
0.012270591735839843,
|
| 266 |
+
0.012267519950866699,
|
| 267 |
+
0.012281855583190919,
|
| 268 |
+
0.012239871978759765,
|
| 269 |
+
0.012285951614379884,
|
| 270 |
+
0.012257280349731446,
|
| 271 |
+
0.012272640228271485,
|
| 272 |
+
0.012247039794921874,
|
| 273 |
+
0.012274687767028808,
|
| 274 |
+
0.01225113582611084,
|
| 275 |
+
0.01226137638092041,
|
| 276 |
+
0.012224512100219726,
|
| 277 |
+
0.012273664474487305,
|
| 278 |
+
0.012244992256164551,
|
| 279 |
+
0.012263423919677734,
|
| 280 |
+
0.012220416069030762,
|
| 281 |
+
0.012288000106811523,
|
| 282 |
+
0.01226035213470459,
|
| 283 |
+
0.012265472412109376,
|
| 284 |
+
0.012238847732543945,
|
| 285 |
+
0.012294143676757812,
|
| 286 |
+
0.012233728408813477,
|
| 287 |
+
0.012262399673461915,
|
| 288 |
+
0.012231679916381836,
|
| 289 |
+
0.012266495704650878,
|
| 290 |
+
0.012220416069030762,
|
| 291 |
+
0.01226035213470459,
|
| 292 |
+
0.012228608131408691,
|
| 293 |
+
0.012285951614379884,
|
| 294 |
+
0.012240896224975586,
|
| 295 |
+
0.012282879829406738,
|
| 296 |
+
0.012232704162597656,
|
| 297 |
+
0.012288000106811523,
|
| 298 |
+
0.012238847732543945,
|
| 299 |
+
0.01226137638092041,
|
| 300 |
+
0.0122357759475708,
|
| 301 |
+
0.012292096138000488,
|
| 302 |
+
0.012248064041137695,
|
| 303 |
+
0.012282879829406738,
|
| 304 |
+
0.012236800193786621,
|
| 305 |
+
0.012272640228271485,
|
| 306 |
+
0.026444799423217775,
|
| 307 |
+
0.0122357759475708,
|
| 308 |
+
0.012278783798217773,
|
| 309 |
+
0.012241920471191407,
|
| 310 |
+
0.012268608093261718,
|
| 311 |
+
0.012232640266418456,
|
| 312 |
+
0.012286975860595703,
|
| 313 |
+
0.012240896224975586,
|
| 314 |
+
0.012273664474487305,
|
| 315 |
+
0.01223475170135498,
|
| 316 |
+
0.012272640228271485,
|
| 317 |
+
0.01223475170135498,
|
| 318 |
+
0.012281855583190919,
|
| 319 |
+
0.012240896224975586,
|
| 320 |
+
0.012292096138000488,
|
| 321 |
+
0.012233728408813477,
|
| 322 |
+
0.012273664474487305,
|
| 323 |
+
0.012241920471191407,
|
| 324 |
+
0.012272640228271485,
|
| 325 |
+
0.01224294376373291,
|
| 326 |
+
0.012282879829406738,
|
| 327 |
+
0.01224294376373291,
|
| 328 |
+
0.012274687767028808,
|
| 329 |
+
0.012237824440002442,
|
| 330 |
+
0.01226956844329834,
|
| 331 |
+
0.012240896224975586,
|
| 332 |
+
0.012272640228271485,
|
| 333 |
+
0.012229632377624512,
|
| 334 |
+
0.012280832290649414,
|
| 335 |
+
0.012249088287353516,
|
| 336 |
+
0.012308480262756348,
|
| 337 |
+
0.01227673625946045,
|
| 338 |
+
0.012333056449890138,
|
| 339 |
+
0.01246003246307373,
|
| 340 |
+
0.01228492832183838,
|
| 341 |
+
0.01225011157989502,
|
| 342 |
+
0.012278783798217773,
|
| 343 |
+
0.012232704162597656,
|
| 344 |
+
0.012275712013244629,
|
| 345 |
+
0.012228608131408691,
|
| 346 |
+
0.012281855583190919,
|
| 347 |
+
0.012228608131408691,
|
| 348 |
+
0.012265472412109376,
|
| 349 |
+
0.012257280349731446,
|
| 350 |
+
0.012294143676757812,
|
| 351 |
+
0.012238847732543945,
|
| 352 |
+
0.01226035213470459,
|
| 353 |
+
0.012244992256164551,
|
| 354 |
+
0.012273664474487305,
|
| 355 |
+
0.012226559638977052,
|
| 356 |
+
0.01227673625946045,
|
| 357 |
+
0.012240896224975586,
|
| 358 |
+
0.012273664474487305,
|
| 359 |
+
0.012233728408813477,
|
| 360 |
+
0.01226956844329834,
|
| 361 |
+
0.012231679916381836,
|
| 362 |
+
0.012271615982055664,
|
| 363 |
+
0.012256256103515625,
|
| 364 |
+
0.012279808044433594,
|
| 365 |
+
0.01225216007232666,
|
| 366 |
+
0.012259327888488769,
|
| 367 |
+
0.01223475170135498,
|
| 368 |
+
0.012281855583190919,
|
| 369 |
+
0.012240896224975586,
|
| 370 |
+
0.012277759552001954,
|
| 371 |
+
0.01224505615234375,
|
| 372 |
+
0.012273599624633789,
|
| 373 |
+
0.012246015548706055,
|
| 374 |
+
0.012264448165893555,
|
| 375 |
+
0.012240896224975586,
|
| 376 |
+
0.012267519950866699,
|
| 377 |
+
0.012237824440002442,
|
| 378 |
+
0.012257280349731446,
|
| 379 |
+
0.012233728408813477,
|
| 380 |
+
0.012289024353027344,
|
| 381 |
+
0.012247039794921874,
|
| 382 |
+
0.012270591735839843,
|
| 383 |
+
0.012231679916381836,
|
| 384 |
+
0.012289024353027344,
|
| 385 |
+
0.012239871978759765,
|
| 386 |
+
0.012266495704650878,
|
| 387 |
+
0.012228608131408691,
|
| 388 |
+
0.012271615982055664,
|
| 389 |
+
0.012230655670166016,
|
| 390 |
+
0.012273664474487305,
|
| 391 |
+
0.01224396800994873,
|
| 392 |
+
0.012295167922973632,
|
| 393 |
+
0.012238847732543945,
|
| 394 |
+
0.01226137638092041,
|
| 395 |
+
0.012233728408813477,
|
| 396 |
+
0.012288000106811523,
|
| 397 |
+
0.01223475170135498,
|
| 398 |
+
0.012267519950866699,
|
| 399 |
+
0.012236800193786621,
|
| 400 |
+
0.012274687767028808,
|
| 401 |
+
0.012222463607788087,
|
| 402 |
+
0.01225830364227295,
|
| 403 |
+
0.01222758388519287,
|
| 404 |
+
0.012265472412109376,
|
| 405 |
+
0.01222758388519287,
|
| 406 |
+
0.012248064041137695,
|
| 407 |
+
0.01224396800994873,
|
| 408 |
+
0.01226956844329834,
|
| 409 |
+
0.0122357759475708,
|
| 410 |
+
0.012257280349731446,
|
| 411 |
+
0.0122357759475708,
|
| 412 |
+
0.01229312038421631,
|
| 413 |
+
0.012244992256164551,
|
| 414 |
+
0.012273664474487305,
|
| 415 |
+
0.012222463607788087,
|
| 416 |
+
0.012285951614379884,
|
| 417 |
+
0.012228608131408691,
|
| 418 |
+
0.012262399673461915,
|
| 419 |
+
0.012226559638977052,
|
| 420 |
+
0.012277759552001954,
|
| 421 |
+
0.012225536346435547,
|
| 422 |
+
0.012303359985351562,
|
| 423 |
+
0.012223487854003906,
|
| 424 |
+
0.012288000106811523,
|
| 425 |
+
0.012218367576599122,
|
| 426 |
+
0.012271615982055664,
|
| 427 |
+
0.012227616310119628,
|
| 428 |
+
0.01230947208404541,
|
| 429 |
+
0.012226559638977052,
|
| 430 |
+
0.012272640228271485,
|
| 431 |
+
0.01224396800994873,
|
| 432 |
+
0.012294143676757812
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 80.3991845029832
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.293824,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.43.0.dev0",
|
| 90 |
+
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 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-07-01/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1918.75072,
|
| 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.02888710403442383,
|
| 15 |
+
"mean": 0.014443552017211914,
|
| 16 |
+
"stdev": 0.000482815742492676,
|
| 17 |
+
"p50": 0.014443552017211914,
|
| 18 |
+
"p90": 0.014829804611206055,
|
| 19 |
+
"p95": 0.014878086185455323,
|
| 20 |
+
"p99": 0.014916711444854737,
|
| 21 |
+
"values": [
|
| 22 |
+
0.01492636775970459,
|
| 23 |
+
0.013960736274719238
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 484.6453276630517
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 2262.675456,
|
| 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.14601513671875,
|
| 46 |
+
"mean": 1.573007568359375,
|
| 47 |
+
"stdev": 0.01592126464843746,
|
| 48 |
+
"p50": 1.573007568359375,
|
| 49 |
+
"p90": 1.585744580078125,
|
| 50 |
+
"p95": 1.5873367065429687,
|
| 51 |
+
"p99": 1.5886104077148437,
|
| 52 |
+
"values": [
|
| 53 |
+
1.5889288330078124,
|
| 54 |
+
1.5570863037109375
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 80.73705591414239
|
| 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.1467980871200547,
|
| 70 |
+
"mean": 0.012437937103241328,
|
| 71 |
+
"stdev": 0.0009045044470887226,
|
| 72 |
+
"p50": 0.012273664474487305,
|
| 73 |
+
"p90": 0.012715007781982422,
|
| 74 |
+
"p95": 0.01273282585144043,
|
| 75 |
+
"p99": 0.012806661148071288,
|
| 76 |
+
"values": [
|
| 77 |
+
0.012945440292358399,
|
| 78 |
+
0.01284604835510254,
|
| 79 |
+
0.01274675178527832,
|
| 80 |
+
0.012719103813171387,
|
| 81 |
+
0.01266483211517334,
|
| 82 |
+
0.012767231941223145,
|
| 83 |
+
0.01267404842376709,
|
| 84 |
+
0.01275391960144043,
|
| 85 |
+
0.012723199844360352,
|
| 86 |
+
0.012715007781982422,
|
| 87 |
+
0.01268838405609131,
|
| 88 |
+
0.012724224090576173,
|
| 89 |
+
0.012684288024902344,
|
| 90 |
+
0.012734463691711426,
|
| 91 |
+
0.012693504333496093,
|
| 92 |
+
0.012752896308898925,
|
| 93 |
+
0.012691455841064453,
|
| 94 |
+
0.012732416152954102,
|
| 95 |
+
0.012747776031494141,
|
| 96 |
+
0.012715007781982422,
|
| 97 |
+
0.012677120208740235,
|
| 98 |
+
0.012715007781982422,
|
| 99 |
+
0.012685312271118163,
|
| 100 |
+
0.012770303726196289,
|
| 101 |
+
0.012679167747497559,
|
| 102 |
+
0.012721152305603027,
|
| 103 |
+
0.012700672149658204,
|
| 104 |
+
0.012704768180847169,
|
| 105 |
+
0.012704768180847169,
|
| 106 |
+
0.012751872062683106,
|
| 107 |
+
0.012706815719604492,
|
| 108 |
+
0.012721152305603027,
|
| 109 |
+
0.012697600364685058,
|
| 110 |
+
0.01269660758972168,
|
| 111 |
+
0.012671968460083009,
|
| 112 |
+
0.012618751525878906,
|
| 113 |
+
0.012645376205444337,
|
| 114 |
+
0.012698623657226562,
|
| 115 |
+
0.012640255928039551,
|
| 116 |
+
0.012700672149658204,
|
| 117 |
+
0.012618751525878906,
|
| 118 |
+
0.012744704246520995,
|
| 119 |
+
0.012733440399169921,
|
| 120 |
+
0.012726271629333496,
|
| 121 |
+
0.012670975685119629,
|
| 122 |
+
0.012727295875549317,
|
| 123 |
+
0.012694527626037597,
|
| 124 |
+
0.012708864212036132,
|
| 125 |
+
0.012675071716308594,
|
| 126 |
+
0.012719103813171387,
|
| 127 |
+
0.012661760330200195,
|
| 128 |
+
0.012710911750793457,
|
| 129 |
+
0.012687359809875488,
|
| 130 |
+
0.012710911750793457,
|
| 131 |
+
0.01268019199371338,
|
| 132 |
+
0.012716032028198243,
|
| 133 |
+
0.012661760330200195,
|
| 134 |
+
0.012709888458251953,
|
| 135 |
+
0.01267199993133545,
|
| 136 |
+
0.01273036766052246,
|
| 137 |
+
0.01267302417755127,
|
| 138 |
+
0.012707839965820313,
|
| 139 |
+
0.012636159896850586,
|
| 140 |
+
0.012678144454956054,
|
| 141 |
+
0.012512255668640136,
|
| 142 |
+
0.01257369613647461,
|
| 143 |
+
0.012652544021606446,
|
| 144 |
+
0.01248256015777588,
|
| 145 |
+
0.012291071891784668,
|
| 146 |
+
0.012498944282531739,
|
| 147 |
+
0.0124334077835083,
|
| 148 |
+
0.012679167747497559,
|
| 149 |
+
0.012500991821289062,
|
| 150 |
+
0.012302335739135742,
|
| 151 |
+
0.012267519950866699,
|
| 152 |
+
0.012283904075622559,
|
| 153 |
+
0.012236800193786621,
|
| 154 |
+
0.012267519950866699,
|
| 155 |
+
0.012248064041137695,
|
| 156 |
+
0.01227673625946045,
|
| 157 |
+
0.012264448165893555,
|
| 158 |
+
0.012295167922973632,
|
| 159 |
+
0.012244992256164551,
|
| 160 |
+
0.012289024353027344,
|
| 161 |
+
0.012247039794921874,
|
| 162 |
+
0.012270591735839843,
|
| 163 |
+
0.012267519950866699,
|
| 164 |
+
0.012281855583190919,
|
| 165 |
+
0.012239871978759765,
|
| 166 |
+
0.012285951614379884,
|
| 167 |
+
0.012257280349731446,
|
| 168 |
+
0.012272640228271485,
|
| 169 |
+
0.012247039794921874,
|
| 170 |
+
0.012274687767028808,
|
| 171 |
+
0.01225113582611084,
|
| 172 |
+
0.01226137638092041,
|
| 173 |
+
0.012224512100219726,
|
| 174 |
+
0.012273664474487305,
|
| 175 |
+
0.012244992256164551,
|
| 176 |
+
0.012263423919677734,
|
| 177 |
+
0.012220416069030762,
|
| 178 |
+
0.012288000106811523,
|
| 179 |
+
0.01226035213470459,
|
| 180 |
+
0.012265472412109376,
|
| 181 |
+
0.012238847732543945,
|
| 182 |
+
0.012294143676757812,
|
| 183 |
+
0.012233728408813477,
|
| 184 |
+
0.012262399673461915,
|
| 185 |
+
0.012231679916381836,
|
| 186 |
+
0.012266495704650878,
|
| 187 |
+
0.012220416069030762,
|
| 188 |
+
0.01226035213470459,
|
| 189 |
+
0.012228608131408691,
|
| 190 |
+
0.012285951614379884,
|
| 191 |
+
0.012240896224975586,
|
| 192 |
+
0.012282879829406738,
|
| 193 |
+
0.012232704162597656,
|
| 194 |
+
0.012288000106811523,
|
| 195 |
+
0.012238847732543945,
|
| 196 |
+
0.01226137638092041,
|
| 197 |
+
0.0122357759475708,
|
| 198 |
+
0.012292096138000488,
|
| 199 |
+
0.012248064041137695,
|
| 200 |
+
0.012282879829406738,
|
| 201 |
+
0.012236800193786621,
|
| 202 |
+
0.012272640228271485,
|
| 203 |
+
0.026444799423217775,
|
| 204 |
+
0.0122357759475708,
|
| 205 |
+
0.012278783798217773,
|
| 206 |
+
0.012241920471191407,
|
| 207 |
+
0.012268608093261718,
|
| 208 |
+
0.012232640266418456,
|
| 209 |
+
0.012286975860595703,
|
| 210 |
+
0.012240896224975586,
|
| 211 |
+
0.012273664474487305,
|
| 212 |
+
0.01223475170135498,
|
| 213 |
+
0.012272640228271485,
|
| 214 |
+
0.01223475170135498,
|
| 215 |
+
0.012281855583190919,
|
| 216 |
+
0.012240896224975586,
|
| 217 |
+
0.012292096138000488,
|
| 218 |
+
0.012233728408813477,
|
| 219 |
+
0.012273664474487305,
|
| 220 |
+
0.012241920471191407,
|
| 221 |
+
0.012272640228271485,
|
| 222 |
+
0.01224294376373291,
|
| 223 |
+
0.012282879829406738,
|
| 224 |
+
0.01224294376373291,
|
| 225 |
+
0.012274687767028808,
|
| 226 |
+
0.012237824440002442,
|
| 227 |
+
0.01226956844329834,
|
| 228 |
+
0.012240896224975586,
|
| 229 |
+
0.012272640228271485,
|
| 230 |
+
0.012229632377624512,
|
| 231 |
+
0.012280832290649414,
|
| 232 |
+
0.012249088287353516,
|
| 233 |
+
0.012308480262756348,
|
| 234 |
+
0.01227673625946045,
|
| 235 |
+
0.012333056449890138,
|
| 236 |
+
0.01246003246307373,
|
| 237 |
+
0.01228492832183838,
|
| 238 |
+
0.01225011157989502,
|
| 239 |
+
0.012278783798217773,
|
| 240 |
+
0.012232704162597656,
|
| 241 |
+
0.012275712013244629,
|
| 242 |
+
0.012228608131408691,
|
| 243 |
+
0.012281855583190919,
|
| 244 |
+
0.012228608131408691,
|
| 245 |
+
0.012265472412109376,
|
| 246 |
+
0.012257280349731446,
|
| 247 |
+
0.012294143676757812,
|
| 248 |
+
0.012238847732543945,
|
| 249 |
+
0.01226035213470459,
|
| 250 |
+
0.012244992256164551,
|
| 251 |
+
0.012273664474487305,
|
| 252 |
+
0.012226559638977052,
|
| 253 |
+
0.01227673625946045,
|
| 254 |
+
0.012240896224975586,
|
| 255 |
+
0.012273664474487305,
|
| 256 |
+
0.012233728408813477,
|
| 257 |
+
0.01226956844329834,
|
| 258 |
+
0.012231679916381836,
|
| 259 |
+
0.012271615982055664,
|
| 260 |
+
0.012256256103515625,
|
| 261 |
+
0.012279808044433594,
|
| 262 |
+
0.01225216007232666,
|
| 263 |
+
0.012259327888488769,
|
| 264 |
+
0.01223475170135498,
|
| 265 |
+
0.012281855583190919,
|
| 266 |
+
0.012240896224975586,
|
| 267 |
+
0.012277759552001954,
|
| 268 |
+
0.01224505615234375,
|
| 269 |
+
0.012273599624633789,
|
| 270 |
+
0.012246015548706055,
|
| 271 |
+
0.012264448165893555,
|
| 272 |
+
0.012240896224975586,
|
| 273 |
+
0.012267519950866699,
|
| 274 |
+
0.012237824440002442,
|
| 275 |
+
0.012257280349731446,
|
| 276 |
+
0.012233728408813477,
|
| 277 |
+
0.012289024353027344,
|
| 278 |
+
0.012247039794921874,
|
| 279 |
+
0.012270591735839843,
|
| 280 |
+
0.012231679916381836,
|
| 281 |
+
0.012289024353027344,
|
| 282 |
+
0.012239871978759765,
|
| 283 |
+
0.012266495704650878,
|
| 284 |
+
0.012228608131408691,
|
| 285 |
+
0.012271615982055664,
|
| 286 |
+
0.012230655670166016,
|
| 287 |
+
0.012273664474487305,
|
| 288 |
+
0.01224396800994873,
|
| 289 |
+
0.012295167922973632,
|
| 290 |
+
0.012238847732543945,
|
| 291 |
+
0.01226137638092041,
|
| 292 |
+
0.012233728408813477,
|
| 293 |
+
0.012288000106811523,
|
| 294 |
+
0.01223475170135498,
|
| 295 |
+
0.012267519950866699,
|
| 296 |
+
0.012236800193786621,
|
| 297 |
+
0.012274687767028808,
|
| 298 |
+
0.012222463607788087,
|
| 299 |
+
0.01225830364227295,
|
| 300 |
+
0.01222758388519287,
|
| 301 |
+
0.012265472412109376,
|
| 302 |
+
0.01222758388519287,
|
| 303 |
+
0.012248064041137695,
|
| 304 |
+
0.01224396800994873,
|
| 305 |
+
0.01226956844329834,
|
| 306 |
+
0.0122357759475708,
|
| 307 |
+
0.012257280349731446,
|
| 308 |
+
0.0122357759475708,
|
| 309 |
+
0.01229312038421631,
|
| 310 |
+
0.012244992256164551,
|
| 311 |
+
0.012273664474487305,
|
| 312 |
+
0.012222463607788087,
|
| 313 |
+
0.012285951614379884,
|
| 314 |
+
0.012228608131408691,
|
| 315 |
+
0.012262399673461915,
|
| 316 |
+
0.012226559638977052,
|
| 317 |
+
0.012277759552001954,
|
| 318 |
+
0.012225536346435547,
|
| 319 |
+
0.012303359985351562,
|
| 320 |
+
0.012223487854003906,
|
| 321 |
+
0.012288000106811523,
|
| 322 |
+
0.012218367576599122,
|
| 323 |
+
0.012271615982055664,
|
| 324 |
+
0.012227616310119628,
|
| 325 |
+
0.01230947208404541,
|
| 326 |
+
0.012226559638977052,
|
| 327 |
+
0.012272640228271485,
|
| 328 |
+
0.01224396800994873,
|
| 329 |
+
0.012294143676757812
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 80.3991845029832
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014443552017211914,
|
| 7 |
+
"prefill.throughput.value": 484.6453276630517,
|
| 8 |
+
"decode.latency.mean": 1.573007568359375,
|
| 9 |
+
"decode.throughput.value": 80.73705591414239,
|
| 10 |
+
"per_token.latency.mean": 0.012437937103241328,
|
| 11 |
+
"per_token.throughput.value": 80.3991845029832
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-07-01/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmop7id3r/commit=e65502951593a76844e872fee9c56b805598538a
|
| 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/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmop7id3r/commit\=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null,static
|
| 93 |
+
- backend.torch_compile=false,true
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
| 98 |
+
id: ???
|
| 99 |
+
num: ???
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: ???
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
| 142 |
+
name: pytorch_generate
|
| 143 |
+
backend:
|
| 144 |
+
name: pytorch
|
| 145 |
+
version: 2.3.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model: google/gemma-2b
|
| 150 |
+
processor: null
|
| 151 |
+
device: cuda
|
| 152 |
+
device_ids: '0'
|
| 153 |
+
seed: 42
|
| 154 |
+
inter_op_num_threads: null
|
| 155 |
+
intra_op_num_threads: null
|
| 156 |
+
model_kwargs: {}
|
| 157 |
+
processor_kwargs: {}
|
| 158 |
+
hub_kwargs: {}
|
| 159 |
+
no_weights: true
|
| 160 |
+
device_map: null
|
| 161 |
+
torch_dtype: float16
|
| 162 |
+
eval_mode: true
|
| 163 |
+
to_bettertransformer: false
|
| 164 |
+
low_cpu_mem_usage: null
|
| 165 |
+
attn_implementation: null
|
| 166 |
+
cache_implementation: static
|
| 167 |
+
autocast_enabled: false
|
| 168 |
+
autocast_dtype: null
|
| 169 |
+
torch_compile: true
|
| 170 |
+
torch_compile_target: forward
|
| 171 |
+
torch_compile_config:
|
| 172 |
+
backend: inductor
|
| 173 |
+
mode: reduce-overhead
|
| 174 |
+
fullgraph: true
|
| 175 |
+
quantization_scheme: null
|
| 176 |
+
quantization_config: {}
|
| 177 |
+
deepspeed_inference: false
|
| 178 |
+
deepspeed_inference_config: {}
|
| 179 |
+
peft_type: null
|
| 180 |
+
peft_config: {}
|
| 181 |
+
scenario:
|
| 182 |
+
name: inference
|
| 183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 184 |
+
iterations: 2
|
| 185 |
+
duration: 0
|
| 186 |
+
warmup_runs: 10
|
| 187 |
+
input_shapes:
|
| 188 |
+
batch_size: 1
|
| 189 |
+
sequence_length: 7
|
| 190 |
+
new_tokens: null
|
| 191 |
+
latency: true
|
| 192 |
+
memory: true
|
| 193 |
+
energy: false
|
| 194 |
+
forward_kwargs: {}
|
| 195 |
+
generate_kwargs:
|
| 196 |
+
max_new_tokens: 128
|
| 197 |
+
min_new_tokens: 128
|
| 198 |
+
do_sample: false
|
| 199 |
+
call_kwargs: {}
|
| 200 |
+
launcher:
|
| 201 |
+
name: process
|
| 202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 203 |
+
device_isolation: true
|
| 204 |
+
device_isolation_action: warn
|
| 205 |
+
start_method: spawn
|
| 206 |
+
environment:
|
| 207 |
+
cpu: ' AMD EPYC 7R32'
|
| 208 |
+
cpu_count: 16
|
| 209 |
+
cpu_ram_mb: 66697.293824
|
| 210 |
+
system: Linux
|
| 211 |
+
machine: x86_64
|
| 212 |
+
platform: Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.29
|
| 213 |
+
processor: x86_64
|
| 214 |
+
python_version: 3.8.10
|
| 215 |
+
gpu:
|
| 216 |
+
- NVIDIA A10G
|
| 217 |
+
gpu_count: 1
|
| 218 |
+
gpu_vram_mb: 24146608128
|
| 219 |
+
optimum_benchmark_version: 0.2.1
|
| 220 |
+
optimum_benchmark_commit: null
|
| 221 |
+
transformers_version: 4.43.0.dev0
|
| 222 |
+
transformers_commit: e65502951593a76844e872fee9c56b805598538a
|
| 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-07-01/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.02063888072967529,
|
| 8 |
+
"prefill.throughput.value": 339.1656791705356,
|
| 9 |
+
"decode.latency.mean": 2.5170850830078124,
|
| 10 |
+
"decode.throughput.value": 50.4551875728572,
|
| 11 |
+
"per_token.latency.mean": 0.019902868775982158,
|
| 12 |
+
"per_token.throughput.value": 50.24401312471862
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021916111946105956,
|
| 21 |
+
"prefill.throughput.value": 319.39971912964046,
|
| 22 |
+
"decode.latency.mean": 2.56069580078125,
|
| 23 |
+
"decode.throughput.value": 49.59589497559733,
|
| 24 |
+
"per_token.latency.mean": 0.020242197293066696,
|
| 25 |
+
"per_token.throughput.value": 49.4017514759881
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "e65502951593a76844e872fee9c56b805598538a",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014443552017211914,
|
| 34 |
+
"prefill.throughput.value": 484.6453276630517,
|
| 35 |
+
"decode.latency.mean": 1.573007568359375,
|
| 36 |
+
"decode.throughput.value": 80.73705591414239,
|
| 37 |
+
"per_token.latency.mean": 0.012437937103241328,
|
| 38 |
+
"per_token.throughput.value": 80.3991845029832
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-07-01/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02063888072967529,
|
| 7 |
+
"prefill.throughput.value": 339.1656791705356,
|
| 8 |
+
"decode.latency.mean": 2.5170850830078124,
|
| 9 |
+
"decode.throughput.value": 50.4551875728572,
|
| 10 |
+
"per_token.latency.mean": 0.019902868775982158,
|
| 11 |
+
"per_token.throughput.value": 50.24401312471862
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021916111946105956,
|
| 19 |
+
"prefill.throughput.value": 319.39971912964046,
|
| 20 |
+
"decode.latency.mean": 2.56069580078125,
|
| 21 |
+
"decode.throughput.value": 49.59589497559733,
|
| 22 |
+
"per_token.latency.mean": 0.020242197293066696,
|
| 23 |
+
"per_token.throughput.value": 49.4017514759881
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"e65502951593a76844e872fee9c56b805598538a": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014443552017211914,
|
| 31 |
+
"prefill.throughput.value": 484.6453276630517,
|
| 32 |
+
"decode.latency.mean": 1.573007568359375,
|
| 33 |
+
"decode.throughput.value": 80.73705591414239,
|
| 34 |
+
"per_token.latency.mean": 0.012437937103241328,
|
| 35 |
+
"per_token.throughput.value": 80.3991845029832
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|