Upload folder using huggingface_hub
Browse files- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/multirun.yaml +234 -0
- 2024-09-05/summaries.json +41 -0
- 2024-09-05/summary.json +40 -0
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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: 9230d78e76611cfa38c845213021aeb185362d10
|
| 84 |
+
accelerate_version: 0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10
|
| 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/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10/${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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1320.091648,
|
| 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.5314228515625,
|
| 120 |
+
"mean": 11.5314228515625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.5314228515625,
|
| 123 |
+
"p90": 11.5314228515625,
|
| 124 |
+
"p95": 11.5314228515625,
|
| 125 |
+
"p99": 11.5314228515625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.5314228515625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1745.780736,
|
| 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.041936702728271484,
|
| 147 |
+
"mean": 0.020968351364135742,
|
| 148 |
+
"stdev": 0.0004290237426757826,
|
| 149 |
+
"p50": 0.020968351364135742,
|
| 150 |
+
"p90": 0.02131157035827637,
|
| 151 |
+
"p95": 0.021354472732543945,
|
| 152 |
+
"p99": 0.02138879463195801,
|
| 153 |
+
"values": [
|
| 154 |
+
0.021397375106811525,
|
| 155 |
+
0.02053932762145996
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 333.8364508700859
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1799.979008,
|
| 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.8878701171875,
|
| 178 |
+
"mean": 2.44393505859375,
|
| 179 |
+
"stdev": 0.009933105468749925,
|
| 180 |
+
"p50": 2.44393505859375,
|
| 181 |
+
"p90": 2.45188154296875,
|
| 182 |
+
"p95": 2.452874853515625,
|
| 183 |
+
"p99": 2.453669501953125,
|
| 184 |
+
"values": [
|
| 185 |
+
2.434001953125,
|
| 186 |
+
2.4538681640625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 51.96537426533597
|
| 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.88754995918274,
|
| 202 |
+
"mean": 0.019242322673947796,
|
| 203 |
+
"stdev": 0.0003550498033524936,
|
| 204 |
+
"p50": 0.01909299182891846,
|
| 205 |
+
"p90": 0.019683738327026367,
|
| 206 |
+
"p95": 0.01990266933441162,
|
| 207 |
+
"p99": 0.020400111236572264,
|
| 208 |
+
"values": [
|
| 209 |
+
0.018952192306518553,
|
| 210 |
+
0.018894847869873048,
|
| 211 |
+
0.018971647262573242,
|
| 212 |
+
0.018979839324951172,
|
| 213 |
+
0.018974720001220705,
|
| 214 |
+
0.019112960815429687,
|
| 215 |
+
0.018916351318359375,
|
| 216 |
+
0.018991104125976564,
|
| 217 |
+
0.018917375564575196,
|
| 218 |
+
0.018934783935546876,
|
| 219 |
+
0.018921472549438476,
|
| 220 |
+
0.01884876823425293,
|
| 221 |
+
0.018976768493652343,
|
| 222 |
+
0.018911231994628908,
|
| 223 |
+
0.018903039932250978,
|
| 224 |
+
0.018954240798950195,
|
| 225 |
+
0.018779136657714843,
|
| 226 |
+
0.01880575942993164,
|
| 227 |
+
0.019017728805541992,
|
| 228 |
+
0.01903104019165039,
|
| 229 |
+
0.0190248966217041,
|
| 230 |
+
0.018981887817382814,
|
| 231 |
+
0.01901158332824707,
|
| 232 |
+
0.018957311630249024,
|
| 233 |
+
0.018939903259277344,
|
| 234 |
+
0.019017728805541992,
|
| 235 |
+
0.01901875114440918,
|
| 236 |
+
0.019170303344726563,
|
| 237 |
+
0.019422208786010742,
|
| 238 |
+
0.019791872024536132,
|
| 239 |
+
0.019588096618652344,
|
| 240 |
+
0.019268608093261717,
|
| 241 |
+
0.018945024490356444,
|
| 242 |
+
0.018993152618408202,
|
| 243 |
+
0.019013631820678712,
|
| 244 |
+
0.018924543380737305,
|
| 245 |
+
0.018956287384033203,
|
| 246 |
+
0.018931711196899414,
|
| 247 |
+
0.018946048736572265,
|
| 248 |
+
0.018981887817382814,
|
| 249 |
+
0.018934783935546876,
|
| 250 |
+
0.018967552185058592,
|
| 251 |
+
0.018957311630249024,
|
| 252 |
+
0.018924543380737305,
|
| 253 |
+
0.018974720001220705,
|
| 254 |
+
0.018938880920410156,
|
| 255 |
+
0.018940927505493164,
|
| 256 |
+
0.019358720779418945,
|
| 257 |
+
0.018961408615112304,
|
| 258 |
+
0.018998271942138673,
|
| 259 |
+
0.018973695755004884,
|
| 260 |
+
0.018950143814086915,
|
| 261 |
+
0.019546112060546874,
|
| 262 |
+
0.019516416549682617,
|
| 263 |
+
0.018933759689331055,
|
| 264 |
+
0.018968576431274413,
|
| 265 |
+
0.018961408615112304,
|
| 266 |
+
0.019074047088623047,
|
| 267 |
+
0.01920512008666992,
|
| 268 |
+
0.01909760093688965,
|
| 269 |
+
0.019103744506835937,
|
| 270 |
+
0.019106815338134766,
|
| 271 |
+
0.01905561637878418,
|
| 272 |
+
0.019644416809082032,
|
| 273 |
+
0.019145727157592773,
|
| 274 |
+
0.01905356788635254,
|
| 275 |
+
0.01905971145629883,
|
| 276 |
+
0.019090431213378906,
|
| 277 |
+
0.019111936569213867,
|
| 278 |
+
0.019116031646728517,
|
| 279 |
+
0.01906790351867676,
|
| 280 |
+
0.019125247955322267,
|
| 281 |
+
0.019078144073486326,
|
| 282 |
+
0.019119104385375976,
|
| 283 |
+
0.019095552444458007,
|
| 284 |
+
0.019056640625,
|
| 285 |
+
0.019644416809082032,
|
| 286 |
+
0.01963520050048828,
|
| 287 |
+
0.01963315200805664,
|
| 288 |
+
0.01922867202758789,
|
| 289 |
+
0.019110912322998046,
|
| 290 |
+
0.019297279357910157,
|
| 291 |
+
0.019570688247680663,
|
| 292 |
+
0.019145727157592773,
|
| 293 |
+
0.019111936569213867,
|
| 294 |
+
0.019155967712402345,
|
| 295 |
+
0.019216384887695313,
|
| 296 |
+
0.019132415771484376,
|
| 297 |
+
0.01903718376159668,
|
| 298 |
+
0.019042303085327148,
|
| 299 |
+
0.01906483268737793,
|
| 300 |
+
0.01908940887451172,
|
| 301 |
+
0.01904025650024414,
|
| 302 |
+
0.019078144073486326,
|
| 303 |
+
0.01905254364013672,
|
| 304 |
+
0.01900748825073242,
|
| 305 |
+
0.01901670455932617,
|
| 306 |
+
0.019588096618652344,
|
| 307 |
+
0.01993011283874512,
|
| 308 |
+
0.020372480392456056,
|
| 309 |
+
0.01968435287475586,
|
| 310 |
+
0.019606527328491212,
|
| 311 |
+
0.01968230438232422,
|
| 312 |
+
0.019555328369140625,
|
| 313 |
+
0.02041548728942871,
|
| 314 |
+
0.019759103775024413,
|
| 315 |
+
0.019721216201782226,
|
| 316 |
+
0.01989836883544922,
|
| 317 |
+
0.019693567276000978,
|
| 318 |
+
0.0196177921295166,
|
| 319 |
+
0.019579967498779296,
|
| 320 |
+
0.01911903953552246,
|
| 321 |
+
0.019099647521972657,
|
| 322 |
+
0.019058687210083008,
|
| 323 |
+
0.01907302474975586,
|
| 324 |
+
0.01904844856262207,
|
| 325 |
+
0.019174400329589843,
|
| 326 |
+
0.019070976257324217,
|
| 327 |
+
0.01902079963684082,
|
| 328 |
+
0.019062784194946288,
|
| 329 |
+
0.01905766487121582,
|
| 330 |
+
0.01908121681213379,
|
| 331 |
+
0.019166208267211913,
|
| 332 |
+
0.019132415771484376,
|
| 333 |
+
0.01918156814575195,
|
| 334 |
+
0.01906483268737793,
|
| 335 |
+
0.019117055892944337,
|
| 336 |
+
0.018941951751708985,
|
| 337 |
+
0.018873344421386717,
|
| 338 |
+
0.018900991439819336,
|
| 339 |
+
0.018979839324951172,
|
| 340 |
+
0.018897920608520507,
|
| 341 |
+
0.018899967193603515,
|
| 342 |
+
0.01882624053955078,
|
| 343 |
+
0.01919692802429199,
|
| 344 |
+
0.019179519653320314,
|
| 345 |
+
0.018932735443115235,
|
| 346 |
+
0.019006464004516603,
|
| 347 |
+
0.018919424057006837,
|
| 348 |
+
0.018739200592041014,
|
| 349 |
+
0.020040704727172853,
|
| 350 |
+
0.019764223098754884,
|
| 351 |
+
0.02020249557495117,
|
| 352 |
+
0.019405824661254883,
|
| 353 |
+
0.01903104019165039,
|
| 354 |
+
0.01945395278930664,
|
| 355 |
+
0.01949286460876465,
|
| 356 |
+
0.019495935440063478,
|
| 357 |
+
0.018951168060302736,
|
| 358 |
+
0.01925632095336914,
|
| 359 |
+
0.018961408615112304,
|
| 360 |
+
0.018927616119384767,
|
| 361 |
+
0.019570688247680663,
|
| 362 |
+
0.019776512145996093,
|
| 363 |
+
0.01944883155822754,
|
| 364 |
+
0.020006912231445313,
|
| 365 |
+
0.019527679443359376,
|
| 366 |
+
0.018974720001220705,
|
| 367 |
+
0.01905766487121582,
|
| 368 |
+
0.018955263137817382,
|
| 369 |
+
0.018957311630249024,
|
| 370 |
+
0.01923788833618164,
|
| 371 |
+
0.01946316719055176,
|
| 372 |
+
0.019449855804443358,
|
| 373 |
+
0.019414016723632813,
|
| 374 |
+
0.019378175735473634,
|
| 375 |
+
0.01948057556152344,
|
| 376 |
+
0.019552255630493166,
|
| 377 |
+
0.019374080657958984,
|
| 378 |
+
0.019522560119628905,
|
| 379 |
+
0.01941913604736328,
|
| 380 |
+
0.01939558410644531,
|
| 381 |
+
0.019572736740112305,
|
| 382 |
+
0.019515392303466796,
|
| 383 |
+
0.018931711196899414,
|
| 384 |
+
0.018952192306518553,
|
| 385 |
+
0.018920448303222655,
|
| 386 |
+
0.01888768005371094,
|
| 387 |
+
0.019347455978393553,
|
| 388 |
+
0.01882009506225586,
|
| 389 |
+
0.018736127853393555,
|
| 390 |
+
0.018972671508789063,
|
| 391 |
+
0.018997247695922852,
|
| 392 |
+
0.018906112670898437,
|
| 393 |
+
0.01907711982727051,
|
| 394 |
+
0.01903718376159668,
|
| 395 |
+
0.019211263656616212,
|
| 396 |
+
0.019290111541748048,
|
| 397 |
+
0.02001817512512207,
|
| 398 |
+
0.019910655975341796,
|
| 399 |
+
0.01969049644470215,
|
| 400 |
+
0.019708927154541016,
|
| 401 |
+
0.01962495994567871,
|
| 402 |
+
0.019602432250976562,
|
| 403 |
+
0.019704832077026366,
|
| 404 |
+
0.019620864868164063,
|
| 405 |
+
0.01960960006713867,
|
| 406 |
+
0.019550207138061524,
|
| 407 |
+
0.019115007400512696,
|
| 408 |
+
0.01925119972229004,
|
| 409 |
+
0.02040012741088867,
|
| 410 |
+
0.01964851188659668,
|
| 411 |
+
0.0192491512298584,
|
| 412 |
+
0.01905561637878418,
|
| 413 |
+
0.019759103775024413,
|
| 414 |
+
0.020964351654052735,
|
| 415 |
+
0.02036735916137695,
|
| 416 |
+
0.020165632247924805,
|
| 417 |
+
0.019664896011352538,
|
| 418 |
+
0.019595264434814453,
|
| 419 |
+
0.018957311630249024,
|
| 420 |
+
0.019087423324584962,
|
| 421 |
+
0.01918560028076172,
|
| 422 |
+
0.019009536743164062,
|
| 423 |
+
0.019070976257324217,
|
| 424 |
+
0.01903308868408203,
|
| 425 |
+
0.01905356788635254,
|
| 426 |
+
0.019009536743164062,
|
| 427 |
+
0.019083263397216797,
|
| 428 |
+
0.019074047088623047,
|
| 429 |
+
0.01908940887451172,
|
| 430 |
+
0.01904742431640625,
|
| 431 |
+
0.018965503692626954,
|
| 432 |
+
0.018942975997924806,
|
| 433 |
+
0.01905766487121582,
|
| 434 |
+
0.019334144592285156,
|
| 435 |
+
0.019573759078979493,
|
| 436 |
+
0.019598335266113282,
|
| 437 |
+
0.019561471939086913,
|
| 438 |
+
0.019531776428222656,
|
| 439 |
+
0.019607551574707033,
|
| 440 |
+
0.019111936569213867,
|
| 441 |
+
0.01906790351867676,
|
| 442 |
+
0.01906585693359375,
|
| 443 |
+
0.01906380844116211,
|
| 444 |
+
0.01925119972229004,
|
| 445 |
+
0.019506175994873046,
|
| 446 |
+
0.019486719131469727,
|
| 447 |
+
0.019404800415039062,
|
| 448 |
+
0.01944473648071289,
|
| 449 |
+
0.019734560012817384,
|
| 450 |
+
0.020400096893310547,
|
| 451 |
+
0.019619840621948242,
|
| 452 |
+
0.01920921516418457,
|
| 453 |
+
0.01922150421142578,
|
| 454 |
+
0.019169279098510742,
|
| 455 |
+
0.01962700843811035,
|
| 456 |
+
0.019188735961914064,
|
| 457 |
+
0.01904537582397461,
|
| 458 |
+
0.01904742431640625,
|
| 459 |
+
0.01907711982727051,
|
| 460 |
+
0.01900851249694824,
|
| 461 |
+
0.01899622344970703,
|
| 462 |
+
0.019393535614013673
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 51.968778247020104
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 93 |
+
"accelerate_version": "0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1320.091648,
|
| 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.5314228515625,
|
| 15 |
+
"mean": 11.5314228515625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.5314228515625,
|
| 18 |
+
"p90": 11.5314228515625,
|
| 19 |
+
"p95": 11.5314228515625,
|
| 20 |
+
"p99": 11.5314228515625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.5314228515625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1745.780736,
|
| 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.041936702728271484,
|
| 42 |
+
"mean": 0.020968351364135742,
|
| 43 |
+
"stdev": 0.0004290237426757826,
|
| 44 |
+
"p50": 0.020968351364135742,
|
| 45 |
+
"p90": 0.02131157035827637,
|
| 46 |
+
"p95": 0.021354472732543945,
|
| 47 |
+
"p99": 0.02138879463195801,
|
| 48 |
+
"values": [
|
| 49 |
+
0.021397375106811525,
|
| 50 |
+
0.02053932762145996
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 333.8364508700859
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1799.979008,
|
| 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.8878701171875,
|
| 73 |
+
"mean": 2.44393505859375,
|
| 74 |
+
"stdev": 0.009933105468749925,
|
| 75 |
+
"p50": 2.44393505859375,
|
| 76 |
+
"p90": 2.45188154296875,
|
| 77 |
+
"p95": 2.452874853515625,
|
| 78 |
+
"p99": 2.453669501953125,
|
| 79 |
+
"values": [
|
| 80 |
+
2.434001953125,
|
| 81 |
+
2.4538681640625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 51.96537426533597
|
| 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.88754995918274,
|
| 97 |
+
"mean": 0.019242322673947796,
|
| 98 |
+
"stdev": 0.0003550498033524936,
|
| 99 |
+
"p50": 0.01909299182891846,
|
| 100 |
+
"p90": 0.019683738327026367,
|
| 101 |
+
"p95": 0.01990266933441162,
|
| 102 |
+
"p99": 0.020400111236572264,
|
| 103 |
+
"values": [
|
| 104 |
+
0.018952192306518553,
|
| 105 |
+
0.018894847869873048,
|
| 106 |
+
0.018971647262573242,
|
| 107 |
+
0.018979839324951172,
|
| 108 |
+
0.018974720001220705,
|
| 109 |
+
0.019112960815429687,
|
| 110 |
+
0.018916351318359375,
|
| 111 |
+
0.018991104125976564,
|
| 112 |
+
0.018917375564575196,
|
| 113 |
+
0.018934783935546876,
|
| 114 |
+
0.018921472549438476,
|
| 115 |
+
0.01884876823425293,
|
| 116 |
+
0.018976768493652343,
|
| 117 |
+
0.018911231994628908,
|
| 118 |
+
0.018903039932250978,
|
| 119 |
+
0.018954240798950195,
|
| 120 |
+
0.018779136657714843,
|
| 121 |
+
0.01880575942993164,
|
| 122 |
+
0.019017728805541992,
|
| 123 |
+
0.01903104019165039,
|
| 124 |
+
0.0190248966217041,
|
| 125 |
+
0.018981887817382814,
|
| 126 |
+
0.01901158332824707,
|
| 127 |
+
0.018957311630249024,
|
| 128 |
+
0.018939903259277344,
|
| 129 |
+
0.019017728805541992,
|
| 130 |
+
0.01901875114440918,
|
| 131 |
+
0.019170303344726563,
|
| 132 |
+
0.019422208786010742,
|
| 133 |
+
0.019791872024536132,
|
| 134 |
+
0.019588096618652344,
|
| 135 |
+
0.019268608093261717,
|
| 136 |
+
0.018945024490356444,
|
| 137 |
+
0.018993152618408202,
|
| 138 |
+
0.019013631820678712,
|
| 139 |
+
0.018924543380737305,
|
| 140 |
+
0.018956287384033203,
|
| 141 |
+
0.018931711196899414,
|
| 142 |
+
0.018946048736572265,
|
| 143 |
+
0.018981887817382814,
|
| 144 |
+
0.018934783935546876,
|
| 145 |
+
0.018967552185058592,
|
| 146 |
+
0.018957311630249024,
|
| 147 |
+
0.018924543380737305,
|
| 148 |
+
0.018974720001220705,
|
| 149 |
+
0.018938880920410156,
|
| 150 |
+
0.018940927505493164,
|
| 151 |
+
0.019358720779418945,
|
| 152 |
+
0.018961408615112304,
|
| 153 |
+
0.018998271942138673,
|
| 154 |
+
0.018973695755004884,
|
| 155 |
+
0.018950143814086915,
|
| 156 |
+
0.019546112060546874,
|
| 157 |
+
0.019516416549682617,
|
| 158 |
+
0.018933759689331055,
|
| 159 |
+
0.018968576431274413,
|
| 160 |
+
0.018961408615112304,
|
| 161 |
+
0.019074047088623047,
|
| 162 |
+
0.01920512008666992,
|
| 163 |
+
0.01909760093688965,
|
| 164 |
+
0.019103744506835937,
|
| 165 |
+
0.019106815338134766,
|
| 166 |
+
0.01905561637878418,
|
| 167 |
+
0.019644416809082032,
|
| 168 |
+
0.019145727157592773,
|
| 169 |
+
0.01905356788635254,
|
| 170 |
+
0.01905971145629883,
|
| 171 |
+
0.019090431213378906,
|
| 172 |
+
0.019111936569213867,
|
| 173 |
+
0.019116031646728517,
|
| 174 |
+
0.01906790351867676,
|
| 175 |
+
0.019125247955322267,
|
| 176 |
+
0.019078144073486326,
|
| 177 |
+
0.019119104385375976,
|
| 178 |
+
0.019095552444458007,
|
| 179 |
+
0.019056640625,
|
| 180 |
+
0.019644416809082032,
|
| 181 |
+
0.01963520050048828,
|
| 182 |
+
0.01963315200805664,
|
| 183 |
+
0.01922867202758789,
|
| 184 |
+
0.019110912322998046,
|
| 185 |
+
0.019297279357910157,
|
| 186 |
+
0.019570688247680663,
|
| 187 |
+
0.019145727157592773,
|
| 188 |
+
0.019111936569213867,
|
| 189 |
+
0.019155967712402345,
|
| 190 |
+
0.019216384887695313,
|
| 191 |
+
0.019132415771484376,
|
| 192 |
+
0.01903718376159668,
|
| 193 |
+
0.019042303085327148,
|
| 194 |
+
0.01906483268737793,
|
| 195 |
+
0.01908940887451172,
|
| 196 |
+
0.01904025650024414,
|
| 197 |
+
0.019078144073486326,
|
| 198 |
+
0.01905254364013672,
|
| 199 |
+
0.01900748825073242,
|
| 200 |
+
0.01901670455932617,
|
| 201 |
+
0.019588096618652344,
|
| 202 |
+
0.01993011283874512,
|
| 203 |
+
0.020372480392456056,
|
| 204 |
+
0.01968435287475586,
|
| 205 |
+
0.019606527328491212,
|
| 206 |
+
0.01968230438232422,
|
| 207 |
+
0.019555328369140625,
|
| 208 |
+
0.02041548728942871,
|
| 209 |
+
0.019759103775024413,
|
| 210 |
+
0.019721216201782226,
|
| 211 |
+
0.01989836883544922,
|
| 212 |
+
0.019693567276000978,
|
| 213 |
+
0.0196177921295166,
|
| 214 |
+
0.019579967498779296,
|
| 215 |
+
0.01911903953552246,
|
| 216 |
+
0.019099647521972657,
|
| 217 |
+
0.019058687210083008,
|
| 218 |
+
0.01907302474975586,
|
| 219 |
+
0.01904844856262207,
|
| 220 |
+
0.019174400329589843,
|
| 221 |
+
0.019070976257324217,
|
| 222 |
+
0.01902079963684082,
|
| 223 |
+
0.019062784194946288,
|
| 224 |
+
0.01905766487121582,
|
| 225 |
+
0.01908121681213379,
|
| 226 |
+
0.019166208267211913,
|
| 227 |
+
0.019132415771484376,
|
| 228 |
+
0.01918156814575195,
|
| 229 |
+
0.01906483268737793,
|
| 230 |
+
0.019117055892944337,
|
| 231 |
+
0.018941951751708985,
|
| 232 |
+
0.018873344421386717,
|
| 233 |
+
0.018900991439819336,
|
| 234 |
+
0.018979839324951172,
|
| 235 |
+
0.018897920608520507,
|
| 236 |
+
0.018899967193603515,
|
| 237 |
+
0.01882624053955078,
|
| 238 |
+
0.01919692802429199,
|
| 239 |
+
0.019179519653320314,
|
| 240 |
+
0.018932735443115235,
|
| 241 |
+
0.019006464004516603,
|
| 242 |
+
0.018919424057006837,
|
| 243 |
+
0.018739200592041014,
|
| 244 |
+
0.020040704727172853,
|
| 245 |
+
0.019764223098754884,
|
| 246 |
+
0.02020249557495117,
|
| 247 |
+
0.019405824661254883,
|
| 248 |
+
0.01903104019165039,
|
| 249 |
+
0.01945395278930664,
|
| 250 |
+
0.01949286460876465,
|
| 251 |
+
0.019495935440063478,
|
| 252 |
+
0.018951168060302736,
|
| 253 |
+
0.01925632095336914,
|
| 254 |
+
0.018961408615112304,
|
| 255 |
+
0.018927616119384767,
|
| 256 |
+
0.019570688247680663,
|
| 257 |
+
0.019776512145996093,
|
| 258 |
+
0.01944883155822754,
|
| 259 |
+
0.020006912231445313,
|
| 260 |
+
0.019527679443359376,
|
| 261 |
+
0.018974720001220705,
|
| 262 |
+
0.01905766487121582,
|
| 263 |
+
0.018955263137817382,
|
| 264 |
+
0.018957311630249024,
|
| 265 |
+
0.01923788833618164,
|
| 266 |
+
0.01946316719055176,
|
| 267 |
+
0.019449855804443358,
|
| 268 |
+
0.019414016723632813,
|
| 269 |
+
0.019378175735473634,
|
| 270 |
+
0.01948057556152344,
|
| 271 |
+
0.019552255630493166,
|
| 272 |
+
0.019374080657958984,
|
| 273 |
+
0.019522560119628905,
|
| 274 |
+
0.01941913604736328,
|
| 275 |
+
0.01939558410644531,
|
| 276 |
+
0.019572736740112305,
|
| 277 |
+
0.019515392303466796,
|
| 278 |
+
0.018931711196899414,
|
| 279 |
+
0.018952192306518553,
|
| 280 |
+
0.018920448303222655,
|
| 281 |
+
0.01888768005371094,
|
| 282 |
+
0.019347455978393553,
|
| 283 |
+
0.01882009506225586,
|
| 284 |
+
0.018736127853393555,
|
| 285 |
+
0.018972671508789063,
|
| 286 |
+
0.018997247695922852,
|
| 287 |
+
0.018906112670898437,
|
| 288 |
+
0.01907711982727051,
|
| 289 |
+
0.01903718376159668,
|
| 290 |
+
0.019211263656616212,
|
| 291 |
+
0.019290111541748048,
|
| 292 |
+
0.02001817512512207,
|
| 293 |
+
0.019910655975341796,
|
| 294 |
+
0.01969049644470215,
|
| 295 |
+
0.019708927154541016,
|
| 296 |
+
0.01962495994567871,
|
| 297 |
+
0.019602432250976562,
|
| 298 |
+
0.019704832077026366,
|
| 299 |
+
0.019620864868164063,
|
| 300 |
+
0.01960960006713867,
|
| 301 |
+
0.019550207138061524,
|
| 302 |
+
0.019115007400512696,
|
| 303 |
+
0.01925119972229004,
|
| 304 |
+
0.02040012741088867,
|
| 305 |
+
0.01964851188659668,
|
| 306 |
+
0.0192491512298584,
|
| 307 |
+
0.01905561637878418,
|
| 308 |
+
0.019759103775024413,
|
| 309 |
+
0.020964351654052735,
|
| 310 |
+
0.02036735916137695,
|
| 311 |
+
0.020165632247924805,
|
| 312 |
+
0.019664896011352538,
|
| 313 |
+
0.019595264434814453,
|
| 314 |
+
0.018957311630249024,
|
| 315 |
+
0.019087423324584962,
|
| 316 |
+
0.01918560028076172,
|
| 317 |
+
0.019009536743164062,
|
| 318 |
+
0.019070976257324217,
|
| 319 |
+
0.01903308868408203,
|
| 320 |
+
0.01905356788635254,
|
| 321 |
+
0.019009536743164062,
|
| 322 |
+
0.019083263397216797,
|
| 323 |
+
0.019074047088623047,
|
| 324 |
+
0.01908940887451172,
|
| 325 |
+
0.01904742431640625,
|
| 326 |
+
0.018965503692626954,
|
| 327 |
+
0.018942975997924806,
|
| 328 |
+
0.01905766487121582,
|
| 329 |
+
0.019334144592285156,
|
| 330 |
+
0.019573759078979493,
|
| 331 |
+
0.019598335266113282,
|
| 332 |
+
0.019561471939086913,
|
| 333 |
+
0.019531776428222656,
|
| 334 |
+
0.019607551574707033,
|
| 335 |
+
0.019111936569213867,
|
| 336 |
+
0.01906790351867676,
|
| 337 |
+
0.01906585693359375,
|
| 338 |
+
0.01906380844116211,
|
| 339 |
+
0.01925119972229004,
|
| 340 |
+
0.019506175994873046,
|
| 341 |
+
0.019486719131469727,
|
| 342 |
+
0.019404800415039062,
|
| 343 |
+
0.01944473648071289,
|
| 344 |
+
0.019734560012817384,
|
| 345 |
+
0.020400096893310547,
|
| 346 |
+
0.019619840621948242,
|
| 347 |
+
0.01920921516418457,
|
| 348 |
+
0.01922150421142578,
|
| 349 |
+
0.019169279098510742,
|
| 350 |
+
0.01962700843811035,
|
| 351 |
+
0.019188735961914064,
|
| 352 |
+
0.01904537582397461,
|
| 353 |
+
0.01904742431640625,
|
| 354 |
+
0.01907711982727051,
|
| 355 |
+
0.01900851249694824,
|
| 356 |
+
0.01899622344970703,
|
| 357 |
+
0.019393535614013673
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 51.968778247020104
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020968351364135742,
|
| 7 |
+
"prefill.throughput.value": 333.8364508700859,
|
| 8 |
+
"decode.latency.mean": 2.44393505859375,
|
| 9 |
+
"decode.throughput.value": 51.96537426533597,
|
| 10 |
+
"per_token.latency.mean": 0.019242322673947796,
|
| 11 |
+
"per_token.throughput.value": 51.968778247020104
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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: 9230d78e76611cfa38c845213021aeb185362d10
|
| 84 |
+
accelerate_version: 0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10
|
| 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/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10/${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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-09-05 02:42:43,780[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-09-05 02:42:46,164[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 93 |
+
"accelerate_version": "0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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: 9230d78e76611cfa38c845213021aeb185362d10
|
| 84 |
+
accelerate_version: 0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10
|
| 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/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10/${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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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",
|
| 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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1320.579072,
|
| 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.4748447265625,
|
| 120 |
+
"mean": 11.4748447265625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.4748447265625,
|
| 123 |
+
"p90": 11.4748447265625,
|
| 124 |
+
"p95": 11.4748447265625,
|
| 125 |
+
"p99": 11.4748447265625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.4748447265625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1750.335488,
|
| 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.04330275344848633,
|
| 147 |
+
"mean": 0.021651376724243165,
|
| 148 |
+
"stdev": 2.6224136352538674e-05,
|
| 149 |
+
"p50": 0.021651376724243165,
|
| 150 |
+
"p90": 0.021672356033325197,
|
| 151 |
+
"p95": 0.02167497844696045,
|
| 152 |
+
"p99": 0.021677076377868653,
|
| 153 |
+
"values": [
|
| 154 |
+
0.021625152587890627,
|
| 155 |
+
0.021677600860595704
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 323.30507612303757
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1775.263744,
|
| 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.1356376953125,
|
| 178 |
+
"mean": 2.56781884765625,
|
| 179 |
+
"stdev": 0.009129638671875107,
|
| 180 |
+
"p50": 2.56781884765625,
|
| 181 |
+
"p90": 2.5751225585937503,
|
| 182 |
+
"p95": 2.5760355224609377,
|
| 183 |
+
"p99": 2.5767658935546875,
|
| 184 |
+
"values": [
|
| 185 |
+
2.558689208984375,
|
| 186 |
+
2.576948486328125
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 49.45831755846715
|
| 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.13538049316406,
|
| 202 |
+
"mean": 0.020218033437653788,
|
| 203 |
+
"stdev": 0.0003372847313861498,
|
| 204 |
+
"p50": 0.020043264389038085,
|
| 205 |
+
"p90": 0.0206561279296875,
|
| 206 |
+
"p95": 0.020724377346038818,
|
| 207 |
+
"p99": 0.0209396231842041,
|
| 208 |
+
"values": [
|
| 209 |
+
0.02001817512512207,
|
| 210 |
+
0.019917823791503905,
|
| 211 |
+
0.019900415420532228,
|
| 212 |
+
0.019908607482910155,
|
| 213 |
+
0.019899391174316407,
|
| 214 |
+
0.019878911972045898,
|
| 215 |
+
0.019704832077026366,
|
| 216 |
+
0.01988915252685547,
|
| 217 |
+
0.019935232162475586,
|
| 218 |
+
0.01988915252685547,
|
| 219 |
+
0.019899391174316407,
|
| 220 |
+
0.019951616287231445,
|
| 221 |
+
0.020256767272949217,
|
| 222 |
+
0.020471807479858398,
|
| 223 |
+
0.02050048065185547,
|
| 224 |
+
0.020347904205322266,
|
| 225 |
+
0.019946495056152345,
|
| 226 |
+
0.020197376251220703,
|
| 227 |
+
0.020502527236938475,
|
| 228 |
+
0.02026700782775879,
|
| 229 |
+
0.019950592041015625,
|
| 230 |
+
0.019931135177612306,
|
| 231 |
+
0.020205568313598633,
|
| 232 |
+
0.01993011283874512,
|
| 233 |
+
0.019916799545288084,
|
| 234 |
+
0.019955711364746095,
|
| 235 |
+
0.019937280654907227,
|
| 236 |
+
0.02022809600830078,
|
| 237 |
+
0.02046566390991211,
|
| 238 |
+
0.02046156883239746,
|
| 239 |
+
0.02067046356201172,
|
| 240 |
+
0.02046976089477539,
|
| 241 |
+
0.020572160720825194,
|
| 242 |
+
0.02012774467468262,
|
| 243 |
+
0.019934207916259765,
|
| 244 |
+
0.0198973445892334,
|
| 245 |
+
0.019918848037719726,
|
| 246 |
+
0.02030284881591797,
|
| 247 |
+
0.019964927673339843,
|
| 248 |
+
0.020674560546875,
|
| 249 |
+
0.020594688415527345,
|
| 250 |
+
0.020420608520507814,
|
| 251 |
+
0.020358144760131838,
|
| 252 |
+
0.020496383666992187,
|
| 253 |
+
0.020775936126708985,
|
| 254 |
+
0.020543487548828124,
|
| 255 |
+
0.02050662422180176,
|
| 256 |
+
0.020462591171264647,
|
| 257 |
+
0.020501504898071288,
|
| 258 |
+
0.02046771240234375,
|
| 259 |
+
0.020254720687866212,
|
| 260 |
+
0.02004991912841797,
|
| 261 |
+
0.019929088592529298,
|
| 262 |
+
0.019957759857177734,
|
| 263 |
+
0.01998847961425781,
|
| 264 |
+
0.019941375732421874,
|
| 265 |
+
0.019983360290527344,
|
| 266 |
+
0.019977216720581056,
|
| 267 |
+
0.019958784103393554,
|
| 268 |
+
0.019966976165771484,
|
| 269 |
+
0.019944448471069336,
|
| 270 |
+
0.019953664779663087,
|
| 271 |
+
0.019962879180908204,
|
| 272 |
+
0.02003455924987793,
|
| 273 |
+
0.01993939208984375,
|
| 274 |
+
0.01996793556213379,
|
| 275 |
+
0.019918848037719726,
|
| 276 |
+
0.01992192077636719,
|
| 277 |
+
0.019960832595825196,
|
| 278 |
+
0.019958784103393554,
|
| 279 |
+
0.01998847961425781,
|
| 280 |
+
0.020601856231689454,
|
| 281 |
+
0.020593664169311524,
|
| 282 |
+
0.020528127670288086,
|
| 283 |
+
0.019908607482910155,
|
| 284 |
+
0.01988915252685547,
|
| 285 |
+
0.019907583236694337,
|
| 286 |
+
0.01989017677307129,
|
| 287 |
+
0.019891199111938478,
|
| 288 |
+
0.019877887725830077,
|
| 289 |
+
0.01993011283874512,
|
| 290 |
+
0.019899391174316407,
|
| 291 |
+
0.019961856842041017,
|
| 292 |
+
0.019923967361450197,
|
| 293 |
+
0.019927040100097656,
|
| 294 |
+
0.02024140739440918,
|
| 295 |
+
0.020526079177856444,
|
| 296 |
+
0.020137983322143553,
|
| 297 |
+
0.019918848037719726,
|
| 298 |
+
0.019953664779663087,
|
| 299 |
+
0.019918848037719726,
|
| 300 |
+
0.01999667167663574,
|
| 301 |
+
0.020396032333374024,
|
| 302 |
+
0.020376575469970702,
|
| 303 |
+
0.02059878349304199,
|
| 304 |
+
0.020538368225097657,
|
| 305 |
+
0.02042367935180664,
|
| 306 |
+
0.020493312835693358,
|
| 307 |
+
0.020489215850830078,
|
| 308 |
+
0.019961856842041017,
|
| 309 |
+
0.019945472717285157,
|
| 310 |
+
0.019918848037719726,
|
| 311 |
+
0.020000768661499024,
|
| 312 |
+
0.019957759857177734,
|
| 313 |
+
0.019953664779663087,
|
| 314 |
+
0.01991372871398926,
|
| 315 |
+
0.019908607482910155,
|
| 316 |
+
0.020280319213867186,
|
| 317 |
+
0.020538368225097657,
|
| 318 |
+
0.02046566390991211,
|
| 319 |
+
0.019909631729125975,
|
| 320 |
+
0.019887104034423828,
|
| 321 |
+
0.019907583236694337,
|
| 322 |
+
0.02008678436279297,
|
| 323 |
+
0.02026393508911133,
|
| 324 |
+
0.020487167358398437,
|
| 325 |
+
0.02046771240234375,
|
| 326 |
+
0.019940351486206053,
|
| 327 |
+
0.020039680480957032,
|
| 328 |
+
0.019979263305664064,
|
| 329 |
+
0.019958784103393554,
|
| 330 |
+
0.020172800064086914,
|
| 331 |
+
0.020541439056396483,
|
| 332 |
+
0.020478975296020507,
|
| 333 |
+
0.02048204803466797,
|
| 334 |
+
0.02044927978515625,
|
| 335 |
+
0.02044211196899414,
|
| 336 |
+
0.019927040100097656,
|
| 337 |
+
0.01987174415588379,
|
| 338 |
+
0.019900415420532228,
|
| 339 |
+
0.01987174415588379,
|
| 340 |
+
0.019907583236694337,
|
| 341 |
+
0.019947519302368166,
|
| 342 |
+
0.01987379264831543,
|
| 343 |
+
0.020287488937377928,
|
| 344 |
+
0.020445184707641603,
|
| 345 |
+
0.020452352523803712,
|
| 346 |
+
0.020171775817871093,
|
| 347 |
+
0.020489215850830078,
|
| 348 |
+
0.020609024047851563,
|
| 349 |
+
0.02039910316467285,
|
| 350 |
+
0.020508672714233397,
|
| 351 |
+
0.020305919647216796,
|
| 352 |
+
0.020208639144897463,
|
| 353 |
+
0.020411392211914063,
|
| 354 |
+
0.0198973445892334,
|
| 355 |
+
0.020554752349853517,
|
| 356 |
+
0.020196352005004883,
|
| 357 |
+
0.020587520599365236,
|
| 358 |
+
0.020737024307250978,
|
| 359 |
+
0.02026905632019043,
|
| 360 |
+
0.02039193534851074,
|
| 361 |
+
0.019919872283935547,
|
| 362 |
+
0.01988198471069336,
|
| 363 |
+
0.019893247604370116,
|
| 364 |
+
0.01968435287475586,
|
| 365 |
+
0.019993600845336915,
|
| 366 |
+
0.020575231552124023,
|
| 367 |
+
0.020494335174560546,
|
| 368 |
+
0.019919872283935547,
|
| 369 |
+
0.019927040100097656,
|
| 370 |
+
0.019919872283935547,
|
| 371 |
+
0.019942399978637695,
|
| 372 |
+
0.02065100860595703,
|
| 373 |
+
0.02069196891784668,
|
| 374 |
+
0.020462591171264647,
|
| 375 |
+
0.02044108772277832,
|
| 376 |
+
0.020520959854125977,
|
| 377 |
+
0.020493312835693358,
|
| 378 |
+
0.020502527236938475,
|
| 379 |
+
0.019997695922851562,
|
| 380 |
+
0.019922943115234376,
|
| 381 |
+
0.01997209548950195,
|
| 382 |
+
0.02001408004760742,
|
| 383 |
+
0.019919872283935547,
|
| 384 |
+
0.019938304901123048,
|
| 385 |
+
0.01992192077636719,
|
| 386 |
+
0.019919872283935547,
|
| 387 |
+
0.019945472717285157,
|
| 388 |
+
0.019965951919555663,
|
| 389 |
+
0.019944448471069336,
|
| 390 |
+
0.019911680221557617,
|
| 391 |
+
0.019896320343017578,
|
| 392 |
+
0.019920896530151368,
|
| 393 |
+
0.01998028755187988,
|
| 394 |
+
0.019907583236694337,
|
| 395 |
+
0.019945472717285157,
|
| 396 |
+
0.02008780860900879,
|
| 397 |
+
0.019976192474365235,
|
| 398 |
+
0.019982336044311523,
|
| 399 |
+
0.019943424224853516,
|
| 400 |
+
0.02003558349609375,
|
| 401 |
+
0.020113407135009767,
|
| 402 |
+
0.02009702491760254,
|
| 403 |
+
0.020076543807983398,
|
| 404 |
+
0.020462591171264647,
|
| 405 |
+
0.019965951919555663,
|
| 406 |
+
0.019997695922851562,
|
| 407 |
+
0.019985408782958985,
|
| 408 |
+
0.019997695922851562,
|
| 409 |
+
0.019969024658203126,
|
| 410 |
+
0.020048896789550782,
|
| 411 |
+
0.019969024658203126,
|
| 412 |
+
0.02004684829711914,
|
| 413 |
+
0.01997209548950195,
|
| 414 |
+
0.019984384536743165,
|
| 415 |
+
0.019993600845336915,
|
| 416 |
+
0.019991552352905274,
|
| 417 |
+
0.019954687118530275,
|
| 418 |
+
0.02084147262573242,
|
| 419 |
+
0.020913152694702147,
|
| 420 |
+
0.02071347236633301,
|
| 421 |
+
0.020634624481201173,
|
| 422 |
+
0.020682752609252928,
|
| 423 |
+
0.02063052749633789,
|
| 424 |
+
0.02071347236633301,
|
| 425 |
+
0.0206376953125,
|
| 426 |
+
0.020692991256713866,
|
| 427 |
+
0.020585472106933594,
|
| 428 |
+
0.02067865562438965,
|
| 429 |
+
0.02068377685546875,
|
| 430 |
+
0.020769792556762694,
|
| 431 |
+
0.019985408782958985,
|
| 432 |
+
0.019738624572753907,
|
| 433 |
+
0.019743743896484374,
|
| 434 |
+
0.019795967102050782,
|
| 435 |
+
0.019843072891235353,
|
| 436 |
+
0.019818496704101563,
|
| 437 |
+
0.020100095748901366,
|
| 438 |
+
0.0206561279296875,
|
| 439 |
+
0.02051584053039551,
|
| 440 |
+
0.020609024047851563,
|
| 441 |
+
0.020548608779907225,
|
| 442 |
+
0.021839872360229492,
|
| 443 |
+
0.02126643180847168,
|
| 444 |
+
0.02089574432373047,
|
| 445 |
+
0.020563968658447264,
|
| 446 |
+
0.020641792297363282,
|
| 447 |
+
0.020596736907958983,
|
| 448 |
+
0.02062950325012207,
|
| 449 |
+
0.02059878349304199,
|
| 450 |
+
0.0206561279296875,
|
| 451 |
+
0.020745216369628908,
|
| 452 |
+
0.020788223266601562,
|
| 453 |
+
0.020969472885131835,
|
| 454 |
+
0.02068889617919922,
|
| 455 |
+
0.020617216110229493,
|
| 456 |
+
0.02085273551940918,
|
| 457 |
+
0.020799488067626954,
|
| 458 |
+
0.02065203285217285,
|
| 459 |
+
0.020717567443847656,
|
| 460 |
+
0.020716543197631835,
|
| 461 |
+
0.020616191864013672,
|
| 462 |
+
0.02061516761779785
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 49.46079464571533
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 93 |
+
"accelerate_version": "0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1320.579072,
|
| 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.4748447265625,
|
| 15 |
+
"mean": 11.4748447265625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.4748447265625,
|
| 18 |
+
"p90": 11.4748447265625,
|
| 19 |
+
"p95": 11.4748447265625,
|
| 20 |
+
"p99": 11.4748447265625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.4748447265625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1750.335488,
|
| 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.04330275344848633,
|
| 42 |
+
"mean": 0.021651376724243165,
|
| 43 |
+
"stdev": 2.6224136352538674e-05,
|
| 44 |
+
"p50": 0.021651376724243165,
|
| 45 |
+
"p90": 0.021672356033325197,
|
| 46 |
+
"p95": 0.02167497844696045,
|
| 47 |
+
"p99": 0.021677076377868653,
|
| 48 |
+
"values": [
|
| 49 |
+
0.021625152587890627,
|
| 50 |
+
0.021677600860595704
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 323.30507612303757
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1775.263744,
|
| 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.1356376953125,
|
| 73 |
+
"mean": 2.56781884765625,
|
| 74 |
+
"stdev": 0.009129638671875107,
|
| 75 |
+
"p50": 2.56781884765625,
|
| 76 |
+
"p90": 2.5751225585937503,
|
| 77 |
+
"p95": 2.5760355224609377,
|
| 78 |
+
"p99": 2.5767658935546875,
|
| 79 |
+
"values": [
|
| 80 |
+
2.558689208984375,
|
| 81 |
+
2.576948486328125
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 49.45831755846715
|
| 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.13538049316406,
|
| 97 |
+
"mean": 0.020218033437653788,
|
| 98 |
+
"stdev": 0.0003372847313861498,
|
| 99 |
+
"p50": 0.020043264389038085,
|
| 100 |
+
"p90": 0.0206561279296875,
|
| 101 |
+
"p95": 0.020724377346038818,
|
| 102 |
+
"p99": 0.0209396231842041,
|
| 103 |
+
"values": [
|
| 104 |
+
0.02001817512512207,
|
| 105 |
+
0.019917823791503905,
|
| 106 |
+
0.019900415420532228,
|
| 107 |
+
0.019908607482910155,
|
| 108 |
+
0.019899391174316407,
|
| 109 |
+
0.019878911972045898,
|
| 110 |
+
0.019704832077026366,
|
| 111 |
+
0.01988915252685547,
|
| 112 |
+
0.019935232162475586,
|
| 113 |
+
0.01988915252685547,
|
| 114 |
+
0.019899391174316407,
|
| 115 |
+
0.019951616287231445,
|
| 116 |
+
0.020256767272949217,
|
| 117 |
+
0.020471807479858398,
|
| 118 |
+
0.02050048065185547,
|
| 119 |
+
0.020347904205322266,
|
| 120 |
+
0.019946495056152345,
|
| 121 |
+
0.020197376251220703,
|
| 122 |
+
0.020502527236938475,
|
| 123 |
+
0.02026700782775879,
|
| 124 |
+
0.019950592041015625,
|
| 125 |
+
0.019931135177612306,
|
| 126 |
+
0.020205568313598633,
|
| 127 |
+
0.01993011283874512,
|
| 128 |
+
0.019916799545288084,
|
| 129 |
+
0.019955711364746095,
|
| 130 |
+
0.019937280654907227,
|
| 131 |
+
0.02022809600830078,
|
| 132 |
+
0.02046566390991211,
|
| 133 |
+
0.02046156883239746,
|
| 134 |
+
0.02067046356201172,
|
| 135 |
+
0.02046976089477539,
|
| 136 |
+
0.020572160720825194,
|
| 137 |
+
0.02012774467468262,
|
| 138 |
+
0.019934207916259765,
|
| 139 |
+
0.0198973445892334,
|
| 140 |
+
0.019918848037719726,
|
| 141 |
+
0.02030284881591797,
|
| 142 |
+
0.019964927673339843,
|
| 143 |
+
0.020674560546875,
|
| 144 |
+
0.020594688415527345,
|
| 145 |
+
0.020420608520507814,
|
| 146 |
+
0.020358144760131838,
|
| 147 |
+
0.020496383666992187,
|
| 148 |
+
0.020775936126708985,
|
| 149 |
+
0.020543487548828124,
|
| 150 |
+
0.02050662422180176,
|
| 151 |
+
0.020462591171264647,
|
| 152 |
+
0.020501504898071288,
|
| 153 |
+
0.02046771240234375,
|
| 154 |
+
0.020254720687866212,
|
| 155 |
+
0.02004991912841797,
|
| 156 |
+
0.019929088592529298,
|
| 157 |
+
0.019957759857177734,
|
| 158 |
+
0.01998847961425781,
|
| 159 |
+
0.019941375732421874,
|
| 160 |
+
0.019983360290527344,
|
| 161 |
+
0.019977216720581056,
|
| 162 |
+
0.019958784103393554,
|
| 163 |
+
0.019966976165771484,
|
| 164 |
+
0.019944448471069336,
|
| 165 |
+
0.019953664779663087,
|
| 166 |
+
0.019962879180908204,
|
| 167 |
+
0.02003455924987793,
|
| 168 |
+
0.01993939208984375,
|
| 169 |
+
0.01996793556213379,
|
| 170 |
+
0.019918848037719726,
|
| 171 |
+
0.01992192077636719,
|
| 172 |
+
0.019960832595825196,
|
| 173 |
+
0.019958784103393554,
|
| 174 |
+
0.01998847961425781,
|
| 175 |
+
0.020601856231689454,
|
| 176 |
+
0.020593664169311524,
|
| 177 |
+
0.020528127670288086,
|
| 178 |
+
0.019908607482910155,
|
| 179 |
+
0.01988915252685547,
|
| 180 |
+
0.019907583236694337,
|
| 181 |
+
0.01989017677307129,
|
| 182 |
+
0.019891199111938478,
|
| 183 |
+
0.019877887725830077,
|
| 184 |
+
0.01993011283874512,
|
| 185 |
+
0.019899391174316407,
|
| 186 |
+
0.019961856842041017,
|
| 187 |
+
0.019923967361450197,
|
| 188 |
+
0.019927040100097656,
|
| 189 |
+
0.02024140739440918,
|
| 190 |
+
0.020526079177856444,
|
| 191 |
+
0.020137983322143553,
|
| 192 |
+
0.019918848037719726,
|
| 193 |
+
0.019953664779663087,
|
| 194 |
+
0.019918848037719726,
|
| 195 |
+
0.01999667167663574,
|
| 196 |
+
0.020396032333374024,
|
| 197 |
+
0.020376575469970702,
|
| 198 |
+
0.02059878349304199,
|
| 199 |
+
0.020538368225097657,
|
| 200 |
+
0.02042367935180664,
|
| 201 |
+
0.020493312835693358,
|
| 202 |
+
0.020489215850830078,
|
| 203 |
+
0.019961856842041017,
|
| 204 |
+
0.019945472717285157,
|
| 205 |
+
0.019918848037719726,
|
| 206 |
+
0.020000768661499024,
|
| 207 |
+
0.019957759857177734,
|
| 208 |
+
0.019953664779663087,
|
| 209 |
+
0.01991372871398926,
|
| 210 |
+
0.019908607482910155,
|
| 211 |
+
0.020280319213867186,
|
| 212 |
+
0.020538368225097657,
|
| 213 |
+
0.02046566390991211,
|
| 214 |
+
0.019909631729125975,
|
| 215 |
+
0.019887104034423828,
|
| 216 |
+
0.019907583236694337,
|
| 217 |
+
0.02008678436279297,
|
| 218 |
+
0.02026393508911133,
|
| 219 |
+
0.020487167358398437,
|
| 220 |
+
0.02046771240234375,
|
| 221 |
+
0.019940351486206053,
|
| 222 |
+
0.020039680480957032,
|
| 223 |
+
0.019979263305664064,
|
| 224 |
+
0.019958784103393554,
|
| 225 |
+
0.020172800064086914,
|
| 226 |
+
0.020541439056396483,
|
| 227 |
+
0.020478975296020507,
|
| 228 |
+
0.02048204803466797,
|
| 229 |
+
0.02044927978515625,
|
| 230 |
+
0.02044211196899414,
|
| 231 |
+
0.019927040100097656,
|
| 232 |
+
0.01987174415588379,
|
| 233 |
+
0.019900415420532228,
|
| 234 |
+
0.01987174415588379,
|
| 235 |
+
0.019907583236694337,
|
| 236 |
+
0.019947519302368166,
|
| 237 |
+
0.01987379264831543,
|
| 238 |
+
0.020287488937377928,
|
| 239 |
+
0.020445184707641603,
|
| 240 |
+
0.020452352523803712,
|
| 241 |
+
0.020171775817871093,
|
| 242 |
+
0.020489215850830078,
|
| 243 |
+
0.020609024047851563,
|
| 244 |
+
0.02039910316467285,
|
| 245 |
+
0.020508672714233397,
|
| 246 |
+
0.020305919647216796,
|
| 247 |
+
0.020208639144897463,
|
| 248 |
+
0.020411392211914063,
|
| 249 |
+
0.0198973445892334,
|
| 250 |
+
0.020554752349853517,
|
| 251 |
+
0.020196352005004883,
|
| 252 |
+
0.020587520599365236,
|
| 253 |
+
0.020737024307250978,
|
| 254 |
+
0.02026905632019043,
|
| 255 |
+
0.02039193534851074,
|
| 256 |
+
0.019919872283935547,
|
| 257 |
+
0.01988198471069336,
|
| 258 |
+
0.019893247604370116,
|
| 259 |
+
0.01968435287475586,
|
| 260 |
+
0.019993600845336915,
|
| 261 |
+
0.020575231552124023,
|
| 262 |
+
0.020494335174560546,
|
| 263 |
+
0.019919872283935547,
|
| 264 |
+
0.019927040100097656,
|
| 265 |
+
0.019919872283935547,
|
| 266 |
+
0.019942399978637695,
|
| 267 |
+
0.02065100860595703,
|
| 268 |
+
0.02069196891784668,
|
| 269 |
+
0.020462591171264647,
|
| 270 |
+
0.02044108772277832,
|
| 271 |
+
0.020520959854125977,
|
| 272 |
+
0.020493312835693358,
|
| 273 |
+
0.020502527236938475,
|
| 274 |
+
0.019997695922851562,
|
| 275 |
+
0.019922943115234376,
|
| 276 |
+
0.01997209548950195,
|
| 277 |
+
0.02001408004760742,
|
| 278 |
+
0.019919872283935547,
|
| 279 |
+
0.019938304901123048,
|
| 280 |
+
0.01992192077636719,
|
| 281 |
+
0.019919872283935547,
|
| 282 |
+
0.019945472717285157,
|
| 283 |
+
0.019965951919555663,
|
| 284 |
+
0.019944448471069336,
|
| 285 |
+
0.019911680221557617,
|
| 286 |
+
0.019896320343017578,
|
| 287 |
+
0.019920896530151368,
|
| 288 |
+
0.01998028755187988,
|
| 289 |
+
0.019907583236694337,
|
| 290 |
+
0.019945472717285157,
|
| 291 |
+
0.02008780860900879,
|
| 292 |
+
0.019976192474365235,
|
| 293 |
+
0.019982336044311523,
|
| 294 |
+
0.019943424224853516,
|
| 295 |
+
0.02003558349609375,
|
| 296 |
+
0.020113407135009767,
|
| 297 |
+
0.02009702491760254,
|
| 298 |
+
0.020076543807983398,
|
| 299 |
+
0.020462591171264647,
|
| 300 |
+
0.019965951919555663,
|
| 301 |
+
0.019997695922851562,
|
| 302 |
+
0.019985408782958985,
|
| 303 |
+
0.019997695922851562,
|
| 304 |
+
0.019969024658203126,
|
| 305 |
+
0.020048896789550782,
|
| 306 |
+
0.019969024658203126,
|
| 307 |
+
0.02004684829711914,
|
| 308 |
+
0.01997209548950195,
|
| 309 |
+
0.019984384536743165,
|
| 310 |
+
0.019993600845336915,
|
| 311 |
+
0.019991552352905274,
|
| 312 |
+
0.019954687118530275,
|
| 313 |
+
0.02084147262573242,
|
| 314 |
+
0.020913152694702147,
|
| 315 |
+
0.02071347236633301,
|
| 316 |
+
0.020634624481201173,
|
| 317 |
+
0.020682752609252928,
|
| 318 |
+
0.02063052749633789,
|
| 319 |
+
0.02071347236633301,
|
| 320 |
+
0.0206376953125,
|
| 321 |
+
0.020692991256713866,
|
| 322 |
+
0.020585472106933594,
|
| 323 |
+
0.02067865562438965,
|
| 324 |
+
0.02068377685546875,
|
| 325 |
+
0.020769792556762694,
|
| 326 |
+
0.019985408782958985,
|
| 327 |
+
0.019738624572753907,
|
| 328 |
+
0.019743743896484374,
|
| 329 |
+
0.019795967102050782,
|
| 330 |
+
0.019843072891235353,
|
| 331 |
+
0.019818496704101563,
|
| 332 |
+
0.020100095748901366,
|
| 333 |
+
0.0206561279296875,
|
| 334 |
+
0.02051584053039551,
|
| 335 |
+
0.020609024047851563,
|
| 336 |
+
0.020548608779907225,
|
| 337 |
+
0.021839872360229492,
|
| 338 |
+
0.02126643180847168,
|
| 339 |
+
0.02089574432373047,
|
| 340 |
+
0.020563968658447264,
|
| 341 |
+
0.020641792297363282,
|
| 342 |
+
0.020596736907958983,
|
| 343 |
+
0.02062950325012207,
|
| 344 |
+
0.02059878349304199,
|
| 345 |
+
0.0206561279296875,
|
| 346 |
+
0.020745216369628908,
|
| 347 |
+
0.020788223266601562,
|
| 348 |
+
0.020969472885131835,
|
| 349 |
+
0.02068889617919922,
|
| 350 |
+
0.020617216110229493,
|
| 351 |
+
0.02085273551940918,
|
| 352 |
+
0.020799488067626954,
|
| 353 |
+
0.02065203285217285,
|
| 354 |
+
0.020717567443847656,
|
| 355 |
+
0.020716543197631835,
|
| 356 |
+
0.020616191864013672,
|
| 357 |
+
0.02061516761779785
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 49.46079464571533
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021651376724243165,
|
| 7 |
+
"prefill.throughput.value": 323.30507612303757,
|
| 8 |
+
"decode.latency.mean": 2.56781884765625,
|
| 9 |
+
"decode.throughput.value": 49.45831755846715,
|
| 10 |
+
"per_token.latency.mean": 0.020218033437653788,
|
| 11 |
+
"per_token.throughput.value": 49.46079464571533
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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: 9230d78e76611cfa38c845213021aeb185362d10
|
| 84 |
+
accelerate_version: 0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10
|
| 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/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10/${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/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 94 |
+
"accelerate_version": "0.35.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.30304,
|
| 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.5420205078125,
|
| 120 |
+
"mean": 12.5420205078125,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.5420205078125,
|
| 123 |
+
"p90": 12.5420205078125,
|
| 124 |
+
"p95": 12.5420205078125,
|
| 125 |
+
"p99": 12.5420205078125,
|
| 126 |
+
"values": [
|
| 127 |
+
12.5420205078125
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1856.069632,
|
| 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.028258048057556155,
|
| 147 |
+
"mean": 0.014129024028778078,
|
| 148 |
+
"stdev": 0.00016383981704711902,
|
| 149 |
+
"p50": 0.014129024028778078,
|
| 150 |
+
"p90": 0.014260095882415773,
|
| 151 |
+
"p95": 0.014276479864120483,
|
| 152 |
+
"p99": 0.014289587049484253,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013965184211730958,
|
| 155 |
+
0.014292863845825196
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 495.43407851401196
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2025.795584,
|
| 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.1299940185546875,
|
| 178 |
+
"mean": 1.5649970092773438,
|
| 179 |
+
"stdev": 0.0003517456054686896,
|
| 180 |
+
"p50": 1.5649970092773438,
|
| 181 |
+
"p90": 1.5652784057617186,
|
| 182 |
+
"p95": 1.5653135803222655,
|
| 183 |
+
"p99": 1.5653417199707031,
|
| 184 |
+
"values": [
|
| 185 |
+
1.564645263671875,
|
| 186 |
+
1.5653487548828124
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.15031482305757
|
| 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.1297003526687606,
|
| 202 |
+
"mean": 0.012321654931766781,
|
| 203 |
+
"stdev": 7.81213813086749e-05,
|
| 204 |
+
"p50": 0.012306431770324706,
|
| 205 |
+
"p90": 0.01233512668609619,
|
| 206 |
+
"p95": 0.012360396814346314,
|
| 207 |
+
"p99": 0.012843509721755983,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012317695617675782,
|
| 210 |
+
0.012312576293945313,
|
| 211 |
+
0.012299263954162597,
|
| 212 |
+
0.012310527801513671,
|
| 213 |
+
0.012306431770324706,
|
| 214 |
+
0.012303359985351562,
|
| 215 |
+
0.012312576293945313,
|
| 216 |
+
0.012308480262756348,
|
| 217 |
+
0.012309503555297852,
|
| 218 |
+
0.012311552047729492,
|
| 219 |
+
0.012302335739135742,
|
| 220 |
+
0.012305407524108887,
|
| 221 |
+
0.012297216415405274,
|
| 222 |
+
0.012294143676757812,
|
| 223 |
+
0.01276313591003418,
|
| 224 |
+
0.012321791648864745,
|
| 225 |
+
0.012332032203674317,
|
| 226 |
+
0.012304384231567383,
|
| 227 |
+
0.012308480262756348,
|
| 228 |
+
0.01229312038421631,
|
| 229 |
+
0.012303359985351562,
|
| 230 |
+
0.012318719863891601,
|
| 231 |
+
0.012304384231567383,
|
| 232 |
+
0.01236787223815918,
|
| 233 |
+
0.012318719863891601,
|
| 234 |
+
0.012331007957458496,
|
| 235 |
+
0.01232588768005371,
|
| 236 |
+
0.012295167922973632,
|
| 237 |
+
0.012286975860595703,
|
| 238 |
+
0.012336128234863282,
|
| 239 |
+
0.012316672325134278,
|
| 240 |
+
0.012307456016540527,
|
| 241 |
+
0.012288000106811523,
|
| 242 |
+
0.012299263954162597,
|
| 243 |
+
0.012310527801513671,
|
| 244 |
+
0.012307456016540527,
|
| 245 |
+
0.012305407524108887,
|
| 246 |
+
0.012301312446594239,
|
| 247 |
+
0.012329983711242675,
|
| 248 |
+
0.012303359985351562,
|
| 249 |
+
0.012301312446594239,
|
| 250 |
+
0.012315648078918457,
|
| 251 |
+
0.012300288200378418,
|
| 252 |
+
0.012301312446594239,
|
| 253 |
+
0.012291071891784668,
|
| 254 |
+
0.012300288200378418,
|
| 255 |
+
0.012305407524108887,
|
| 256 |
+
0.012295167922973632,
|
| 257 |
+
0.012309503555297852,
|
| 258 |
+
0.012311552047729492,
|
| 259 |
+
0.012295167922973632,
|
| 260 |
+
0.012316672325134278,
|
| 261 |
+
0.012333056449890138,
|
| 262 |
+
0.01229312038421631,
|
| 263 |
+
0.012298239707946777,
|
| 264 |
+
0.012298239707946777,
|
| 265 |
+
0.012298239707946777,
|
| 266 |
+
0.012296192169189453,
|
| 267 |
+
0.012298239707946777,
|
| 268 |
+
0.012301312446594239,
|
| 269 |
+
0.012313599586486817,
|
| 270 |
+
0.012337151527404786,
|
| 271 |
+
0.012934144020080567,
|
| 272 |
+
0.012399616241455079,
|
| 273 |
+
0.012321791648864745,
|
| 274 |
+
0.012294143676757812,
|
| 275 |
+
0.012297216415405274,
|
| 276 |
+
0.012296192169189453,
|
| 277 |
+
0.012311552047729492,
|
| 278 |
+
0.012357631683349609,
|
| 279 |
+
0.012323840141296387,
|
| 280 |
+
0.012310527801513671,
|
| 281 |
+
0.012305407524108887,
|
| 282 |
+
0.012303359985351562,
|
| 283 |
+
0.012304384231567383,
|
| 284 |
+
0.012312576293945313,
|
| 285 |
+
0.012306431770324706,
|
| 286 |
+
0.012301312446594239,
|
| 287 |
+
0.012297216415405274,
|
| 288 |
+
0.012301312446594239,
|
| 289 |
+
0.012304384231567383,
|
| 290 |
+
0.012302335739135742,
|
| 291 |
+
0.012298239707946777,
|
| 292 |
+
0.012304384231567383,
|
| 293 |
+
0.012290047645568849,
|
| 294 |
+
0.012313599586486817,
|
| 295 |
+
0.012288000106811523,
|
| 296 |
+
0.012304384231567383,
|
| 297 |
+
0.012346367835998535,
|
| 298 |
+
0.012382207870483398,
|
| 299 |
+
0.012313599586486817,
|
| 300 |
+
0.012291071891784668,
|
| 301 |
+
0.012299263954162597,
|
| 302 |
+
0.012292096138000488,
|
| 303 |
+
0.012302335739135742,
|
| 304 |
+
0.012314623832702636,
|
| 305 |
+
0.012329983711242675,
|
| 306 |
+
0.012307456016540527,
|
| 307 |
+
0.012308480262756348,
|
| 308 |
+
0.012291071891784668,
|
| 309 |
+
0.012307456016540527,
|
| 310 |
+
0.012314623832702636,
|
| 311 |
+
0.012305407524108887,
|
| 312 |
+
0.012314623832702636,
|
| 313 |
+
0.012390399932861328,
|
| 314 |
+
0.012327936172485352,
|
| 315 |
+
0.012306431770324706,
|
| 316 |
+
0.01229312038421631,
|
| 317 |
+
0.012315648078918457,
|
| 318 |
+
0.012299263954162597,
|
| 319 |
+
0.012314623832702636,
|
| 320 |
+
0.012310527801513671,
|
| 321 |
+
0.012303359985351562,
|
| 322 |
+
0.012322815895080566,
|
| 323 |
+
0.0123504638671875,
|
| 324 |
+
0.012304384231567383,
|
| 325 |
+
0.012301312446594239,
|
| 326 |
+
0.012312576293945313,
|
| 327 |
+
0.012298239707946777,
|
| 328 |
+
0.01232588768005371,
|
| 329 |
+
0.012310527801513671,
|
| 330 |
+
0.012295167922973632,
|
| 331 |
+
0.01229520034790039,
|
| 332 |
+
0.012306400299072266,
|
| 333 |
+
0.012300288200378418,
|
| 334 |
+
0.012301312446594239,
|
| 335 |
+
0.012318719863891601,
|
| 336 |
+
0.012346367835998535,
|
| 337 |
+
0.012304384231567383,
|
| 338 |
+
0.012322815895080566,
|
| 339 |
+
0.012300288200378418,
|
| 340 |
+
0.012321791648864745,
|
| 341 |
+
0.012292096138000488,
|
| 342 |
+
0.012291071891784668,
|
| 343 |
+
0.012305407524108887,
|
| 344 |
+
0.012296192169189453,
|
| 345 |
+
0.01228492832183838,
|
| 346 |
+
0.012295167922973632,
|
| 347 |
+
0.012290047645568849,
|
| 348 |
+
0.012279808044433594,
|
| 349 |
+
0.012299327850341797,
|
| 350 |
+
0.012324799537658691,
|
| 351 |
+
0.012310527801513671,
|
| 352 |
+
0.012316672325134278,
|
| 353 |
+
0.01234227180480957,
|
| 354 |
+
0.012935168266296386,
|
| 355 |
+
0.01233510398864746,
|
| 356 |
+
0.012304384231567383,
|
| 357 |
+
0.012298239707946777,
|
| 358 |
+
0.012314687728881836,
|
| 359 |
+
0.012297151565551757,
|
| 360 |
+
0.012339200019836426,
|
| 361 |
+
0.012329983711242675,
|
| 362 |
+
0.012294143676757812,
|
| 363 |
+
0.012297216415405274,
|
| 364 |
+
0.012318719863891601,
|
| 365 |
+
0.012298239707946777,
|
| 366 |
+
0.012300288200378418,
|
| 367 |
+
0.012298239707946777,
|
| 368 |
+
0.012302335739135742,
|
| 369 |
+
0.012290047645568849,
|
| 370 |
+
0.012302335739135742,
|
| 371 |
+
0.012303359985351562,
|
| 372 |
+
0.012310527801513671,
|
| 373 |
+
0.012296192169189453,
|
| 374 |
+
0.012314623832702636,
|
| 375 |
+
0.012298239707946777,
|
| 376 |
+
0.012303359985351562,
|
| 377 |
+
0.012336128234863282,
|
| 378 |
+
0.012315711975097655,
|
| 379 |
+
0.012303296089172364,
|
| 380 |
+
0.012285951614379884,
|
| 381 |
+
0.012292096138000488,
|
| 382 |
+
0.012281855583190919,
|
| 383 |
+
0.012308480262756348,
|
| 384 |
+
0.012299263954162597,
|
| 385 |
+
0.01233510398864746,
|
| 386 |
+
0.01245798397064209,
|
| 387 |
+
0.01232588768005371,
|
| 388 |
+
0.012302335739135742,
|
| 389 |
+
0.012361727714538574,
|
| 390 |
+
0.012337151527404786,
|
| 391 |
+
0.012333056449890138,
|
| 392 |
+
0.012315648078918457,
|
| 393 |
+
0.012393471717834472,
|
| 394 |
+
0.012327936172485352,
|
| 395 |
+
0.012303359985351562,
|
| 396 |
+
0.012298239707946777,
|
| 397 |
+
0.012339200019836426,
|
| 398 |
+
0.012301312446594239,
|
| 399 |
+
0.012304384231567383,
|
| 400 |
+
0.012333056449890138,
|
| 401 |
+
0.012305407524108887,
|
| 402 |
+
0.012329983711242675,
|
| 403 |
+
0.012295167922973632,
|
| 404 |
+
0.012301312446594239,
|
| 405 |
+
0.012303359985351562,
|
| 406 |
+
0.012320768356323243,
|
| 407 |
+
0.012307456016540527,
|
| 408 |
+
0.012301312446594239,
|
| 409 |
+
0.012332032203674317,
|
| 410 |
+
0.012329983711242675,
|
| 411 |
+
0.012316672325134278,
|
| 412 |
+
0.012301312446594239,
|
| 413 |
+
0.012297216415405274,
|
| 414 |
+
0.012308480262756348,
|
| 415 |
+
0.012312576293945313,
|
| 416 |
+
0.012585984230041505,
|
| 417 |
+
0.01235968017578125,
|
| 418 |
+
0.012316672325134278,
|
| 419 |
+
0.012324864387512208,
|
| 420 |
+
0.012306431770324706,
|
| 421 |
+
0.012295167922973632,
|
| 422 |
+
0.012304384231567383,
|
| 423 |
+
0.012294143676757812,
|
| 424 |
+
0.012307456016540527,
|
| 425 |
+
0.012315648078918457,
|
| 426 |
+
0.012332032203674317,
|
| 427 |
+
0.012318719863891601,
|
| 428 |
+
0.012304384231567383,
|
| 429 |
+
0.012291071891784668,
|
| 430 |
+
0.012296192169189453,
|
| 431 |
+
0.012302335739135742,
|
| 432 |
+
0.012313599586486817,
|
| 433 |
+
0.012319744110107422,
|
| 434 |
+
0.012312576293945313,
|
| 435 |
+
0.012306431770324706,
|
| 436 |
+
0.012322815895080566,
|
| 437 |
+
0.012312576293945313,
|
| 438 |
+
0.012955648422241211,
|
| 439 |
+
0.012363776206970215,
|
| 440 |
+
0.012292096138000488,
|
| 441 |
+
0.012326911926269531,
|
| 442 |
+
0.012333056449890138,
|
| 443 |
+
0.012310527801513671,
|
| 444 |
+
0.012304384231567383,
|
| 445 |
+
0.01229312038421631,
|
| 446 |
+
0.012302335739135742,
|
| 447 |
+
0.012307456016540527,
|
| 448 |
+
0.012304384231567383,
|
| 449 |
+
0.012327936172485352,
|
| 450 |
+
0.012335136413574218,
|
| 451 |
+
0.01230947208404541,
|
| 452 |
+
0.01229312038421631,
|
| 453 |
+
0.012299263954162597,
|
| 454 |
+
0.012292096138000488,
|
| 455 |
+
0.012308480262756348,
|
| 456 |
+
0.012307456016540527,
|
| 457 |
+
0.012311552047729492,
|
| 458 |
+
0.012302335739135742,
|
| 459 |
+
0.012322815895080566,
|
| 460 |
+
0.012306431770324706,
|
| 461 |
+
0.012301312446594239,
|
| 462 |
+
0.01229312038421631
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.15792931531249
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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-212.873.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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 93 |
+
"accelerate_version": "0.35.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-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1337.30304,
|
| 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.5420205078125,
|
| 15 |
+
"mean": 12.5420205078125,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.5420205078125,
|
| 18 |
+
"p90": 12.5420205078125,
|
| 19 |
+
"p95": 12.5420205078125,
|
| 20 |
+
"p99": 12.5420205078125,
|
| 21 |
+
"values": [
|
| 22 |
+
12.5420205078125
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1856.069632,
|
| 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.028258048057556155,
|
| 42 |
+
"mean": 0.014129024028778078,
|
| 43 |
+
"stdev": 0.00016383981704711902,
|
| 44 |
+
"p50": 0.014129024028778078,
|
| 45 |
+
"p90": 0.014260095882415773,
|
| 46 |
+
"p95": 0.014276479864120483,
|
| 47 |
+
"p99": 0.014289587049484253,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013965184211730958,
|
| 50 |
+
0.014292863845825196
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 495.43407851401196
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2025.795584,
|
| 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.1299940185546875,
|
| 73 |
+
"mean": 1.5649970092773438,
|
| 74 |
+
"stdev": 0.0003517456054686896,
|
| 75 |
+
"p50": 1.5649970092773438,
|
| 76 |
+
"p90": 1.5652784057617186,
|
| 77 |
+
"p95": 1.5653135803222655,
|
| 78 |
+
"p99": 1.5653417199707031,
|
| 79 |
+
"values": [
|
| 80 |
+
1.564645263671875,
|
| 81 |
+
1.5653487548828124
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.15031482305757
|
| 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.1297003526687606,
|
| 97 |
+
"mean": 0.012321654931766781,
|
| 98 |
+
"stdev": 7.81213813086749e-05,
|
| 99 |
+
"p50": 0.012306431770324706,
|
| 100 |
+
"p90": 0.01233512668609619,
|
| 101 |
+
"p95": 0.012360396814346314,
|
| 102 |
+
"p99": 0.012843509721755983,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012317695617675782,
|
| 105 |
+
0.012312576293945313,
|
| 106 |
+
0.012299263954162597,
|
| 107 |
+
0.012310527801513671,
|
| 108 |
+
0.012306431770324706,
|
| 109 |
+
0.012303359985351562,
|
| 110 |
+
0.012312576293945313,
|
| 111 |
+
0.012308480262756348,
|
| 112 |
+
0.012309503555297852,
|
| 113 |
+
0.012311552047729492,
|
| 114 |
+
0.012302335739135742,
|
| 115 |
+
0.012305407524108887,
|
| 116 |
+
0.012297216415405274,
|
| 117 |
+
0.012294143676757812,
|
| 118 |
+
0.01276313591003418,
|
| 119 |
+
0.012321791648864745,
|
| 120 |
+
0.012332032203674317,
|
| 121 |
+
0.012304384231567383,
|
| 122 |
+
0.012308480262756348,
|
| 123 |
+
0.01229312038421631,
|
| 124 |
+
0.012303359985351562,
|
| 125 |
+
0.012318719863891601,
|
| 126 |
+
0.012304384231567383,
|
| 127 |
+
0.01236787223815918,
|
| 128 |
+
0.012318719863891601,
|
| 129 |
+
0.012331007957458496,
|
| 130 |
+
0.01232588768005371,
|
| 131 |
+
0.012295167922973632,
|
| 132 |
+
0.012286975860595703,
|
| 133 |
+
0.012336128234863282,
|
| 134 |
+
0.012316672325134278,
|
| 135 |
+
0.012307456016540527,
|
| 136 |
+
0.012288000106811523,
|
| 137 |
+
0.012299263954162597,
|
| 138 |
+
0.012310527801513671,
|
| 139 |
+
0.012307456016540527,
|
| 140 |
+
0.012305407524108887,
|
| 141 |
+
0.012301312446594239,
|
| 142 |
+
0.012329983711242675,
|
| 143 |
+
0.012303359985351562,
|
| 144 |
+
0.012301312446594239,
|
| 145 |
+
0.012315648078918457,
|
| 146 |
+
0.012300288200378418,
|
| 147 |
+
0.012301312446594239,
|
| 148 |
+
0.012291071891784668,
|
| 149 |
+
0.012300288200378418,
|
| 150 |
+
0.012305407524108887,
|
| 151 |
+
0.012295167922973632,
|
| 152 |
+
0.012309503555297852,
|
| 153 |
+
0.012311552047729492,
|
| 154 |
+
0.012295167922973632,
|
| 155 |
+
0.012316672325134278,
|
| 156 |
+
0.012333056449890138,
|
| 157 |
+
0.01229312038421631,
|
| 158 |
+
0.012298239707946777,
|
| 159 |
+
0.012298239707946777,
|
| 160 |
+
0.012298239707946777,
|
| 161 |
+
0.012296192169189453,
|
| 162 |
+
0.012298239707946777,
|
| 163 |
+
0.012301312446594239,
|
| 164 |
+
0.012313599586486817,
|
| 165 |
+
0.012337151527404786,
|
| 166 |
+
0.012934144020080567,
|
| 167 |
+
0.012399616241455079,
|
| 168 |
+
0.012321791648864745,
|
| 169 |
+
0.012294143676757812,
|
| 170 |
+
0.012297216415405274,
|
| 171 |
+
0.012296192169189453,
|
| 172 |
+
0.012311552047729492,
|
| 173 |
+
0.012357631683349609,
|
| 174 |
+
0.012323840141296387,
|
| 175 |
+
0.012310527801513671,
|
| 176 |
+
0.012305407524108887,
|
| 177 |
+
0.012303359985351562,
|
| 178 |
+
0.012304384231567383,
|
| 179 |
+
0.012312576293945313,
|
| 180 |
+
0.012306431770324706,
|
| 181 |
+
0.012301312446594239,
|
| 182 |
+
0.012297216415405274,
|
| 183 |
+
0.012301312446594239,
|
| 184 |
+
0.012304384231567383,
|
| 185 |
+
0.012302335739135742,
|
| 186 |
+
0.012298239707946777,
|
| 187 |
+
0.012304384231567383,
|
| 188 |
+
0.012290047645568849,
|
| 189 |
+
0.012313599586486817,
|
| 190 |
+
0.012288000106811523,
|
| 191 |
+
0.012304384231567383,
|
| 192 |
+
0.012346367835998535,
|
| 193 |
+
0.012382207870483398,
|
| 194 |
+
0.012313599586486817,
|
| 195 |
+
0.012291071891784668,
|
| 196 |
+
0.012299263954162597,
|
| 197 |
+
0.012292096138000488,
|
| 198 |
+
0.012302335739135742,
|
| 199 |
+
0.012314623832702636,
|
| 200 |
+
0.012329983711242675,
|
| 201 |
+
0.012307456016540527,
|
| 202 |
+
0.012308480262756348,
|
| 203 |
+
0.012291071891784668,
|
| 204 |
+
0.012307456016540527,
|
| 205 |
+
0.012314623832702636,
|
| 206 |
+
0.012305407524108887,
|
| 207 |
+
0.012314623832702636,
|
| 208 |
+
0.012390399932861328,
|
| 209 |
+
0.012327936172485352,
|
| 210 |
+
0.012306431770324706,
|
| 211 |
+
0.01229312038421631,
|
| 212 |
+
0.012315648078918457,
|
| 213 |
+
0.012299263954162597,
|
| 214 |
+
0.012314623832702636,
|
| 215 |
+
0.012310527801513671,
|
| 216 |
+
0.012303359985351562,
|
| 217 |
+
0.012322815895080566,
|
| 218 |
+
0.0123504638671875,
|
| 219 |
+
0.012304384231567383,
|
| 220 |
+
0.012301312446594239,
|
| 221 |
+
0.012312576293945313,
|
| 222 |
+
0.012298239707946777,
|
| 223 |
+
0.01232588768005371,
|
| 224 |
+
0.012310527801513671,
|
| 225 |
+
0.012295167922973632,
|
| 226 |
+
0.01229520034790039,
|
| 227 |
+
0.012306400299072266,
|
| 228 |
+
0.012300288200378418,
|
| 229 |
+
0.012301312446594239,
|
| 230 |
+
0.012318719863891601,
|
| 231 |
+
0.012346367835998535,
|
| 232 |
+
0.012304384231567383,
|
| 233 |
+
0.012322815895080566,
|
| 234 |
+
0.012300288200378418,
|
| 235 |
+
0.012321791648864745,
|
| 236 |
+
0.012292096138000488,
|
| 237 |
+
0.012291071891784668,
|
| 238 |
+
0.012305407524108887,
|
| 239 |
+
0.012296192169189453,
|
| 240 |
+
0.01228492832183838,
|
| 241 |
+
0.012295167922973632,
|
| 242 |
+
0.012290047645568849,
|
| 243 |
+
0.012279808044433594,
|
| 244 |
+
0.012299327850341797,
|
| 245 |
+
0.012324799537658691,
|
| 246 |
+
0.012310527801513671,
|
| 247 |
+
0.012316672325134278,
|
| 248 |
+
0.01234227180480957,
|
| 249 |
+
0.012935168266296386,
|
| 250 |
+
0.01233510398864746,
|
| 251 |
+
0.012304384231567383,
|
| 252 |
+
0.012298239707946777,
|
| 253 |
+
0.012314687728881836,
|
| 254 |
+
0.012297151565551757,
|
| 255 |
+
0.012339200019836426,
|
| 256 |
+
0.012329983711242675,
|
| 257 |
+
0.012294143676757812,
|
| 258 |
+
0.012297216415405274,
|
| 259 |
+
0.012318719863891601,
|
| 260 |
+
0.012298239707946777,
|
| 261 |
+
0.012300288200378418,
|
| 262 |
+
0.012298239707946777,
|
| 263 |
+
0.012302335739135742,
|
| 264 |
+
0.012290047645568849,
|
| 265 |
+
0.012302335739135742,
|
| 266 |
+
0.012303359985351562,
|
| 267 |
+
0.012310527801513671,
|
| 268 |
+
0.012296192169189453,
|
| 269 |
+
0.012314623832702636,
|
| 270 |
+
0.012298239707946777,
|
| 271 |
+
0.012303359985351562,
|
| 272 |
+
0.012336128234863282,
|
| 273 |
+
0.012315711975097655,
|
| 274 |
+
0.012303296089172364,
|
| 275 |
+
0.012285951614379884,
|
| 276 |
+
0.012292096138000488,
|
| 277 |
+
0.012281855583190919,
|
| 278 |
+
0.012308480262756348,
|
| 279 |
+
0.012299263954162597,
|
| 280 |
+
0.01233510398864746,
|
| 281 |
+
0.01245798397064209,
|
| 282 |
+
0.01232588768005371,
|
| 283 |
+
0.012302335739135742,
|
| 284 |
+
0.012361727714538574,
|
| 285 |
+
0.012337151527404786,
|
| 286 |
+
0.012333056449890138,
|
| 287 |
+
0.012315648078918457,
|
| 288 |
+
0.012393471717834472,
|
| 289 |
+
0.012327936172485352,
|
| 290 |
+
0.012303359985351562,
|
| 291 |
+
0.012298239707946777,
|
| 292 |
+
0.012339200019836426,
|
| 293 |
+
0.012301312446594239,
|
| 294 |
+
0.012304384231567383,
|
| 295 |
+
0.012333056449890138,
|
| 296 |
+
0.012305407524108887,
|
| 297 |
+
0.012329983711242675,
|
| 298 |
+
0.012295167922973632,
|
| 299 |
+
0.012301312446594239,
|
| 300 |
+
0.012303359985351562,
|
| 301 |
+
0.012320768356323243,
|
| 302 |
+
0.012307456016540527,
|
| 303 |
+
0.012301312446594239,
|
| 304 |
+
0.012332032203674317,
|
| 305 |
+
0.012329983711242675,
|
| 306 |
+
0.012316672325134278,
|
| 307 |
+
0.012301312446594239,
|
| 308 |
+
0.012297216415405274,
|
| 309 |
+
0.012308480262756348,
|
| 310 |
+
0.012312576293945313,
|
| 311 |
+
0.012585984230041505,
|
| 312 |
+
0.01235968017578125,
|
| 313 |
+
0.012316672325134278,
|
| 314 |
+
0.012324864387512208,
|
| 315 |
+
0.012306431770324706,
|
| 316 |
+
0.012295167922973632,
|
| 317 |
+
0.012304384231567383,
|
| 318 |
+
0.012294143676757812,
|
| 319 |
+
0.012307456016540527,
|
| 320 |
+
0.012315648078918457,
|
| 321 |
+
0.012332032203674317,
|
| 322 |
+
0.012318719863891601,
|
| 323 |
+
0.012304384231567383,
|
| 324 |
+
0.012291071891784668,
|
| 325 |
+
0.012296192169189453,
|
| 326 |
+
0.012302335739135742,
|
| 327 |
+
0.012313599586486817,
|
| 328 |
+
0.012319744110107422,
|
| 329 |
+
0.012312576293945313,
|
| 330 |
+
0.012306431770324706,
|
| 331 |
+
0.012322815895080566,
|
| 332 |
+
0.012312576293945313,
|
| 333 |
+
0.012955648422241211,
|
| 334 |
+
0.012363776206970215,
|
| 335 |
+
0.012292096138000488,
|
| 336 |
+
0.012326911926269531,
|
| 337 |
+
0.012333056449890138,
|
| 338 |
+
0.012310527801513671,
|
| 339 |
+
0.012304384231567383,
|
| 340 |
+
0.01229312038421631,
|
| 341 |
+
0.012302335739135742,
|
| 342 |
+
0.012307456016540527,
|
| 343 |
+
0.012304384231567383,
|
| 344 |
+
0.012327936172485352,
|
| 345 |
+
0.012335136413574218,
|
| 346 |
+
0.01230947208404541,
|
| 347 |
+
0.01229312038421631,
|
| 348 |
+
0.012299263954162597,
|
| 349 |
+
0.012292096138000488,
|
| 350 |
+
0.012308480262756348,
|
| 351 |
+
0.012307456016540527,
|
| 352 |
+
0.012311552047729492,
|
| 353 |
+
0.012302335739135742,
|
| 354 |
+
0.012322815895080566,
|
| 355 |
+
0.012306431770324706,
|
| 356 |
+
0.012301312446594239,
|
| 357 |
+
0.01229312038421631
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.15792931531249
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/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": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014129024028778078,
|
| 7 |
+
"prefill.throughput.value": 495.43407851401196,
|
| 8 |
+
"decode.latency.mean": 1.5649970092773438,
|
| 9 |
+
"decode.throughput.value": 81.15031482305757,
|
| 10 |
+
"per_token.latency.mean": 0.012321654931766781,
|
| 11 |
+
"per_token.throughput.value": 81.15792931531249
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-05/commit=9230d78e76611cfa38c845213021aeb185362d10/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp350hvd2s/commit=9230d78e76611cfa38c845213021aeb185362d10
|
| 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/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp350hvd2s/commit\=9230d78e76611cfa38c845213021aeb185362d10/${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-212.873.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: 9230d78e76611cfa38c845213021aeb185362d10
|
| 225 |
+
accelerate_version: 0.35.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-09-05/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.020968351364135742,
|
| 8 |
+
"prefill.throughput.value": 333.8364508700859,
|
| 9 |
+
"decode.latency.mean": 2.44393505859375,
|
| 10 |
+
"decode.throughput.value": 51.96537426533597,
|
| 11 |
+
"per_token.latency.mean": 0.019242322673947796,
|
| 12 |
+
"per_token.throughput.value": 51.968778247020104
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021651376724243165,
|
| 21 |
+
"prefill.throughput.value": 323.30507612303757,
|
| 22 |
+
"decode.latency.mean": 2.56781884765625,
|
| 23 |
+
"decode.throughput.value": 49.45831755846715,
|
| 24 |
+
"per_token.latency.mean": 0.020218033437653788,
|
| 25 |
+
"per_token.throughput.value": 49.46079464571533
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "9230d78e76611cfa38c845213021aeb185362d10",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014129024028778078,
|
| 34 |
+
"prefill.throughput.value": 495.43407851401196,
|
| 35 |
+
"decode.latency.mean": 1.5649970092773438,
|
| 36 |
+
"decode.throughput.value": 81.15031482305757,
|
| 37 |
+
"per_token.latency.mean": 0.012321654931766781,
|
| 38 |
+
"per_token.throughput.value": 81.15792931531249
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-09-05/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"9230d78e76611cfa38c845213021aeb185362d10": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020968351364135742,
|
| 7 |
+
"prefill.throughput.value": 333.8364508700859,
|
| 8 |
+
"decode.latency.mean": 2.44393505859375,
|
| 9 |
+
"decode.throughput.value": 51.96537426533597,
|
| 10 |
+
"per_token.latency.mean": 0.019242322673947796,
|
| 11 |
+
"per_token.throughput.value": 51.968778247020104
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"9230d78e76611cfa38c845213021aeb185362d10": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021651376724243165,
|
| 19 |
+
"prefill.throughput.value": 323.30507612303757,
|
| 20 |
+
"decode.latency.mean": 2.56781884765625,
|
| 21 |
+
"decode.throughput.value": 49.45831755846715,
|
| 22 |
+
"per_token.latency.mean": 0.020218033437653788,
|
| 23 |
+
"per_token.throughput.value": 49.46079464571533
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"9230d78e76611cfa38c845213021aeb185362d10": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014129024028778078,
|
| 31 |
+
"prefill.throughput.value": 495.43407851401196,
|
| 32 |
+
"decode.latency.mean": 1.5649970092773438,
|
| 33 |
+
"decode.throughput.value": 81.15031482305757,
|
| 34 |
+
"per_token.latency.mean": 0.012321654931766781,
|
| 35 |
+
"per_token.throughput.value": 81.15792931531249
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|