Upload folder using huggingface_hub
Browse files- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/multirun.yaml +234 -0
- 2024-08-30/summaries.json +41 -0
- 2024-08-30/summary.json +40 -0
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 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 |
+
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 |
+
memory: true
|
| 51 |
+
latency: 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 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 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/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_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 |
+
"memory": true,
|
| 57 |
+
"latency": 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 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1320.300544,
|
| 111 |
+
"max_global_vram": 6768.033792,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 11.497087890625,
|
| 120 |
+
"mean": 11.497087890625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.497087890625,
|
| 123 |
+
"p90": 11.497087890625,
|
| 124 |
+
"p95": 11.497087890625,
|
| 125 |
+
"p99": 11.497087890625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.497087890625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1715.539968,
|
| 138 |
+
"max_global_vram": 6789.005312,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6142.558208,
|
| 141 |
+
"max_allocated": 5028.431872
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.04098150444030761,
|
| 147 |
+
"mean": 0.020490752220153806,
|
| 148 |
+
"stdev": 8.854389190673764e-05,
|
| 149 |
+
"p50": 0.020490752220153806,
|
| 150 |
+
"p90": 0.020561587333679198,
|
| 151 |
+
"p95": 0.02057044172286987,
|
| 152 |
+
"p99": 0.02057752523422241,
|
| 153 |
+
"values": [
|
| 154 |
+
0.02040220832824707,
|
| 155 |
+
0.020579296112060545
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 341.61752212859744
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1770.237952,
|
| 169 |
+
"max_global_vram": 6793.199616,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 6146.752512,
|
| 172 |
+
"max_allocated": 5031.801344
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 4.871098388671875,
|
| 178 |
+
"mean": 2.4355491943359375,
|
| 179 |
+
"stdev": 0.006415649414062585,
|
| 180 |
+
"p50": 2.4355491943359375,
|
| 181 |
+
"p90": 2.4406817138671877,
|
| 182 |
+
"p95": 2.4413232788085937,
|
| 183 |
+
"p99": 2.441836530761719,
|
| 184 |
+
"values": [
|
| 185 |
+
2.44196484375,
|
| 186 |
+
2.429133544921875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 52.14429677517849
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 4.870785030364991,
|
| 202 |
+
"mean": 0.019176319017185,
|
| 203 |
+
"stdev": 0.00022060108736730207,
|
| 204 |
+
"p50": 0.019130879402160645,
|
| 205 |
+
"p90": 0.019368038749694824,
|
| 206 |
+
"p95": 0.019800064086914062,
|
| 207 |
+
"p99": 0.01993941976547241,
|
| 208 |
+
"values": [
|
| 209 |
+
0.018930688858032226,
|
| 210 |
+
0.018938880920410156,
|
| 211 |
+
0.01900851249694824,
|
| 212 |
+
0.019117055892944337,
|
| 213 |
+
0.01898396873474121,
|
| 214 |
+
0.019166175842285155,
|
| 215 |
+
0.018980863571166993,
|
| 216 |
+
0.019140607833862306,
|
| 217 |
+
0.01900339126586914,
|
| 218 |
+
0.019103744506835937,
|
| 219 |
+
0.0190699520111084,
|
| 220 |
+
0.019086336135864256,
|
| 221 |
+
0.01904640007019043,
|
| 222 |
+
0.019019775390625,
|
| 223 |
+
0.019084287643432618,
|
| 224 |
+
0.01903923225402832,
|
| 225 |
+
0.01920102310180664,
|
| 226 |
+
0.01903411293029785,
|
| 227 |
+
0.01903308868408203,
|
| 228 |
+
0.019161088943481445,
|
| 229 |
+
0.019050495147705078,
|
| 230 |
+
0.019075071334838867,
|
| 231 |
+
0.01902592086791992,
|
| 232 |
+
0.01900851249694824,
|
| 233 |
+
0.019170303344726563,
|
| 234 |
+
0.01925632095336914,
|
| 235 |
+
0.019019775390625,
|
| 236 |
+
0.018988031387329102,
|
| 237 |
+
0.01899519920349121,
|
| 238 |
+
0.018964479446411133,
|
| 239 |
+
0.019123199462890626,
|
| 240 |
+
0.019001344680786132,
|
| 241 |
+
0.01900339126586914,
|
| 242 |
+
0.019170303344726563,
|
| 243 |
+
0.01900032043457031,
|
| 244 |
+
0.019070976257324217,
|
| 245 |
+
0.01905766487121582,
|
| 246 |
+
0.01898700714111328,
|
| 247 |
+
0.01938739204406738,
|
| 248 |
+
0.01925119972229004,
|
| 249 |
+
0.019030080795288087,
|
| 250 |
+
0.019001312255859375,
|
| 251 |
+
0.019040224075317382,
|
| 252 |
+
0.019002368927001953,
|
| 253 |
+
0.019314687728881837,
|
| 254 |
+
0.019005439758300782,
|
| 255 |
+
0.018998271942138673,
|
| 256 |
+
0.01901260757446289,
|
| 257 |
+
0.018997247695922852,
|
| 258 |
+
0.01924505615234375,
|
| 259 |
+
0.01919692802429199,
|
| 260 |
+
0.019164159774780275,
|
| 261 |
+
0.018981887817382814,
|
| 262 |
+
0.019009536743164062,
|
| 263 |
+
0.018975744247436522,
|
| 264 |
+
0.018980863571166993,
|
| 265 |
+
0.019150848388671874,
|
| 266 |
+
0.019094528198242186,
|
| 267 |
+
0.019228736877441407,
|
| 268 |
+
0.019156959533691405,
|
| 269 |
+
0.01912419128417969,
|
| 270 |
+
0.01914575958251953,
|
| 271 |
+
0.019194847106933595,
|
| 272 |
+
0.019290111541748048,
|
| 273 |
+
0.01925017547607422,
|
| 274 |
+
0.019138559341430664,
|
| 275 |
+
0.019134464263916014,
|
| 276 |
+
0.019176448822021484,
|
| 277 |
+
0.01918156814575195,
|
| 278 |
+
0.01942630386352539,
|
| 279 |
+
0.019176448822021484,
|
| 280 |
+
0.019111936569213867,
|
| 281 |
+
0.019149824142456053,
|
| 282 |
+
0.019164159774780275,
|
| 283 |
+
0.01927987289428711,
|
| 284 |
+
0.01928294372558594,
|
| 285 |
+
0.019122175216674805,
|
| 286 |
+
0.019090431213378906,
|
| 287 |
+
0.019050495147705078,
|
| 288 |
+
0.0190699520111084,
|
| 289 |
+
0.01906790351867676,
|
| 290 |
+
0.01920512008666992,
|
| 291 |
+
0.019147775650024415,
|
| 292 |
+
0.019118080139160155,
|
| 293 |
+
0.019091455459594727,
|
| 294 |
+
0.019086336135864256,
|
| 295 |
+
0.0191016960144043,
|
| 296 |
+
0.019375104904174805,
|
| 297 |
+
0.01909350395202637,
|
| 298 |
+
0.0190515193939209,
|
| 299 |
+
0.019111936569213867,
|
| 300 |
+
0.019095552444458007,
|
| 301 |
+
0.019111936569213867,
|
| 302 |
+
0.019297279357910157,
|
| 303 |
+
0.019204095840454103,
|
| 304 |
+
0.01923891258239746,
|
| 305 |
+
0.019142656326293944,
|
| 306 |
+
0.019105791091918945,
|
| 307 |
+
0.019146751403808594,
|
| 308 |
+
0.01944780731201172,
|
| 309 |
+
0.019192832946777344,
|
| 310 |
+
0.01962188720703125,
|
| 311 |
+
0.019198976516723632,
|
| 312 |
+
0.019160064697265625,
|
| 313 |
+
0.018962432861328125,
|
| 314 |
+
0.018959360122680666,
|
| 315 |
+
0.0191016960144043,
|
| 316 |
+
0.019701759338378907,
|
| 317 |
+
0.01984102439880371,
|
| 318 |
+
0.019800064086914062,
|
| 319 |
+
0.019750911712646483,
|
| 320 |
+
0.01982464027404785,
|
| 321 |
+
0.019916799545288084,
|
| 322 |
+
0.019751935958862304,
|
| 323 |
+
0.019755008697509766,
|
| 324 |
+
0.01983078384399414,
|
| 325 |
+
0.019800064086914062,
|
| 326 |
+
0.01980723190307617,
|
| 327 |
+
0.019760128021240234,
|
| 328 |
+
0.01980620765686035,
|
| 329 |
+
0.01997209548950195,
|
| 330 |
+
0.019975168228149414,
|
| 331 |
+
0.019800064086914062,
|
| 332 |
+
0.019801088333129883,
|
| 333 |
+
0.01981439971923828,
|
| 334 |
+
0.019788799285888673,
|
| 335 |
+
0.019964927673339843,
|
| 336 |
+
0.019014656066894533,
|
| 337 |
+
0.018935808181762694,
|
| 338 |
+
0.019002368927001953,
|
| 339 |
+
0.01902899169921875,
|
| 340 |
+
0.01929523277282715,
|
| 341 |
+
0.018998271942138673,
|
| 342 |
+
0.01897881507873535,
|
| 343 |
+
0.019001344680786132,
|
| 344 |
+
0.018994176864624023,
|
| 345 |
+
0.018966527938842775,
|
| 346 |
+
0.019153919219970703,
|
| 347 |
+
0.018983936309814452,
|
| 348 |
+
0.019017728805541992,
|
| 349 |
+
0.01921843147277832,
|
| 350 |
+
0.01905254364013672,
|
| 351 |
+
0.018998336791992188,
|
| 352 |
+
0.018997184753417967,
|
| 353 |
+
0.01901260757446289,
|
| 354 |
+
0.0190248966217041,
|
| 355 |
+
0.019175424575805664,
|
| 356 |
+
0.019006464004516603,
|
| 357 |
+
0.01903308868408203,
|
| 358 |
+
0.0190248966217041,
|
| 359 |
+
0.01902592086791992,
|
| 360 |
+
0.018994176864624023,
|
| 361 |
+
0.019307519912719725,
|
| 362 |
+
0.019066879272460938,
|
| 363 |
+
0.019188735961914064,
|
| 364 |
+
0.018944000244140623,
|
| 365 |
+
0.01902284812927246,
|
| 366 |
+
0.019018848419189452,
|
| 367 |
+
0.01901148796081543,
|
| 368 |
+
0.01906892776489258,
|
| 369 |
+
0.019134464263916014,
|
| 370 |
+
0.01902899169921875,
|
| 371 |
+
0.019741695404052736,
|
| 372 |
+
0.01904742431640625,
|
| 373 |
+
0.019014656066894533,
|
| 374 |
+
0.019132415771484376,
|
| 375 |
+
0.019198976516723632,
|
| 376 |
+
0.019136512756347656,
|
| 377 |
+
0.019075071334838867,
|
| 378 |
+
0.019153919219970703,
|
| 379 |
+
0.01906892776489258,
|
| 380 |
+
0.019152896881103516,
|
| 381 |
+
0.01900748825073242,
|
| 382 |
+
0.019057695388793944,
|
| 383 |
+
0.01913033676147461,
|
| 384 |
+
0.018991104125976564,
|
| 385 |
+
0.018988031387329102,
|
| 386 |
+
0.018990079879760743,
|
| 387 |
+
0.018974720001220705,
|
| 388 |
+
0.018986015319824218,
|
| 389 |
+
0.01917027282714844,
|
| 390 |
+
0.019013631820678712,
|
| 391 |
+
0.018990079879760743,
|
| 392 |
+
0.01900851249694824,
|
| 393 |
+
0.019154943466186524,
|
| 394 |
+
0.019194879531860352,
|
| 395 |
+
0.019309568405151366,
|
| 396 |
+
0.019132415771484376,
|
| 397 |
+
0.019082239151000976,
|
| 398 |
+
0.019160064697265625,
|
| 399 |
+
0.019154943466186524,
|
| 400 |
+
0.019351551055908203,
|
| 401 |
+
0.01928704071044922,
|
| 402 |
+
0.019178495407104493,
|
| 403 |
+
0.019180543899536134,
|
| 404 |
+
0.019186687469482423,
|
| 405 |
+
0.019131391525268555,
|
| 406 |
+
0.019212287902832033,
|
| 407 |
+
0.01907711982727051,
|
| 408 |
+
0.01906073570251465,
|
| 409 |
+
0.01927168083190918,
|
| 410 |
+
0.01902694320678711,
|
| 411 |
+
0.019130367279052735,
|
| 412 |
+
0.019072000503540038,
|
| 413 |
+
0.019072000503540038,
|
| 414 |
+
0.01904537582397461,
|
| 415 |
+
0.01924608039855957,
|
| 416 |
+
0.01927987289428711,
|
| 417 |
+
0.019072000503540038,
|
| 418 |
+
0.019132415771484376,
|
| 419 |
+
0.019107839584350587,
|
| 420 |
+
0.019099647521972657,
|
| 421 |
+
0.01927884864807129,
|
| 422 |
+
0.019099647521972657,
|
| 423 |
+
0.019119104385375976,
|
| 424 |
+
0.019104768753051758,
|
| 425 |
+
0.019147775650024415,
|
| 426 |
+
0.019136512756347656,
|
| 427 |
+
0.019132415771484376,
|
| 428 |
+
0.019294208526611328,
|
| 429 |
+
0.019145727157592773,
|
| 430 |
+
0.019107839584350587,
|
| 431 |
+
0.019127296447753905,
|
| 432 |
+
0.01907711982727051,
|
| 433 |
+
0.019333152770996093,
|
| 434 |
+
0.01930953598022461,
|
| 435 |
+
0.019151872634887695,
|
| 436 |
+
0.01922047996520996,
|
| 437 |
+
0.01923583984375,
|
| 438 |
+
0.019166208267211913,
|
| 439 |
+
0.019325952529907226,
|
| 440 |
+
0.01927168083190918,
|
| 441 |
+
0.019143680572509765,
|
| 442 |
+
0.019158016204833983,
|
| 443 |
+
0.019127296447753905,
|
| 444 |
+
0.019131391525268555,
|
| 445 |
+
0.01923072052001953,
|
| 446 |
+
0.019325952529907226,
|
| 447 |
+
0.019140607833862306,
|
| 448 |
+
0.019134464263916014,
|
| 449 |
+
0.019146751403808594,
|
| 450 |
+
0.019143680572509765,
|
| 451 |
+
0.01926246452331543,
|
| 452 |
+
0.019134464263916014,
|
| 453 |
+
0.01929113578796387,
|
| 454 |
+
0.019130367279052735,
|
| 455 |
+
0.019113983154296875,
|
| 456 |
+
0.019137535095214844,
|
| 457 |
+
0.019173376083374022,
|
| 458 |
+
0.019294208526611328,
|
| 459 |
+
0.01931372833251953,
|
| 460 |
+
0.01914771270751953,
|
| 461 |
+
0.019177471160888672,
|
| 462 |
+
0.019164159774780275
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 52.14765143945731
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 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 |
+
"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 |
+
"memory": true,
|
| 56 |
+
"latency": 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 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1320.300544,
|
| 6 |
+
"max_global_vram": 6768.033792,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 11.497087890625,
|
| 15 |
+
"mean": 11.497087890625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.497087890625,
|
| 18 |
+
"p90": 11.497087890625,
|
| 19 |
+
"p95": 11.497087890625,
|
| 20 |
+
"p99": 11.497087890625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.497087890625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1715.539968,
|
| 33 |
+
"max_global_vram": 6789.005312,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6142.558208,
|
| 36 |
+
"max_allocated": 5028.431872
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.04098150444030761,
|
| 42 |
+
"mean": 0.020490752220153806,
|
| 43 |
+
"stdev": 8.854389190673764e-05,
|
| 44 |
+
"p50": 0.020490752220153806,
|
| 45 |
+
"p90": 0.020561587333679198,
|
| 46 |
+
"p95": 0.02057044172286987,
|
| 47 |
+
"p99": 0.02057752523422241,
|
| 48 |
+
"values": [
|
| 49 |
+
0.02040220832824707,
|
| 50 |
+
0.020579296112060545
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 341.61752212859744
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1770.237952,
|
| 64 |
+
"max_global_vram": 6793.199616,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 6146.752512,
|
| 67 |
+
"max_allocated": 5031.801344
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 4.871098388671875,
|
| 73 |
+
"mean": 2.4355491943359375,
|
| 74 |
+
"stdev": 0.006415649414062585,
|
| 75 |
+
"p50": 2.4355491943359375,
|
| 76 |
+
"p90": 2.4406817138671877,
|
| 77 |
+
"p95": 2.4413232788085937,
|
| 78 |
+
"p99": 2.441836530761719,
|
| 79 |
+
"values": [
|
| 80 |
+
2.44196484375,
|
| 81 |
+
2.429133544921875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 52.14429677517849
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 4.870785030364991,
|
| 97 |
+
"mean": 0.019176319017185,
|
| 98 |
+
"stdev": 0.00022060108736730207,
|
| 99 |
+
"p50": 0.019130879402160645,
|
| 100 |
+
"p90": 0.019368038749694824,
|
| 101 |
+
"p95": 0.019800064086914062,
|
| 102 |
+
"p99": 0.01993941976547241,
|
| 103 |
+
"values": [
|
| 104 |
+
0.018930688858032226,
|
| 105 |
+
0.018938880920410156,
|
| 106 |
+
0.01900851249694824,
|
| 107 |
+
0.019117055892944337,
|
| 108 |
+
0.01898396873474121,
|
| 109 |
+
0.019166175842285155,
|
| 110 |
+
0.018980863571166993,
|
| 111 |
+
0.019140607833862306,
|
| 112 |
+
0.01900339126586914,
|
| 113 |
+
0.019103744506835937,
|
| 114 |
+
0.0190699520111084,
|
| 115 |
+
0.019086336135864256,
|
| 116 |
+
0.01904640007019043,
|
| 117 |
+
0.019019775390625,
|
| 118 |
+
0.019084287643432618,
|
| 119 |
+
0.01903923225402832,
|
| 120 |
+
0.01920102310180664,
|
| 121 |
+
0.01903411293029785,
|
| 122 |
+
0.01903308868408203,
|
| 123 |
+
0.019161088943481445,
|
| 124 |
+
0.019050495147705078,
|
| 125 |
+
0.019075071334838867,
|
| 126 |
+
0.01902592086791992,
|
| 127 |
+
0.01900851249694824,
|
| 128 |
+
0.019170303344726563,
|
| 129 |
+
0.01925632095336914,
|
| 130 |
+
0.019019775390625,
|
| 131 |
+
0.018988031387329102,
|
| 132 |
+
0.01899519920349121,
|
| 133 |
+
0.018964479446411133,
|
| 134 |
+
0.019123199462890626,
|
| 135 |
+
0.019001344680786132,
|
| 136 |
+
0.01900339126586914,
|
| 137 |
+
0.019170303344726563,
|
| 138 |
+
0.01900032043457031,
|
| 139 |
+
0.019070976257324217,
|
| 140 |
+
0.01905766487121582,
|
| 141 |
+
0.01898700714111328,
|
| 142 |
+
0.01938739204406738,
|
| 143 |
+
0.01925119972229004,
|
| 144 |
+
0.019030080795288087,
|
| 145 |
+
0.019001312255859375,
|
| 146 |
+
0.019040224075317382,
|
| 147 |
+
0.019002368927001953,
|
| 148 |
+
0.019314687728881837,
|
| 149 |
+
0.019005439758300782,
|
| 150 |
+
0.018998271942138673,
|
| 151 |
+
0.01901260757446289,
|
| 152 |
+
0.018997247695922852,
|
| 153 |
+
0.01924505615234375,
|
| 154 |
+
0.01919692802429199,
|
| 155 |
+
0.019164159774780275,
|
| 156 |
+
0.018981887817382814,
|
| 157 |
+
0.019009536743164062,
|
| 158 |
+
0.018975744247436522,
|
| 159 |
+
0.018980863571166993,
|
| 160 |
+
0.019150848388671874,
|
| 161 |
+
0.019094528198242186,
|
| 162 |
+
0.019228736877441407,
|
| 163 |
+
0.019156959533691405,
|
| 164 |
+
0.01912419128417969,
|
| 165 |
+
0.01914575958251953,
|
| 166 |
+
0.019194847106933595,
|
| 167 |
+
0.019290111541748048,
|
| 168 |
+
0.01925017547607422,
|
| 169 |
+
0.019138559341430664,
|
| 170 |
+
0.019134464263916014,
|
| 171 |
+
0.019176448822021484,
|
| 172 |
+
0.01918156814575195,
|
| 173 |
+
0.01942630386352539,
|
| 174 |
+
0.019176448822021484,
|
| 175 |
+
0.019111936569213867,
|
| 176 |
+
0.019149824142456053,
|
| 177 |
+
0.019164159774780275,
|
| 178 |
+
0.01927987289428711,
|
| 179 |
+
0.01928294372558594,
|
| 180 |
+
0.019122175216674805,
|
| 181 |
+
0.019090431213378906,
|
| 182 |
+
0.019050495147705078,
|
| 183 |
+
0.0190699520111084,
|
| 184 |
+
0.01906790351867676,
|
| 185 |
+
0.01920512008666992,
|
| 186 |
+
0.019147775650024415,
|
| 187 |
+
0.019118080139160155,
|
| 188 |
+
0.019091455459594727,
|
| 189 |
+
0.019086336135864256,
|
| 190 |
+
0.0191016960144043,
|
| 191 |
+
0.019375104904174805,
|
| 192 |
+
0.01909350395202637,
|
| 193 |
+
0.0190515193939209,
|
| 194 |
+
0.019111936569213867,
|
| 195 |
+
0.019095552444458007,
|
| 196 |
+
0.019111936569213867,
|
| 197 |
+
0.019297279357910157,
|
| 198 |
+
0.019204095840454103,
|
| 199 |
+
0.01923891258239746,
|
| 200 |
+
0.019142656326293944,
|
| 201 |
+
0.019105791091918945,
|
| 202 |
+
0.019146751403808594,
|
| 203 |
+
0.01944780731201172,
|
| 204 |
+
0.019192832946777344,
|
| 205 |
+
0.01962188720703125,
|
| 206 |
+
0.019198976516723632,
|
| 207 |
+
0.019160064697265625,
|
| 208 |
+
0.018962432861328125,
|
| 209 |
+
0.018959360122680666,
|
| 210 |
+
0.0191016960144043,
|
| 211 |
+
0.019701759338378907,
|
| 212 |
+
0.01984102439880371,
|
| 213 |
+
0.019800064086914062,
|
| 214 |
+
0.019750911712646483,
|
| 215 |
+
0.01982464027404785,
|
| 216 |
+
0.019916799545288084,
|
| 217 |
+
0.019751935958862304,
|
| 218 |
+
0.019755008697509766,
|
| 219 |
+
0.01983078384399414,
|
| 220 |
+
0.019800064086914062,
|
| 221 |
+
0.01980723190307617,
|
| 222 |
+
0.019760128021240234,
|
| 223 |
+
0.01980620765686035,
|
| 224 |
+
0.01997209548950195,
|
| 225 |
+
0.019975168228149414,
|
| 226 |
+
0.019800064086914062,
|
| 227 |
+
0.019801088333129883,
|
| 228 |
+
0.01981439971923828,
|
| 229 |
+
0.019788799285888673,
|
| 230 |
+
0.019964927673339843,
|
| 231 |
+
0.019014656066894533,
|
| 232 |
+
0.018935808181762694,
|
| 233 |
+
0.019002368927001953,
|
| 234 |
+
0.01902899169921875,
|
| 235 |
+
0.01929523277282715,
|
| 236 |
+
0.018998271942138673,
|
| 237 |
+
0.01897881507873535,
|
| 238 |
+
0.019001344680786132,
|
| 239 |
+
0.018994176864624023,
|
| 240 |
+
0.018966527938842775,
|
| 241 |
+
0.019153919219970703,
|
| 242 |
+
0.018983936309814452,
|
| 243 |
+
0.019017728805541992,
|
| 244 |
+
0.01921843147277832,
|
| 245 |
+
0.01905254364013672,
|
| 246 |
+
0.018998336791992188,
|
| 247 |
+
0.018997184753417967,
|
| 248 |
+
0.01901260757446289,
|
| 249 |
+
0.0190248966217041,
|
| 250 |
+
0.019175424575805664,
|
| 251 |
+
0.019006464004516603,
|
| 252 |
+
0.01903308868408203,
|
| 253 |
+
0.0190248966217041,
|
| 254 |
+
0.01902592086791992,
|
| 255 |
+
0.018994176864624023,
|
| 256 |
+
0.019307519912719725,
|
| 257 |
+
0.019066879272460938,
|
| 258 |
+
0.019188735961914064,
|
| 259 |
+
0.018944000244140623,
|
| 260 |
+
0.01902284812927246,
|
| 261 |
+
0.019018848419189452,
|
| 262 |
+
0.01901148796081543,
|
| 263 |
+
0.01906892776489258,
|
| 264 |
+
0.019134464263916014,
|
| 265 |
+
0.01902899169921875,
|
| 266 |
+
0.019741695404052736,
|
| 267 |
+
0.01904742431640625,
|
| 268 |
+
0.019014656066894533,
|
| 269 |
+
0.019132415771484376,
|
| 270 |
+
0.019198976516723632,
|
| 271 |
+
0.019136512756347656,
|
| 272 |
+
0.019075071334838867,
|
| 273 |
+
0.019153919219970703,
|
| 274 |
+
0.01906892776489258,
|
| 275 |
+
0.019152896881103516,
|
| 276 |
+
0.01900748825073242,
|
| 277 |
+
0.019057695388793944,
|
| 278 |
+
0.01913033676147461,
|
| 279 |
+
0.018991104125976564,
|
| 280 |
+
0.018988031387329102,
|
| 281 |
+
0.018990079879760743,
|
| 282 |
+
0.018974720001220705,
|
| 283 |
+
0.018986015319824218,
|
| 284 |
+
0.01917027282714844,
|
| 285 |
+
0.019013631820678712,
|
| 286 |
+
0.018990079879760743,
|
| 287 |
+
0.01900851249694824,
|
| 288 |
+
0.019154943466186524,
|
| 289 |
+
0.019194879531860352,
|
| 290 |
+
0.019309568405151366,
|
| 291 |
+
0.019132415771484376,
|
| 292 |
+
0.019082239151000976,
|
| 293 |
+
0.019160064697265625,
|
| 294 |
+
0.019154943466186524,
|
| 295 |
+
0.019351551055908203,
|
| 296 |
+
0.01928704071044922,
|
| 297 |
+
0.019178495407104493,
|
| 298 |
+
0.019180543899536134,
|
| 299 |
+
0.019186687469482423,
|
| 300 |
+
0.019131391525268555,
|
| 301 |
+
0.019212287902832033,
|
| 302 |
+
0.01907711982727051,
|
| 303 |
+
0.01906073570251465,
|
| 304 |
+
0.01927168083190918,
|
| 305 |
+
0.01902694320678711,
|
| 306 |
+
0.019130367279052735,
|
| 307 |
+
0.019072000503540038,
|
| 308 |
+
0.019072000503540038,
|
| 309 |
+
0.01904537582397461,
|
| 310 |
+
0.01924608039855957,
|
| 311 |
+
0.01927987289428711,
|
| 312 |
+
0.019072000503540038,
|
| 313 |
+
0.019132415771484376,
|
| 314 |
+
0.019107839584350587,
|
| 315 |
+
0.019099647521972657,
|
| 316 |
+
0.01927884864807129,
|
| 317 |
+
0.019099647521972657,
|
| 318 |
+
0.019119104385375976,
|
| 319 |
+
0.019104768753051758,
|
| 320 |
+
0.019147775650024415,
|
| 321 |
+
0.019136512756347656,
|
| 322 |
+
0.019132415771484376,
|
| 323 |
+
0.019294208526611328,
|
| 324 |
+
0.019145727157592773,
|
| 325 |
+
0.019107839584350587,
|
| 326 |
+
0.019127296447753905,
|
| 327 |
+
0.01907711982727051,
|
| 328 |
+
0.019333152770996093,
|
| 329 |
+
0.01930953598022461,
|
| 330 |
+
0.019151872634887695,
|
| 331 |
+
0.01922047996520996,
|
| 332 |
+
0.01923583984375,
|
| 333 |
+
0.019166208267211913,
|
| 334 |
+
0.019325952529907226,
|
| 335 |
+
0.01927168083190918,
|
| 336 |
+
0.019143680572509765,
|
| 337 |
+
0.019158016204833983,
|
| 338 |
+
0.019127296447753905,
|
| 339 |
+
0.019131391525268555,
|
| 340 |
+
0.01923072052001953,
|
| 341 |
+
0.019325952529907226,
|
| 342 |
+
0.019140607833862306,
|
| 343 |
+
0.019134464263916014,
|
| 344 |
+
0.019146751403808594,
|
| 345 |
+
0.019143680572509765,
|
| 346 |
+
0.01926246452331543,
|
| 347 |
+
0.019134464263916014,
|
| 348 |
+
0.01929113578796387,
|
| 349 |
+
0.019130367279052735,
|
| 350 |
+
0.019113983154296875,
|
| 351 |
+
0.019137535095214844,
|
| 352 |
+
0.019173376083374022,
|
| 353 |
+
0.019294208526611328,
|
| 354 |
+
0.01931372833251953,
|
| 355 |
+
0.01914771270751953,
|
| 356 |
+
0.019177471160888672,
|
| 357 |
+
0.019164159774780275
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 52.14765143945731
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020490752220153806,
|
| 7 |
+
"prefill.throughput.value": 341.61752212859744,
|
| 8 |
+
"decode.latency.mean": 2.4355491943359375,
|
| 9 |
+
"decode.throughput.value": 52.14429677517849,
|
| 10 |
+
"per_token.latency.mean": 0.019176319017185,
|
| 11 |
+
"per_token.throughput.value": 52.14765143945731
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 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 |
+
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 |
+
memory: true
|
| 51 |
+
latency: 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 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 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/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-08-30 02:42:19,830[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-08-30 02:42:22,209[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 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 |
+
"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 |
+
"memory": true,
|
| 56 |
+
"latency": 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 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 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 |
+
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 |
+
memory: true
|
| 51 |
+
latency: 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 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 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/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_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 |
+
"memory": true,
|
| 57 |
+
"latency": 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 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1320.075264,
|
| 111 |
+
"max_global_vram": 6768.033792,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 11.6039453125,
|
| 120 |
+
"mean": 11.6039453125,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.6039453125,
|
| 123 |
+
"p90": 11.6039453125,
|
| 124 |
+
"p95": 11.6039453125,
|
| 125 |
+
"p99": 11.6039453125,
|
| 126 |
+
"values": [
|
| 127 |
+
11.6039453125
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1754.8288,
|
| 138 |
+
"max_global_vram": 6789.005312,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6142.558208,
|
| 141 |
+
"max_allocated": 5028.450816
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.04368422317504883,
|
| 147 |
+
"mean": 0.021842111587524415,
|
| 148 |
+
"stdev": 1.6960144042968417e-05,
|
| 149 |
+
"p50": 0.021842111587524415,
|
| 150 |
+
"p90": 0.02185567970275879,
|
| 151 |
+
"p95": 0.021857375717163088,
|
| 152 |
+
"p99": 0.021858732528686524,
|
| 153 |
+
"values": [
|
| 154 |
+
0.021859071731567384,
|
| 155 |
+
0.021825151443481447
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 320.48183491554903
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1779.306496,
|
| 169 |
+
"max_global_vram": 6793.199616,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 6146.752512,
|
| 172 |
+
"max_allocated": 5031.820288
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 5.2227158203125,
|
| 178 |
+
"mean": 2.61135791015625,
|
| 179 |
+
"stdev": 0.028345703125000066,
|
| 180 |
+
"p50": 2.61135791015625,
|
| 181 |
+
"p90": 2.6340344726562503,
|
| 182 |
+
"p95": 2.6368690429687502,
|
| 183 |
+
"p99": 2.63913669921875,
|
| 184 |
+
"values": [
|
| 185 |
+
2.63970361328125,
|
| 186 |
+
2.58301220703125
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 48.63370107409022
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 5.222449146270752,
|
| 202 |
+
"mean": 0.020560823410514767,
|
| 203 |
+
"stdev": 0.00045448871580510303,
|
| 204 |
+
"p50": 0.020380160331726075,
|
| 205 |
+
"p90": 0.021137305450439455,
|
| 206 |
+
"p95": 0.021249740886688233,
|
| 207 |
+
"p99": 0.021547631855010987,
|
| 208 |
+
"values": [
|
| 209 |
+
0.02091929626464844,
|
| 210 |
+
0.02091007995605469,
|
| 211 |
+
0.020133888244628906,
|
| 212 |
+
0.020110336303710938,
|
| 213 |
+
0.02009600067138672,
|
| 214 |
+
0.021141504287719725,
|
| 215 |
+
0.021029888153076173,
|
| 216 |
+
0.020971519470214844,
|
| 217 |
+
0.02105241584777832,
|
| 218 |
+
0.020923391342163086,
|
| 219 |
+
0.020964351654052735,
|
| 220 |
+
0.020938751220703124,
|
| 221 |
+
0.020993024826049804,
|
| 222 |
+
0.0208035831451416,
|
| 223 |
+
0.020930559158325195,
|
| 224 |
+
0.02087731170654297,
|
| 225 |
+
0.02086911964416504,
|
| 226 |
+
0.020142080307006836,
|
| 227 |
+
0.020220991134643554,
|
| 228 |
+
0.020250560760498047,
|
| 229 |
+
0.020695039749145508,
|
| 230 |
+
0.020974592208862306,
|
| 231 |
+
0.02089369583129883,
|
| 232 |
+
0.02089574432373047,
|
| 233 |
+
0.02049228858947754,
|
| 234 |
+
0.02005606460571289,
|
| 235 |
+
0.02064793586730957,
|
| 236 |
+
0.020984832763671874,
|
| 237 |
+
0.020896768569946288,
|
| 238 |
+
0.021403648376464843,
|
| 239 |
+
0.020824064254760744,
|
| 240 |
+
0.02122137641906738,
|
| 241 |
+
0.020937728881835937,
|
| 242 |
+
0.021053440093994142,
|
| 243 |
+
0.021181440353393553,
|
| 244 |
+
0.020923391342163086,
|
| 245 |
+
0.020940799713134766,
|
| 246 |
+
0.02011136054992676,
|
| 247 |
+
0.020152320861816408,
|
| 248 |
+
0.020215808868408205,
|
| 249 |
+
0.021393407821655275,
|
| 250 |
+
0.021016576766967773,
|
| 251 |
+
0.02092748832702637,
|
| 252 |
+
0.0200898551940918,
|
| 253 |
+
0.02039193534851074,
|
| 254 |
+
0.021141504287719725,
|
| 255 |
+
0.020923391342163086,
|
| 256 |
+
0.020988927841186524,
|
| 257 |
+
0.020146175384521483,
|
| 258 |
+
0.020971519470214844,
|
| 259 |
+
0.021159936904907226,
|
| 260 |
+
0.021086208343505858,
|
| 261 |
+
0.02099404716491699,
|
| 262 |
+
0.02147225570678711,
|
| 263 |
+
0.021029888153076173,
|
| 264 |
+
0.020981760025024415,
|
| 265 |
+
0.021292032241821288,
|
| 266 |
+
0.020924415588378906,
|
| 267 |
+
0.02105753517150879,
|
| 268 |
+
0.02102272033691406,
|
| 269 |
+
0.0210831356048584,
|
| 270 |
+
0.021139455795288087,
|
| 271 |
+
0.021001216888427734,
|
| 272 |
+
0.021214208602905273,
|
| 273 |
+
0.020162559509277343,
|
| 274 |
+
0.020590591430664062,
|
| 275 |
+
0.02008166313171387,
|
| 276 |
+
0.020083711624145507,
|
| 277 |
+
0.02028544044494629,
|
| 278 |
+
0.021347328186035155,
|
| 279 |
+
0.021180416107177736,
|
| 280 |
+
0.021349376678466796,
|
| 281 |
+
0.02127769660949707,
|
| 282 |
+
0.02144358444213867,
|
| 283 |
+
0.020988927841186524,
|
| 284 |
+
0.020945920944213867,
|
| 285 |
+
0.020960256576538085,
|
| 286 |
+
0.020981760025024415,
|
| 287 |
+
0.021053440093994142,
|
| 288 |
+
0.020121599197387697,
|
| 289 |
+
0.02028544044494629,
|
| 290 |
+
0.020100095748901366,
|
| 291 |
+
0.020115455627441405,
|
| 292 |
+
0.020109312057495117,
|
| 293 |
+
0.020105215072631837,
|
| 294 |
+
0.02072166442871094,
|
| 295 |
+
0.02122547149658203,
|
| 296 |
+
0.020930559158325195,
|
| 297 |
+
0.020956159591674805,
|
| 298 |
+
0.020853759765625,
|
| 299 |
+
0.02087321662902832,
|
| 300 |
+
0.021011455535888672,
|
| 301 |
+
0.02109337615966797,
|
| 302 |
+
0.02092748832702637,
|
| 303 |
+
0.020890623092651366,
|
| 304 |
+
0.020892671585083008,
|
| 305 |
+
0.020083711624145507,
|
| 306 |
+
0.020099071502685546,
|
| 307 |
+
0.021517311096191406,
|
| 308 |
+
0.0208353271484375,
|
| 309 |
+
0.02088960075378418,
|
| 310 |
+
0.021390335083007812,
|
| 311 |
+
0.021098495483398438,
|
| 312 |
+
0.0210882568359375,
|
| 313 |
+
0.020947967529296875,
|
| 314 |
+
0.02092748832702637,
|
| 315 |
+
0.020945920944213867,
|
| 316 |
+
0.020907007217407226,
|
| 317 |
+
0.021218303680419923,
|
| 318 |
+
0.02086604881286621,
|
| 319 |
+
0.02082099151611328,
|
| 320 |
+
0.02087424087524414,
|
| 321 |
+
0.021581823348999024,
|
| 322 |
+
0.02168422317504883,
|
| 323 |
+
0.02103603172302246,
|
| 324 |
+
0.020946943283081054,
|
| 325 |
+
0.020924415588378906,
|
| 326 |
+
0.02024448013305664,
|
| 327 |
+
0.02032537651062012,
|
| 328 |
+
0.02006118392944336,
|
| 329 |
+
0.020256767272949217,
|
| 330 |
+
0.02010419273376465,
|
| 331 |
+
0.020328447341918944,
|
| 332 |
+
0.02007244873046875,
|
| 333 |
+
0.020134912490844727,
|
| 334 |
+
0.020109312057495117,
|
| 335 |
+
0.02007859230041504,
|
| 336 |
+
0.02012876892089844,
|
| 337 |
+
0.020198400497436524,
|
| 338 |
+
0.02021683120727539,
|
| 339 |
+
0.020105215072631837,
|
| 340 |
+
0.02008576011657715,
|
| 341 |
+
0.020572160720825194,
|
| 342 |
+
0.02024345588684082,
|
| 343 |
+
0.020371456146240235,
|
| 344 |
+
0.020153343200683595,
|
| 345 |
+
0.02011136054992676,
|
| 346 |
+
0.02007347106933594,
|
| 347 |
+
0.02012057685852051,
|
| 348 |
+
0.02050662422180176,
|
| 349 |
+
0.020063232421875,
|
| 350 |
+
0.02010419273376465,
|
| 351 |
+
0.020162559509277343,
|
| 352 |
+
0.020140031814575195,
|
| 353 |
+
0.020242431640625,
|
| 354 |
+
0.020176895141601564,
|
| 355 |
+
0.020082687377929686,
|
| 356 |
+
0.020115455627441405,
|
| 357 |
+
0.020147199630737304,
|
| 358 |
+
0.02084454345703125,
|
| 359 |
+
0.021132287979125978,
|
| 360 |
+
0.020722688674926756,
|
| 361 |
+
0.0208721923828125,
|
| 362 |
+
0.02085273551940918,
|
| 363 |
+
0.020864000320434572,
|
| 364 |
+
0.020880384445190428,
|
| 365 |
+
0.021072895050048827,
|
| 366 |
+
0.021149696350097655,
|
| 367 |
+
0.020917247772216797,
|
| 368 |
+
0.020892671585083008,
|
| 369 |
+
0.020928512573242186,
|
| 370 |
+
0.020923391342163086,
|
| 371 |
+
0.02024550437927246,
|
| 372 |
+
0.02025881576538086,
|
| 373 |
+
0.020123647689819335,
|
| 374 |
+
0.020140031814575195,
|
| 375 |
+
0.020092927932739257,
|
| 376 |
+
0.02007347106933594,
|
| 377 |
+
0.020343807220458983,
|
| 378 |
+
0.020198400497436524,
|
| 379 |
+
0.019976192474365235,
|
| 380 |
+
0.01987993621826172,
|
| 381 |
+
0.019981311798095702,
|
| 382 |
+
0.02022502326965332,
|
| 383 |
+
0.02033459281921387,
|
| 384 |
+
0.02012057685852051,
|
| 385 |
+
0.02006630325317383,
|
| 386 |
+
0.020063232421875,
|
| 387 |
+
0.0200898551940918,
|
| 388 |
+
0.02024038314819336,
|
| 389 |
+
0.020199424743652345,
|
| 390 |
+
0.020125696182250977,
|
| 391 |
+
0.02112512016296387,
|
| 392 |
+
0.020162559509277343,
|
| 393 |
+
0.020153343200683595,
|
| 394 |
+
0.020388864517211915,
|
| 395 |
+
0.02023219108581543,
|
| 396 |
+
0.020156415939331054,
|
| 397 |
+
0.020161535263061522,
|
| 398 |
+
0.020155391693115234,
|
| 399 |
+
0.020404224395751954,
|
| 400 |
+
0.020129791259765627,
|
| 401 |
+
0.02008780860900879,
|
| 402 |
+
0.020126720428466797,
|
| 403 |
+
0.02020351982116699,
|
| 404 |
+
0.02026188850402832,
|
| 405 |
+
0.02008064079284668,
|
| 406 |
+
0.020100095748901366,
|
| 407 |
+
0.020299776077270508,
|
| 408 |
+
0.021155839920043946,
|
| 409 |
+
0.020113407135009767,
|
| 410 |
+
0.02005606460571289,
|
| 411 |
+
0.02004275131225586,
|
| 412 |
+
0.02024038314819336,
|
| 413 |
+
0.020040704727172853,
|
| 414 |
+
0.020191232681274415,
|
| 415 |
+
0.02006937599182129,
|
| 416 |
+
0.02003046417236328,
|
| 417 |
+
0.02004377555847168,
|
| 418 |
+
0.020025344848632814,
|
| 419 |
+
0.020213760375976563,
|
| 420 |
+
0.020107263565063475,
|
| 421 |
+
0.020057088851928712,
|
| 422 |
+
0.02006937599182129,
|
| 423 |
+
0.019989503860473632,
|
| 424 |
+
0.020215808868408205,
|
| 425 |
+
0.020314111709594726,
|
| 426 |
+
0.020174848556518556,
|
| 427 |
+
0.020247552871704103,
|
| 428 |
+
0.020151296615600587,
|
| 429 |
+
0.020327423095703127,
|
| 430 |
+
0.020338687896728515,
|
| 431 |
+
0.02012057685852051,
|
| 432 |
+
0.020279296875,
|
| 433 |
+
0.019854335784912108,
|
| 434 |
+
0.019958784103393554,
|
| 435 |
+
0.020107263565063475,
|
| 436 |
+
0.02007859230041504,
|
| 437 |
+
0.020189184188842774,
|
| 438 |
+
0.02022809600830078,
|
| 439 |
+
0.02011136054992676,
|
| 440 |
+
0.020709375381469726,
|
| 441 |
+
0.020955135345458984,
|
| 442 |
+
0.021015552520751952,
|
| 443 |
+
0.021234687805175782,
|
| 444 |
+
0.02070528030395508,
|
| 445 |
+
0.020619264602661135,
|
| 446 |
+
0.020617216110229493,
|
| 447 |
+
0.020744192123413087,
|
| 448 |
+
0.02102681541442871,
|
| 449 |
+
0.02031001663208008,
|
| 450 |
+
0.020139007568359374,
|
| 451 |
+
0.02007961654663086,
|
| 452 |
+
0.020110336303710938,
|
| 453 |
+
0.020899839401245117,
|
| 454 |
+
0.021121023178100586,
|
| 455 |
+
0.02106777572631836,
|
| 456 |
+
0.020150272369384766,
|
| 457 |
+
0.021747711181640626,
|
| 458 |
+
0.02041548728942871,
|
| 459 |
+
0.020149248123168945,
|
| 460 |
+
0.02046668815612793,
|
| 461 |
+
0.020145151138305666,
|
| 462 |
+
0.020115455627441405
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 48.636184457894906
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 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 |
+
"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 |
+
"memory": true,
|
| 56 |
+
"latency": 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 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1320.075264,
|
| 6 |
+
"max_global_vram": 6768.033792,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 11.6039453125,
|
| 15 |
+
"mean": 11.6039453125,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.6039453125,
|
| 18 |
+
"p90": 11.6039453125,
|
| 19 |
+
"p95": 11.6039453125,
|
| 20 |
+
"p99": 11.6039453125,
|
| 21 |
+
"values": [
|
| 22 |
+
11.6039453125
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1754.8288,
|
| 33 |
+
"max_global_vram": 6789.005312,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6142.558208,
|
| 36 |
+
"max_allocated": 5028.450816
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.04368422317504883,
|
| 42 |
+
"mean": 0.021842111587524415,
|
| 43 |
+
"stdev": 1.6960144042968417e-05,
|
| 44 |
+
"p50": 0.021842111587524415,
|
| 45 |
+
"p90": 0.02185567970275879,
|
| 46 |
+
"p95": 0.021857375717163088,
|
| 47 |
+
"p99": 0.021858732528686524,
|
| 48 |
+
"values": [
|
| 49 |
+
0.021859071731567384,
|
| 50 |
+
0.021825151443481447
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 320.48183491554903
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1779.306496,
|
| 64 |
+
"max_global_vram": 6793.199616,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 6146.752512,
|
| 67 |
+
"max_allocated": 5031.820288
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 5.2227158203125,
|
| 73 |
+
"mean": 2.61135791015625,
|
| 74 |
+
"stdev": 0.028345703125000066,
|
| 75 |
+
"p50": 2.61135791015625,
|
| 76 |
+
"p90": 2.6340344726562503,
|
| 77 |
+
"p95": 2.6368690429687502,
|
| 78 |
+
"p99": 2.63913669921875,
|
| 79 |
+
"values": [
|
| 80 |
+
2.63970361328125,
|
| 81 |
+
2.58301220703125
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 48.63370107409022
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 5.222449146270752,
|
| 97 |
+
"mean": 0.020560823410514767,
|
| 98 |
+
"stdev": 0.00045448871580510303,
|
| 99 |
+
"p50": 0.020380160331726075,
|
| 100 |
+
"p90": 0.021137305450439455,
|
| 101 |
+
"p95": 0.021249740886688233,
|
| 102 |
+
"p99": 0.021547631855010987,
|
| 103 |
+
"values": [
|
| 104 |
+
0.02091929626464844,
|
| 105 |
+
0.02091007995605469,
|
| 106 |
+
0.020133888244628906,
|
| 107 |
+
0.020110336303710938,
|
| 108 |
+
0.02009600067138672,
|
| 109 |
+
0.021141504287719725,
|
| 110 |
+
0.021029888153076173,
|
| 111 |
+
0.020971519470214844,
|
| 112 |
+
0.02105241584777832,
|
| 113 |
+
0.020923391342163086,
|
| 114 |
+
0.020964351654052735,
|
| 115 |
+
0.020938751220703124,
|
| 116 |
+
0.020993024826049804,
|
| 117 |
+
0.0208035831451416,
|
| 118 |
+
0.020930559158325195,
|
| 119 |
+
0.02087731170654297,
|
| 120 |
+
0.02086911964416504,
|
| 121 |
+
0.020142080307006836,
|
| 122 |
+
0.020220991134643554,
|
| 123 |
+
0.020250560760498047,
|
| 124 |
+
0.020695039749145508,
|
| 125 |
+
0.020974592208862306,
|
| 126 |
+
0.02089369583129883,
|
| 127 |
+
0.02089574432373047,
|
| 128 |
+
0.02049228858947754,
|
| 129 |
+
0.02005606460571289,
|
| 130 |
+
0.02064793586730957,
|
| 131 |
+
0.020984832763671874,
|
| 132 |
+
0.020896768569946288,
|
| 133 |
+
0.021403648376464843,
|
| 134 |
+
0.020824064254760744,
|
| 135 |
+
0.02122137641906738,
|
| 136 |
+
0.020937728881835937,
|
| 137 |
+
0.021053440093994142,
|
| 138 |
+
0.021181440353393553,
|
| 139 |
+
0.020923391342163086,
|
| 140 |
+
0.020940799713134766,
|
| 141 |
+
0.02011136054992676,
|
| 142 |
+
0.020152320861816408,
|
| 143 |
+
0.020215808868408205,
|
| 144 |
+
0.021393407821655275,
|
| 145 |
+
0.021016576766967773,
|
| 146 |
+
0.02092748832702637,
|
| 147 |
+
0.0200898551940918,
|
| 148 |
+
0.02039193534851074,
|
| 149 |
+
0.021141504287719725,
|
| 150 |
+
0.020923391342163086,
|
| 151 |
+
0.020988927841186524,
|
| 152 |
+
0.020146175384521483,
|
| 153 |
+
0.020971519470214844,
|
| 154 |
+
0.021159936904907226,
|
| 155 |
+
0.021086208343505858,
|
| 156 |
+
0.02099404716491699,
|
| 157 |
+
0.02147225570678711,
|
| 158 |
+
0.021029888153076173,
|
| 159 |
+
0.020981760025024415,
|
| 160 |
+
0.021292032241821288,
|
| 161 |
+
0.020924415588378906,
|
| 162 |
+
0.02105753517150879,
|
| 163 |
+
0.02102272033691406,
|
| 164 |
+
0.0210831356048584,
|
| 165 |
+
0.021139455795288087,
|
| 166 |
+
0.021001216888427734,
|
| 167 |
+
0.021214208602905273,
|
| 168 |
+
0.020162559509277343,
|
| 169 |
+
0.020590591430664062,
|
| 170 |
+
0.02008166313171387,
|
| 171 |
+
0.020083711624145507,
|
| 172 |
+
0.02028544044494629,
|
| 173 |
+
0.021347328186035155,
|
| 174 |
+
0.021180416107177736,
|
| 175 |
+
0.021349376678466796,
|
| 176 |
+
0.02127769660949707,
|
| 177 |
+
0.02144358444213867,
|
| 178 |
+
0.020988927841186524,
|
| 179 |
+
0.020945920944213867,
|
| 180 |
+
0.020960256576538085,
|
| 181 |
+
0.020981760025024415,
|
| 182 |
+
0.021053440093994142,
|
| 183 |
+
0.020121599197387697,
|
| 184 |
+
0.02028544044494629,
|
| 185 |
+
0.020100095748901366,
|
| 186 |
+
0.020115455627441405,
|
| 187 |
+
0.020109312057495117,
|
| 188 |
+
0.020105215072631837,
|
| 189 |
+
0.02072166442871094,
|
| 190 |
+
0.02122547149658203,
|
| 191 |
+
0.020930559158325195,
|
| 192 |
+
0.020956159591674805,
|
| 193 |
+
0.020853759765625,
|
| 194 |
+
0.02087321662902832,
|
| 195 |
+
0.021011455535888672,
|
| 196 |
+
0.02109337615966797,
|
| 197 |
+
0.02092748832702637,
|
| 198 |
+
0.020890623092651366,
|
| 199 |
+
0.020892671585083008,
|
| 200 |
+
0.020083711624145507,
|
| 201 |
+
0.020099071502685546,
|
| 202 |
+
0.021517311096191406,
|
| 203 |
+
0.0208353271484375,
|
| 204 |
+
0.02088960075378418,
|
| 205 |
+
0.021390335083007812,
|
| 206 |
+
0.021098495483398438,
|
| 207 |
+
0.0210882568359375,
|
| 208 |
+
0.020947967529296875,
|
| 209 |
+
0.02092748832702637,
|
| 210 |
+
0.020945920944213867,
|
| 211 |
+
0.020907007217407226,
|
| 212 |
+
0.021218303680419923,
|
| 213 |
+
0.02086604881286621,
|
| 214 |
+
0.02082099151611328,
|
| 215 |
+
0.02087424087524414,
|
| 216 |
+
0.021581823348999024,
|
| 217 |
+
0.02168422317504883,
|
| 218 |
+
0.02103603172302246,
|
| 219 |
+
0.020946943283081054,
|
| 220 |
+
0.020924415588378906,
|
| 221 |
+
0.02024448013305664,
|
| 222 |
+
0.02032537651062012,
|
| 223 |
+
0.02006118392944336,
|
| 224 |
+
0.020256767272949217,
|
| 225 |
+
0.02010419273376465,
|
| 226 |
+
0.020328447341918944,
|
| 227 |
+
0.02007244873046875,
|
| 228 |
+
0.020134912490844727,
|
| 229 |
+
0.020109312057495117,
|
| 230 |
+
0.02007859230041504,
|
| 231 |
+
0.02012876892089844,
|
| 232 |
+
0.020198400497436524,
|
| 233 |
+
0.02021683120727539,
|
| 234 |
+
0.020105215072631837,
|
| 235 |
+
0.02008576011657715,
|
| 236 |
+
0.020572160720825194,
|
| 237 |
+
0.02024345588684082,
|
| 238 |
+
0.020371456146240235,
|
| 239 |
+
0.020153343200683595,
|
| 240 |
+
0.02011136054992676,
|
| 241 |
+
0.02007347106933594,
|
| 242 |
+
0.02012057685852051,
|
| 243 |
+
0.02050662422180176,
|
| 244 |
+
0.020063232421875,
|
| 245 |
+
0.02010419273376465,
|
| 246 |
+
0.020162559509277343,
|
| 247 |
+
0.020140031814575195,
|
| 248 |
+
0.020242431640625,
|
| 249 |
+
0.020176895141601564,
|
| 250 |
+
0.020082687377929686,
|
| 251 |
+
0.020115455627441405,
|
| 252 |
+
0.020147199630737304,
|
| 253 |
+
0.02084454345703125,
|
| 254 |
+
0.021132287979125978,
|
| 255 |
+
0.020722688674926756,
|
| 256 |
+
0.0208721923828125,
|
| 257 |
+
0.02085273551940918,
|
| 258 |
+
0.020864000320434572,
|
| 259 |
+
0.020880384445190428,
|
| 260 |
+
0.021072895050048827,
|
| 261 |
+
0.021149696350097655,
|
| 262 |
+
0.020917247772216797,
|
| 263 |
+
0.020892671585083008,
|
| 264 |
+
0.020928512573242186,
|
| 265 |
+
0.020923391342163086,
|
| 266 |
+
0.02024550437927246,
|
| 267 |
+
0.02025881576538086,
|
| 268 |
+
0.020123647689819335,
|
| 269 |
+
0.020140031814575195,
|
| 270 |
+
0.020092927932739257,
|
| 271 |
+
0.02007347106933594,
|
| 272 |
+
0.020343807220458983,
|
| 273 |
+
0.020198400497436524,
|
| 274 |
+
0.019976192474365235,
|
| 275 |
+
0.01987993621826172,
|
| 276 |
+
0.019981311798095702,
|
| 277 |
+
0.02022502326965332,
|
| 278 |
+
0.02033459281921387,
|
| 279 |
+
0.02012057685852051,
|
| 280 |
+
0.02006630325317383,
|
| 281 |
+
0.020063232421875,
|
| 282 |
+
0.0200898551940918,
|
| 283 |
+
0.02024038314819336,
|
| 284 |
+
0.020199424743652345,
|
| 285 |
+
0.020125696182250977,
|
| 286 |
+
0.02112512016296387,
|
| 287 |
+
0.020162559509277343,
|
| 288 |
+
0.020153343200683595,
|
| 289 |
+
0.020388864517211915,
|
| 290 |
+
0.02023219108581543,
|
| 291 |
+
0.020156415939331054,
|
| 292 |
+
0.020161535263061522,
|
| 293 |
+
0.020155391693115234,
|
| 294 |
+
0.020404224395751954,
|
| 295 |
+
0.020129791259765627,
|
| 296 |
+
0.02008780860900879,
|
| 297 |
+
0.020126720428466797,
|
| 298 |
+
0.02020351982116699,
|
| 299 |
+
0.02026188850402832,
|
| 300 |
+
0.02008064079284668,
|
| 301 |
+
0.020100095748901366,
|
| 302 |
+
0.020299776077270508,
|
| 303 |
+
0.021155839920043946,
|
| 304 |
+
0.020113407135009767,
|
| 305 |
+
0.02005606460571289,
|
| 306 |
+
0.02004275131225586,
|
| 307 |
+
0.02024038314819336,
|
| 308 |
+
0.020040704727172853,
|
| 309 |
+
0.020191232681274415,
|
| 310 |
+
0.02006937599182129,
|
| 311 |
+
0.02003046417236328,
|
| 312 |
+
0.02004377555847168,
|
| 313 |
+
0.020025344848632814,
|
| 314 |
+
0.020213760375976563,
|
| 315 |
+
0.020107263565063475,
|
| 316 |
+
0.020057088851928712,
|
| 317 |
+
0.02006937599182129,
|
| 318 |
+
0.019989503860473632,
|
| 319 |
+
0.020215808868408205,
|
| 320 |
+
0.020314111709594726,
|
| 321 |
+
0.020174848556518556,
|
| 322 |
+
0.020247552871704103,
|
| 323 |
+
0.020151296615600587,
|
| 324 |
+
0.020327423095703127,
|
| 325 |
+
0.020338687896728515,
|
| 326 |
+
0.02012057685852051,
|
| 327 |
+
0.020279296875,
|
| 328 |
+
0.019854335784912108,
|
| 329 |
+
0.019958784103393554,
|
| 330 |
+
0.020107263565063475,
|
| 331 |
+
0.02007859230041504,
|
| 332 |
+
0.020189184188842774,
|
| 333 |
+
0.02022809600830078,
|
| 334 |
+
0.02011136054992676,
|
| 335 |
+
0.020709375381469726,
|
| 336 |
+
0.020955135345458984,
|
| 337 |
+
0.021015552520751952,
|
| 338 |
+
0.021234687805175782,
|
| 339 |
+
0.02070528030395508,
|
| 340 |
+
0.020619264602661135,
|
| 341 |
+
0.020617216110229493,
|
| 342 |
+
0.020744192123413087,
|
| 343 |
+
0.02102681541442871,
|
| 344 |
+
0.02031001663208008,
|
| 345 |
+
0.020139007568359374,
|
| 346 |
+
0.02007961654663086,
|
| 347 |
+
0.020110336303710938,
|
| 348 |
+
0.020899839401245117,
|
| 349 |
+
0.021121023178100586,
|
| 350 |
+
0.02106777572631836,
|
| 351 |
+
0.020150272369384766,
|
| 352 |
+
0.021747711181640626,
|
| 353 |
+
0.02041548728942871,
|
| 354 |
+
0.020149248123168945,
|
| 355 |
+
0.02046668815612793,
|
| 356 |
+
0.020145151138305666,
|
| 357 |
+
0.020115455627441405
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 48.636184457894906
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021842111587524415,
|
| 7 |
+
"prefill.throughput.value": 320.48183491554903,
|
| 8 |
+
"decode.latency.mean": 2.61135791015625,
|
| 9 |
+
"decode.throughput.value": 48.63370107409022,
|
| 10 |
+
"per_token.latency.mean": 0.020560823410514767,
|
| 11 |
+
"per_token.throughput.value": 48.636184457894906
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 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 |
+
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 |
+
memory: true
|
| 51 |
+
latency: 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 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 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/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${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/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_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 |
+
"memory": true,
|
| 57 |
+
"latency": 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 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1336.999936,
|
| 111 |
+
"max_global_vram": 6768.033792,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 12.487302734375,
|
| 120 |
+
"mean": 12.487302734375,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.487302734375,
|
| 123 |
+
"p90": 12.487302734375,
|
| 124 |
+
"p95": 12.487302734375,
|
| 125 |
+
"p99": 12.487302734375,
|
| 126 |
+
"values": [
|
| 127 |
+
12.487302734375
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1867.771904,
|
| 138 |
+
"max_global_vram": 6789.005312,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6138.363904,
|
| 141 |
+
"max_allocated": 5278.596608
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.028323551177978516,
|
| 147 |
+
"mean": 0.014161775588989258,
|
| 148 |
+
"stdev": 0.0001494560241699222,
|
| 149 |
+
"p50": 0.014161775588989258,
|
| 150 |
+
"p90": 0.014281340408325197,
|
| 151 |
+
"p95": 0.014296286010742188,
|
| 152 |
+
"p99": 0.014308242492675783,
|
| 153 |
+
"values": [
|
| 154 |
+
0.014012319564819336,
|
| 155 |
+
0.01431123161315918
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 494.2883013513137
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2037.587968,
|
| 169 |
+
"max_global_vram": 6071.779328,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 5381.292032,
|
| 172 |
+
"max_allocated": 5282.647552
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 3.129896240234375,
|
| 178 |
+
"mean": 1.5649481201171875,
|
| 179 |
+
"stdev": 0.00018176269531244849,
|
| 180 |
+
"p50": 1.5649481201171875,
|
| 181 |
+
"p90": 1.5650935302734374,
|
| 182 |
+
"p95": 1.5651117065429687,
|
| 183 |
+
"p99": 1.5651262475585936,
|
| 184 |
+
"values": [
|
| 185 |
+
1.5651298828125,
|
| 186 |
+
1.564766357421875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.15284996827236
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 3.129610239982604,
|
| 202 |
+
"mean": 0.01232130015741183,
|
| 203 |
+
"stdev": 4.227025144692325e-05,
|
| 204 |
+
"p50": 0.012309503555297852,
|
| 205 |
+
"p90": 0.012347801685333252,
|
| 206 |
+
"p95": 0.012442009210586547,
|
| 207 |
+
"p99": 0.01248116774559021,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012332032203674317,
|
| 210 |
+
0.012307456016540527,
|
| 211 |
+
0.01239244842529297,
|
| 212 |
+
0.012303359985351562,
|
| 213 |
+
0.012302335739135742,
|
| 214 |
+
0.012322815895080566,
|
| 215 |
+
0.012305407524108887,
|
| 216 |
+
0.012305407524108887,
|
| 217 |
+
0.012306431770324706,
|
| 218 |
+
0.012292096138000488,
|
| 219 |
+
0.01233407974243164,
|
| 220 |
+
0.012316672325134278,
|
| 221 |
+
0.012313599586486817,
|
| 222 |
+
0.01247539234161377,
|
| 223 |
+
0.012312576293945313,
|
| 224 |
+
0.012328960418701173,
|
| 225 |
+
0.012321791648864745,
|
| 226 |
+
0.012312576293945313,
|
| 227 |
+
0.012304384231567383,
|
| 228 |
+
0.012307456016540527,
|
| 229 |
+
0.012324864387512208,
|
| 230 |
+
0.012315648078918457,
|
| 231 |
+
0.012323840141296387,
|
| 232 |
+
0.012311552047729492,
|
| 233 |
+
0.012311552047729492,
|
| 234 |
+
0.012299263954162597,
|
| 235 |
+
0.012329983711242675,
|
| 236 |
+
0.012317695617675782,
|
| 237 |
+
0.012315648078918457,
|
| 238 |
+
0.012308480262756348,
|
| 239 |
+
0.012307456016540527,
|
| 240 |
+
0.012304384231567383,
|
| 241 |
+
0.012312576293945313,
|
| 242 |
+
0.012312576293945313,
|
| 243 |
+
0.012298239707946777,
|
| 244 |
+
0.012313599586486817,
|
| 245 |
+
0.012313599586486817,
|
| 246 |
+
0.01244876766204834,
|
| 247 |
+
0.012286975860595703,
|
| 248 |
+
0.012290047645568849,
|
| 249 |
+
0.012299263954162597,
|
| 250 |
+
0.012328960418701173,
|
| 251 |
+
0.012321791648864745,
|
| 252 |
+
0.012310527801513671,
|
| 253 |
+
0.012300288200378418,
|
| 254 |
+
0.012413951873779297,
|
| 255 |
+
0.012339200019836426,
|
| 256 |
+
0.012503040313720704,
|
| 257 |
+
0.012471296310424805,
|
| 258 |
+
0.012487680435180663,
|
| 259 |
+
0.01233510398864746,
|
| 260 |
+
0.012309503555297852,
|
| 261 |
+
0.012312576293945313,
|
| 262 |
+
0.012313599586486817,
|
| 263 |
+
0.012357631683349609,
|
| 264 |
+
0.012300288200378418,
|
| 265 |
+
0.012306431770324706,
|
| 266 |
+
0.012297216415405274,
|
| 267 |
+
0.012323840141296387,
|
| 268 |
+
0.012321791648864745,
|
| 269 |
+
0.012306431770324706,
|
| 270 |
+
0.012309503555297852,
|
| 271 |
+
0.012302335739135742,
|
| 272 |
+
0.012291071891784668,
|
| 273 |
+
0.012455936431884765,
|
| 274 |
+
0.012297216415405274,
|
| 275 |
+
0.012289024353027344,
|
| 276 |
+
0.012292096138000488,
|
| 277 |
+
0.012310591697692871,
|
| 278 |
+
0.012302271842956543,
|
| 279 |
+
0.012320768356323243,
|
| 280 |
+
0.012324864387512208,
|
| 281 |
+
0.012306431770324706,
|
| 282 |
+
0.012305407524108887,
|
| 283 |
+
0.012321791648864745,
|
| 284 |
+
0.012297216415405274,
|
| 285 |
+
0.012316672325134278,
|
| 286 |
+
0.012316672325134278,
|
| 287 |
+
0.012308480262756348,
|
| 288 |
+
0.012299263954162597,
|
| 289 |
+
0.012294143676757812,
|
| 290 |
+
0.012300288200378418,
|
| 291 |
+
0.012304384231567383,
|
| 292 |
+
0.012300288200378418,
|
| 293 |
+
0.012316672325134278,
|
| 294 |
+
0.012301312446594239,
|
| 295 |
+
0.012447744369506837,
|
| 296 |
+
0.012312576293945313,
|
| 297 |
+
0.012444671630859374,
|
| 298 |
+
0.012314623832702636,
|
| 299 |
+
0.012305407524108887,
|
| 300 |
+
0.012322815895080566,
|
| 301 |
+
0.012299263954162597,
|
| 302 |
+
0.012309503555297852,
|
| 303 |
+
0.012320768356323243,
|
| 304 |
+
0.012375040054321289,
|
| 305 |
+
0.012383232116699219,
|
| 306 |
+
0.012332032203674317,
|
| 307 |
+
0.012306431770324706,
|
| 308 |
+
0.012297216415405274,
|
| 309 |
+
0.012301312446594239,
|
| 310 |
+
0.012298239707946777,
|
| 311 |
+
0.012313599586486817,
|
| 312 |
+
0.012305407524108887,
|
| 313 |
+
0.012298239707946777,
|
| 314 |
+
0.012305407524108887,
|
| 315 |
+
0.012312576293945313,
|
| 316 |
+
0.012315648078918457,
|
| 317 |
+
0.012324864387512208,
|
| 318 |
+
0.012321791648864745,
|
| 319 |
+
0.012303359985351562,
|
| 320 |
+
0.012312576293945313,
|
| 321 |
+
0.012311552047729492,
|
| 322 |
+
0.012309503555297852,
|
| 323 |
+
0.012305407524108887,
|
| 324 |
+
0.012310527801513671,
|
| 325 |
+
0.012305407524108887,
|
| 326 |
+
0.012297216415405274,
|
| 327 |
+
0.012307456016540527,
|
| 328 |
+
0.012321791648864745,
|
| 329 |
+
0.012300288200378418,
|
| 330 |
+
0.012314623832702636,
|
| 331 |
+
0.012316672325134278,
|
| 332 |
+
0.012314623832702636,
|
| 333 |
+
0.012305407524108887,
|
| 334 |
+
0.012296192169189453,
|
| 335 |
+
0.012298239707946777,
|
| 336 |
+
0.012395520210266114,
|
| 337 |
+
0.012309503555297852,
|
| 338 |
+
0.012302335739135742,
|
| 339 |
+
0.012297216415405274,
|
| 340 |
+
0.012299263954162597,
|
| 341 |
+
0.012297216415405274,
|
| 342 |
+
0.012320768356323243,
|
| 343 |
+
0.012310527801513671,
|
| 344 |
+
0.012309503555297852,
|
| 345 |
+
0.012304384231567383,
|
| 346 |
+
0.012302335739135742,
|
| 347 |
+
0.012304384231567383,
|
| 348 |
+
0.012323840141296387,
|
| 349 |
+
0.012318719863891601,
|
| 350 |
+
0.012296192169189453,
|
| 351 |
+
0.012296192169189453,
|
| 352 |
+
0.01229312038421631,
|
| 353 |
+
0.012300288200378418,
|
| 354 |
+
0.012302335739135742,
|
| 355 |
+
0.012294143676757812,
|
| 356 |
+
0.012294143676757812,
|
| 357 |
+
0.012305407524108887,
|
| 358 |
+
0.012318719863891601,
|
| 359 |
+
0.012311552047729492,
|
| 360 |
+
0.012305407524108887,
|
| 361 |
+
0.012327967643737793,
|
| 362 |
+
0.012373984336853027,
|
| 363 |
+
0.01229312038421631,
|
| 364 |
+
0.012291071891784668,
|
| 365 |
+
0.01229312038421631,
|
| 366 |
+
0.012291071891784668,
|
| 367 |
+
0.01235148811340332,
|
| 368 |
+
0.012301312446594239,
|
| 369 |
+
0.012298239707946777,
|
| 370 |
+
0.012307456016540527,
|
| 371 |
+
0.01246720027923584,
|
| 372 |
+
0.012357631683349609,
|
| 373 |
+
0.012316672325134278,
|
| 374 |
+
0.01233510398864746,
|
| 375 |
+
0.012300288200378418,
|
| 376 |
+
0.012312576293945313,
|
| 377 |
+
0.012302335739135742,
|
| 378 |
+
0.01229312038421631,
|
| 379 |
+
0.012305472373962402,
|
| 380 |
+
0.012319680213928222,
|
| 381 |
+
0.012300288200378418,
|
| 382 |
+
0.012311615943908692,
|
| 383 |
+
0.012309439659118652,
|
| 384 |
+
0.012399616241455079,
|
| 385 |
+
0.012582912445068359,
|
| 386 |
+
0.012409855842590332,
|
| 387 |
+
0.012320768356323243,
|
| 388 |
+
0.012313599586486817,
|
| 389 |
+
0.012289024353027344,
|
| 390 |
+
0.012303359985351562,
|
| 391 |
+
0.012293184280395508,
|
| 392 |
+
0.012304320335388183,
|
| 393 |
+
0.012318719863891601,
|
| 394 |
+
0.012302335739135742,
|
| 395 |
+
0.012312576293945313,
|
| 396 |
+
0.012332032203674317,
|
| 397 |
+
0.012288000106811523,
|
| 398 |
+
0.012318719863891601,
|
| 399 |
+
0.012289024353027344,
|
| 400 |
+
0.012299263954162597,
|
| 401 |
+
0.012304384231567383,
|
| 402 |
+
0.012309503555297852,
|
| 403 |
+
0.012324864387512208,
|
| 404 |
+
0.012311552047729492,
|
| 405 |
+
0.012300288200378418,
|
| 406 |
+
0.012312576293945313,
|
| 407 |
+
0.012299263954162597,
|
| 408 |
+
0.012455936431884765,
|
| 409 |
+
0.012295167922973632,
|
| 410 |
+
0.01232588768005371,
|
| 411 |
+
0.012327936172485352,
|
| 412 |
+
0.012300288200378418,
|
| 413 |
+
0.012304384231567383,
|
| 414 |
+
0.012307456016540527,
|
| 415 |
+
0.012313599586486817,
|
| 416 |
+
0.012310527801513671,
|
| 417 |
+
0.012299263954162597,
|
| 418 |
+
0.012296192169189453,
|
| 419 |
+
0.01229312038421631,
|
| 420 |
+
0.012320768356323243,
|
| 421 |
+
0.012456959724426269,
|
| 422 |
+
0.012305407524108887,
|
| 423 |
+
0.012318719863891601,
|
| 424 |
+
0.012302335739135742,
|
| 425 |
+
0.012306431770324706,
|
| 426 |
+
0.012296192169189453,
|
| 427 |
+
0.012319744110107422,
|
| 428 |
+
0.012297216415405274,
|
| 429 |
+
0.012305407524108887,
|
| 430 |
+
0.012304384231567383,
|
| 431 |
+
0.012297216415405274,
|
| 432 |
+
0.01244057559967041,
|
| 433 |
+
0.012310527801513671,
|
| 434 |
+
0.01230134391784668,
|
| 435 |
+
0.01232380771636963,
|
| 436 |
+
0.012322815895080566,
|
| 437 |
+
0.012305407524108887,
|
| 438 |
+
0.012307456016540527,
|
| 439 |
+
0.012313599586486817,
|
| 440 |
+
0.012311552047729492,
|
| 441 |
+
0.012301312446594239,
|
| 442 |
+
0.012302335739135742,
|
| 443 |
+
0.012312576293945313,
|
| 444 |
+
0.012303359985351562,
|
| 445 |
+
0.012304384231567383,
|
| 446 |
+
0.012308480262756348,
|
| 447 |
+
0.012300288200378418,
|
| 448 |
+
0.012313599586486817,
|
| 449 |
+
0.012331007957458496,
|
| 450 |
+
0.012309503555297852,
|
| 451 |
+
0.012299263954162597,
|
| 452 |
+
0.012434432029724121,
|
| 453 |
+
0.012306431770324706,
|
| 454 |
+
0.012305407524108887,
|
| 455 |
+
0.012337151527404786,
|
| 456 |
+
0.012296192169189453,
|
| 457 |
+
0.012307456016540527,
|
| 458 |
+
0.012454912185668946,
|
| 459 |
+
0.012314623832702636,
|
| 460 |
+
0.012337151527404786,
|
| 461 |
+
0.012331007957458496,
|
| 462 |
+
0.012300288200378418
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.16026614272958
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 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 |
+
"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 |
+
"memory": true,
|
| 56 |
+
"latency": 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 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1336.999936,
|
| 6 |
+
"max_global_vram": 6768.033792,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 12.487302734375,
|
| 15 |
+
"mean": 12.487302734375,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.487302734375,
|
| 18 |
+
"p90": 12.487302734375,
|
| 19 |
+
"p95": 12.487302734375,
|
| 20 |
+
"p99": 12.487302734375,
|
| 21 |
+
"values": [
|
| 22 |
+
12.487302734375
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1867.771904,
|
| 33 |
+
"max_global_vram": 6789.005312,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6138.363904,
|
| 36 |
+
"max_allocated": 5278.596608
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.028323551177978516,
|
| 42 |
+
"mean": 0.014161775588989258,
|
| 43 |
+
"stdev": 0.0001494560241699222,
|
| 44 |
+
"p50": 0.014161775588989258,
|
| 45 |
+
"p90": 0.014281340408325197,
|
| 46 |
+
"p95": 0.014296286010742188,
|
| 47 |
+
"p99": 0.014308242492675783,
|
| 48 |
+
"values": [
|
| 49 |
+
0.014012319564819336,
|
| 50 |
+
0.01431123161315918
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 494.2883013513137
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2037.587968,
|
| 64 |
+
"max_global_vram": 6071.779328,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 5381.292032,
|
| 67 |
+
"max_allocated": 5282.647552
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 3.129896240234375,
|
| 73 |
+
"mean": 1.5649481201171875,
|
| 74 |
+
"stdev": 0.00018176269531244849,
|
| 75 |
+
"p50": 1.5649481201171875,
|
| 76 |
+
"p90": 1.5650935302734374,
|
| 77 |
+
"p95": 1.5651117065429687,
|
| 78 |
+
"p99": 1.5651262475585936,
|
| 79 |
+
"values": [
|
| 80 |
+
1.5651298828125,
|
| 81 |
+
1.564766357421875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.15284996827236
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 3.129610239982604,
|
| 97 |
+
"mean": 0.01232130015741183,
|
| 98 |
+
"stdev": 4.227025144692325e-05,
|
| 99 |
+
"p50": 0.012309503555297852,
|
| 100 |
+
"p90": 0.012347801685333252,
|
| 101 |
+
"p95": 0.012442009210586547,
|
| 102 |
+
"p99": 0.01248116774559021,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012332032203674317,
|
| 105 |
+
0.012307456016540527,
|
| 106 |
+
0.01239244842529297,
|
| 107 |
+
0.012303359985351562,
|
| 108 |
+
0.012302335739135742,
|
| 109 |
+
0.012322815895080566,
|
| 110 |
+
0.012305407524108887,
|
| 111 |
+
0.012305407524108887,
|
| 112 |
+
0.012306431770324706,
|
| 113 |
+
0.012292096138000488,
|
| 114 |
+
0.01233407974243164,
|
| 115 |
+
0.012316672325134278,
|
| 116 |
+
0.012313599586486817,
|
| 117 |
+
0.01247539234161377,
|
| 118 |
+
0.012312576293945313,
|
| 119 |
+
0.012328960418701173,
|
| 120 |
+
0.012321791648864745,
|
| 121 |
+
0.012312576293945313,
|
| 122 |
+
0.012304384231567383,
|
| 123 |
+
0.012307456016540527,
|
| 124 |
+
0.012324864387512208,
|
| 125 |
+
0.012315648078918457,
|
| 126 |
+
0.012323840141296387,
|
| 127 |
+
0.012311552047729492,
|
| 128 |
+
0.012311552047729492,
|
| 129 |
+
0.012299263954162597,
|
| 130 |
+
0.012329983711242675,
|
| 131 |
+
0.012317695617675782,
|
| 132 |
+
0.012315648078918457,
|
| 133 |
+
0.012308480262756348,
|
| 134 |
+
0.012307456016540527,
|
| 135 |
+
0.012304384231567383,
|
| 136 |
+
0.012312576293945313,
|
| 137 |
+
0.012312576293945313,
|
| 138 |
+
0.012298239707946777,
|
| 139 |
+
0.012313599586486817,
|
| 140 |
+
0.012313599586486817,
|
| 141 |
+
0.01244876766204834,
|
| 142 |
+
0.012286975860595703,
|
| 143 |
+
0.012290047645568849,
|
| 144 |
+
0.012299263954162597,
|
| 145 |
+
0.012328960418701173,
|
| 146 |
+
0.012321791648864745,
|
| 147 |
+
0.012310527801513671,
|
| 148 |
+
0.012300288200378418,
|
| 149 |
+
0.012413951873779297,
|
| 150 |
+
0.012339200019836426,
|
| 151 |
+
0.012503040313720704,
|
| 152 |
+
0.012471296310424805,
|
| 153 |
+
0.012487680435180663,
|
| 154 |
+
0.01233510398864746,
|
| 155 |
+
0.012309503555297852,
|
| 156 |
+
0.012312576293945313,
|
| 157 |
+
0.012313599586486817,
|
| 158 |
+
0.012357631683349609,
|
| 159 |
+
0.012300288200378418,
|
| 160 |
+
0.012306431770324706,
|
| 161 |
+
0.012297216415405274,
|
| 162 |
+
0.012323840141296387,
|
| 163 |
+
0.012321791648864745,
|
| 164 |
+
0.012306431770324706,
|
| 165 |
+
0.012309503555297852,
|
| 166 |
+
0.012302335739135742,
|
| 167 |
+
0.012291071891784668,
|
| 168 |
+
0.012455936431884765,
|
| 169 |
+
0.012297216415405274,
|
| 170 |
+
0.012289024353027344,
|
| 171 |
+
0.012292096138000488,
|
| 172 |
+
0.012310591697692871,
|
| 173 |
+
0.012302271842956543,
|
| 174 |
+
0.012320768356323243,
|
| 175 |
+
0.012324864387512208,
|
| 176 |
+
0.012306431770324706,
|
| 177 |
+
0.012305407524108887,
|
| 178 |
+
0.012321791648864745,
|
| 179 |
+
0.012297216415405274,
|
| 180 |
+
0.012316672325134278,
|
| 181 |
+
0.012316672325134278,
|
| 182 |
+
0.012308480262756348,
|
| 183 |
+
0.012299263954162597,
|
| 184 |
+
0.012294143676757812,
|
| 185 |
+
0.012300288200378418,
|
| 186 |
+
0.012304384231567383,
|
| 187 |
+
0.012300288200378418,
|
| 188 |
+
0.012316672325134278,
|
| 189 |
+
0.012301312446594239,
|
| 190 |
+
0.012447744369506837,
|
| 191 |
+
0.012312576293945313,
|
| 192 |
+
0.012444671630859374,
|
| 193 |
+
0.012314623832702636,
|
| 194 |
+
0.012305407524108887,
|
| 195 |
+
0.012322815895080566,
|
| 196 |
+
0.012299263954162597,
|
| 197 |
+
0.012309503555297852,
|
| 198 |
+
0.012320768356323243,
|
| 199 |
+
0.012375040054321289,
|
| 200 |
+
0.012383232116699219,
|
| 201 |
+
0.012332032203674317,
|
| 202 |
+
0.012306431770324706,
|
| 203 |
+
0.012297216415405274,
|
| 204 |
+
0.012301312446594239,
|
| 205 |
+
0.012298239707946777,
|
| 206 |
+
0.012313599586486817,
|
| 207 |
+
0.012305407524108887,
|
| 208 |
+
0.012298239707946777,
|
| 209 |
+
0.012305407524108887,
|
| 210 |
+
0.012312576293945313,
|
| 211 |
+
0.012315648078918457,
|
| 212 |
+
0.012324864387512208,
|
| 213 |
+
0.012321791648864745,
|
| 214 |
+
0.012303359985351562,
|
| 215 |
+
0.012312576293945313,
|
| 216 |
+
0.012311552047729492,
|
| 217 |
+
0.012309503555297852,
|
| 218 |
+
0.012305407524108887,
|
| 219 |
+
0.012310527801513671,
|
| 220 |
+
0.012305407524108887,
|
| 221 |
+
0.012297216415405274,
|
| 222 |
+
0.012307456016540527,
|
| 223 |
+
0.012321791648864745,
|
| 224 |
+
0.012300288200378418,
|
| 225 |
+
0.012314623832702636,
|
| 226 |
+
0.012316672325134278,
|
| 227 |
+
0.012314623832702636,
|
| 228 |
+
0.012305407524108887,
|
| 229 |
+
0.012296192169189453,
|
| 230 |
+
0.012298239707946777,
|
| 231 |
+
0.012395520210266114,
|
| 232 |
+
0.012309503555297852,
|
| 233 |
+
0.012302335739135742,
|
| 234 |
+
0.012297216415405274,
|
| 235 |
+
0.012299263954162597,
|
| 236 |
+
0.012297216415405274,
|
| 237 |
+
0.012320768356323243,
|
| 238 |
+
0.012310527801513671,
|
| 239 |
+
0.012309503555297852,
|
| 240 |
+
0.012304384231567383,
|
| 241 |
+
0.012302335739135742,
|
| 242 |
+
0.012304384231567383,
|
| 243 |
+
0.012323840141296387,
|
| 244 |
+
0.012318719863891601,
|
| 245 |
+
0.012296192169189453,
|
| 246 |
+
0.012296192169189453,
|
| 247 |
+
0.01229312038421631,
|
| 248 |
+
0.012300288200378418,
|
| 249 |
+
0.012302335739135742,
|
| 250 |
+
0.012294143676757812,
|
| 251 |
+
0.012294143676757812,
|
| 252 |
+
0.012305407524108887,
|
| 253 |
+
0.012318719863891601,
|
| 254 |
+
0.012311552047729492,
|
| 255 |
+
0.012305407524108887,
|
| 256 |
+
0.012327967643737793,
|
| 257 |
+
0.012373984336853027,
|
| 258 |
+
0.01229312038421631,
|
| 259 |
+
0.012291071891784668,
|
| 260 |
+
0.01229312038421631,
|
| 261 |
+
0.012291071891784668,
|
| 262 |
+
0.01235148811340332,
|
| 263 |
+
0.012301312446594239,
|
| 264 |
+
0.012298239707946777,
|
| 265 |
+
0.012307456016540527,
|
| 266 |
+
0.01246720027923584,
|
| 267 |
+
0.012357631683349609,
|
| 268 |
+
0.012316672325134278,
|
| 269 |
+
0.01233510398864746,
|
| 270 |
+
0.012300288200378418,
|
| 271 |
+
0.012312576293945313,
|
| 272 |
+
0.012302335739135742,
|
| 273 |
+
0.01229312038421631,
|
| 274 |
+
0.012305472373962402,
|
| 275 |
+
0.012319680213928222,
|
| 276 |
+
0.012300288200378418,
|
| 277 |
+
0.012311615943908692,
|
| 278 |
+
0.012309439659118652,
|
| 279 |
+
0.012399616241455079,
|
| 280 |
+
0.012582912445068359,
|
| 281 |
+
0.012409855842590332,
|
| 282 |
+
0.012320768356323243,
|
| 283 |
+
0.012313599586486817,
|
| 284 |
+
0.012289024353027344,
|
| 285 |
+
0.012303359985351562,
|
| 286 |
+
0.012293184280395508,
|
| 287 |
+
0.012304320335388183,
|
| 288 |
+
0.012318719863891601,
|
| 289 |
+
0.012302335739135742,
|
| 290 |
+
0.012312576293945313,
|
| 291 |
+
0.012332032203674317,
|
| 292 |
+
0.012288000106811523,
|
| 293 |
+
0.012318719863891601,
|
| 294 |
+
0.012289024353027344,
|
| 295 |
+
0.012299263954162597,
|
| 296 |
+
0.012304384231567383,
|
| 297 |
+
0.012309503555297852,
|
| 298 |
+
0.012324864387512208,
|
| 299 |
+
0.012311552047729492,
|
| 300 |
+
0.012300288200378418,
|
| 301 |
+
0.012312576293945313,
|
| 302 |
+
0.012299263954162597,
|
| 303 |
+
0.012455936431884765,
|
| 304 |
+
0.012295167922973632,
|
| 305 |
+
0.01232588768005371,
|
| 306 |
+
0.012327936172485352,
|
| 307 |
+
0.012300288200378418,
|
| 308 |
+
0.012304384231567383,
|
| 309 |
+
0.012307456016540527,
|
| 310 |
+
0.012313599586486817,
|
| 311 |
+
0.012310527801513671,
|
| 312 |
+
0.012299263954162597,
|
| 313 |
+
0.012296192169189453,
|
| 314 |
+
0.01229312038421631,
|
| 315 |
+
0.012320768356323243,
|
| 316 |
+
0.012456959724426269,
|
| 317 |
+
0.012305407524108887,
|
| 318 |
+
0.012318719863891601,
|
| 319 |
+
0.012302335739135742,
|
| 320 |
+
0.012306431770324706,
|
| 321 |
+
0.012296192169189453,
|
| 322 |
+
0.012319744110107422,
|
| 323 |
+
0.012297216415405274,
|
| 324 |
+
0.012305407524108887,
|
| 325 |
+
0.012304384231567383,
|
| 326 |
+
0.012297216415405274,
|
| 327 |
+
0.01244057559967041,
|
| 328 |
+
0.012310527801513671,
|
| 329 |
+
0.01230134391784668,
|
| 330 |
+
0.01232380771636963,
|
| 331 |
+
0.012322815895080566,
|
| 332 |
+
0.012305407524108887,
|
| 333 |
+
0.012307456016540527,
|
| 334 |
+
0.012313599586486817,
|
| 335 |
+
0.012311552047729492,
|
| 336 |
+
0.012301312446594239,
|
| 337 |
+
0.012302335739135742,
|
| 338 |
+
0.012312576293945313,
|
| 339 |
+
0.012303359985351562,
|
| 340 |
+
0.012304384231567383,
|
| 341 |
+
0.012308480262756348,
|
| 342 |
+
0.012300288200378418,
|
| 343 |
+
0.012313599586486817,
|
| 344 |
+
0.012331007957458496,
|
| 345 |
+
0.012309503555297852,
|
| 346 |
+
0.012299263954162597,
|
| 347 |
+
0.012434432029724121,
|
| 348 |
+
0.012306431770324706,
|
| 349 |
+
0.012305407524108887,
|
| 350 |
+
0.012337151527404786,
|
| 351 |
+
0.012296192169189453,
|
| 352 |
+
0.012307456016540527,
|
| 353 |
+
0.012454912185668946,
|
| 354 |
+
0.012314623832702636,
|
| 355 |
+
0.012337151527404786,
|
| 356 |
+
0.012331007957458496,
|
| 357 |
+
0.012300288200378418
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.16026614272958
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/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": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014161775588989258,
|
| 7 |
+
"prefill.throughput.value": 494.2883013513137,
|
| 8 |
+
"decode.latency.mean": 1.5649481201171875,
|
| 9 |
+
"decode.throughput.value": 81.15284996827236,
|
| 10 |
+
"per_token.latency.mean": 0.01232130015741183,
|
| 11 |
+
"per_token.throughput.value": 81.16026614272958
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-30/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpc2ccrbe1/commit=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 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/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpc2ccrbe1/commit\=c409cd81777fb27aadc043ed3d8339dbc020fb3b/${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.4.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model_type: null
|
| 150 |
+
model: google/gemma-2b
|
| 151 |
+
processor: null
|
| 152 |
+
device: cuda
|
| 153 |
+
device_ids: '0'
|
| 154 |
+
seed: 42
|
| 155 |
+
inter_op_num_threads: null
|
| 156 |
+
intra_op_num_threads: null
|
| 157 |
+
model_kwargs: {}
|
| 158 |
+
processor_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 |
+
memory: true
|
| 192 |
+
latency: 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 |
+
numactl: false
|
| 206 |
+
numactl_kwargs: {}
|
| 207 |
+
start_method: spawn
|
| 208 |
+
environment:
|
| 209 |
+
cpu: ' AMD EPYC 7R32'
|
| 210 |
+
cpu_count: 16
|
| 211 |
+
cpu_ram_mb: 66697.261056
|
| 212 |
+
system: Linux
|
| 213 |
+
machine: x86_64
|
| 214 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 215 |
+
processor: x86_64
|
| 216 |
+
python_version: 3.8.10
|
| 217 |
+
gpu:
|
| 218 |
+
- NVIDIA A10G
|
| 219 |
+
gpu_count: 1
|
| 220 |
+
gpu_vram_mb: 24146608128
|
| 221 |
+
optimum_benchmark_version: 0.4.0
|
| 222 |
+
optimum_benchmark_commit: null
|
| 223 |
+
transformers_version: 4.45.0.dev0
|
| 224 |
+
transformers_commit: c409cd81777fb27aadc043ed3d8339dbc020fb3b
|
| 225 |
+
accelerate_version: 0.34.0.dev0
|
| 226 |
+
accelerate_commit: null
|
| 227 |
+
diffusers_version: null
|
| 228 |
+
diffusers_commit: null
|
| 229 |
+
optimum_version: 1.22.0.dev0
|
| 230 |
+
optimum_commit: null
|
| 231 |
+
timm_version: 0.9.16
|
| 232 |
+
timm_commit: null
|
| 233 |
+
peft_version: 0.12.1.dev0
|
| 234 |
+
peft_commit: null
|
2024-08-30/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.020490752220153806,
|
| 8 |
+
"prefill.throughput.value": 341.61752212859744,
|
| 9 |
+
"decode.latency.mean": 2.4355491943359375,
|
| 10 |
+
"decode.throughput.value": 52.14429677517849,
|
| 11 |
+
"per_token.latency.mean": 0.019176319017185,
|
| 12 |
+
"per_token.throughput.value": 52.14765143945731
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021842111587524415,
|
| 21 |
+
"prefill.throughput.value": 320.48183491554903,
|
| 22 |
+
"decode.latency.mean": 2.61135791015625,
|
| 23 |
+
"decode.throughput.value": 48.63370107409022,
|
| 24 |
+
"per_token.latency.mean": 0.020560823410514767,
|
| 25 |
+
"per_token.throughput.value": 48.636184457894906
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "c409cd81777fb27aadc043ed3d8339dbc020fb3b",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014161775588989258,
|
| 34 |
+
"prefill.throughput.value": 494.2883013513137,
|
| 35 |
+
"decode.latency.mean": 1.5649481201171875,
|
| 36 |
+
"decode.throughput.value": 81.15284996827236,
|
| 37 |
+
"per_token.latency.mean": 0.01232130015741183,
|
| 38 |
+
"per_token.throughput.value": 81.16026614272958
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-08-30/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"c409cd81777fb27aadc043ed3d8339dbc020fb3b": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020490752220153806,
|
| 7 |
+
"prefill.throughput.value": 341.61752212859744,
|
| 8 |
+
"decode.latency.mean": 2.4355491943359375,
|
| 9 |
+
"decode.throughput.value": 52.14429677517849,
|
| 10 |
+
"per_token.latency.mean": 0.019176319017185,
|
| 11 |
+
"per_token.throughput.value": 52.14765143945731
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"c409cd81777fb27aadc043ed3d8339dbc020fb3b": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021842111587524415,
|
| 19 |
+
"prefill.throughput.value": 320.48183491554903,
|
| 20 |
+
"decode.latency.mean": 2.61135791015625,
|
| 21 |
+
"decode.throughput.value": 48.63370107409022,
|
| 22 |
+
"per_token.latency.mean": 0.020560823410514767,
|
| 23 |
+
"per_token.throughput.value": 48.636184457894906
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"c409cd81777fb27aadc043ed3d8339dbc020fb3b": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014161775588989258,
|
| 31 |
+
"prefill.throughput.value": 494.2883013513137,
|
| 32 |
+
"decode.latency.mean": 1.5649481201171875,
|
| 33 |
+
"decode.throughput.value": 81.15284996827236,
|
| 34 |
+
"per_token.latency.mean": 0.01232130015741183,
|
| 35 |
+
"per_token.throughput.value": 81.16026614272958
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|