Upload folder using huggingface_hub
Browse files- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/multirun.yaml +234 -0
- 2024-08-25/summaries.json +41 -0
- 2024-08-25/summary.json +40 -0
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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": 1318.424576,
|
| 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.836884765625,
|
| 120 |
+
"mean": 11.836884765625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.836884765625,
|
| 123 |
+
"p90": 11.836884765625,
|
| 124 |
+
"p95": 11.836884765625,
|
| 125 |
+
"p99": 11.836884765625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.836884765625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1717.055488,
|
| 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.04161190414428711,
|
| 147 |
+
"mean": 0.020805952072143554,
|
| 148 |
+
"stdev": 3.6479949951172264e-05,
|
| 149 |
+
"p50": 0.020805952072143554,
|
| 150 |
+
"p90": 0.020835136032104493,
|
| 151 |
+
"p95": 0.02083878402709961,
|
| 152 |
+
"p99": 0.020841702423095704,
|
| 153 |
+
"values": [
|
| 154 |
+
0.020769472122192382,
|
| 155 |
+
0.020842432022094726
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 336.4421861459579
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1771.589632,
|
| 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.9493642578124994,
|
| 178 |
+
"mean": 2.4746821289062497,
|
| 179 |
+
"stdev": 0.002011474609375119,
|
| 180 |
+
"p50": 2.4746821289062497,
|
| 181 |
+
"p90": 2.47629130859375,
|
| 182 |
+
"p95": 2.4764924560546877,
|
| 183 |
+
"p99": 2.4766533740234378,
|
| 184 |
+
"values": [
|
| 185 |
+
2.476693603515625,
|
| 186 |
+
2.472670654296875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 51.319722446991996
|
| 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.949048316955565,
|
| 202 |
+
"mean": 0.01948444219273845,
|
| 203 |
+
"stdev": 0.00020348130233360914,
|
| 204 |
+
"p50": 0.01946060848236084,
|
| 205 |
+
"p90": 0.019647385787963868,
|
| 206 |
+
"p95": 0.019899955081939695,
|
| 207 |
+
"p99": 0.0202538090133667,
|
| 208 |
+
"values": [
|
| 209 |
+
0.019372032165527343,
|
| 210 |
+
0.019372032165527343,
|
| 211 |
+
0.019389440536499023,
|
| 212 |
+
0.019386367797851564,
|
| 213 |
+
0.019371007919311522,
|
| 214 |
+
0.019384319305419923,
|
| 215 |
+
0.019301408767700194,
|
| 216 |
+
0.019208160400390625,
|
| 217 |
+
0.01918156814575195,
|
| 218 |
+
0.01921433639526367,
|
| 219 |
+
0.01922764778137207,
|
| 220 |
+
0.019336191177368164,
|
| 221 |
+
0.019400703430175782,
|
| 222 |
+
0.01944473648071289,
|
| 223 |
+
0.019417087554931642,
|
| 224 |
+
0.0194201602935791,
|
| 225 |
+
0.0194334716796875,
|
| 226 |
+
0.019506175994873046,
|
| 227 |
+
0.019729408264160156,
|
| 228 |
+
0.01947340774536133,
|
| 229 |
+
0.020199424743652345,
|
| 230 |
+
0.0196628475189209,
|
| 231 |
+
0.019525632858276368,
|
| 232 |
+
0.019672063827514647,
|
| 233 |
+
0.019393535614013673,
|
| 234 |
+
0.01943961524963379,
|
| 235 |
+
0.01942019271850586,
|
| 236 |
+
0.019378143310546873,
|
| 237 |
+
0.01942937660217285,
|
| 238 |
+
0.019405824661254883,
|
| 239 |
+
0.01924608039855957,
|
| 240 |
+
0.019500032424926757,
|
| 241 |
+
0.019345407485961915,
|
| 242 |
+
0.01948569679260254,
|
| 243 |
+
0.01943142318725586,
|
| 244 |
+
0.019363840103149413,
|
| 245 |
+
0.019587072372436523,
|
| 246 |
+
0.0194969596862793,
|
| 247 |
+
0.01945599937438965,
|
| 248 |
+
0.019506175994873046,
|
| 249 |
+
0.01942425537109375,
|
| 250 |
+
0.01944883155822754,
|
| 251 |
+
0.019422208786010742,
|
| 252 |
+
0.01946112060546875,
|
| 253 |
+
0.019376127243041993,
|
| 254 |
+
0.019406848907470704,
|
| 255 |
+
0.01946009635925293,
|
| 256 |
+
0.019333120346069335,
|
| 257 |
+
0.01943756866455078,
|
| 258 |
+
0.019414016723632813,
|
| 259 |
+
0.019352575302124024,
|
| 260 |
+
0.019374080657958984,
|
| 261 |
+
0.019342336654663086,
|
| 262 |
+
0.019400703430175782,
|
| 263 |
+
0.019317760467529296,
|
| 264 |
+
0.01942425537109375,
|
| 265 |
+
0.019346431732177736,
|
| 266 |
+
0.01958502388000488,
|
| 267 |
+
0.019531776428222656,
|
| 268 |
+
0.019606527328491212,
|
| 269 |
+
0.019611648559570313,
|
| 270 |
+
0.019598335266113282,
|
| 271 |
+
0.019475456237792968,
|
| 272 |
+
0.019557376861572266,
|
| 273 |
+
0.019517440795898438,
|
| 274 |
+
0.019545087814331053,
|
| 275 |
+
0.019546112060546874,
|
| 276 |
+
0.019527679443359376,
|
| 277 |
+
0.019566591262817384,
|
| 278 |
+
0.02002943992614746,
|
| 279 |
+
0.019545087814331053,
|
| 280 |
+
0.01944883155822754,
|
| 281 |
+
0.020537343978881836,
|
| 282 |
+
0.019549184799194336,
|
| 283 |
+
0.019534847259521485,
|
| 284 |
+
0.019522560119628905,
|
| 285 |
+
0.019557376861572266,
|
| 286 |
+
0.019703807830810546,
|
| 287 |
+
0.019577856063842772,
|
| 288 |
+
0.01940275192260742,
|
| 289 |
+
0.019540992736816407,
|
| 290 |
+
0.019548160552978516,
|
| 291 |
+
0.019520511627197267,
|
| 292 |
+
0.019536895751953123,
|
| 293 |
+
0.019583999633789064,
|
| 294 |
+
0.019607551574707033,
|
| 295 |
+
0.019572736740112305,
|
| 296 |
+
0.01963929557800293,
|
| 297 |
+
0.019519487380981446,
|
| 298 |
+
0.01944473648071289,
|
| 299 |
+
0.019364864349365234,
|
| 300 |
+
0.019207168579101562,
|
| 301 |
+
0.019088384628295898,
|
| 302 |
+
0.019284992218017577,
|
| 303 |
+
0.019358720779418945,
|
| 304 |
+
0.019332096099853514,
|
| 305 |
+
0.019375104904174805,
|
| 306 |
+
0.01939967918395996,
|
| 307 |
+
0.019540992736816407,
|
| 308 |
+
0.019581951141357423,
|
| 309 |
+
0.019549184799194336,
|
| 310 |
+
0.019490879058837892,
|
| 311 |
+
0.019585983276367187,
|
| 312 |
+
0.019612672805786133,
|
| 313 |
+
0.01960857582092285,
|
| 314 |
+
0.019562496185302734,
|
| 315 |
+
0.019519487380981446,
|
| 316 |
+
0.01958502388000488,
|
| 317 |
+
0.019566591262817384,
|
| 318 |
+
0.01947238349914551,
|
| 319 |
+
0.019292160034179686,
|
| 320 |
+
0.01923379135131836,
|
| 321 |
+
0.01940787124633789,
|
| 322 |
+
0.019348480224609374,
|
| 323 |
+
0.019560447692871095,
|
| 324 |
+
0.019495935440063478,
|
| 325 |
+
0.0196495361328125,
|
| 326 |
+
0.019570688247680663,
|
| 327 |
+
0.019360767364501954,
|
| 328 |
+
0.0195020809173584,
|
| 329 |
+
0.02004684829711914,
|
| 330 |
+
0.020002815246582033,
|
| 331 |
+
0.019360767364501954,
|
| 332 |
+
0.020315135955810547,
|
| 333 |
+
0.020067327499389647,
|
| 334 |
+
0.019767295837402343,
|
| 335 |
+
0.01961881637573242,
|
| 336 |
+
0.019388416290283202,
|
| 337 |
+
0.01924812889099121,
|
| 338 |
+
0.019562496185302734,
|
| 339 |
+
0.019567615509033204,
|
| 340 |
+
0.019346431732177736,
|
| 341 |
+
0.019417152404785157,
|
| 342 |
+
0.019419071197509765,
|
| 343 |
+
0.01944883155822754,
|
| 344 |
+
0.01944063949584961,
|
| 345 |
+
0.019346431732177736,
|
| 346 |
+
0.01943142318725586,
|
| 347 |
+
0.019565568923950196,
|
| 348 |
+
0.019342336654663086,
|
| 349 |
+
0.01944371223449707,
|
| 350 |
+
0.01945702362060547,
|
| 351 |
+
0.019147775650024415,
|
| 352 |
+
0.01923072052001953,
|
| 353 |
+
0.019353599548339845,
|
| 354 |
+
0.019895296096801757,
|
| 355 |
+
0.01927065658569336,
|
| 356 |
+
0.019150848388671874,
|
| 357 |
+
0.019306495666503908,
|
| 358 |
+
0.019393535614013673,
|
| 359 |
+
0.019252223968505858,
|
| 360 |
+
0.01922559928894043,
|
| 361 |
+
0.01927475166320801,
|
| 362 |
+
0.01928294372558594,
|
| 363 |
+
0.019200000762939453,
|
| 364 |
+
0.01940377616882324,
|
| 365 |
+
0.019458047866821288,
|
| 366 |
+
0.019438592910766602,
|
| 367 |
+
0.019471359252929688,
|
| 368 |
+
0.019286016464233398,
|
| 369 |
+
0.019356672286987304,
|
| 370 |
+
0.019697664260864257,
|
| 371 |
+
0.01941913604736328,
|
| 372 |
+
0.019385343551635743,
|
| 373 |
+
0.01943552017211914,
|
| 374 |
+
0.01926348876953125,
|
| 375 |
+
0.019354623794555666,
|
| 376 |
+
0.019300352096557616,
|
| 377 |
+
0.019367935180664063,
|
| 378 |
+
0.01930342483520508,
|
| 379 |
+
0.019530752182006835,
|
| 380 |
+
0.019306495666503908,
|
| 381 |
+
0.01926553535461426,
|
| 382 |
+
0.01923174476623535,
|
| 383 |
+
0.019915775299072267,
|
| 384 |
+
0.01921843147277832,
|
| 385 |
+
0.01923481559753418,
|
| 386 |
+
0.019017728805541992,
|
| 387 |
+
0.01907302474975586,
|
| 388 |
+
0.019273727416992188,
|
| 389 |
+
0.01940275192260742,
|
| 390 |
+
0.01943244743347168,
|
| 391 |
+
0.01943142318725586,
|
| 392 |
+
0.019396608352661132,
|
| 393 |
+
0.019722240447998047,
|
| 394 |
+
0.019558399200439454,
|
| 395 |
+
0.019513343811035155,
|
| 396 |
+
0.019533824920654298,
|
| 397 |
+
0.019335168838500977,
|
| 398 |
+
0.019698688507080078,
|
| 399 |
+
0.0195020809173584,
|
| 400 |
+
0.019554304122924804,
|
| 401 |
+
0.019561471939086913,
|
| 402 |
+
0.019361791610717775,
|
| 403 |
+
0.01937919998168945,
|
| 404 |
+
0.019591167449951173,
|
| 405 |
+
0.019952640533447266,
|
| 406 |
+
0.020016128540039063,
|
| 407 |
+
0.01942425537109375,
|
| 408 |
+
0.01925836753845215,
|
| 409 |
+
0.01928704071044922,
|
| 410 |
+
0.01927987289428711,
|
| 411 |
+
0.019292160034179686,
|
| 412 |
+
0.019567615509033204,
|
| 413 |
+
0.019523584365844726,
|
| 414 |
+
0.019422208786010742,
|
| 415 |
+
0.019607551574707033,
|
| 416 |
+
0.019753984451293945,
|
| 417 |
+
0.019543039321899415,
|
| 418 |
+
0.019491840362548828,
|
| 419 |
+
0.019527679443359376,
|
| 420 |
+
0.019567615509033204,
|
| 421 |
+
0.01949286460876465,
|
| 422 |
+
0.019400703430175782,
|
| 423 |
+
0.019487743377685548,
|
| 424 |
+
0.01948876762390137,
|
| 425 |
+
0.019560447692871095,
|
| 426 |
+
0.01931372833251953,
|
| 427 |
+
0.01956447982788086,
|
| 428 |
+
0.019417087554931642,
|
| 429 |
+
0.019521535873413084,
|
| 430 |
+
0.019317760467529296,
|
| 431 |
+
0.019804159164428712,
|
| 432 |
+
0.019577856063842772,
|
| 433 |
+
0.019521535873413084,
|
| 434 |
+
0.02045747184753418,
|
| 435 |
+
0.020172800064086914,
|
| 436 |
+
0.01964236831665039,
|
| 437 |
+
0.019478527069091797,
|
| 438 |
+
0.019565568923950196,
|
| 439 |
+
0.019598335266113282,
|
| 440 |
+
0.019490816116333007,
|
| 441 |
+
0.019385343551635743,
|
| 442 |
+
0.019485824584960936,
|
| 443 |
+
0.019462015151977537,
|
| 444 |
+
0.019536895751953123,
|
| 445 |
+
0.019520511627197267,
|
| 446 |
+
0.019612672805786133,
|
| 447 |
+
0.019590143203735352,
|
| 448 |
+
0.019568639755249022,
|
| 449 |
+
0.01960550308227539,
|
| 450 |
+
0.019908607482910155,
|
| 451 |
+
0.019519487380981446,
|
| 452 |
+
0.019528703689575197,
|
| 453 |
+
0.01946931266784668,
|
| 454 |
+
0.01949286460876465,
|
| 455 |
+
0.01948876762390137,
|
| 456 |
+
0.019711999893188475,
|
| 457 |
+
0.019546112060546874,
|
| 458 |
+
0.01941913604736328,
|
| 459 |
+
0.019479551315307618,
|
| 460 |
+
0.019404800415039062,
|
| 461 |
+
0.01943244743347168,
|
| 462 |
+
0.019556352615356445
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 51.32299863183584
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": 1318.424576,
|
| 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.836884765625,
|
| 15 |
+
"mean": 11.836884765625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.836884765625,
|
| 18 |
+
"p90": 11.836884765625,
|
| 19 |
+
"p95": 11.836884765625,
|
| 20 |
+
"p99": 11.836884765625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.836884765625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1717.055488,
|
| 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.04161190414428711,
|
| 42 |
+
"mean": 0.020805952072143554,
|
| 43 |
+
"stdev": 3.6479949951172264e-05,
|
| 44 |
+
"p50": 0.020805952072143554,
|
| 45 |
+
"p90": 0.020835136032104493,
|
| 46 |
+
"p95": 0.02083878402709961,
|
| 47 |
+
"p99": 0.020841702423095704,
|
| 48 |
+
"values": [
|
| 49 |
+
0.020769472122192382,
|
| 50 |
+
0.020842432022094726
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 336.4421861459579
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1771.589632,
|
| 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.9493642578124994,
|
| 73 |
+
"mean": 2.4746821289062497,
|
| 74 |
+
"stdev": 0.002011474609375119,
|
| 75 |
+
"p50": 2.4746821289062497,
|
| 76 |
+
"p90": 2.47629130859375,
|
| 77 |
+
"p95": 2.4764924560546877,
|
| 78 |
+
"p99": 2.4766533740234378,
|
| 79 |
+
"values": [
|
| 80 |
+
2.476693603515625,
|
| 81 |
+
2.472670654296875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 51.319722446991996
|
| 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.949048316955565,
|
| 97 |
+
"mean": 0.01948444219273845,
|
| 98 |
+
"stdev": 0.00020348130233360914,
|
| 99 |
+
"p50": 0.01946060848236084,
|
| 100 |
+
"p90": 0.019647385787963868,
|
| 101 |
+
"p95": 0.019899955081939695,
|
| 102 |
+
"p99": 0.0202538090133667,
|
| 103 |
+
"values": [
|
| 104 |
+
0.019372032165527343,
|
| 105 |
+
0.019372032165527343,
|
| 106 |
+
0.019389440536499023,
|
| 107 |
+
0.019386367797851564,
|
| 108 |
+
0.019371007919311522,
|
| 109 |
+
0.019384319305419923,
|
| 110 |
+
0.019301408767700194,
|
| 111 |
+
0.019208160400390625,
|
| 112 |
+
0.01918156814575195,
|
| 113 |
+
0.01921433639526367,
|
| 114 |
+
0.01922764778137207,
|
| 115 |
+
0.019336191177368164,
|
| 116 |
+
0.019400703430175782,
|
| 117 |
+
0.01944473648071289,
|
| 118 |
+
0.019417087554931642,
|
| 119 |
+
0.0194201602935791,
|
| 120 |
+
0.0194334716796875,
|
| 121 |
+
0.019506175994873046,
|
| 122 |
+
0.019729408264160156,
|
| 123 |
+
0.01947340774536133,
|
| 124 |
+
0.020199424743652345,
|
| 125 |
+
0.0196628475189209,
|
| 126 |
+
0.019525632858276368,
|
| 127 |
+
0.019672063827514647,
|
| 128 |
+
0.019393535614013673,
|
| 129 |
+
0.01943961524963379,
|
| 130 |
+
0.01942019271850586,
|
| 131 |
+
0.019378143310546873,
|
| 132 |
+
0.01942937660217285,
|
| 133 |
+
0.019405824661254883,
|
| 134 |
+
0.01924608039855957,
|
| 135 |
+
0.019500032424926757,
|
| 136 |
+
0.019345407485961915,
|
| 137 |
+
0.01948569679260254,
|
| 138 |
+
0.01943142318725586,
|
| 139 |
+
0.019363840103149413,
|
| 140 |
+
0.019587072372436523,
|
| 141 |
+
0.0194969596862793,
|
| 142 |
+
0.01945599937438965,
|
| 143 |
+
0.019506175994873046,
|
| 144 |
+
0.01942425537109375,
|
| 145 |
+
0.01944883155822754,
|
| 146 |
+
0.019422208786010742,
|
| 147 |
+
0.01946112060546875,
|
| 148 |
+
0.019376127243041993,
|
| 149 |
+
0.019406848907470704,
|
| 150 |
+
0.01946009635925293,
|
| 151 |
+
0.019333120346069335,
|
| 152 |
+
0.01943756866455078,
|
| 153 |
+
0.019414016723632813,
|
| 154 |
+
0.019352575302124024,
|
| 155 |
+
0.019374080657958984,
|
| 156 |
+
0.019342336654663086,
|
| 157 |
+
0.019400703430175782,
|
| 158 |
+
0.019317760467529296,
|
| 159 |
+
0.01942425537109375,
|
| 160 |
+
0.019346431732177736,
|
| 161 |
+
0.01958502388000488,
|
| 162 |
+
0.019531776428222656,
|
| 163 |
+
0.019606527328491212,
|
| 164 |
+
0.019611648559570313,
|
| 165 |
+
0.019598335266113282,
|
| 166 |
+
0.019475456237792968,
|
| 167 |
+
0.019557376861572266,
|
| 168 |
+
0.019517440795898438,
|
| 169 |
+
0.019545087814331053,
|
| 170 |
+
0.019546112060546874,
|
| 171 |
+
0.019527679443359376,
|
| 172 |
+
0.019566591262817384,
|
| 173 |
+
0.02002943992614746,
|
| 174 |
+
0.019545087814331053,
|
| 175 |
+
0.01944883155822754,
|
| 176 |
+
0.020537343978881836,
|
| 177 |
+
0.019549184799194336,
|
| 178 |
+
0.019534847259521485,
|
| 179 |
+
0.019522560119628905,
|
| 180 |
+
0.019557376861572266,
|
| 181 |
+
0.019703807830810546,
|
| 182 |
+
0.019577856063842772,
|
| 183 |
+
0.01940275192260742,
|
| 184 |
+
0.019540992736816407,
|
| 185 |
+
0.019548160552978516,
|
| 186 |
+
0.019520511627197267,
|
| 187 |
+
0.019536895751953123,
|
| 188 |
+
0.019583999633789064,
|
| 189 |
+
0.019607551574707033,
|
| 190 |
+
0.019572736740112305,
|
| 191 |
+
0.01963929557800293,
|
| 192 |
+
0.019519487380981446,
|
| 193 |
+
0.01944473648071289,
|
| 194 |
+
0.019364864349365234,
|
| 195 |
+
0.019207168579101562,
|
| 196 |
+
0.019088384628295898,
|
| 197 |
+
0.019284992218017577,
|
| 198 |
+
0.019358720779418945,
|
| 199 |
+
0.019332096099853514,
|
| 200 |
+
0.019375104904174805,
|
| 201 |
+
0.01939967918395996,
|
| 202 |
+
0.019540992736816407,
|
| 203 |
+
0.019581951141357423,
|
| 204 |
+
0.019549184799194336,
|
| 205 |
+
0.019490879058837892,
|
| 206 |
+
0.019585983276367187,
|
| 207 |
+
0.019612672805786133,
|
| 208 |
+
0.01960857582092285,
|
| 209 |
+
0.019562496185302734,
|
| 210 |
+
0.019519487380981446,
|
| 211 |
+
0.01958502388000488,
|
| 212 |
+
0.019566591262817384,
|
| 213 |
+
0.01947238349914551,
|
| 214 |
+
0.019292160034179686,
|
| 215 |
+
0.01923379135131836,
|
| 216 |
+
0.01940787124633789,
|
| 217 |
+
0.019348480224609374,
|
| 218 |
+
0.019560447692871095,
|
| 219 |
+
0.019495935440063478,
|
| 220 |
+
0.0196495361328125,
|
| 221 |
+
0.019570688247680663,
|
| 222 |
+
0.019360767364501954,
|
| 223 |
+
0.0195020809173584,
|
| 224 |
+
0.02004684829711914,
|
| 225 |
+
0.020002815246582033,
|
| 226 |
+
0.019360767364501954,
|
| 227 |
+
0.020315135955810547,
|
| 228 |
+
0.020067327499389647,
|
| 229 |
+
0.019767295837402343,
|
| 230 |
+
0.01961881637573242,
|
| 231 |
+
0.019388416290283202,
|
| 232 |
+
0.01924812889099121,
|
| 233 |
+
0.019562496185302734,
|
| 234 |
+
0.019567615509033204,
|
| 235 |
+
0.019346431732177736,
|
| 236 |
+
0.019417152404785157,
|
| 237 |
+
0.019419071197509765,
|
| 238 |
+
0.01944883155822754,
|
| 239 |
+
0.01944063949584961,
|
| 240 |
+
0.019346431732177736,
|
| 241 |
+
0.01943142318725586,
|
| 242 |
+
0.019565568923950196,
|
| 243 |
+
0.019342336654663086,
|
| 244 |
+
0.01944371223449707,
|
| 245 |
+
0.01945702362060547,
|
| 246 |
+
0.019147775650024415,
|
| 247 |
+
0.01923072052001953,
|
| 248 |
+
0.019353599548339845,
|
| 249 |
+
0.019895296096801757,
|
| 250 |
+
0.01927065658569336,
|
| 251 |
+
0.019150848388671874,
|
| 252 |
+
0.019306495666503908,
|
| 253 |
+
0.019393535614013673,
|
| 254 |
+
0.019252223968505858,
|
| 255 |
+
0.01922559928894043,
|
| 256 |
+
0.01927475166320801,
|
| 257 |
+
0.01928294372558594,
|
| 258 |
+
0.019200000762939453,
|
| 259 |
+
0.01940377616882324,
|
| 260 |
+
0.019458047866821288,
|
| 261 |
+
0.019438592910766602,
|
| 262 |
+
0.019471359252929688,
|
| 263 |
+
0.019286016464233398,
|
| 264 |
+
0.019356672286987304,
|
| 265 |
+
0.019697664260864257,
|
| 266 |
+
0.01941913604736328,
|
| 267 |
+
0.019385343551635743,
|
| 268 |
+
0.01943552017211914,
|
| 269 |
+
0.01926348876953125,
|
| 270 |
+
0.019354623794555666,
|
| 271 |
+
0.019300352096557616,
|
| 272 |
+
0.019367935180664063,
|
| 273 |
+
0.01930342483520508,
|
| 274 |
+
0.019530752182006835,
|
| 275 |
+
0.019306495666503908,
|
| 276 |
+
0.01926553535461426,
|
| 277 |
+
0.01923174476623535,
|
| 278 |
+
0.019915775299072267,
|
| 279 |
+
0.01921843147277832,
|
| 280 |
+
0.01923481559753418,
|
| 281 |
+
0.019017728805541992,
|
| 282 |
+
0.01907302474975586,
|
| 283 |
+
0.019273727416992188,
|
| 284 |
+
0.01940275192260742,
|
| 285 |
+
0.01943244743347168,
|
| 286 |
+
0.01943142318725586,
|
| 287 |
+
0.019396608352661132,
|
| 288 |
+
0.019722240447998047,
|
| 289 |
+
0.019558399200439454,
|
| 290 |
+
0.019513343811035155,
|
| 291 |
+
0.019533824920654298,
|
| 292 |
+
0.019335168838500977,
|
| 293 |
+
0.019698688507080078,
|
| 294 |
+
0.0195020809173584,
|
| 295 |
+
0.019554304122924804,
|
| 296 |
+
0.019561471939086913,
|
| 297 |
+
0.019361791610717775,
|
| 298 |
+
0.01937919998168945,
|
| 299 |
+
0.019591167449951173,
|
| 300 |
+
0.019952640533447266,
|
| 301 |
+
0.020016128540039063,
|
| 302 |
+
0.01942425537109375,
|
| 303 |
+
0.01925836753845215,
|
| 304 |
+
0.01928704071044922,
|
| 305 |
+
0.01927987289428711,
|
| 306 |
+
0.019292160034179686,
|
| 307 |
+
0.019567615509033204,
|
| 308 |
+
0.019523584365844726,
|
| 309 |
+
0.019422208786010742,
|
| 310 |
+
0.019607551574707033,
|
| 311 |
+
0.019753984451293945,
|
| 312 |
+
0.019543039321899415,
|
| 313 |
+
0.019491840362548828,
|
| 314 |
+
0.019527679443359376,
|
| 315 |
+
0.019567615509033204,
|
| 316 |
+
0.01949286460876465,
|
| 317 |
+
0.019400703430175782,
|
| 318 |
+
0.019487743377685548,
|
| 319 |
+
0.01948876762390137,
|
| 320 |
+
0.019560447692871095,
|
| 321 |
+
0.01931372833251953,
|
| 322 |
+
0.01956447982788086,
|
| 323 |
+
0.019417087554931642,
|
| 324 |
+
0.019521535873413084,
|
| 325 |
+
0.019317760467529296,
|
| 326 |
+
0.019804159164428712,
|
| 327 |
+
0.019577856063842772,
|
| 328 |
+
0.019521535873413084,
|
| 329 |
+
0.02045747184753418,
|
| 330 |
+
0.020172800064086914,
|
| 331 |
+
0.01964236831665039,
|
| 332 |
+
0.019478527069091797,
|
| 333 |
+
0.019565568923950196,
|
| 334 |
+
0.019598335266113282,
|
| 335 |
+
0.019490816116333007,
|
| 336 |
+
0.019385343551635743,
|
| 337 |
+
0.019485824584960936,
|
| 338 |
+
0.019462015151977537,
|
| 339 |
+
0.019536895751953123,
|
| 340 |
+
0.019520511627197267,
|
| 341 |
+
0.019612672805786133,
|
| 342 |
+
0.019590143203735352,
|
| 343 |
+
0.019568639755249022,
|
| 344 |
+
0.01960550308227539,
|
| 345 |
+
0.019908607482910155,
|
| 346 |
+
0.019519487380981446,
|
| 347 |
+
0.019528703689575197,
|
| 348 |
+
0.01946931266784668,
|
| 349 |
+
0.01949286460876465,
|
| 350 |
+
0.01948876762390137,
|
| 351 |
+
0.019711999893188475,
|
| 352 |
+
0.019546112060546874,
|
| 353 |
+
0.01941913604736328,
|
| 354 |
+
0.019479551315307618,
|
| 355 |
+
0.019404800415039062,
|
| 356 |
+
0.01943244743347168,
|
| 357 |
+
0.019556352615356445
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 51.32299863183584
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020805952072143554,
|
| 7 |
+
"prefill.throughput.value": 336.4421861459579,
|
| 8 |
+
"decode.latency.mean": 2.4746821289062497,
|
| 9 |
+
"decode.throughput.value": 51.319722446991996,
|
| 10 |
+
"per_token.latency.mean": 0.01948444219273845,
|
| 11 |
+
"per_token.throughput.value": 51.32299863183584
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25 02:40:28,480[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-08-25 02:40:30,938[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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": 1319.657472,
|
| 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.466306640625,
|
| 120 |
+
"mean": 12.466306640625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.466306640625,
|
| 123 |
+
"p90": 12.466306640625,
|
| 124 |
+
"p95": 12.466306640625,
|
| 125 |
+
"p99": 12.466306640625,
|
| 126 |
+
"values": [
|
| 127 |
+
12.466306640625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1751.515136,
|
| 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.04397520065307617,
|
| 147 |
+
"mean": 0.021987600326538084,
|
| 148 |
+
"stdev": 6.532859802245959e-05,
|
| 149 |
+
"p50": 0.021987600326538084,
|
| 150 |
+
"p90": 0.022039863204956055,
|
| 151 |
+
"p95": 0.0220463960647583,
|
| 152 |
+
"p99": 0.022051622352600095,
|
| 153 |
+
"values": [
|
| 154 |
+
0.021922271728515626,
|
| 155 |
+
0.022052928924560546
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 318.36125343570586
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1776.451584,
|
| 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.263006591796875,
|
| 178 |
+
"mean": 2.6315032958984377,
|
| 179 |
+
"stdev": 0.007253051757812434,
|
| 180 |
+
"p50": 2.6315032958984377,
|
| 181 |
+
"p90": 2.6373057373046875,
|
| 182 |
+
"p95": 2.6380310424804687,
|
| 183 |
+
"p99": 2.6386112866210936,
|
| 184 |
+
"values": [
|
| 185 |
+
2.63875634765625,
|
| 186 |
+
2.624250244140625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 48.26138739706201
|
| 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.262742538452147,
|
| 202 |
+
"mean": 0.020719458812803734,
|
| 203 |
+
"stdev": 0.00044267072336821644,
|
| 204 |
+
"p50": 0.020717055320739745,
|
| 205 |
+
"p90": 0.02118236083984375,
|
| 206 |
+
"p95": 0.021277439880371094,
|
| 207 |
+
"p99": 0.021831383533477782,
|
| 208 |
+
"values": [
|
| 209 |
+
0.02032640075683594,
|
| 210 |
+
0.02064384078979492,
|
| 211 |
+
0.021275648117065428,
|
| 212 |
+
0.021175296783447265,
|
| 213 |
+
0.021210111618041993,
|
| 214 |
+
0.021155839920043946,
|
| 215 |
+
0.021308416366577147,
|
| 216 |
+
0.02120806312561035,
|
| 217 |
+
0.021172224044799806,
|
| 218 |
+
0.021151744842529296,
|
| 219 |
+
0.021117952346801756,
|
| 220 |
+
0.021207040786743164,
|
| 221 |
+
0.021163007736206055,
|
| 222 |
+
0.020986879348754883,
|
| 223 |
+
0.0210882568359375,
|
| 224 |
+
0.021126144409179686,
|
| 225 |
+
0.02110361671447754,
|
| 226 |
+
0.02109542465209961,
|
| 227 |
+
0.021130239486694336,
|
| 228 |
+
0.021177343368530274,
|
| 229 |
+
0.02109132766723633,
|
| 230 |
+
0.02107904052734375,
|
| 231 |
+
0.021146623611450196,
|
| 232 |
+
0.021114879608154297,
|
| 233 |
+
0.02084864044189453,
|
| 234 |
+
0.02122854423522949,
|
| 235 |
+
0.02161664009094238,
|
| 236 |
+
0.021186559677124024,
|
| 237 |
+
0.02108006477355957,
|
| 238 |
+
0.021038080215454103,
|
| 239 |
+
0.021121023178100586,
|
| 240 |
+
0.020273151397705077,
|
| 241 |
+
0.020306943893432617,
|
| 242 |
+
0.020307968139648438,
|
| 243 |
+
0.02030899238586426,
|
| 244 |
+
0.020144128799438478,
|
| 245 |
+
0.020108287811279296,
|
| 246 |
+
0.020162559509277343,
|
| 247 |
+
0.02011238479614258,
|
| 248 |
+
0.020091903686523437,
|
| 249 |
+
0.020340736389160157,
|
| 250 |
+
0.02065203285217285,
|
| 251 |
+
0.02030899238586426,
|
| 252 |
+
0.021086208343505858,
|
| 253 |
+
0.0210882568359375,
|
| 254 |
+
0.021109760284423826,
|
| 255 |
+
0.021090303421020508,
|
| 256 |
+
0.02027622413635254,
|
| 257 |
+
0.02026905632019043,
|
| 258 |
+
0.02087321662902832,
|
| 259 |
+
0.021164031982421876,
|
| 260 |
+
0.02124083137512207,
|
| 261 |
+
0.021137407302856445,
|
| 262 |
+
0.02027008056640625,
|
| 263 |
+
0.02028441619873047,
|
| 264 |
+
0.020445184707641603,
|
| 265 |
+
0.020993024826049804,
|
| 266 |
+
0.022408191680908202,
|
| 267 |
+
0.022157312393188477,
|
| 268 |
+
0.0212807674407959,
|
| 269 |
+
0.02112512016296387,
|
| 270 |
+
0.02105855941772461,
|
| 271 |
+
0.020356096267700196,
|
| 272 |
+
0.020295743942260743,
|
| 273 |
+
0.020277183532714845,
|
| 274 |
+
0.020288511276245116,
|
| 275 |
+
0.0206059513092041,
|
| 276 |
+
0.021113855361938477,
|
| 277 |
+
0.02105036735534668,
|
| 278 |
+
0.020339712142944336,
|
| 279 |
+
0.02031001663208008,
|
| 280 |
+
0.02027519989013672,
|
| 281 |
+
0.02026393508911133,
|
| 282 |
+
0.020279296875,
|
| 283 |
+
0.020583423614501953,
|
| 284 |
+
0.02128691291809082,
|
| 285 |
+
0.02143129539489746,
|
| 286 |
+
0.02123980712890625,
|
| 287 |
+
0.02107187271118164,
|
| 288 |
+
0.021009408950805664,
|
| 289 |
+
0.02027622413635254,
|
| 290 |
+
0.020287488937377928,
|
| 291 |
+
0.02030182456970215,
|
| 292 |
+
0.02026188850402832,
|
| 293 |
+
0.020273151397705077,
|
| 294 |
+
0.02027724838256836,
|
| 295 |
+
0.020306943893432617,
|
| 296 |
+
0.020271104812622072,
|
| 297 |
+
0.02029363250732422,
|
| 298 |
+
0.02165452766418457,
|
| 299 |
+
0.021990400314331054,
|
| 300 |
+
0.021184511184692383,
|
| 301 |
+
0.021158912658691405,
|
| 302 |
+
0.020355072021484375,
|
| 303 |
+
0.020740095138549804,
|
| 304 |
+
0.02109644889831543,
|
| 305 |
+
0.02106572723388672,
|
| 306 |
+
0.0210831356048584,
|
| 307 |
+
0.021098495483398438,
|
| 308 |
+
0.02120806312561035,
|
| 309 |
+
0.021122047424316406,
|
| 310 |
+
0.02105241584777832,
|
| 311 |
+
0.02025369644165039,
|
| 312 |
+
0.020264959335327147,
|
| 313 |
+
0.02027519989013672,
|
| 314 |
+
0.02024550437927246,
|
| 315 |
+
0.02028339195251465,
|
| 316 |
+
0.02066739273071289,
|
| 317 |
+
0.021009408950805664,
|
| 318 |
+
0.020298751831054687,
|
| 319 |
+
0.02169036865234375,
|
| 320 |
+
0.021412864685058593,
|
| 321 |
+
0.021389312744140625,
|
| 322 |
+
0.020339712142944336,
|
| 323 |
+
0.02028441619873047,
|
| 324 |
+
0.02028544044494629,
|
| 325 |
+
0.020324352264404297,
|
| 326 |
+
0.020256767272949217,
|
| 327 |
+
0.020303871154785155,
|
| 328 |
+
0.02028646469116211,
|
| 329 |
+
0.020332544326782227,
|
| 330 |
+
0.02069196891784668,
|
| 331 |
+
0.02036735916137695,
|
| 332 |
+
0.02025164794921875,
|
| 333 |
+
0.02028339195251465,
|
| 334 |
+
0.02027212715148926,
|
| 335 |
+
0.020271104812622072,
|
| 336 |
+
0.020281343460083007,
|
| 337 |
+
0.02025984001159668,
|
| 338 |
+
0.020246528625488282,
|
| 339 |
+
0.02028646469116211,
|
| 340 |
+
0.020246528625488282,
|
| 341 |
+
0.020289535522460937,
|
| 342 |
+
0.02025574493408203,
|
| 343 |
+
0.02025062370300293,
|
| 344 |
+
0.020231168746948244,
|
| 345 |
+
0.02109542465209961,
|
| 346 |
+
0.021006336212158205,
|
| 347 |
+
0.02027724838256836,
|
| 348 |
+
0.020986879348754883,
|
| 349 |
+
0.02104115104675293,
|
| 350 |
+
0.020986879348754883,
|
| 351 |
+
0.020993024826049804,
|
| 352 |
+
0.02083737564086914,
|
| 353 |
+
0.020146175384521483,
|
| 354 |
+
0.020607999801635742,
|
| 355 |
+
0.020987903594970703,
|
| 356 |
+
0.02110361671447754,
|
| 357 |
+
0.021143552780151367,
|
| 358 |
+
0.020290559768676757,
|
| 359 |
+
0.02029779243469238,
|
| 360 |
+
0.020270015716552733,
|
| 361 |
+
0.02103193664550781,
|
| 362 |
+
0.021126144409179686,
|
| 363 |
+
0.02026905632019043,
|
| 364 |
+
0.020239360809326173,
|
| 365 |
+
0.02021683120727539,
|
| 366 |
+
0.02030080032348633,
|
| 367 |
+
0.020584447860717774,
|
| 368 |
+
0.020995071411132812,
|
| 369 |
+
0.021019647598266602,
|
| 370 |
+
0.02028441619873047,
|
| 371 |
+
0.02028646469116211,
|
| 372 |
+
0.02028544044494629,
|
| 373 |
+
0.020249599456787108,
|
| 374 |
+
0.020985855102539062,
|
| 375 |
+
0.021112831115722656,
|
| 376 |
+
0.02107699203491211,
|
| 377 |
+
0.020354047775268554,
|
| 378 |
+
0.020624383926391602,
|
| 379 |
+
0.020282367706298828,
|
| 380 |
+
0.020556800842285155,
|
| 381 |
+
0.02106982421875,
|
| 382 |
+
0.021140480041503908,
|
| 383 |
+
0.021109760284423826,
|
| 384 |
+
0.021045248031616212,
|
| 385 |
+
0.020981760025024415,
|
| 386 |
+
0.021032960891723632,
|
| 387 |
+
0.021137407302856445,
|
| 388 |
+
0.020967424392700194,
|
| 389 |
+
0.021020671844482423,
|
| 390 |
+
0.021020671844482423,
|
| 391 |
+
0.021001216888427734,
|
| 392 |
+
0.020262912750244142,
|
| 393 |
+
0.02124492835998535,
|
| 394 |
+
0.02104319953918457,
|
| 395 |
+
0.02103398323059082,
|
| 396 |
+
0.02102374458312988,
|
| 397 |
+
0.021038080215454103,
|
| 398 |
+
0.02106470489501953,
|
| 399 |
+
0.021176319122314453,
|
| 400 |
+
0.02110771179199219,
|
| 401 |
+
0.02128486442565918,
|
| 402 |
+
0.02122854423522949,
|
| 403 |
+
0.020331520080566406,
|
| 404 |
+
0.020814847946166993,
|
| 405 |
+
0.020702207565307617,
|
| 406 |
+
0.020967424392700194,
|
| 407 |
+
0.020340736389160157,
|
| 408 |
+
0.020337663650512695,
|
| 409 |
+
0.020306943893432617,
|
| 410 |
+
0.020254720687866212,
|
| 411 |
+
0.02027212715148926,
|
| 412 |
+
0.020428800582885744,
|
| 413 |
+
0.02106675148010254,
|
| 414 |
+
0.02104832077026367,
|
| 415 |
+
0.021038080215454103,
|
| 416 |
+
0.02026905632019043,
|
| 417 |
+
0.02026700782775879,
|
| 418 |
+
0.02026188850402832,
|
| 419 |
+
0.020908031463623047,
|
| 420 |
+
0.02109235191345215,
|
| 421 |
+
0.020312063217163084,
|
| 422 |
+
0.02029363250732422,
|
| 423 |
+
0.020222976684570314,
|
| 424 |
+
0.02027622413635254,
|
| 425 |
+
0.020248575210571287,
|
| 426 |
+
0.021013504028320314,
|
| 427 |
+
0.021006336212158205,
|
| 428 |
+
0.02105753517150879,
|
| 429 |
+
0.02029363250732422,
|
| 430 |
+
0.020341760635375978,
|
| 431 |
+
0.020291584014892578,
|
| 432 |
+
0.020892671585083008,
|
| 433 |
+
0.020265983581542968,
|
| 434 |
+
0.020315135955810547,
|
| 435 |
+
0.020298751831054687,
|
| 436 |
+
0.020289535522460937,
|
| 437 |
+
0.02033459281921387,
|
| 438 |
+
0.020205568313598633,
|
| 439 |
+
0.020762624740600585,
|
| 440 |
+
0.020731903076171874,
|
| 441 |
+
0.020634624481201173,
|
| 442 |
+
0.021153791427612305,
|
| 443 |
+
0.02106265640258789,
|
| 444 |
+
0.02104115104675293,
|
| 445 |
+
0.021112831115722656,
|
| 446 |
+
0.02106879997253418,
|
| 447 |
+
0.021004287719726563,
|
| 448 |
+
0.020297727584838866,
|
| 449 |
+
0.02019430351257324,
|
| 450 |
+
0.02023526382446289,
|
| 451 |
+
0.02026393508911133,
|
| 452 |
+
0.02126848030090332,
|
| 453 |
+
0.021097471237182617,
|
| 454 |
+
0.021089279174804687,
|
| 455 |
+
0.020982784271240236,
|
| 456 |
+
0.02025984001159668,
|
| 457 |
+
0.020321279525756835,
|
| 458 |
+
0.02031001663208008,
|
| 459 |
+
0.020281343460083007,
|
| 460 |
+
0.0202926082611084,
|
| 461 |
+
0.020301855087280274,
|
| 462 |
+
0.02033558464050293
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 48.26380886850399
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": 1319.657472,
|
| 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.466306640625,
|
| 15 |
+
"mean": 12.466306640625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.466306640625,
|
| 18 |
+
"p90": 12.466306640625,
|
| 19 |
+
"p95": 12.466306640625,
|
| 20 |
+
"p99": 12.466306640625,
|
| 21 |
+
"values": [
|
| 22 |
+
12.466306640625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1751.515136,
|
| 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.04397520065307617,
|
| 42 |
+
"mean": 0.021987600326538084,
|
| 43 |
+
"stdev": 6.532859802245959e-05,
|
| 44 |
+
"p50": 0.021987600326538084,
|
| 45 |
+
"p90": 0.022039863204956055,
|
| 46 |
+
"p95": 0.0220463960647583,
|
| 47 |
+
"p99": 0.022051622352600095,
|
| 48 |
+
"values": [
|
| 49 |
+
0.021922271728515626,
|
| 50 |
+
0.022052928924560546
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 318.36125343570586
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1776.451584,
|
| 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.263006591796875,
|
| 73 |
+
"mean": 2.6315032958984377,
|
| 74 |
+
"stdev": 0.007253051757812434,
|
| 75 |
+
"p50": 2.6315032958984377,
|
| 76 |
+
"p90": 2.6373057373046875,
|
| 77 |
+
"p95": 2.6380310424804687,
|
| 78 |
+
"p99": 2.6386112866210936,
|
| 79 |
+
"values": [
|
| 80 |
+
2.63875634765625,
|
| 81 |
+
2.624250244140625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 48.26138739706201
|
| 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.262742538452147,
|
| 97 |
+
"mean": 0.020719458812803734,
|
| 98 |
+
"stdev": 0.00044267072336821644,
|
| 99 |
+
"p50": 0.020717055320739745,
|
| 100 |
+
"p90": 0.02118236083984375,
|
| 101 |
+
"p95": 0.021277439880371094,
|
| 102 |
+
"p99": 0.021831383533477782,
|
| 103 |
+
"values": [
|
| 104 |
+
0.02032640075683594,
|
| 105 |
+
0.02064384078979492,
|
| 106 |
+
0.021275648117065428,
|
| 107 |
+
0.021175296783447265,
|
| 108 |
+
0.021210111618041993,
|
| 109 |
+
0.021155839920043946,
|
| 110 |
+
0.021308416366577147,
|
| 111 |
+
0.02120806312561035,
|
| 112 |
+
0.021172224044799806,
|
| 113 |
+
0.021151744842529296,
|
| 114 |
+
0.021117952346801756,
|
| 115 |
+
0.021207040786743164,
|
| 116 |
+
0.021163007736206055,
|
| 117 |
+
0.020986879348754883,
|
| 118 |
+
0.0210882568359375,
|
| 119 |
+
0.021126144409179686,
|
| 120 |
+
0.02110361671447754,
|
| 121 |
+
0.02109542465209961,
|
| 122 |
+
0.021130239486694336,
|
| 123 |
+
0.021177343368530274,
|
| 124 |
+
0.02109132766723633,
|
| 125 |
+
0.02107904052734375,
|
| 126 |
+
0.021146623611450196,
|
| 127 |
+
0.021114879608154297,
|
| 128 |
+
0.02084864044189453,
|
| 129 |
+
0.02122854423522949,
|
| 130 |
+
0.02161664009094238,
|
| 131 |
+
0.021186559677124024,
|
| 132 |
+
0.02108006477355957,
|
| 133 |
+
0.021038080215454103,
|
| 134 |
+
0.021121023178100586,
|
| 135 |
+
0.020273151397705077,
|
| 136 |
+
0.020306943893432617,
|
| 137 |
+
0.020307968139648438,
|
| 138 |
+
0.02030899238586426,
|
| 139 |
+
0.020144128799438478,
|
| 140 |
+
0.020108287811279296,
|
| 141 |
+
0.020162559509277343,
|
| 142 |
+
0.02011238479614258,
|
| 143 |
+
0.020091903686523437,
|
| 144 |
+
0.020340736389160157,
|
| 145 |
+
0.02065203285217285,
|
| 146 |
+
0.02030899238586426,
|
| 147 |
+
0.021086208343505858,
|
| 148 |
+
0.0210882568359375,
|
| 149 |
+
0.021109760284423826,
|
| 150 |
+
0.021090303421020508,
|
| 151 |
+
0.02027622413635254,
|
| 152 |
+
0.02026905632019043,
|
| 153 |
+
0.02087321662902832,
|
| 154 |
+
0.021164031982421876,
|
| 155 |
+
0.02124083137512207,
|
| 156 |
+
0.021137407302856445,
|
| 157 |
+
0.02027008056640625,
|
| 158 |
+
0.02028441619873047,
|
| 159 |
+
0.020445184707641603,
|
| 160 |
+
0.020993024826049804,
|
| 161 |
+
0.022408191680908202,
|
| 162 |
+
0.022157312393188477,
|
| 163 |
+
0.0212807674407959,
|
| 164 |
+
0.02112512016296387,
|
| 165 |
+
0.02105855941772461,
|
| 166 |
+
0.020356096267700196,
|
| 167 |
+
0.020295743942260743,
|
| 168 |
+
0.020277183532714845,
|
| 169 |
+
0.020288511276245116,
|
| 170 |
+
0.0206059513092041,
|
| 171 |
+
0.021113855361938477,
|
| 172 |
+
0.02105036735534668,
|
| 173 |
+
0.020339712142944336,
|
| 174 |
+
0.02031001663208008,
|
| 175 |
+
0.02027519989013672,
|
| 176 |
+
0.02026393508911133,
|
| 177 |
+
0.020279296875,
|
| 178 |
+
0.020583423614501953,
|
| 179 |
+
0.02128691291809082,
|
| 180 |
+
0.02143129539489746,
|
| 181 |
+
0.02123980712890625,
|
| 182 |
+
0.02107187271118164,
|
| 183 |
+
0.021009408950805664,
|
| 184 |
+
0.02027622413635254,
|
| 185 |
+
0.020287488937377928,
|
| 186 |
+
0.02030182456970215,
|
| 187 |
+
0.02026188850402832,
|
| 188 |
+
0.020273151397705077,
|
| 189 |
+
0.02027724838256836,
|
| 190 |
+
0.020306943893432617,
|
| 191 |
+
0.020271104812622072,
|
| 192 |
+
0.02029363250732422,
|
| 193 |
+
0.02165452766418457,
|
| 194 |
+
0.021990400314331054,
|
| 195 |
+
0.021184511184692383,
|
| 196 |
+
0.021158912658691405,
|
| 197 |
+
0.020355072021484375,
|
| 198 |
+
0.020740095138549804,
|
| 199 |
+
0.02109644889831543,
|
| 200 |
+
0.02106572723388672,
|
| 201 |
+
0.0210831356048584,
|
| 202 |
+
0.021098495483398438,
|
| 203 |
+
0.02120806312561035,
|
| 204 |
+
0.021122047424316406,
|
| 205 |
+
0.02105241584777832,
|
| 206 |
+
0.02025369644165039,
|
| 207 |
+
0.020264959335327147,
|
| 208 |
+
0.02027519989013672,
|
| 209 |
+
0.02024550437927246,
|
| 210 |
+
0.02028339195251465,
|
| 211 |
+
0.02066739273071289,
|
| 212 |
+
0.021009408950805664,
|
| 213 |
+
0.020298751831054687,
|
| 214 |
+
0.02169036865234375,
|
| 215 |
+
0.021412864685058593,
|
| 216 |
+
0.021389312744140625,
|
| 217 |
+
0.020339712142944336,
|
| 218 |
+
0.02028441619873047,
|
| 219 |
+
0.02028544044494629,
|
| 220 |
+
0.020324352264404297,
|
| 221 |
+
0.020256767272949217,
|
| 222 |
+
0.020303871154785155,
|
| 223 |
+
0.02028646469116211,
|
| 224 |
+
0.020332544326782227,
|
| 225 |
+
0.02069196891784668,
|
| 226 |
+
0.02036735916137695,
|
| 227 |
+
0.02025164794921875,
|
| 228 |
+
0.02028339195251465,
|
| 229 |
+
0.02027212715148926,
|
| 230 |
+
0.020271104812622072,
|
| 231 |
+
0.020281343460083007,
|
| 232 |
+
0.02025984001159668,
|
| 233 |
+
0.020246528625488282,
|
| 234 |
+
0.02028646469116211,
|
| 235 |
+
0.020246528625488282,
|
| 236 |
+
0.020289535522460937,
|
| 237 |
+
0.02025574493408203,
|
| 238 |
+
0.02025062370300293,
|
| 239 |
+
0.020231168746948244,
|
| 240 |
+
0.02109542465209961,
|
| 241 |
+
0.021006336212158205,
|
| 242 |
+
0.02027724838256836,
|
| 243 |
+
0.020986879348754883,
|
| 244 |
+
0.02104115104675293,
|
| 245 |
+
0.020986879348754883,
|
| 246 |
+
0.020993024826049804,
|
| 247 |
+
0.02083737564086914,
|
| 248 |
+
0.020146175384521483,
|
| 249 |
+
0.020607999801635742,
|
| 250 |
+
0.020987903594970703,
|
| 251 |
+
0.02110361671447754,
|
| 252 |
+
0.021143552780151367,
|
| 253 |
+
0.020290559768676757,
|
| 254 |
+
0.02029779243469238,
|
| 255 |
+
0.020270015716552733,
|
| 256 |
+
0.02103193664550781,
|
| 257 |
+
0.021126144409179686,
|
| 258 |
+
0.02026905632019043,
|
| 259 |
+
0.020239360809326173,
|
| 260 |
+
0.02021683120727539,
|
| 261 |
+
0.02030080032348633,
|
| 262 |
+
0.020584447860717774,
|
| 263 |
+
0.020995071411132812,
|
| 264 |
+
0.021019647598266602,
|
| 265 |
+
0.02028441619873047,
|
| 266 |
+
0.02028646469116211,
|
| 267 |
+
0.02028544044494629,
|
| 268 |
+
0.020249599456787108,
|
| 269 |
+
0.020985855102539062,
|
| 270 |
+
0.021112831115722656,
|
| 271 |
+
0.02107699203491211,
|
| 272 |
+
0.020354047775268554,
|
| 273 |
+
0.020624383926391602,
|
| 274 |
+
0.020282367706298828,
|
| 275 |
+
0.020556800842285155,
|
| 276 |
+
0.02106982421875,
|
| 277 |
+
0.021140480041503908,
|
| 278 |
+
0.021109760284423826,
|
| 279 |
+
0.021045248031616212,
|
| 280 |
+
0.020981760025024415,
|
| 281 |
+
0.021032960891723632,
|
| 282 |
+
0.021137407302856445,
|
| 283 |
+
0.020967424392700194,
|
| 284 |
+
0.021020671844482423,
|
| 285 |
+
0.021020671844482423,
|
| 286 |
+
0.021001216888427734,
|
| 287 |
+
0.020262912750244142,
|
| 288 |
+
0.02124492835998535,
|
| 289 |
+
0.02104319953918457,
|
| 290 |
+
0.02103398323059082,
|
| 291 |
+
0.02102374458312988,
|
| 292 |
+
0.021038080215454103,
|
| 293 |
+
0.02106470489501953,
|
| 294 |
+
0.021176319122314453,
|
| 295 |
+
0.02110771179199219,
|
| 296 |
+
0.02128486442565918,
|
| 297 |
+
0.02122854423522949,
|
| 298 |
+
0.020331520080566406,
|
| 299 |
+
0.020814847946166993,
|
| 300 |
+
0.020702207565307617,
|
| 301 |
+
0.020967424392700194,
|
| 302 |
+
0.020340736389160157,
|
| 303 |
+
0.020337663650512695,
|
| 304 |
+
0.020306943893432617,
|
| 305 |
+
0.020254720687866212,
|
| 306 |
+
0.02027212715148926,
|
| 307 |
+
0.020428800582885744,
|
| 308 |
+
0.02106675148010254,
|
| 309 |
+
0.02104832077026367,
|
| 310 |
+
0.021038080215454103,
|
| 311 |
+
0.02026905632019043,
|
| 312 |
+
0.02026700782775879,
|
| 313 |
+
0.02026188850402832,
|
| 314 |
+
0.020908031463623047,
|
| 315 |
+
0.02109235191345215,
|
| 316 |
+
0.020312063217163084,
|
| 317 |
+
0.02029363250732422,
|
| 318 |
+
0.020222976684570314,
|
| 319 |
+
0.02027622413635254,
|
| 320 |
+
0.020248575210571287,
|
| 321 |
+
0.021013504028320314,
|
| 322 |
+
0.021006336212158205,
|
| 323 |
+
0.02105753517150879,
|
| 324 |
+
0.02029363250732422,
|
| 325 |
+
0.020341760635375978,
|
| 326 |
+
0.020291584014892578,
|
| 327 |
+
0.020892671585083008,
|
| 328 |
+
0.020265983581542968,
|
| 329 |
+
0.020315135955810547,
|
| 330 |
+
0.020298751831054687,
|
| 331 |
+
0.020289535522460937,
|
| 332 |
+
0.02033459281921387,
|
| 333 |
+
0.020205568313598633,
|
| 334 |
+
0.020762624740600585,
|
| 335 |
+
0.020731903076171874,
|
| 336 |
+
0.020634624481201173,
|
| 337 |
+
0.021153791427612305,
|
| 338 |
+
0.02106265640258789,
|
| 339 |
+
0.02104115104675293,
|
| 340 |
+
0.021112831115722656,
|
| 341 |
+
0.02106879997253418,
|
| 342 |
+
0.021004287719726563,
|
| 343 |
+
0.020297727584838866,
|
| 344 |
+
0.02019430351257324,
|
| 345 |
+
0.02023526382446289,
|
| 346 |
+
0.02026393508911133,
|
| 347 |
+
0.02126848030090332,
|
| 348 |
+
0.021097471237182617,
|
| 349 |
+
0.021089279174804687,
|
| 350 |
+
0.020982784271240236,
|
| 351 |
+
0.02025984001159668,
|
| 352 |
+
0.020321279525756835,
|
| 353 |
+
0.02031001663208008,
|
| 354 |
+
0.020281343460083007,
|
| 355 |
+
0.0202926082611084,
|
| 356 |
+
0.020301855087280274,
|
| 357 |
+
0.02033558464050293
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 48.26380886850399
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021987600326538084,
|
| 7 |
+
"prefill.throughput.value": 318.36125343570586,
|
| 8 |
+
"decode.latency.mean": 2.6315032958984377,
|
| 9 |
+
"decode.throughput.value": 48.26138739706201,
|
| 10 |
+
"per_token.latency.mean": 0.020719458812803734,
|
| 11 |
+
"per_token.throughput.value": 48.26380886850399
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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": 1337.503744,
|
| 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": 13.27793359375,
|
| 120 |
+
"mean": 13.27793359375,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 13.27793359375,
|
| 123 |
+
"p90": 13.27793359375,
|
| 124 |
+
"p95": 13.27793359375,
|
| 125 |
+
"p99": 13.27793359375,
|
| 126 |
+
"values": [
|
| 127 |
+
13.27793359375
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1896.452096,
|
| 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.028248640060424803,
|
| 147 |
+
"mean": 0.014124320030212401,
|
| 148 |
+
"stdev": 0.00015500831604003864,
|
| 149 |
+
"p50": 0.014124320030212401,
|
| 150 |
+
"p90": 0.014248326683044434,
|
| 151 |
+
"p95": 0.014263827514648436,
|
| 152 |
+
"p99": 0.01427622817993164,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013969311714172363,
|
| 155 |
+
0.01427932834625244
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 495.59907910800393
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2066.223104,
|
| 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.1266192626953124,
|
| 178 |
+
"mean": 1.5633096313476562,
|
| 179 |
+
"stdev": 0.0003067016601562278,
|
| 180 |
+
"p50": 1.5633096313476562,
|
| 181 |
+
"p90": 1.5635549926757812,
|
| 182 |
+
"p95": 1.563585662841797,
|
| 183 |
+
"p99": 1.5636101989746094,
|
| 184 |
+
"values": [
|
| 185 |
+
1.5636163330078126,
|
| 186 |
+
1.5630029296875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.23790543688983
|
| 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.126336511611941,
|
| 202 |
+
"mean": 0.01230841146303913,
|
| 203 |
+
"stdev": 4.165624248421421e-05,
|
| 204 |
+
"p50": 0.012301312446594239,
|
| 205 |
+
"p90": 0.012322815895080566,
|
| 206 |
+
"p95": 0.012335820627212524,
|
| 207 |
+
"p99": 0.012476948356628418,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012340224266052247,
|
| 210 |
+
0.012316672325134278,
|
| 211 |
+
0.012306431770324706,
|
| 212 |
+
0.01233407974243164,
|
| 213 |
+
0.012792832374572754,
|
| 214 |
+
0.012314687728881836,
|
| 215 |
+
0.012289983749389648,
|
| 216 |
+
0.012301312446594239,
|
| 217 |
+
0.012308480262756348,
|
| 218 |
+
0.012315648078918457,
|
| 219 |
+
0.012322815895080566,
|
| 220 |
+
0.012289024353027344,
|
| 221 |
+
0.012316672325134278,
|
| 222 |
+
0.012292096138000488,
|
| 223 |
+
0.012308480262756348,
|
| 224 |
+
0.012327936172485352,
|
| 225 |
+
0.012302335739135742,
|
| 226 |
+
0.012297216415405274,
|
| 227 |
+
0.012307456016540527,
|
| 228 |
+
0.012299263954162597,
|
| 229 |
+
0.012311552047729492,
|
| 230 |
+
0.012320768356323243,
|
| 231 |
+
0.012324864387512208,
|
| 232 |
+
0.012310527801513671,
|
| 233 |
+
0.012295167922973632,
|
| 234 |
+
0.012303359985351562,
|
| 235 |
+
0.012291071891784668,
|
| 236 |
+
0.012421119689941406,
|
| 237 |
+
0.012321791648864745,
|
| 238 |
+
0.01236787223815918,
|
| 239 |
+
0.01232588768005371,
|
| 240 |
+
0.012300288200378418,
|
| 241 |
+
0.012290047645568849,
|
| 242 |
+
0.012304384231567383,
|
| 243 |
+
0.012302399635314942,
|
| 244 |
+
0.01231772804260254,
|
| 245 |
+
0.012302240371704102,
|
| 246 |
+
0.012324864387512208,
|
| 247 |
+
0.012469247817993164,
|
| 248 |
+
0.012314623832702636,
|
| 249 |
+
0.012300288200378418,
|
| 250 |
+
0.012313599586486817,
|
| 251 |
+
0.012292096138000488,
|
| 252 |
+
0.012289024353027344,
|
| 253 |
+
0.012297216415405274,
|
| 254 |
+
0.012307456016540527,
|
| 255 |
+
0.012312576293945313,
|
| 256 |
+
0.012317695617675782,
|
| 257 |
+
0.012313599586486817,
|
| 258 |
+
0.012288000106811523,
|
| 259 |
+
0.012297216415405274,
|
| 260 |
+
0.012290047645568849,
|
| 261 |
+
0.012282879829406738,
|
| 262 |
+
0.012299263954162597,
|
| 263 |
+
0.012291071891784668,
|
| 264 |
+
0.012290047645568849,
|
| 265 |
+
0.012296192169189453,
|
| 266 |
+
0.012306431770324706,
|
| 267 |
+
0.012297216415405274,
|
| 268 |
+
0.012310527801513671,
|
| 269 |
+
0.012291071891784668,
|
| 270 |
+
0.012323840141296387,
|
| 271 |
+
0.012296192169189453,
|
| 272 |
+
0.01228492832183838,
|
| 273 |
+
0.012285951614379884,
|
| 274 |
+
0.012307456016540527,
|
| 275 |
+
0.012274687767028808,
|
| 276 |
+
0.012296192169189453,
|
| 277 |
+
0.012337151527404786,
|
| 278 |
+
0.012314623832702636,
|
| 279 |
+
0.012294143676757812,
|
| 280 |
+
0.012296192169189453,
|
| 281 |
+
0.012305407524108887,
|
| 282 |
+
0.012291071891784668,
|
| 283 |
+
0.012316672325134278,
|
| 284 |
+
0.012327936172485352,
|
| 285 |
+
0.012306431770324706,
|
| 286 |
+
0.012309503555297852,
|
| 287 |
+
0.012294143676757812,
|
| 288 |
+
0.012295167922973632,
|
| 289 |
+
0.012285951614379884,
|
| 290 |
+
0.012297216415405274,
|
| 291 |
+
0.012314623832702636,
|
| 292 |
+
0.012297216415405274,
|
| 293 |
+
0.012288000106811523,
|
| 294 |
+
0.012311552047729492,
|
| 295 |
+
0.0123023681640625,
|
| 296 |
+
0.012322784423828125,
|
| 297 |
+
0.012309503555297852,
|
| 298 |
+
0.012300288200378418,
|
| 299 |
+
0.012297216415405274,
|
| 300 |
+
0.012282879829406738,
|
| 301 |
+
0.012298239707946777,
|
| 302 |
+
0.012311552047729492,
|
| 303 |
+
0.012294143676757812,
|
| 304 |
+
0.012298239707946777,
|
| 305 |
+
0.012289024353027344,
|
| 306 |
+
0.012300288200378418,
|
| 307 |
+
0.012303359985351562,
|
| 308 |
+
0.012305407524108887,
|
| 309 |
+
0.012295167922973632,
|
| 310 |
+
0.012323840141296387,
|
| 311 |
+
0.012316672325134278,
|
| 312 |
+
0.012282879829406738,
|
| 313 |
+
0.012283904075622559,
|
| 314 |
+
0.01229312038421631,
|
| 315 |
+
0.012305407524108887,
|
| 316 |
+
0.012288000106811523,
|
| 317 |
+
0.012288000106811523,
|
| 318 |
+
0.012295167922973632,
|
| 319 |
+
0.012405759811401367,
|
| 320 |
+
0.012320768356323243,
|
| 321 |
+
0.012301312446594239,
|
| 322 |
+
0.012290047645568849,
|
| 323 |
+
0.012322815895080566,
|
| 324 |
+
0.012291071891784668,
|
| 325 |
+
0.012300288200378418,
|
| 326 |
+
0.01229312038421631,
|
| 327 |
+
0.012304384231567383,
|
| 328 |
+
0.012344320297241211,
|
| 329 |
+
0.012297216415405274,
|
| 330 |
+
0.012288000106811523,
|
| 331 |
+
0.012305503845214843,
|
| 332 |
+
0.012303263664245605,
|
| 333 |
+
0.012282879829406738,
|
| 334 |
+
0.012303359985351562,
|
| 335 |
+
0.012294143676757812,
|
| 336 |
+
0.012332032203674317,
|
| 337 |
+
0.012301312446594239,
|
| 338 |
+
0.01228492832183838,
|
| 339 |
+
0.012301312446594239,
|
| 340 |
+
0.012290047645568849,
|
| 341 |
+
0.012318719863891601,
|
| 342 |
+
0.012314623832702636,
|
| 343 |
+
0.012288000106811523,
|
| 344 |
+
0.012332032203674317,
|
| 345 |
+
0.01229312038421631,
|
| 346 |
+
0.012285951614379884,
|
| 347 |
+
0.012294143676757812,
|
| 348 |
+
0.012290047645568849,
|
| 349 |
+
0.012288000106811523,
|
| 350 |
+
0.012304384231567383,
|
| 351 |
+
0.012296192169189453,
|
| 352 |
+
0.012299263954162597,
|
| 353 |
+
0.012304448127746581,
|
| 354 |
+
0.012318655967712403,
|
| 355 |
+
0.012309503555297852,
|
| 356 |
+
0.012546048164367676,
|
| 357 |
+
0.012312576293945313,
|
| 358 |
+
0.012299263954162597,
|
| 359 |
+
0.012282879829406738,
|
| 360 |
+
0.012288000106811523,
|
| 361 |
+
0.012288000106811523,
|
| 362 |
+
0.012291071891784668,
|
| 363 |
+
0.012291071891784668,
|
| 364 |
+
0.012315648078918457,
|
| 365 |
+
0.012318719863891601,
|
| 366 |
+
0.012306431770324706,
|
| 367 |
+
0.012310527801513671,
|
| 368 |
+
0.012294143676757812,
|
| 369 |
+
0.012294143676757812,
|
| 370 |
+
0.01233510398864746,
|
| 371 |
+
0.012313599586486817,
|
| 372 |
+
0.012298239707946777,
|
| 373 |
+
0.012292096138000488,
|
| 374 |
+
0.012311552047729492,
|
| 375 |
+
0.012291071891784668,
|
| 376 |
+
0.012303359985351562,
|
| 377 |
+
0.012299263954162597,
|
| 378 |
+
0.012302335739135742,
|
| 379 |
+
0.012292096138000488,
|
| 380 |
+
0.012313599586486817,
|
| 381 |
+
0.012296192169189453,
|
| 382 |
+
0.012302335739135742,
|
| 383 |
+
0.012290047645568849,
|
| 384 |
+
0.012291071891784668,
|
| 385 |
+
0.012292096138000488,
|
| 386 |
+
0.012316672325134278,
|
| 387 |
+
0.01228492832183838,
|
| 388 |
+
0.012307456016540527,
|
| 389 |
+
0.012311552047729492,
|
| 390 |
+
0.012296192169189453,
|
| 391 |
+
0.012303359985351562,
|
| 392 |
+
0.012309503555297852,
|
| 393 |
+
0.012312576293945313,
|
| 394 |
+
0.012305407524108887,
|
| 395 |
+
0.012283904075622559,
|
| 396 |
+
0.012290047645568849,
|
| 397 |
+
0.01241702365875244,
|
| 398 |
+
0.012314623832702636,
|
| 399 |
+
0.012382207870483398,
|
| 400 |
+
0.012318719863891601,
|
| 401 |
+
0.012306431770324706,
|
| 402 |
+
0.012301312446594239,
|
| 403 |
+
0.012307456016540527,
|
| 404 |
+
0.012306431770324706,
|
| 405 |
+
0.012305407524108887,
|
| 406 |
+
0.012315648078918457,
|
| 407 |
+
0.012297216415405274,
|
| 408 |
+
0.012485631942749023,
|
| 409 |
+
0.012315648078918457,
|
| 410 |
+
0.012294143676757812,
|
| 411 |
+
0.012290047645568849,
|
| 412 |
+
0.01229312038421631,
|
| 413 |
+
0.012288000106811523,
|
| 414 |
+
0.012295167922973632,
|
| 415 |
+
0.012307456016540527,
|
| 416 |
+
0.012308480262756348,
|
| 417 |
+
0.012300288200378418,
|
| 418 |
+
0.012313599586486817,
|
| 419 |
+
0.012316672325134278,
|
| 420 |
+
0.01229312038421631,
|
| 421 |
+
0.01228492832183838,
|
| 422 |
+
0.012298239707946777,
|
| 423 |
+
0.012296192169189453,
|
| 424 |
+
0.012294143676757812,
|
| 425 |
+
0.012298239707946777,
|
| 426 |
+
0.012295167922973632,
|
| 427 |
+
0.012294143676757812,
|
| 428 |
+
0.012292096138000488,
|
| 429 |
+
0.012290047645568849,
|
| 430 |
+
0.012304384231567383,
|
| 431 |
+
0.012297216415405274,
|
| 432 |
+
0.012308480262756348,
|
| 433 |
+
0.012278783798217773,
|
| 434 |
+
0.012283904075622559,
|
| 435 |
+
0.012304384231567383,
|
| 436 |
+
0.012294143676757812,
|
| 437 |
+
0.012288000106811523,
|
| 438 |
+
0.012310527801513671,
|
| 439 |
+
0.012292096138000488,
|
| 440 |
+
0.012292096138000488,
|
| 441 |
+
0.012302335739135742,
|
| 442 |
+
0.012290047645568849,
|
| 443 |
+
0.012294143676757812,
|
| 444 |
+
0.012307456016540527,
|
| 445 |
+
0.012327936172485352,
|
| 446 |
+
0.01234329605102539,
|
| 447 |
+
0.012301312446594239,
|
| 448 |
+
0.012303359985351562,
|
| 449 |
+
0.01228492832183838,
|
| 450 |
+
0.012292096138000488,
|
| 451 |
+
0.012316672325134278,
|
| 452 |
+
0.012308480262756348,
|
| 453 |
+
0.012294143676757812,
|
| 454 |
+
0.012300288200378418,
|
| 455 |
+
0.01229312038421631,
|
| 456 |
+
0.012315648078918457,
|
| 457 |
+
0.012297216415405274,
|
| 458 |
+
0.012305407524108887,
|
| 459 |
+
0.012305407524108887,
|
| 460 |
+
0.012283904075622559,
|
| 461 |
+
0.012300288200378418,
|
| 462 |
+
0.012292096138000488
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.24525272842034
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 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-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": 1337.503744,
|
| 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": 13.27793359375,
|
| 15 |
+
"mean": 13.27793359375,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 13.27793359375,
|
| 18 |
+
"p90": 13.27793359375,
|
| 19 |
+
"p95": 13.27793359375,
|
| 20 |
+
"p99": 13.27793359375,
|
| 21 |
+
"values": [
|
| 22 |
+
13.27793359375
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1896.452096,
|
| 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.028248640060424803,
|
| 42 |
+
"mean": 0.014124320030212401,
|
| 43 |
+
"stdev": 0.00015500831604003864,
|
| 44 |
+
"p50": 0.014124320030212401,
|
| 45 |
+
"p90": 0.014248326683044434,
|
| 46 |
+
"p95": 0.014263827514648436,
|
| 47 |
+
"p99": 0.01427622817993164,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013969311714172363,
|
| 50 |
+
0.01427932834625244
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 495.59907910800393
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2066.223104,
|
| 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.1266192626953124,
|
| 73 |
+
"mean": 1.5633096313476562,
|
| 74 |
+
"stdev": 0.0003067016601562278,
|
| 75 |
+
"p50": 1.5633096313476562,
|
| 76 |
+
"p90": 1.5635549926757812,
|
| 77 |
+
"p95": 1.563585662841797,
|
| 78 |
+
"p99": 1.5636101989746094,
|
| 79 |
+
"values": [
|
| 80 |
+
1.5636163330078126,
|
| 81 |
+
1.5630029296875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.23790543688983
|
| 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.126336511611941,
|
| 97 |
+
"mean": 0.01230841146303913,
|
| 98 |
+
"stdev": 4.165624248421421e-05,
|
| 99 |
+
"p50": 0.012301312446594239,
|
| 100 |
+
"p90": 0.012322815895080566,
|
| 101 |
+
"p95": 0.012335820627212524,
|
| 102 |
+
"p99": 0.012476948356628418,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012340224266052247,
|
| 105 |
+
0.012316672325134278,
|
| 106 |
+
0.012306431770324706,
|
| 107 |
+
0.01233407974243164,
|
| 108 |
+
0.012792832374572754,
|
| 109 |
+
0.012314687728881836,
|
| 110 |
+
0.012289983749389648,
|
| 111 |
+
0.012301312446594239,
|
| 112 |
+
0.012308480262756348,
|
| 113 |
+
0.012315648078918457,
|
| 114 |
+
0.012322815895080566,
|
| 115 |
+
0.012289024353027344,
|
| 116 |
+
0.012316672325134278,
|
| 117 |
+
0.012292096138000488,
|
| 118 |
+
0.012308480262756348,
|
| 119 |
+
0.012327936172485352,
|
| 120 |
+
0.012302335739135742,
|
| 121 |
+
0.012297216415405274,
|
| 122 |
+
0.012307456016540527,
|
| 123 |
+
0.012299263954162597,
|
| 124 |
+
0.012311552047729492,
|
| 125 |
+
0.012320768356323243,
|
| 126 |
+
0.012324864387512208,
|
| 127 |
+
0.012310527801513671,
|
| 128 |
+
0.012295167922973632,
|
| 129 |
+
0.012303359985351562,
|
| 130 |
+
0.012291071891784668,
|
| 131 |
+
0.012421119689941406,
|
| 132 |
+
0.012321791648864745,
|
| 133 |
+
0.01236787223815918,
|
| 134 |
+
0.01232588768005371,
|
| 135 |
+
0.012300288200378418,
|
| 136 |
+
0.012290047645568849,
|
| 137 |
+
0.012304384231567383,
|
| 138 |
+
0.012302399635314942,
|
| 139 |
+
0.01231772804260254,
|
| 140 |
+
0.012302240371704102,
|
| 141 |
+
0.012324864387512208,
|
| 142 |
+
0.012469247817993164,
|
| 143 |
+
0.012314623832702636,
|
| 144 |
+
0.012300288200378418,
|
| 145 |
+
0.012313599586486817,
|
| 146 |
+
0.012292096138000488,
|
| 147 |
+
0.012289024353027344,
|
| 148 |
+
0.012297216415405274,
|
| 149 |
+
0.012307456016540527,
|
| 150 |
+
0.012312576293945313,
|
| 151 |
+
0.012317695617675782,
|
| 152 |
+
0.012313599586486817,
|
| 153 |
+
0.012288000106811523,
|
| 154 |
+
0.012297216415405274,
|
| 155 |
+
0.012290047645568849,
|
| 156 |
+
0.012282879829406738,
|
| 157 |
+
0.012299263954162597,
|
| 158 |
+
0.012291071891784668,
|
| 159 |
+
0.012290047645568849,
|
| 160 |
+
0.012296192169189453,
|
| 161 |
+
0.012306431770324706,
|
| 162 |
+
0.012297216415405274,
|
| 163 |
+
0.012310527801513671,
|
| 164 |
+
0.012291071891784668,
|
| 165 |
+
0.012323840141296387,
|
| 166 |
+
0.012296192169189453,
|
| 167 |
+
0.01228492832183838,
|
| 168 |
+
0.012285951614379884,
|
| 169 |
+
0.012307456016540527,
|
| 170 |
+
0.012274687767028808,
|
| 171 |
+
0.012296192169189453,
|
| 172 |
+
0.012337151527404786,
|
| 173 |
+
0.012314623832702636,
|
| 174 |
+
0.012294143676757812,
|
| 175 |
+
0.012296192169189453,
|
| 176 |
+
0.012305407524108887,
|
| 177 |
+
0.012291071891784668,
|
| 178 |
+
0.012316672325134278,
|
| 179 |
+
0.012327936172485352,
|
| 180 |
+
0.012306431770324706,
|
| 181 |
+
0.012309503555297852,
|
| 182 |
+
0.012294143676757812,
|
| 183 |
+
0.012295167922973632,
|
| 184 |
+
0.012285951614379884,
|
| 185 |
+
0.012297216415405274,
|
| 186 |
+
0.012314623832702636,
|
| 187 |
+
0.012297216415405274,
|
| 188 |
+
0.012288000106811523,
|
| 189 |
+
0.012311552047729492,
|
| 190 |
+
0.0123023681640625,
|
| 191 |
+
0.012322784423828125,
|
| 192 |
+
0.012309503555297852,
|
| 193 |
+
0.012300288200378418,
|
| 194 |
+
0.012297216415405274,
|
| 195 |
+
0.012282879829406738,
|
| 196 |
+
0.012298239707946777,
|
| 197 |
+
0.012311552047729492,
|
| 198 |
+
0.012294143676757812,
|
| 199 |
+
0.012298239707946777,
|
| 200 |
+
0.012289024353027344,
|
| 201 |
+
0.012300288200378418,
|
| 202 |
+
0.012303359985351562,
|
| 203 |
+
0.012305407524108887,
|
| 204 |
+
0.012295167922973632,
|
| 205 |
+
0.012323840141296387,
|
| 206 |
+
0.012316672325134278,
|
| 207 |
+
0.012282879829406738,
|
| 208 |
+
0.012283904075622559,
|
| 209 |
+
0.01229312038421631,
|
| 210 |
+
0.012305407524108887,
|
| 211 |
+
0.012288000106811523,
|
| 212 |
+
0.012288000106811523,
|
| 213 |
+
0.012295167922973632,
|
| 214 |
+
0.012405759811401367,
|
| 215 |
+
0.012320768356323243,
|
| 216 |
+
0.012301312446594239,
|
| 217 |
+
0.012290047645568849,
|
| 218 |
+
0.012322815895080566,
|
| 219 |
+
0.012291071891784668,
|
| 220 |
+
0.012300288200378418,
|
| 221 |
+
0.01229312038421631,
|
| 222 |
+
0.012304384231567383,
|
| 223 |
+
0.012344320297241211,
|
| 224 |
+
0.012297216415405274,
|
| 225 |
+
0.012288000106811523,
|
| 226 |
+
0.012305503845214843,
|
| 227 |
+
0.012303263664245605,
|
| 228 |
+
0.012282879829406738,
|
| 229 |
+
0.012303359985351562,
|
| 230 |
+
0.012294143676757812,
|
| 231 |
+
0.012332032203674317,
|
| 232 |
+
0.012301312446594239,
|
| 233 |
+
0.01228492832183838,
|
| 234 |
+
0.012301312446594239,
|
| 235 |
+
0.012290047645568849,
|
| 236 |
+
0.012318719863891601,
|
| 237 |
+
0.012314623832702636,
|
| 238 |
+
0.012288000106811523,
|
| 239 |
+
0.012332032203674317,
|
| 240 |
+
0.01229312038421631,
|
| 241 |
+
0.012285951614379884,
|
| 242 |
+
0.012294143676757812,
|
| 243 |
+
0.012290047645568849,
|
| 244 |
+
0.012288000106811523,
|
| 245 |
+
0.012304384231567383,
|
| 246 |
+
0.012296192169189453,
|
| 247 |
+
0.012299263954162597,
|
| 248 |
+
0.012304448127746581,
|
| 249 |
+
0.012318655967712403,
|
| 250 |
+
0.012309503555297852,
|
| 251 |
+
0.012546048164367676,
|
| 252 |
+
0.012312576293945313,
|
| 253 |
+
0.012299263954162597,
|
| 254 |
+
0.012282879829406738,
|
| 255 |
+
0.012288000106811523,
|
| 256 |
+
0.012288000106811523,
|
| 257 |
+
0.012291071891784668,
|
| 258 |
+
0.012291071891784668,
|
| 259 |
+
0.012315648078918457,
|
| 260 |
+
0.012318719863891601,
|
| 261 |
+
0.012306431770324706,
|
| 262 |
+
0.012310527801513671,
|
| 263 |
+
0.012294143676757812,
|
| 264 |
+
0.012294143676757812,
|
| 265 |
+
0.01233510398864746,
|
| 266 |
+
0.012313599586486817,
|
| 267 |
+
0.012298239707946777,
|
| 268 |
+
0.012292096138000488,
|
| 269 |
+
0.012311552047729492,
|
| 270 |
+
0.012291071891784668,
|
| 271 |
+
0.012303359985351562,
|
| 272 |
+
0.012299263954162597,
|
| 273 |
+
0.012302335739135742,
|
| 274 |
+
0.012292096138000488,
|
| 275 |
+
0.012313599586486817,
|
| 276 |
+
0.012296192169189453,
|
| 277 |
+
0.012302335739135742,
|
| 278 |
+
0.012290047645568849,
|
| 279 |
+
0.012291071891784668,
|
| 280 |
+
0.012292096138000488,
|
| 281 |
+
0.012316672325134278,
|
| 282 |
+
0.01228492832183838,
|
| 283 |
+
0.012307456016540527,
|
| 284 |
+
0.012311552047729492,
|
| 285 |
+
0.012296192169189453,
|
| 286 |
+
0.012303359985351562,
|
| 287 |
+
0.012309503555297852,
|
| 288 |
+
0.012312576293945313,
|
| 289 |
+
0.012305407524108887,
|
| 290 |
+
0.012283904075622559,
|
| 291 |
+
0.012290047645568849,
|
| 292 |
+
0.01241702365875244,
|
| 293 |
+
0.012314623832702636,
|
| 294 |
+
0.012382207870483398,
|
| 295 |
+
0.012318719863891601,
|
| 296 |
+
0.012306431770324706,
|
| 297 |
+
0.012301312446594239,
|
| 298 |
+
0.012307456016540527,
|
| 299 |
+
0.012306431770324706,
|
| 300 |
+
0.012305407524108887,
|
| 301 |
+
0.012315648078918457,
|
| 302 |
+
0.012297216415405274,
|
| 303 |
+
0.012485631942749023,
|
| 304 |
+
0.012315648078918457,
|
| 305 |
+
0.012294143676757812,
|
| 306 |
+
0.012290047645568849,
|
| 307 |
+
0.01229312038421631,
|
| 308 |
+
0.012288000106811523,
|
| 309 |
+
0.012295167922973632,
|
| 310 |
+
0.012307456016540527,
|
| 311 |
+
0.012308480262756348,
|
| 312 |
+
0.012300288200378418,
|
| 313 |
+
0.012313599586486817,
|
| 314 |
+
0.012316672325134278,
|
| 315 |
+
0.01229312038421631,
|
| 316 |
+
0.01228492832183838,
|
| 317 |
+
0.012298239707946777,
|
| 318 |
+
0.012296192169189453,
|
| 319 |
+
0.012294143676757812,
|
| 320 |
+
0.012298239707946777,
|
| 321 |
+
0.012295167922973632,
|
| 322 |
+
0.012294143676757812,
|
| 323 |
+
0.012292096138000488,
|
| 324 |
+
0.012290047645568849,
|
| 325 |
+
0.012304384231567383,
|
| 326 |
+
0.012297216415405274,
|
| 327 |
+
0.012308480262756348,
|
| 328 |
+
0.012278783798217773,
|
| 329 |
+
0.012283904075622559,
|
| 330 |
+
0.012304384231567383,
|
| 331 |
+
0.012294143676757812,
|
| 332 |
+
0.012288000106811523,
|
| 333 |
+
0.012310527801513671,
|
| 334 |
+
0.012292096138000488,
|
| 335 |
+
0.012292096138000488,
|
| 336 |
+
0.012302335739135742,
|
| 337 |
+
0.012290047645568849,
|
| 338 |
+
0.012294143676757812,
|
| 339 |
+
0.012307456016540527,
|
| 340 |
+
0.012327936172485352,
|
| 341 |
+
0.01234329605102539,
|
| 342 |
+
0.012301312446594239,
|
| 343 |
+
0.012303359985351562,
|
| 344 |
+
0.01228492832183838,
|
| 345 |
+
0.012292096138000488,
|
| 346 |
+
0.012316672325134278,
|
| 347 |
+
0.012308480262756348,
|
| 348 |
+
0.012294143676757812,
|
| 349 |
+
0.012300288200378418,
|
| 350 |
+
0.01229312038421631,
|
| 351 |
+
0.012315648078918457,
|
| 352 |
+
0.012297216415405274,
|
| 353 |
+
0.012305407524108887,
|
| 354 |
+
0.012305407524108887,
|
| 355 |
+
0.012283904075622559,
|
| 356 |
+
0.012300288200378418,
|
| 357 |
+
0.012292096138000488
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.24525272842034
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/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": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014124320030212401,
|
| 7 |
+
"prefill.throughput.value": 495.59907910800393,
|
| 8 |
+
"decode.latency.mean": 1.5633096313476562,
|
| 9 |
+
"decode.throughput.value": 81.23790543688983,
|
| 10 |
+
"per_token.latency.mean": 0.01230841146303913,
|
| 11 |
+
"per_token.throughput.value": 81.24525272842034
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-25/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp80198tji/commit=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp80198tji/commit\=0a7af19f4dc868bafc82f35eb7e8d13bac87a594/${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: 0a7af19f4dc868bafc82f35eb7e8d13bac87a594
|
| 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-25/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.020805952072143554,
|
| 8 |
+
"prefill.throughput.value": 336.4421861459579,
|
| 9 |
+
"decode.latency.mean": 2.4746821289062497,
|
| 10 |
+
"decode.throughput.value": 51.319722446991996,
|
| 11 |
+
"per_token.latency.mean": 0.01948444219273845,
|
| 12 |
+
"per_token.throughput.value": 51.32299863183584
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021987600326538084,
|
| 21 |
+
"prefill.throughput.value": 318.36125343570586,
|
| 22 |
+
"decode.latency.mean": 2.6315032958984377,
|
| 23 |
+
"decode.throughput.value": 48.26138739706201,
|
| 24 |
+
"per_token.latency.mean": 0.020719458812803734,
|
| 25 |
+
"per_token.throughput.value": 48.26380886850399
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "0a7af19f4dc868bafc82f35eb7e8d13bac87a594",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014124320030212401,
|
| 34 |
+
"prefill.throughput.value": 495.59907910800393,
|
| 35 |
+
"decode.latency.mean": 1.5633096313476562,
|
| 36 |
+
"decode.throughput.value": 81.23790543688983,
|
| 37 |
+
"per_token.latency.mean": 0.01230841146303913,
|
| 38 |
+
"per_token.throughput.value": 81.24525272842034
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-08-25/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020805952072143554,
|
| 7 |
+
"prefill.throughput.value": 336.4421861459579,
|
| 8 |
+
"decode.latency.mean": 2.4746821289062497,
|
| 9 |
+
"decode.throughput.value": 51.319722446991996,
|
| 10 |
+
"per_token.latency.mean": 0.01948444219273845,
|
| 11 |
+
"per_token.throughput.value": 51.32299863183584
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021987600326538084,
|
| 19 |
+
"prefill.throughput.value": 318.36125343570586,
|
| 20 |
+
"decode.latency.mean": 2.6315032958984377,
|
| 21 |
+
"decode.throughput.value": 48.26138739706201,
|
| 22 |
+
"per_token.latency.mean": 0.020719458812803734,
|
| 23 |
+
"per_token.throughput.value": 48.26380886850399
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"0a7af19f4dc868bafc82f35eb7e8d13bac87a594": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014124320030212401,
|
| 31 |
+
"prefill.throughput.value": 495.59907910800393,
|
| 32 |
+
"decode.latency.mean": 1.5633096313476562,
|
| 33 |
+
"decode.throughput.value": 81.23790543688983,
|
| 34 |
+
"per_token.latency.mean": 0.01230841146303913,
|
| 35 |
+
"per_token.throughput.value": 81.24525272842034
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|