Upload folder using huggingface_hub
Browse files- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/multirun.yaml +234 -0
- 2024-08-28/summaries.json +41 -0
- 2024-08-28/summary.json +40 -0
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 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/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 88 |
+
- hydra.run.dir=_benchmark/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=False
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/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": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1319.727104,
|
| 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.6452119140625,
|
| 120 |
+
"mean": 11.6452119140625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.6452119140625,
|
| 123 |
+
"p90": 11.6452119140625,
|
| 124 |
+
"p95": 11.6452119140625,
|
| 125 |
+
"p99": 11.6452119140625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.6452119140625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1727.623168,
|
| 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.0410248966217041,
|
| 147 |
+
"mean": 0.02051244831085205,
|
| 148 |
+
"stdev": 0.0001601285934448235,
|
| 149 |
+
"p50": 0.02051244831085205,
|
| 150 |
+
"p90": 0.02064055118560791,
|
| 151 |
+
"p95": 0.02065656404495239,
|
| 152 |
+
"p99": 0.02066937433242798,
|
| 153 |
+
"values": [
|
| 154 |
+
0.020672576904296875,
|
| 155 |
+
0.020352319717407228
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 341.25619204103833
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1781.73952,
|
| 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.854074951171874,
|
| 178 |
+
"mean": 2.427037475585937,
|
| 179 |
+
"stdev": 0.007338500976562523,
|
| 180 |
+
"p50": 2.427037475585937,
|
| 181 |
+
"p90": 2.4329082763671876,
|
| 182 |
+
"p95": 2.433642126464844,
|
| 183 |
+
"p99": 2.4342292065429687,
|
| 184 |
+
"values": [
|
| 185 |
+
2.4343759765625,
|
| 186 |
+
2.419698974609375
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 52.32716893641684
|
| 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.853752838134768,
|
| 202 |
+
"mean": 0.019109263142262856,
|
| 203 |
+
"stdev": 0.0003849158317246044,
|
| 204 |
+
"p50": 0.018977280616760253,
|
| 205 |
+
"p90": 0.01969879093170166,
|
| 206 |
+
"p95": 0.01979632558822632,
|
| 207 |
+
"p99": 0.02024316967010498,
|
| 208 |
+
"values": [
|
| 209 |
+
0.018807807922363282,
|
| 210 |
+
0.018766847610473633,
|
| 211 |
+
0.019744768142700195,
|
| 212 |
+
0.019538944244384765,
|
| 213 |
+
0.019607551574707033,
|
| 214 |
+
0.019668991088867188,
|
| 215 |
+
0.01959321594238281,
|
| 216 |
+
0.019597312927246095,
|
| 217 |
+
0.019183616638183593,
|
| 218 |
+
0.01962188720703125,
|
| 219 |
+
0.018908159255981445,
|
| 220 |
+
0.01883033561706543,
|
| 221 |
+
0.018778112411499022,
|
| 222 |
+
0.01884364891052246,
|
| 223 |
+
0.018874368667602538,
|
| 224 |
+
0.01887027168273926,
|
| 225 |
+
0.019115007400512696,
|
| 226 |
+
0.018903039932250978,
|
| 227 |
+
0.018889728546142577,
|
| 228 |
+
0.018860031127929687,
|
| 229 |
+
0.01884876823425293,
|
| 230 |
+
0.018863168716430664,
|
| 231 |
+
0.022043584823608398,
|
| 232 |
+
0.01967616081237793,
|
| 233 |
+
0.018881536483764647,
|
| 234 |
+
0.01885491180419922,
|
| 235 |
+
0.01883750343322754,
|
| 236 |
+
0.018967552185058592,
|
| 237 |
+
0.018890752792358398,
|
| 238 |
+
0.018903039932250978,
|
| 239 |
+
0.018902015686035157,
|
| 240 |
+
0.01928704071044922,
|
| 241 |
+
0.01925324821472168,
|
| 242 |
+
0.01962393569946289,
|
| 243 |
+
0.019795967102050782,
|
| 244 |
+
0.019529727935791014,
|
| 245 |
+
0.019583999633789064,
|
| 246 |
+
0.019566591262817384,
|
| 247 |
+
0.018908159255981445,
|
| 248 |
+
0.018967552185058592,
|
| 249 |
+
0.018882560729980468,
|
| 250 |
+
0.018811904907226562,
|
| 251 |
+
0.01883852767944336,
|
| 252 |
+
0.01883340835571289,
|
| 253 |
+
0.01882521629333496,
|
| 254 |
+
0.018817024230957033,
|
| 255 |
+
0.018817024230957033,
|
| 256 |
+
0.01882931137084961,
|
| 257 |
+
0.018807807922363282,
|
| 258 |
+
0.0188272647857666,
|
| 259 |
+
0.01882521629333496,
|
| 260 |
+
0.018883583068847656,
|
| 261 |
+
0.01905561637878418,
|
| 262 |
+
0.019174400329589843,
|
| 263 |
+
0.019369983673095705,
|
| 264 |
+
0.019611648559570313,
|
| 265 |
+
0.019612672805786133,
|
| 266 |
+
0.01972428894042969,
|
| 267 |
+
0.019696640014648437,
|
| 268 |
+
0.019749887466430666,
|
| 269 |
+
0.019680255889892577,
|
| 270 |
+
0.01902592086791992,
|
| 271 |
+
0.01901875114440918,
|
| 272 |
+
0.018971647262573242,
|
| 273 |
+
0.018950143814086915,
|
| 274 |
+
0.018960384368896483,
|
| 275 |
+
0.01900032043457031,
|
| 276 |
+
0.019021823883056642,
|
| 277 |
+
0.020109312057495117,
|
| 278 |
+
0.020158464431762696,
|
| 279 |
+
0.02028441619873047,
|
| 280 |
+
0.01987379264831543,
|
| 281 |
+
0.019770368576049805,
|
| 282 |
+
0.020084735870361328,
|
| 283 |
+
0.01904640007019043,
|
| 284 |
+
0.01903104019165039,
|
| 285 |
+
0.01906073570251465,
|
| 286 |
+
0.019076095581054688,
|
| 287 |
+
0.019002368927001953,
|
| 288 |
+
0.01900851249694824,
|
| 289 |
+
0.0190248966217041,
|
| 290 |
+
0.020409408569335936,
|
| 291 |
+
0.019858367919921877,
|
| 292 |
+
0.01899519920349121,
|
| 293 |
+
0.018988031387329102,
|
| 294 |
+
0.01900032043457031,
|
| 295 |
+
0.018960384368896483,
|
| 296 |
+
0.019005439758300782,
|
| 297 |
+
0.018944000244140623,
|
| 298 |
+
0.018938880920410156,
|
| 299 |
+
0.01909350395202637,
|
| 300 |
+
0.018988031387329102,
|
| 301 |
+
0.018932735443115235,
|
| 302 |
+
0.018970624923706055,
|
| 303 |
+
0.018951168060302736,
|
| 304 |
+
0.018927616119384767,
|
| 305 |
+
0.019105791091918945,
|
| 306 |
+
0.01901260757446289,
|
| 307 |
+
0.018985984802246093,
|
| 308 |
+
0.019264511108398438,
|
| 309 |
+
0.018963520050048827,
|
| 310 |
+
0.019079103469848632,
|
| 311 |
+
0.018977792739868164,
|
| 312 |
+
0.01898700714111328,
|
| 313 |
+
0.018998271942138673,
|
| 314 |
+
0.018969600677490234,
|
| 315 |
+
0.019384319305419923,
|
| 316 |
+
0.01922867202758789,
|
| 317 |
+
0.01903104019165039,
|
| 318 |
+
0.01900851249694824,
|
| 319 |
+
0.019009536743164062,
|
| 320 |
+
0.01900441551208496,
|
| 321 |
+
0.018968576431274413,
|
| 322 |
+
0.019079168319702147,
|
| 323 |
+
0.018975744247436522,
|
| 324 |
+
0.018929664611816405,
|
| 325 |
+
0.018941951751708985,
|
| 326 |
+
0.018940927505493164,
|
| 327 |
+
0.019128320693969726,
|
| 328 |
+
0.019014656066894533,
|
| 329 |
+
0.018989055633544923,
|
| 330 |
+
0.019013631820678712,
|
| 331 |
+
0.019002368927001953,
|
| 332 |
+
0.01897881507873535,
|
| 333 |
+
0.018988031387329102,
|
| 334 |
+
0.018963455200195312,
|
| 335 |
+
0.01897881507873535,
|
| 336 |
+
0.018808832168579103,
|
| 337 |
+
0.018791423797607423,
|
| 338 |
+
0.01878326416015625,
|
| 339 |
+
0.018835424423217773,
|
| 340 |
+
0.018817024230957033,
|
| 341 |
+
0.01883647918701172,
|
| 342 |
+
0.01880473518371582,
|
| 343 |
+
0.01882931137084961,
|
| 344 |
+
0.018970624923706055,
|
| 345 |
+
0.018932735443115235,
|
| 346 |
+
0.01878937530517578,
|
| 347 |
+
0.018778112411499022,
|
| 348 |
+
0.01884364891052246,
|
| 349 |
+
0.019796991348266603,
|
| 350 |
+
0.02010316848754883,
|
| 351 |
+
0.019796991348266603,
|
| 352 |
+
0.019603456497192383,
|
| 353 |
+
0.019575807571411134,
|
| 354 |
+
0.018881536483764647,
|
| 355 |
+
0.018988031387329102,
|
| 356 |
+
0.01879347229003906,
|
| 357 |
+
0.018869247436523438,
|
| 358 |
+
0.018889728546142577,
|
| 359 |
+
0.018924543380737305,
|
| 360 |
+
0.01901875114440918,
|
| 361 |
+
0.01886617660522461,
|
| 362 |
+
0.018922496795654296,
|
| 363 |
+
0.018782207489013672,
|
| 364 |
+
0.01882316780090332,
|
| 365 |
+
0.018950143814086915,
|
| 366 |
+
0.01906380844116211,
|
| 367 |
+
0.018908159255981445,
|
| 368 |
+
0.018955263137817382,
|
| 369 |
+
0.019284992218017577,
|
| 370 |
+
0.018852863311767578,
|
| 371 |
+
0.019005439758300782,
|
| 372 |
+
0.018808832168579103,
|
| 373 |
+
0.018800640106201173,
|
| 374 |
+
0.018799615859985352,
|
| 375 |
+
0.01884979248046875,
|
| 376 |
+
0.01884774398803711,
|
| 377 |
+
0.01882624053955078,
|
| 378 |
+
0.018919424057006837,
|
| 379 |
+
0.018881536483764647,
|
| 380 |
+
0.01883135986328125,
|
| 381 |
+
0.01884876823425293,
|
| 382 |
+
0.01881804847717285,
|
| 383 |
+
0.01880268859863281,
|
| 384 |
+
0.018844671249389648,
|
| 385 |
+
0.01880166435241699,
|
| 386 |
+
0.01882624053955078,
|
| 387 |
+
0.01885491180419922,
|
| 388 |
+
0.018811904907226562,
|
| 389 |
+
0.01880678367614746,
|
| 390 |
+
0.01884160041809082,
|
| 391 |
+
0.01883750343322754,
|
| 392 |
+
0.01880268859863281,
|
| 393 |
+
0.018963455200195312,
|
| 394 |
+
0.018923519134521484,
|
| 395 |
+
0.018894847869873048,
|
| 396 |
+
0.018935808181762694,
|
| 397 |
+
0.018938880920410156,
|
| 398 |
+
0.018950143814086915,
|
| 399 |
+
0.018950143814086915,
|
| 400 |
+
0.01943449592590332,
|
| 401 |
+
0.019722240447998047,
|
| 402 |
+
0.019710975646972655,
|
| 403 |
+
0.019058687210083008,
|
| 404 |
+
0.01903206443786621,
|
| 405 |
+
0.019019775390625,
|
| 406 |
+
0.018993152618408202,
|
| 407 |
+
0.018993152618408202,
|
| 408 |
+
0.018922496795654296,
|
| 409 |
+
0.018965503692626954,
|
| 410 |
+
0.018958335876464845,
|
| 411 |
+
0.019009536743164062,
|
| 412 |
+
0.018997247695922852,
|
| 413 |
+
0.018903039932250978,
|
| 414 |
+
0.018934783935546876,
|
| 415 |
+
0.018949119567871094,
|
| 416 |
+
0.0190515193939209,
|
| 417 |
+
0.01899622344970703,
|
| 418 |
+
0.018977792739868164,
|
| 419 |
+
0.019133440017700197,
|
| 420 |
+
0.01900032043457031,
|
| 421 |
+
0.018974720001220705,
|
| 422 |
+
0.018926591873168946,
|
| 423 |
+
0.020206592559814454,
|
| 424 |
+
0.019904512405395508,
|
| 425 |
+
0.019042303085327148,
|
| 426 |
+
0.018974720001220705,
|
| 427 |
+
0.018961408615112304,
|
| 428 |
+
0.01905254364013672,
|
| 429 |
+
0.018993152618408202,
|
| 430 |
+
0.018973695755004884,
|
| 431 |
+
0.018956287384033203,
|
| 432 |
+
0.019054592132568358,
|
| 433 |
+
0.018967552185058592,
|
| 434 |
+
0.018956287384033203,
|
| 435 |
+
0.018981887817382814,
|
| 436 |
+
0.018968576431274413,
|
| 437 |
+
0.018960384368896483,
|
| 438 |
+
0.01900032043457031,
|
| 439 |
+
0.018972671508789063,
|
| 440 |
+
0.01903001594543457,
|
| 441 |
+
0.018962432861328125,
|
| 442 |
+
0.019017728805541992,
|
| 443 |
+
0.019136512756347656,
|
| 444 |
+
0.018979839324951172,
|
| 445 |
+
0.019203071594238282,
|
| 446 |
+
0.019783679962158202,
|
| 447 |
+
0.019739648818969727,
|
| 448 |
+
0.019722240447998047,
|
| 449 |
+
0.019768320083618163,
|
| 450 |
+
0.019757055282592775,
|
| 451 |
+
0.01962495994567871,
|
| 452 |
+
0.0196997127532959,
|
| 453 |
+
0.01899622344970703,
|
| 454 |
+
0.018998271942138673,
|
| 455 |
+
0.019115007400512696,
|
| 456 |
+
0.018976768493652343,
|
| 457 |
+
0.018969600677490234,
|
| 458 |
+
0.018967552185058592,
|
| 459 |
+
0.01899622344970703,
|
| 460 |
+
0.01905971145629883,
|
| 461 |
+
0.019273727416992188,
|
| 462 |
+
0.01967411231994629
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 52.33064156138798
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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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792,
|
| 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.6452119140625,
|
| 15 |
+
"mean": 11.6452119140625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.6452119140625,
|
| 18 |
+
"p90": 11.6452119140625,
|
| 19 |
+
"p95": 11.6452119140625,
|
| 20 |
+
"p99": 11.6452119140625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.6452119140625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1727.623168,
|
| 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.0410248966217041,
|
| 42 |
+
"mean": 0.02051244831085205,
|
| 43 |
+
"stdev": 0.0001601285934448235,
|
| 44 |
+
"p50": 0.02051244831085205,
|
| 45 |
+
"p90": 0.02064055118560791,
|
| 46 |
+
"p95": 0.02065656404495239,
|
| 47 |
+
"p99": 0.02066937433242798,
|
| 48 |
+
"values": [
|
| 49 |
+
0.020672576904296875,
|
| 50 |
+
0.020352319717407228
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 341.25619204103833
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1781.73952,
|
| 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.854074951171874,
|
| 73 |
+
"mean": 2.427037475585937,
|
| 74 |
+
"stdev": 0.007338500976562523,
|
| 75 |
+
"p50": 2.427037475585937,
|
| 76 |
+
"p90": 2.4329082763671876,
|
| 77 |
+
"p95": 2.433642126464844,
|
| 78 |
+
"p99": 2.4342292065429687,
|
| 79 |
+
"values": [
|
| 80 |
+
2.4343759765625,
|
| 81 |
+
2.419698974609375
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 52.32716893641684
|
| 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.853752838134768,
|
| 97 |
+
"mean": 0.019109263142262856,
|
| 98 |
+
"stdev": 0.0003849158317246044,
|
| 99 |
+
"p50": 0.018977280616760253,
|
| 100 |
+
"p90": 0.01969879093170166,
|
| 101 |
+
"p95": 0.01979632558822632,
|
| 102 |
+
"p99": 0.02024316967010498,
|
| 103 |
+
"values": [
|
| 104 |
+
0.018807807922363282,
|
| 105 |
+
0.018766847610473633,
|
| 106 |
+
0.019744768142700195,
|
| 107 |
+
0.019538944244384765,
|
| 108 |
+
0.019607551574707033,
|
| 109 |
+
0.019668991088867188,
|
| 110 |
+
0.01959321594238281,
|
| 111 |
+
0.019597312927246095,
|
| 112 |
+
0.019183616638183593,
|
| 113 |
+
0.01962188720703125,
|
| 114 |
+
0.018908159255981445,
|
| 115 |
+
0.01883033561706543,
|
| 116 |
+
0.018778112411499022,
|
| 117 |
+
0.01884364891052246,
|
| 118 |
+
0.018874368667602538,
|
| 119 |
+
0.01887027168273926,
|
| 120 |
+
0.019115007400512696,
|
| 121 |
+
0.018903039932250978,
|
| 122 |
+
0.018889728546142577,
|
| 123 |
+
0.018860031127929687,
|
| 124 |
+
0.01884876823425293,
|
| 125 |
+
0.018863168716430664,
|
| 126 |
+
0.022043584823608398,
|
| 127 |
+
0.01967616081237793,
|
| 128 |
+
0.018881536483764647,
|
| 129 |
+
0.01885491180419922,
|
| 130 |
+
0.01883750343322754,
|
| 131 |
+
0.018967552185058592,
|
| 132 |
+
0.018890752792358398,
|
| 133 |
+
0.018903039932250978,
|
| 134 |
+
0.018902015686035157,
|
| 135 |
+
0.01928704071044922,
|
| 136 |
+
0.01925324821472168,
|
| 137 |
+
0.01962393569946289,
|
| 138 |
+
0.019795967102050782,
|
| 139 |
+
0.019529727935791014,
|
| 140 |
+
0.019583999633789064,
|
| 141 |
+
0.019566591262817384,
|
| 142 |
+
0.018908159255981445,
|
| 143 |
+
0.018967552185058592,
|
| 144 |
+
0.018882560729980468,
|
| 145 |
+
0.018811904907226562,
|
| 146 |
+
0.01883852767944336,
|
| 147 |
+
0.01883340835571289,
|
| 148 |
+
0.01882521629333496,
|
| 149 |
+
0.018817024230957033,
|
| 150 |
+
0.018817024230957033,
|
| 151 |
+
0.01882931137084961,
|
| 152 |
+
0.018807807922363282,
|
| 153 |
+
0.0188272647857666,
|
| 154 |
+
0.01882521629333496,
|
| 155 |
+
0.018883583068847656,
|
| 156 |
+
0.01905561637878418,
|
| 157 |
+
0.019174400329589843,
|
| 158 |
+
0.019369983673095705,
|
| 159 |
+
0.019611648559570313,
|
| 160 |
+
0.019612672805786133,
|
| 161 |
+
0.01972428894042969,
|
| 162 |
+
0.019696640014648437,
|
| 163 |
+
0.019749887466430666,
|
| 164 |
+
0.019680255889892577,
|
| 165 |
+
0.01902592086791992,
|
| 166 |
+
0.01901875114440918,
|
| 167 |
+
0.018971647262573242,
|
| 168 |
+
0.018950143814086915,
|
| 169 |
+
0.018960384368896483,
|
| 170 |
+
0.01900032043457031,
|
| 171 |
+
0.019021823883056642,
|
| 172 |
+
0.020109312057495117,
|
| 173 |
+
0.020158464431762696,
|
| 174 |
+
0.02028441619873047,
|
| 175 |
+
0.01987379264831543,
|
| 176 |
+
0.019770368576049805,
|
| 177 |
+
0.020084735870361328,
|
| 178 |
+
0.01904640007019043,
|
| 179 |
+
0.01903104019165039,
|
| 180 |
+
0.01906073570251465,
|
| 181 |
+
0.019076095581054688,
|
| 182 |
+
0.019002368927001953,
|
| 183 |
+
0.01900851249694824,
|
| 184 |
+
0.0190248966217041,
|
| 185 |
+
0.020409408569335936,
|
| 186 |
+
0.019858367919921877,
|
| 187 |
+
0.01899519920349121,
|
| 188 |
+
0.018988031387329102,
|
| 189 |
+
0.01900032043457031,
|
| 190 |
+
0.018960384368896483,
|
| 191 |
+
0.019005439758300782,
|
| 192 |
+
0.018944000244140623,
|
| 193 |
+
0.018938880920410156,
|
| 194 |
+
0.01909350395202637,
|
| 195 |
+
0.018988031387329102,
|
| 196 |
+
0.018932735443115235,
|
| 197 |
+
0.018970624923706055,
|
| 198 |
+
0.018951168060302736,
|
| 199 |
+
0.018927616119384767,
|
| 200 |
+
0.019105791091918945,
|
| 201 |
+
0.01901260757446289,
|
| 202 |
+
0.018985984802246093,
|
| 203 |
+
0.019264511108398438,
|
| 204 |
+
0.018963520050048827,
|
| 205 |
+
0.019079103469848632,
|
| 206 |
+
0.018977792739868164,
|
| 207 |
+
0.01898700714111328,
|
| 208 |
+
0.018998271942138673,
|
| 209 |
+
0.018969600677490234,
|
| 210 |
+
0.019384319305419923,
|
| 211 |
+
0.01922867202758789,
|
| 212 |
+
0.01903104019165039,
|
| 213 |
+
0.01900851249694824,
|
| 214 |
+
0.019009536743164062,
|
| 215 |
+
0.01900441551208496,
|
| 216 |
+
0.018968576431274413,
|
| 217 |
+
0.019079168319702147,
|
| 218 |
+
0.018975744247436522,
|
| 219 |
+
0.018929664611816405,
|
| 220 |
+
0.018941951751708985,
|
| 221 |
+
0.018940927505493164,
|
| 222 |
+
0.019128320693969726,
|
| 223 |
+
0.019014656066894533,
|
| 224 |
+
0.018989055633544923,
|
| 225 |
+
0.019013631820678712,
|
| 226 |
+
0.019002368927001953,
|
| 227 |
+
0.01897881507873535,
|
| 228 |
+
0.018988031387329102,
|
| 229 |
+
0.018963455200195312,
|
| 230 |
+
0.01897881507873535,
|
| 231 |
+
0.018808832168579103,
|
| 232 |
+
0.018791423797607423,
|
| 233 |
+
0.01878326416015625,
|
| 234 |
+
0.018835424423217773,
|
| 235 |
+
0.018817024230957033,
|
| 236 |
+
0.01883647918701172,
|
| 237 |
+
0.01880473518371582,
|
| 238 |
+
0.01882931137084961,
|
| 239 |
+
0.018970624923706055,
|
| 240 |
+
0.018932735443115235,
|
| 241 |
+
0.01878937530517578,
|
| 242 |
+
0.018778112411499022,
|
| 243 |
+
0.01884364891052246,
|
| 244 |
+
0.019796991348266603,
|
| 245 |
+
0.02010316848754883,
|
| 246 |
+
0.019796991348266603,
|
| 247 |
+
0.019603456497192383,
|
| 248 |
+
0.019575807571411134,
|
| 249 |
+
0.018881536483764647,
|
| 250 |
+
0.018988031387329102,
|
| 251 |
+
0.01879347229003906,
|
| 252 |
+
0.018869247436523438,
|
| 253 |
+
0.018889728546142577,
|
| 254 |
+
0.018924543380737305,
|
| 255 |
+
0.01901875114440918,
|
| 256 |
+
0.01886617660522461,
|
| 257 |
+
0.018922496795654296,
|
| 258 |
+
0.018782207489013672,
|
| 259 |
+
0.01882316780090332,
|
| 260 |
+
0.018950143814086915,
|
| 261 |
+
0.01906380844116211,
|
| 262 |
+
0.018908159255981445,
|
| 263 |
+
0.018955263137817382,
|
| 264 |
+
0.019284992218017577,
|
| 265 |
+
0.018852863311767578,
|
| 266 |
+
0.019005439758300782,
|
| 267 |
+
0.018808832168579103,
|
| 268 |
+
0.018800640106201173,
|
| 269 |
+
0.018799615859985352,
|
| 270 |
+
0.01884979248046875,
|
| 271 |
+
0.01884774398803711,
|
| 272 |
+
0.01882624053955078,
|
| 273 |
+
0.018919424057006837,
|
| 274 |
+
0.018881536483764647,
|
| 275 |
+
0.01883135986328125,
|
| 276 |
+
0.01884876823425293,
|
| 277 |
+
0.01881804847717285,
|
| 278 |
+
0.01880268859863281,
|
| 279 |
+
0.018844671249389648,
|
| 280 |
+
0.01880166435241699,
|
| 281 |
+
0.01882624053955078,
|
| 282 |
+
0.01885491180419922,
|
| 283 |
+
0.018811904907226562,
|
| 284 |
+
0.01880678367614746,
|
| 285 |
+
0.01884160041809082,
|
| 286 |
+
0.01883750343322754,
|
| 287 |
+
0.01880268859863281,
|
| 288 |
+
0.018963455200195312,
|
| 289 |
+
0.018923519134521484,
|
| 290 |
+
0.018894847869873048,
|
| 291 |
+
0.018935808181762694,
|
| 292 |
+
0.018938880920410156,
|
| 293 |
+
0.018950143814086915,
|
| 294 |
+
0.018950143814086915,
|
| 295 |
+
0.01943449592590332,
|
| 296 |
+
0.019722240447998047,
|
| 297 |
+
0.019710975646972655,
|
| 298 |
+
0.019058687210083008,
|
| 299 |
+
0.01903206443786621,
|
| 300 |
+
0.019019775390625,
|
| 301 |
+
0.018993152618408202,
|
| 302 |
+
0.018993152618408202,
|
| 303 |
+
0.018922496795654296,
|
| 304 |
+
0.018965503692626954,
|
| 305 |
+
0.018958335876464845,
|
| 306 |
+
0.019009536743164062,
|
| 307 |
+
0.018997247695922852,
|
| 308 |
+
0.018903039932250978,
|
| 309 |
+
0.018934783935546876,
|
| 310 |
+
0.018949119567871094,
|
| 311 |
+
0.0190515193939209,
|
| 312 |
+
0.01899622344970703,
|
| 313 |
+
0.018977792739868164,
|
| 314 |
+
0.019133440017700197,
|
| 315 |
+
0.01900032043457031,
|
| 316 |
+
0.018974720001220705,
|
| 317 |
+
0.018926591873168946,
|
| 318 |
+
0.020206592559814454,
|
| 319 |
+
0.019904512405395508,
|
| 320 |
+
0.019042303085327148,
|
| 321 |
+
0.018974720001220705,
|
| 322 |
+
0.018961408615112304,
|
| 323 |
+
0.01905254364013672,
|
| 324 |
+
0.018993152618408202,
|
| 325 |
+
0.018973695755004884,
|
| 326 |
+
0.018956287384033203,
|
| 327 |
+
0.019054592132568358,
|
| 328 |
+
0.018967552185058592,
|
| 329 |
+
0.018956287384033203,
|
| 330 |
+
0.018981887817382814,
|
| 331 |
+
0.018968576431274413,
|
| 332 |
+
0.018960384368896483,
|
| 333 |
+
0.01900032043457031,
|
| 334 |
+
0.018972671508789063,
|
| 335 |
+
0.01903001594543457,
|
| 336 |
+
0.018962432861328125,
|
| 337 |
+
0.019017728805541992,
|
| 338 |
+
0.019136512756347656,
|
| 339 |
+
0.018979839324951172,
|
| 340 |
+
0.019203071594238282,
|
| 341 |
+
0.019783679962158202,
|
| 342 |
+
0.019739648818969727,
|
| 343 |
+
0.019722240447998047,
|
| 344 |
+
0.019768320083618163,
|
| 345 |
+
0.019757055282592775,
|
| 346 |
+
0.01962495994567871,
|
| 347 |
+
0.0196997127532959,
|
| 348 |
+
0.01899622344970703,
|
| 349 |
+
0.018998271942138673,
|
| 350 |
+
0.019115007400512696,
|
| 351 |
+
0.018976768493652343,
|
| 352 |
+
0.018969600677490234,
|
| 353 |
+
0.018967552185058592,
|
| 354 |
+
0.01899622344970703,
|
| 355 |
+
0.01905971145629883,
|
| 356 |
+
0.019273727416992188,
|
| 357 |
+
0.01967411231994629
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 52.33064156138798
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02051244831085205,
|
| 7 |
+
"prefill.throughput.value": 341.25619204103833,
|
| 8 |
+
"decode.latency.mean": 2.427037475585937,
|
| 9 |
+
"decode.throughput.value": 52.32716893641684,
|
| 10 |
+
"per_token.latency.mean": 0.019109263142262856,
|
| 11 |
+
"per_token.throughput.value": 52.33064156138798
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 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/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 88 |
+
- hydra.run.dir=_benchmark/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=True
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-08-28 02:41:22,419[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-08-28 02:41:24,792[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 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/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 88 |
+
- hydra.run.dir=_benchmark/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=False
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/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": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1318.567936,
|
| 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.442005859375,
|
| 120 |
+
"mean": 12.442005859375,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.442005859375,
|
| 123 |
+
"p90": 12.442005859375,
|
| 124 |
+
"p95": 12.442005859375,
|
| 125 |
+
"p99": 12.442005859375,
|
| 126 |
+
"values": [
|
| 127 |
+
12.442005859375
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1745.707008,
|
| 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.043309535980224606,
|
| 147 |
+
"mean": 0.021654767990112303,
|
| 148 |
+
"stdev": 4.782485961913989e-05,
|
| 149 |
+
"p50": 0.021654767990112303,
|
| 150 |
+
"p90": 0.02169302787780762,
|
| 151 |
+
"p95": 0.02169781036376953,
|
| 152 |
+
"p99": 0.02170163635253906,
|
| 153 |
+
"values": [
|
| 154 |
+
0.021606943130493165,
|
| 155 |
+
0.021702592849731445
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 323.25444461913617
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1770.733568,
|
| 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.141742431640625,
|
| 178 |
+
"mean": 2.5708712158203126,
|
| 179 |
+
"stdev": 0.014269409179687553,
|
| 180 |
+
"p50": 2.5708712158203126,
|
| 181 |
+
"p90": 2.5822867431640626,
|
| 182 |
+
"p95": 2.5837136840820314,
|
| 183 |
+
"p99": 2.5848552368164066,
|
| 184 |
+
"values": [
|
| 185 |
+
2.556601806640625,
|
| 186 |
+
2.585140625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 49.399596221888885
|
| 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.1414824924469,
|
| 202 |
+
"mean": 0.02024205705687756,
|
| 203 |
+
"stdev": 0.0004423089829375129,
|
| 204 |
+
"p50": 0.019986943244934084,
|
| 205 |
+
"p90": 0.0208225284576416,
|
| 206 |
+
"p95": 0.020916325855255127,
|
| 207 |
+
"p99": 0.021199257431030273,
|
| 208 |
+
"values": [
|
| 209 |
+
0.019908607482910155,
|
| 210 |
+
0.019923967361450197,
|
| 211 |
+
0.020068351745605468,
|
| 212 |
+
0.019891199111938478,
|
| 213 |
+
0.01987583923339844,
|
| 214 |
+
0.019909631729125975,
|
| 215 |
+
0.020248575210571287,
|
| 216 |
+
0.019904512405395508,
|
| 217 |
+
0.019869695663452147,
|
| 218 |
+
0.01986457633972168,
|
| 219 |
+
0.019939327239990236,
|
| 220 |
+
0.019886079788208007,
|
| 221 |
+
0.019977216720581056,
|
| 222 |
+
0.019861503601074217,
|
| 223 |
+
0.019987455368041994,
|
| 224 |
+
0.019948543548583983,
|
| 225 |
+
0.019887104034423828,
|
| 226 |
+
0.019966976165771484,
|
| 227 |
+
0.019954687118530275,
|
| 228 |
+
0.01989836883544922,
|
| 229 |
+
0.0200447998046875,
|
| 230 |
+
0.020936704635620116,
|
| 231 |
+
0.020818944931030273,
|
| 232 |
+
0.019907583236694337,
|
| 233 |
+
0.019943424224853516,
|
| 234 |
+
0.02006118392944336,
|
| 235 |
+
0.019965951919555663,
|
| 236 |
+
0.01988096046447754,
|
| 237 |
+
0.02006118392944336,
|
| 238 |
+
0.01987481689453125,
|
| 239 |
+
0.01992192077636719,
|
| 240 |
+
0.019922943115234376,
|
| 241 |
+
0.019966976165771484,
|
| 242 |
+
0.019985408782958985,
|
| 243 |
+
0.019961856842041017,
|
| 244 |
+
0.019907583236694337,
|
| 245 |
+
0.01990553665161133,
|
| 246 |
+
0.01990553665161133,
|
| 247 |
+
0.019907583236694337,
|
| 248 |
+
0.019937280654907227,
|
| 249 |
+
0.019965951919555663,
|
| 250 |
+
0.019914751052856446,
|
| 251 |
+
0.019931135177612306,
|
| 252 |
+
0.0198973445892334,
|
| 253 |
+
0.019945472717285157,
|
| 254 |
+
0.019956735610961913,
|
| 255 |
+
0.020087871551513672,
|
| 256 |
+
0.01994438362121582,
|
| 257 |
+
0.019989503860473632,
|
| 258 |
+
0.019935232162475586,
|
| 259 |
+
0.019955711364746095,
|
| 260 |
+
0.02004582405090332,
|
| 261 |
+
0.019909631729125975,
|
| 262 |
+
0.01989017677307129,
|
| 263 |
+
0.019907583236694337,
|
| 264 |
+
0.020319232940673827,
|
| 265 |
+
0.020039680480957032,
|
| 266 |
+
0.01988812828063965,
|
| 267 |
+
0.019908607482910155,
|
| 268 |
+
0.019914751052856446,
|
| 269 |
+
0.019993600845336915,
|
| 270 |
+
0.020109312057495117,
|
| 271 |
+
0.02000383949279785,
|
| 272 |
+
0.01997209548950195,
|
| 273 |
+
0.019938304901123048,
|
| 274 |
+
0.019928064346313477,
|
| 275 |
+
0.019908607482910155,
|
| 276 |
+
0.019945472717285157,
|
| 277 |
+
0.019970048904418947,
|
| 278 |
+
0.019870719909667968,
|
| 279 |
+
0.019964927673339843,
|
| 280 |
+
0.019908607482910155,
|
| 281 |
+
0.019960832595825196,
|
| 282 |
+
0.02002227210998535,
|
| 283 |
+
0.021752832412719726,
|
| 284 |
+
0.02110361671447754,
|
| 285 |
+
0.02105446434020996,
|
| 286 |
+
0.020907007217407226,
|
| 287 |
+
0.019920896530151368,
|
| 288 |
+
0.019883007049560548,
|
| 289 |
+
0.019935232162475586,
|
| 290 |
+
0.02006630325317383,
|
| 291 |
+
0.019968000411987305,
|
| 292 |
+
0.019927040100097656,
|
| 293 |
+
0.019931135177612306,
|
| 294 |
+
0.019926015853881835,
|
| 295 |
+
0.019939327239990236,
|
| 296 |
+
0.019957759857177734,
|
| 297 |
+
0.019966976165771484,
|
| 298 |
+
0.020000768661499024,
|
| 299 |
+
0.019970048904418947,
|
| 300 |
+
0.019955711364746095,
|
| 301 |
+
0.02004991912841797,
|
| 302 |
+
0.019942399978637695,
|
| 303 |
+
0.019934207916259765,
|
| 304 |
+
0.02031718444824219,
|
| 305 |
+
0.020783103942871094,
|
| 306 |
+
0.01998028755187988,
|
| 307 |
+
0.019955711364746095,
|
| 308 |
+
0.020129791259765627,
|
| 309 |
+
0.019952640533447266,
|
| 310 |
+
0.019986431121826173,
|
| 311 |
+
0.019974143981933593,
|
| 312 |
+
0.019955711364746095,
|
| 313 |
+
0.0200898551940918,
|
| 314 |
+
0.02032537651062012,
|
| 315 |
+
0.019924991607666014,
|
| 316 |
+
0.019902463912963866,
|
| 317 |
+
0.020039680480957032,
|
| 318 |
+
0.02063974380493164,
|
| 319 |
+
0.020899839401245117,
|
| 320 |
+
0.020701183319091796,
|
| 321 |
+
0.020767744064331056,
|
| 322 |
+
0.020818944931030273,
|
| 323 |
+
0.02083635139465332,
|
| 324 |
+
0.020754432678222655,
|
| 325 |
+
0.020790271759033203,
|
| 326 |
+
0.020731903076171874,
|
| 327 |
+
0.020785152435302736,
|
| 328 |
+
0.02083020782470703,
|
| 329 |
+
0.02109337615966797,
|
| 330 |
+
0.02086911964416504,
|
| 331 |
+
0.020677631378173827,
|
| 332 |
+
0.020756479263305663,
|
| 333 |
+
0.020726783752441406,
|
| 334 |
+
0.020039680480957032,
|
| 335 |
+
0.019910655975341796,
|
| 336 |
+
0.019869695663452147,
|
| 337 |
+
0.019931135177612306,
|
| 338 |
+
0.019998720169067383,
|
| 339 |
+
0.019987455368041994,
|
| 340 |
+
0.019917823791503905,
|
| 341 |
+
0.019976192474365235,
|
| 342 |
+
0.01984511947631836,
|
| 343 |
+
0.019914751052856446,
|
| 344 |
+
0.019869695663452147,
|
| 345 |
+
0.01989017677307129,
|
| 346 |
+
0.019916799545288084,
|
| 347 |
+
0.02004275131225586,
|
| 348 |
+
0.01984000015258789,
|
| 349 |
+
0.019986431121826173,
|
| 350 |
+
0.01987174415588379,
|
| 351 |
+
0.019891199111938478,
|
| 352 |
+
0.01989836883544922,
|
| 353 |
+
0.01986867141723633,
|
| 354 |
+
0.02008064079284668,
|
| 355 |
+
0.01990656089782715,
|
| 356 |
+
0.0198973445892334,
|
| 357 |
+
0.019985408782958985,
|
| 358 |
+
0.01990656089782715,
|
| 359 |
+
0.019947519302368166,
|
| 360 |
+
0.01985843276977539,
|
| 361 |
+
0.01985945510864258,
|
| 362 |
+
0.01980620765686035,
|
| 363 |
+
0.02025369644165039,
|
| 364 |
+
0.01984716796875,
|
| 365 |
+
0.01989017677307129,
|
| 366 |
+
0.02008064079284668,
|
| 367 |
+
0.020060159683227538,
|
| 368 |
+
0.02010419273376465,
|
| 369 |
+
0.02004684829711914,
|
| 370 |
+
0.020109312057495117,
|
| 371 |
+
0.02064588737487793,
|
| 372 |
+
0.020782079696655274,
|
| 373 |
+
0.02072985649108887,
|
| 374 |
+
0.02069811248779297,
|
| 375 |
+
0.020677631378173827,
|
| 376 |
+
0.020658176422119142,
|
| 377 |
+
0.020824064254760744,
|
| 378 |
+
0.020888576507568358,
|
| 379 |
+
0.020737024307250978,
|
| 380 |
+
0.02066022491455078,
|
| 381 |
+
0.02068889617919922,
|
| 382 |
+
0.020736000061035157,
|
| 383 |
+
0.021141504287719725,
|
| 384 |
+
0.02106265640258789,
|
| 385 |
+
0.020752384185791017,
|
| 386 |
+
0.019924991607666014,
|
| 387 |
+
0.020739072799682616,
|
| 388 |
+
0.019876863479614256,
|
| 389 |
+
0.01991372871398926,
|
| 390 |
+
0.019851264953613282,
|
| 391 |
+
0.019904512405395508,
|
| 392 |
+
0.020742143630981445,
|
| 393 |
+
0.020684799194335936,
|
| 394 |
+
0.02064793586730957,
|
| 395 |
+
0.020486143112182616,
|
| 396 |
+
0.02083839988708496,
|
| 397 |
+
0.020719615936279297,
|
| 398 |
+
0.020726783752441406,
|
| 399 |
+
0.02082815933227539,
|
| 400 |
+
0.020806655883789063,
|
| 401 |
+
0.020748287200927733,
|
| 402 |
+
0.01998028755187988,
|
| 403 |
+
0.021109760284423826,
|
| 404 |
+
0.0200447998046875,
|
| 405 |
+
0.019989503860473632,
|
| 406 |
+
0.02005299186706543,
|
| 407 |
+
0.020011007308959963,
|
| 408 |
+
0.02065203285217285,
|
| 409 |
+
0.02083328056335449,
|
| 410 |
+
0.020682752609252928,
|
| 411 |
+
0.020800512313842775,
|
| 412 |
+
0.02126438331604004,
|
| 413 |
+
0.020684799194335936,
|
| 414 |
+
0.020715520858764647,
|
| 415 |
+
0.02087116813659668,
|
| 416 |
+
0.020703231811523438,
|
| 417 |
+
0.020098047256469728,
|
| 418 |
+
0.020050943374633787,
|
| 419 |
+
0.019934207916259765,
|
| 420 |
+
0.019975168228149414,
|
| 421 |
+
0.01998028755187988,
|
| 422 |
+
0.019957759857177734,
|
| 423 |
+
0.019960832595825196,
|
| 424 |
+
0.01998028755187988,
|
| 425 |
+
0.02003660774230957,
|
| 426 |
+
0.01991372871398926,
|
| 427 |
+
0.021019647598266602,
|
| 428 |
+
0.02072166442871094,
|
| 429 |
+
0.020805631637573242,
|
| 430 |
+
0.020933631896972657,
|
| 431 |
+
0.02064384078979492,
|
| 432 |
+
0.020785152435302736,
|
| 433 |
+
0.020694015502929687,
|
| 434 |
+
0.02086604881286621,
|
| 435 |
+
0.020737024307250978,
|
| 436 |
+
0.020817920684814452,
|
| 437 |
+
0.020717567443847656,
|
| 438 |
+
0.019963903427124022,
|
| 439 |
+
0.02005504035949707,
|
| 440 |
+
0.020002815246582033,
|
| 441 |
+
0.019950592041015625,
|
| 442 |
+
0.019964927673339843,
|
| 443 |
+
0.019918848037719726,
|
| 444 |
+
0.01991372871398926,
|
| 445 |
+
0.02005606460571289,
|
| 446 |
+
0.019942399978637695,
|
| 447 |
+
0.019959808349609375,
|
| 448 |
+
0.020426752090454102,
|
| 449 |
+
0.02083839988708496,
|
| 450 |
+
0.020702207565307617,
|
| 451 |
+
0.020769792556762694,
|
| 452 |
+
0.020799488067626954,
|
| 453 |
+
0.019918848037719726,
|
| 454 |
+
0.020135936737060548,
|
| 455 |
+
0.019940351486206053,
|
| 456 |
+
0.020516864776611327,
|
| 457 |
+
0.020586496353149415,
|
| 458 |
+
0.0208035831451416,
|
| 459 |
+
0.020777984619140624,
|
| 460 |
+
0.022945791244506835,
|
| 461 |
+
0.021032960891723632,
|
| 462 |
+
0.020779008865356444
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 49.402093729413444
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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": 1318.567936,
|
| 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.442005859375,
|
| 15 |
+
"mean": 12.442005859375,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.442005859375,
|
| 18 |
+
"p90": 12.442005859375,
|
| 19 |
+
"p95": 12.442005859375,
|
| 20 |
+
"p99": 12.442005859375,
|
| 21 |
+
"values": [
|
| 22 |
+
12.442005859375
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1745.707008,
|
| 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.043309535980224606,
|
| 42 |
+
"mean": 0.021654767990112303,
|
| 43 |
+
"stdev": 4.782485961913989e-05,
|
| 44 |
+
"p50": 0.021654767990112303,
|
| 45 |
+
"p90": 0.02169302787780762,
|
| 46 |
+
"p95": 0.02169781036376953,
|
| 47 |
+
"p99": 0.02170163635253906,
|
| 48 |
+
"values": [
|
| 49 |
+
0.021606943130493165,
|
| 50 |
+
0.021702592849731445
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 323.25444461913617
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1770.733568,
|
| 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.141742431640625,
|
| 73 |
+
"mean": 2.5708712158203126,
|
| 74 |
+
"stdev": 0.014269409179687553,
|
| 75 |
+
"p50": 2.5708712158203126,
|
| 76 |
+
"p90": 2.5822867431640626,
|
| 77 |
+
"p95": 2.5837136840820314,
|
| 78 |
+
"p99": 2.5848552368164066,
|
| 79 |
+
"values": [
|
| 80 |
+
2.556601806640625,
|
| 81 |
+
2.585140625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 49.399596221888885
|
| 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.1414824924469,
|
| 97 |
+
"mean": 0.02024205705687756,
|
| 98 |
+
"stdev": 0.0004423089829375129,
|
| 99 |
+
"p50": 0.019986943244934084,
|
| 100 |
+
"p90": 0.0208225284576416,
|
| 101 |
+
"p95": 0.020916325855255127,
|
| 102 |
+
"p99": 0.021199257431030273,
|
| 103 |
+
"values": [
|
| 104 |
+
0.019908607482910155,
|
| 105 |
+
0.019923967361450197,
|
| 106 |
+
0.020068351745605468,
|
| 107 |
+
0.019891199111938478,
|
| 108 |
+
0.01987583923339844,
|
| 109 |
+
0.019909631729125975,
|
| 110 |
+
0.020248575210571287,
|
| 111 |
+
0.019904512405395508,
|
| 112 |
+
0.019869695663452147,
|
| 113 |
+
0.01986457633972168,
|
| 114 |
+
0.019939327239990236,
|
| 115 |
+
0.019886079788208007,
|
| 116 |
+
0.019977216720581056,
|
| 117 |
+
0.019861503601074217,
|
| 118 |
+
0.019987455368041994,
|
| 119 |
+
0.019948543548583983,
|
| 120 |
+
0.019887104034423828,
|
| 121 |
+
0.019966976165771484,
|
| 122 |
+
0.019954687118530275,
|
| 123 |
+
0.01989836883544922,
|
| 124 |
+
0.0200447998046875,
|
| 125 |
+
0.020936704635620116,
|
| 126 |
+
0.020818944931030273,
|
| 127 |
+
0.019907583236694337,
|
| 128 |
+
0.019943424224853516,
|
| 129 |
+
0.02006118392944336,
|
| 130 |
+
0.019965951919555663,
|
| 131 |
+
0.01988096046447754,
|
| 132 |
+
0.02006118392944336,
|
| 133 |
+
0.01987481689453125,
|
| 134 |
+
0.01992192077636719,
|
| 135 |
+
0.019922943115234376,
|
| 136 |
+
0.019966976165771484,
|
| 137 |
+
0.019985408782958985,
|
| 138 |
+
0.019961856842041017,
|
| 139 |
+
0.019907583236694337,
|
| 140 |
+
0.01990553665161133,
|
| 141 |
+
0.01990553665161133,
|
| 142 |
+
0.019907583236694337,
|
| 143 |
+
0.019937280654907227,
|
| 144 |
+
0.019965951919555663,
|
| 145 |
+
0.019914751052856446,
|
| 146 |
+
0.019931135177612306,
|
| 147 |
+
0.0198973445892334,
|
| 148 |
+
0.019945472717285157,
|
| 149 |
+
0.019956735610961913,
|
| 150 |
+
0.020087871551513672,
|
| 151 |
+
0.01994438362121582,
|
| 152 |
+
0.019989503860473632,
|
| 153 |
+
0.019935232162475586,
|
| 154 |
+
0.019955711364746095,
|
| 155 |
+
0.02004582405090332,
|
| 156 |
+
0.019909631729125975,
|
| 157 |
+
0.01989017677307129,
|
| 158 |
+
0.019907583236694337,
|
| 159 |
+
0.020319232940673827,
|
| 160 |
+
0.020039680480957032,
|
| 161 |
+
0.01988812828063965,
|
| 162 |
+
0.019908607482910155,
|
| 163 |
+
0.019914751052856446,
|
| 164 |
+
0.019993600845336915,
|
| 165 |
+
0.020109312057495117,
|
| 166 |
+
0.02000383949279785,
|
| 167 |
+
0.01997209548950195,
|
| 168 |
+
0.019938304901123048,
|
| 169 |
+
0.019928064346313477,
|
| 170 |
+
0.019908607482910155,
|
| 171 |
+
0.019945472717285157,
|
| 172 |
+
0.019970048904418947,
|
| 173 |
+
0.019870719909667968,
|
| 174 |
+
0.019964927673339843,
|
| 175 |
+
0.019908607482910155,
|
| 176 |
+
0.019960832595825196,
|
| 177 |
+
0.02002227210998535,
|
| 178 |
+
0.021752832412719726,
|
| 179 |
+
0.02110361671447754,
|
| 180 |
+
0.02105446434020996,
|
| 181 |
+
0.020907007217407226,
|
| 182 |
+
0.019920896530151368,
|
| 183 |
+
0.019883007049560548,
|
| 184 |
+
0.019935232162475586,
|
| 185 |
+
0.02006630325317383,
|
| 186 |
+
0.019968000411987305,
|
| 187 |
+
0.019927040100097656,
|
| 188 |
+
0.019931135177612306,
|
| 189 |
+
0.019926015853881835,
|
| 190 |
+
0.019939327239990236,
|
| 191 |
+
0.019957759857177734,
|
| 192 |
+
0.019966976165771484,
|
| 193 |
+
0.020000768661499024,
|
| 194 |
+
0.019970048904418947,
|
| 195 |
+
0.019955711364746095,
|
| 196 |
+
0.02004991912841797,
|
| 197 |
+
0.019942399978637695,
|
| 198 |
+
0.019934207916259765,
|
| 199 |
+
0.02031718444824219,
|
| 200 |
+
0.020783103942871094,
|
| 201 |
+
0.01998028755187988,
|
| 202 |
+
0.019955711364746095,
|
| 203 |
+
0.020129791259765627,
|
| 204 |
+
0.019952640533447266,
|
| 205 |
+
0.019986431121826173,
|
| 206 |
+
0.019974143981933593,
|
| 207 |
+
0.019955711364746095,
|
| 208 |
+
0.0200898551940918,
|
| 209 |
+
0.02032537651062012,
|
| 210 |
+
0.019924991607666014,
|
| 211 |
+
0.019902463912963866,
|
| 212 |
+
0.020039680480957032,
|
| 213 |
+
0.02063974380493164,
|
| 214 |
+
0.020899839401245117,
|
| 215 |
+
0.020701183319091796,
|
| 216 |
+
0.020767744064331056,
|
| 217 |
+
0.020818944931030273,
|
| 218 |
+
0.02083635139465332,
|
| 219 |
+
0.020754432678222655,
|
| 220 |
+
0.020790271759033203,
|
| 221 |
+
0.020731903076171874,
|
| 222 |
+
0.020785152435302736,
|
| 223 |
+
0.02083020782470703,
|
| 224 |
+
0.02109337615966797,
|
| 225 |
+
0.02086911964416504,
|
| 226 |
+
0.020677631378173827,
|
| 227 |
+
0.020756479263305663,
|
| 228 |
+
0.020726783752441406,
|
| 229 |
+
0.020039680480957032,
|
| 230 |
+
0.019910655975341796,
|
| 231 |
+
0.019869695663452147,
|
| 232 |
+
0.019931135177612306,
|
| 233 |
+
0.019998720169067383,
|
| 234 |
+
0.019987455368041994,
|
| 235 |
+
0.019917823791503905,
|
| 236 |
+
0.019976192474365235,
|
| 237 |
+
0.01984511947631836,
|
| 238 |
+
0.019914751052856446,
|
| 239 |
+
0.019869695663452147,
|
| 240 |
+
0.01989017677307129,
|
| 241 |
+
0.019916799545288084,
|
| 242 |
+
0.02004275131225586,
|
| 243 |
+
0.01984000015258789,
|
| 244 |
+
0.019986431121826173,
|
| 245 |
+
0.01987174415588379,
|
| 246 |
+
0.019891199111938478,
|
| 247 |
+
0.01989836883544922,
|
| 248 |
+
0.01986867141723633,
|
| 249 |
+
0.02008064079284668,
|
| 250 |
+
0.01990656089782715,
|
| 251 |
+
0.0198973445892334,
|
| 252 |
+
0.019985408782958985,
|
| 253 |
+
0.01990656089782715,
|
| 254 |
+
0.019947519302368166,
|
| 255 |
+
0.01985843276977539,
|
| 256 |
+
0.01985945510864258,
|
| 257 |
+
0.01980620765686035,
|
| 258 |
+
0.02025369644165039,
|
| 259 |
+
0.01984716796875,
|
| 260 |
+
0.01989017677307129,
|
| 261 |
+
0.02008064079284668,
|
| 262 |
+
0.020060159683227538,
|
| 263 |
+
0.02010419273376465,
|
| 264 |
+
0.02004684829711914,
|
| 265 |
+
0.020109312057495117,
|
| 266 |
+
0.02064588737487793,
|
| 267 |
+
0.020782079696655274,
|
| 268 |
+
0.02072985649108887,
|
| 269 |
+
0.02069811248779297,
|
| 270 |
+
0.020677631378173827,
|
| 271 |
+
0.020658176422119142,
|
| 272 |
+
0.020824064254760744,
|
| 273 |
+
0.020888576507568358,
|
| 274 |
+
0.020737024307250978,
|
| 275 |
+
0.02066022491455078,
|
| 276 |
+
0.02068889617919922,
|
| 277 |
+
0.020736000061035157,
|
| 278 |
+
0.021141504287719725,
|
| 279 |
+
0.02106265640258789,
|
| 280 |
+
0.020752384185791017,
|
| 281 |
+
0.019924991607666014,
|
| 282 |
+
0.020739072799682616,
|
| 283 |
+
0.019876863479614256,
|
| 284 |
+
0.01991372871398926,
|
| 285 |
+
0.019851264953613282,
|
| 286 |
+
0.019904512405395508,
|
| 287 |
+
0.020742143630981445,
|
| 288 |
+
0.020684799194335936,
|
| 289 |
+
0.02064793586730957,
|
| 290 |
+
0.020486143112182616,
|
| 291 |
+
0.02083839988708496,
|
| 292 |
+
0.020719615936279297,
|
| 293 |
+
0.020726783752441406,
|
| 294 |
+
0.02082815933227539,
|
| 295 |
+
0.020806655883789063,
|
| 296 |
+
0.020748287200927733,
|
| 297 |
+
0.01998028755187988,
|
| 298 |
+
0.021109760284423826,
|
| 299 |
+
0.0200447998046875,
|
| 300 |
+
0.019989503860473632,
|
| 301 |
+
0.02005299186706543,
|
| 302 |
+
0.020011007308959963,
|
| 303 |
+
0.02065203285217285,
|
| 304 |
+
0.02083328056335449,
|
| 305 |
+
0.020682752609252928,
|
| 306 |
+
0.020800512313842775,
|
| 307 |
+
0.02126438331604004,
|
| 308 |
+
0.020684799194335936,
|
| 309 |
+
0.020715520858764647,
|
| 310 |
+
0.02087116813659668,
|
| 311 |
+
0.020703231811523438,
|
| 312 |
+
0.020098047256469728,
|
| 313 |
+
0.020050943374633787,
|
| 314 |
+
0.019934207916259765,
|
| 315 |
+
0.019975168228149414,
|
| 316 |
+
0.01998028755187988,
|
| 317 |
+
0.019957759857177734,
|
| 318 |
+
0.019960832595825196,
|
| 319 |
+
0.01998028755187988,
|
| 320 |
+
0.02003660774230957,
|
| 321 |
+
0.01991372871398926,
|
| 322 |
+
0.021019647598266602,
|
| 323 |
+
0.02072166442871094,
|
| 324 |
+
0.020805631637573242,
|
| 325 |
+
0.020933631896972657,
|
| 326 |
+
0.02064384078979492,
|
| 327 |
+
0.020785152435302736,
|
| 328 |
+
0.020694015502929687,
|
| 329 |
+
0.02086604881286621,
|
| 330 |
+
0.020737024307250978,
|
| 331 |
+
0.020817920684814452,
|
| 332 |
+
0.020717567443847656,
|
| 333 |
+
0.019963903427124022,
|
| 334 |
+
0.02005504035949707,
|
| 335 |
+
0.020002815246582033,
|
| 336 |
+
0.019950592041015625,
|
| 337 |
+
0.019964927673339843,
|
| 338 |
+
0.019918848037719726,
|
| 339 |
+
0.01991372871398926,
|
| 340 |
+
0.02005606460571289,
|
| 341 |
+
0.019942399978637695,
|
| 342 |
+
0.019959808349609375,
|
| 343 |
+
0.020426752090454102,
|
| 344 |
+
0.02083839988708496,
|
| 345 |
+
0.020702207565307617,
|
| 346 |
+
0.020769792556762694,
|
| 347 |
+
0.020799488067626954,
|
| 348 |
+
0.019918848037719726,
|
| 349 |
+
0.020135936737060548,
|
| 350 |
+
0.019940351486206053,
|
| 351 |
+
0.020516864776611327,
|
| 352 |
+
0.020586496353149415,
|
| 353 |
+
0.0208035831451416,
|
| 354 |
+
0.020777984619140624,
|
| 355 |
+
0.022945791244506835,
|
| 356 |
+
0.021032960891723632,
|
| 357 |
+
0.020779008865356444
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 49.402093729413444
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021654767990112303,
|
| 7 |
+
"prefill.throughput.value": 323.25444461913617,
|
| 8 |
+
"decode.latency.mean": 2.5708712158203126,
|
| 9 |
+
"decode.throughput.value": 49.399596221888885,
|
| 10 |
+
"per_token.latency.mean": 0.02024205705687756,
|
| 11 |
+
"per_token.throughput.value": 49.402093729413444
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 84 |
+
accelerate_version: 0.34.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 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/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 88 |
+
- hydra.run.dir=_benchmark/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${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/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=True
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 94 |
+
"accelerate_version": "0.34.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1338.068992,
|
| 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.3825625,
|
| 120 |
+
"mean": 12.3825625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.3825625,
|
| 123 |
+
"p90": 12.3825625,
|
| 124 |
+
"p95": 12.3825625,
|
| 125 |
+
"p99": 12.3825625,
|
| 126 |
+
"values": [
|
| 127 |
+
12.3825625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1856.22528,
|
| 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.028297151565551758,
|
| 147 |
+
"mean": 0.014148575782775879,
|
| 148 |
+
"stdev": 0.0001519041061401362,
|
| 149 |
+
"p50": 0.014148575782775879,
|
| 150 |
+
"p90": 0.014270099067687989,
|
| 151 |
+
"p95": 0.014285289478302002,
|
| 152 |
+
"p99": 0.014297441806793213,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013996671676635743,
|
| 155 |
+
0.014300479888916015
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 494.749443864281
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2026.012672,
|
| 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.135092407226563,
|
| 178 |
+
"mean": 1.5675462036132815,
|
| 179 |
+
"stdev": 0.0012463989257812669,
|
| 180 |
+
"p50": 1.5675462036132815,
|
| 181 |
+
"p90": 1.5685433227539063,
|
| 182 |
+
"p95": 1.5686679626464846,
|
| 183 |
+
"p99": 1.568767674560547,
|
| 184 |
+
"values": [
|
| 185 |
+
1.5687926025390626,
|
| 186 |
+
1.5662998046875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.0183455564231
|
| 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.1348080654144317,
|
| 202 |
+
"mean": 0.012341764037064678,
|
| 203 |
+
"stdev": 9.346761100570707e-05,
|
| 204 |
+
"p50": 0.012319744110107422,
|
| 205 |
+
"p90": 0.012359065628051757,
|
| 206 |
+
"p95": 0.012462796640396118,
|
| 207 |
+
"p99": 0.012848302049636842,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012355584144592285,
|
| 210 |
+
0.012345343589782716,
|
| 211 |
+
0.01233510398864746,
|
| 212 |
+
0.012316672325134278,
|
| 213 |
+
0.012319744110107422,
|
| 214 |
+
0.012336128234863282,
|
| 215 |
+
0.012302335739135742,
|
| 216 |
+
0.012331007957458496,
|
| 217 |
+
0.012316672325134278,
|
| 218 |
+
0.01233407974243164,
|
| 219 |
+
0.012326911926269531,
|
| 220 |
+
0.01231980800628662,
|
| 221 |
+
0.012323776245117187,
|
| 222 |
+
0.012322815895080566,
|
| 223 |
+
0.012337151527404786,
|
| 224 |
+
0.012481535911560059,
|
| 225 |
+
0.012843008041381837,
|
| 226 |
+
0.012320768356323243,
|
| 227 |
+
0.012326911926269531,
|
| 228 |
+
0.012340224266052247,
|
| 229 |
+
0.01232588768005371,
|
| 230 |
+
0.012336128234863282,
|
| 231 |
+
0.012306431770324706,
|
| 232 |
+
0.012321791648864745,
|
| 233 |
+
0.012308480262756348,
|
| 234 |
+
0.012315648078918457,
|
| 235 |
+
0.012310527801513671,
|
| 236 |
+
0.012314623832702636,
|
| 237 |
+
0.012310527801513671,
|
| 238 |
+
0.012318719863891601,
|
| 239 |
+
0.012324864387512208,
|
| 240 |
+
0.012357631683349609,
|
| 241 |
+
0.01232588768005371,
|
| 242 |
+
0.012320768356323243,
|
| 243 |
+
0.012323840141296387,
|
| 244 |
+
0.012311552047729492,
|
| 245 |
+
0.012386303901672363,
|
| 246 |
+
0.012305407524108887,
|
| 247 |
+
0.012306431770324706,
|
| 248 |
+
0.01232588768005371,
|
| 249 |
+
0.012333056449890138,
|
| 250 |
+
0.012309503555297852,
|
| 251 |
+
0.012308480262756348,
|
| 252 |
+
0.012310527801513671,
|
| 253 |
+
0.012324864387512208,
|
| 254 |
+
0.012336128234863282,
|
| 255 |
+
0.012329983711242675,
|
| 256 |
+
0.012315648078918457,
|
| 257 |
+
0.012296192169189453,
|
| 258 |
+
0.012380160331726075,
|
| 259 |
+
0.012311552047729492,
|
| 260 |
+
0.012312576293945313,
|
| 261 |
+
0.012640255928039551,
|
| 262 |
+
0.012328960418701173,
|
| 263 |
+
0.012311552047729492,
|
| 264 |
+
0.012355584144592285,
|
| 265 |
+
0.012302335739135742,
|
| 266 |
+
0.012349439620971679,
|
| 267 |
+
0.012324864387512208,
|
| 268 |
+
0.012307456016540527,
|
| 269 |
+
0.012305407524108887,
|
| 270 |
+
0.012322815895080566,
|
| 271 |
+
0.012309503555297852,
|
| 272 |
+
0.012338175773620605,
|
| 273 |
+
0.012315648078918457,
|
| 274 |
+
0.012310527801513671,
|
| 275 |
+
0.012307456016540527,
|
| 276 |
+
0.012332032203674317,
|
| 277 |
+
0.012324864387512208,
|
| 278 |
+
0.012314623832702636,
|
| 279 |
+
0.012326911926269531,
|
| 280 |
+
0.012316672325134278,
|
| 281 |
+
0.012324864387512208,
|
| 282 |
+
0.012312576293945313,
|
| 283 |
+
0.012306431770324706,
|
| 284 |
+
0.012307456016540527,
|
| 285 |
+
0.012316672325134278,
|
| 286 |
+
0.012304384231567383,
|
| 287 |
+
0.012309503555297852,
|
| 288 |
+
0.012309503555297852,
|
| 289 |
+
0.01234329605102539,
|
| 290 |
+
0.012329983711242675,
|
| 291 |
+
0.012337151527404786,
|
| 292 |
+
0.012328960418701173,
|
| 293 |
+
0.012327936172485352,
|
| 294 |
+
0.012332032203674317,
|
| 295 |
+
0.012331007957458496,
|
| 296 |
+
0.012502016067504883,
|
| 297 |
+
0.01249075222015381,
|
| 298 |
+
0.012713983535766601,
|
| 299 |
+
0.012414976119995117,
|
| 300 |
+
0.012332032203674317,
|
| 301 |
+
0.012322815895080566,
|
| 302 |
+
0.012329983711242675,
|
| 303 |
+
0.012315648078918457,
|
| 304 |
+
0.012326911926269531,
|
| 305 |
+
0.012357631683349609,
|
| 306 |
+
0.012393471717834472,
|
| 307 |
+
0.012378111839294433,
|
| 308 |
+
0.013136896133422851,
|
| 309 |
+
0.012919808387756348,
|
| 310 |
+
0.01238425636291504,
|
| 311 |
+
0.012332032203674317,
|
| 312 |
+
0.012314623832702636,
|
| 313 |
+
0.012323840141296387,
|
| 314 |
+
0.012318719863891601,
|
| 315 |
+
0.012307456016540527,
|
| 316 |
+
0.012305407524108887,
|
| 317 |
+
0.012307456016540527,
|
| 318 |
+
0.012319744110107422,
|
| 319 |
+
0.012339200019836426,
|
| 320 |
+
0.012340224266052247,
|
| 321 |
+
0.012339200019836426,
|
| 322 |
+
0.012313599586486817,
|
| 323 |
+
0.012305407524108887,
|
| 324 |
+
0.012324864387512208,
|
| 325 |
+
0.012462080001831055,
|
| 326 |
+
0.01235148811340332,
|
| 327 |
+
0.012307456016540527,
|
| 328 |
+
0.012306431770324706,
|
| 329 |
+
0.012324864387512208,
|
| 330 |
+
0.01235968017578125,
|
| 331 |
+
0.012331007957458496,
|
| 332 |
+
0.012332032203674317,
|
| 333 |
+
0.012319744110107422,
|
| 334 |
+
0.012308480262756348,
|
| 335 |
+
0.012307456016540527,
|
| 336 |
+
0.012381183624267577,
|
| 337 |
+
0.012323840141296387,
|
| 338 |
+
0.012318719863891601,
|
| 339 |
+
0.012314623832702636,
|
| 340 |
+
0.012323840141296387,
|
| 341 |
+
0.012313599586486817,
|
| 342 |
+
0.012314623832702636,
|
| 343 |
+
0.012303359985351562,
|
| 344 |
+
0.012322815895080566,
|
| 345 |
+
0.012299263954162597,
|
| 346 |
+
0.012313599586486817,
|
| 347 |
+
0.012302335739135742,
|
| 348 |
+
0.012327936172485352,
|
| 349 |
+
0.012308480262756348,
|
| 350 |
+
0.012321791648864745,
|
| 351 |
+
0.012307456016540527,
|
| 352 |
+
0.012320768356323243,
|
| 353 |
+
0.012324864387512208,
|
| 354 |
+
0.012310527801513671,
|
| 355 |
+
0.012307456016540527,
|
| 356 |
+
0.012316672325134278,
|
| 357 |
+
0.012312576293945313,
|
| 358 |
+
0.012306431770324706,
|
| 359 |
+
0.012303359985351562,
|
| 360 |
+
0.012332032203674317,
|
| 361 |
+
0.012324864387512208,
|
| 362 |
+
0.012320768356323243,
|
| 363 |
+
0.012317695617675782,
|
| 364 |
+
0.012307456016540527,
|
| 365 |
+
0.012313599586486817,
|
| 366 |
+
0.012298239707946777,
|
| 367 |
+
0.012305407524108887,
|
| 368 |
+
0.012326911926269531,
|
| 369 |
+
0.012320768356323243,
|
| 370 |
+
0.012308480262756348,
|
| 371 |
+
0.012406784057617188,
|
| 372 |
+
0.012302335739135742,
|
| 373 |
+
0.012319744110107422,
|
| 374 |
+
0.012337151527404786,
|
| 375 |
+
0.012338272094726562,
|
| 376 |
+
0.01230838394165039,
|
| 377 |
+
0.012319744110107422,
|
| 378 |
+
0.012307456016540527,
|
| 379 |
+
0.012310527801513671,
|
| 380 |
+
0.012301312446594239,
|
| 381 |
+
0.012298239707946777,
|
| 382 |
+
0.012327936172485352,
|
| 383 |
+
0.012320768356323243,
|
| 384 |
+
0.012307456016540527,
|
| 385 |
+
0.012338175773620605,
|
| 386 |
+
0.012328960418701173,
|
| 387 |
+
0.012306431770324706,
|
| 388 |
+
0.012319744110107422,
|
| 389 |
+
0.012312576293945313,
|
| 390 |
+
0.012340224266052247,
|
| 391 |
+
0.01285427188873291,
|
| 392 |
+
0.012777471542358398,
|
| 393 |
+
0.01233407974243164,
|
| 394 |
+
0.012317695617675782,
|
| 395 |
+
0.012346367835998535,
|
| 396 |
+
0.012464127540588378,
|
| 397 |
+
0.012313599586486817,
|
| 398 |
+
0.012312576293945313,
|
| 399 |
+
0.012304384231567383,
|
| 400 |
+
0.012304384231567383,
|
| 401 |
+
0.012315648078918457,
|
| 402 |
+
0.012309503555297852,
|
| 403 |
+
0.012486656188964844,
|
| 404 |
+
0.012336128234863282,
|
| 405 |
+
0.012307456016540527,
|
| 406 |
+
0.012340224266052247,
|
| 407 |
+
0.012339200019836426,
|
| 408 |
+
0.012322815895080566,
|
| 409 |
+
0.012326911926269531,
|
| 410 |
+
0.012328960418701173,
|
| 411 |
+
0.012310527801513671,
|
| 412 |
+
0.012317695617675782,
|
| 413 |
+
0.012297216415405274,
|
| 414 |
+
0.012426239967346191,
|
| 415 |
+
0.012308480262756348,
|
| 416 |
+
0.012336128234863282,
|
| 417 |
+
0.012319744110107422,
|
| 418 |
+
0.012322815895080566,
|
| 419 |
+
0.012360704421997071,
|
| 420 |
+
0.012314623832702636,
|
| 421 |
+
0.012328960418701173,
|
| 422 |
+
0.012506112098693848,
|
| 423 |
+
0.012314623832702636,
|
| 424 |
+
0.012324864387512208,
|
| 425 |
+
0.012317695617675782,
|
| 426 |
+
0.012312576293945313,
|
| 427 |
+
0.012311552047729492,
|
| 428 |
+
0.012303359985351562,
|
| 429 |
+
0.012299263954162597,
|
| 430 |
+
0.012332032203674317,
|
| 431 |
+
0.012316672325134278,
|
| 432 |
+
0.012316672325134278,
|
| 433 |
+
0.012312576293945313,
|
| 434 |
+
0.012314623832702636,
|
| 435 |
+
0.012313599586486817,
|
| 436 |
+
0.012316672325134278,
|
| 437 |
+
0.012368895530700684,
|
| 438 |
+
0.012310527801513671,
|
| 439 |
+
0.012301312446594239,
|
| 440 |
+
0.012316672325134278,
|
| 441 |
+
0.012315648078918457,
|
| 442 |
+
0.012320768356323243,
|
| 443 |
+
0.012328960418701173,
|
| 444 |
+
0.012306431770324706,
|
| 445 |
+
0.012315648078918457,
|
| 446 |
+
0.012310527801513671,
|
| 447 |
+
0.012303359985351562,
|
| 448 |
+
0.012315648078918457,
|
| 449 |
+
0.012312576293945313,
|
| 450 |
+
0.012315648078918457,
|
| 451 |
+
0.012313599586486817,
|
| 452 |
+
0.012336128234863282,
|
| 453 |
+
0.012315648078918457,
|
| 454 |
+
0.012318719863891601,
|
| 455 |
+
0.012345343589782716,
|
| 456 |
+
0.012346367835998535,
|
| 457 |
+
0.012316672325134278,
|
| 458 |
+
0.012338239669799805,
|
| 459 |
+
0.012300224304199218,
|
| 460 |
+
0.012311552047729492,
|
| 461 |
+
0.012319744110107422,
|
| 462 |
+
0.01232588768005371
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.0256943008154
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 93 |
+
"accelerate_version": "0.34.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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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{
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1338.068992,
|
| 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.3825625,
|
| 15 |
+
"mean": 12.3825625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.3825625,
|
| 18 |
+
"p90": 12.3825625,
|
| 19 |
+
"p95": 12.3825625,
|
| 20 |
+
"p99": 12.3825625,
|
| 21 |
+
"values": [
|
| 22 |
+
12.3825625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1856.22528,
|
| 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.028297151565551758,
|
| 42 |
+
"mean": 0.014148575782775879,
|
| 43 |
+
"stdev": 0.0001519041061401362,
|
| 44 |
+
"p50": 0.014148575782775879,
|
| 45 |
+
"p90": 0.014270099067687989,
|
| 46 |
+
"p95": 0.014285289478302002,
|
| 47 |
+
"p99": 0.014297441806793213,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013996671676635743,
|
| 50 |
+
0.014300479888916015
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 494.749443864281
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2026.012672,
|
| 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.135092407226563,
|
| 73 |
+
"mean": 1.5675462036132815,
|
| 74 |
+
"stdev": 0.0012463989257812669,
|
| 75 |
+
"p50": 1.5675462036132815,
|
| 76 |
+
"p90": 1.5685433227539063,
|
| 77 |
+
"p95": 1.5686679626464846,
|
| 78 |
+
"p99": 1.568767674560547,
|
| 79 |
+
"values": [
|
| 80 |
+
1.5687926025390626,
|
| 81 |
+
1.5662998046875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.0183455564231
|
| 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.1348080654144317,
|
| 97 |
+
"mean": 0.012341764037064678,
|
| 98 |
+
"stdev": 9.346761100570707e-05,
|
| 99 |
+
"p50": 0.012319744110107422,
|
| 100 |
+
"p90": 0.012359065628051757,
|
| 101 |
+
"p95": 0.012462796640396118,
|
| 102 |
+
"p99": 0.012848302049636842,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012355584144592285,
|
| 105 |
+
0.012345343589782716,
|
| 106 |
+
0.01233510398864746,
|
| 107 |
+
0.012316672325134278,
|
| 108 |
+
0.012319744110107422,
|
| 109 |
+
0.012336128234863282,
|
| 110 |
+
0.012302335739135742,
|
| 111 |
+
0.012331007957458496,
|
| 112 |
+
0.012316672325134278,
|
| 113 |
+
0.01233407974243164,
|
| 114 |
+
0.012326911926269531,
|
| 115 |
+
0.01231980800628662,
|
| 116 |
+
0.012323776245117187,
|
| 117 |
+
0.012322815895080566,
|
| 118 |
+
0.012337151527404786,
|
| 119 |
+
0.012481535911560059,
|
| 120 |
+
0.012843008041381837,
|
| 121 |
+
0.012320768356323243,
|
| 122 |
+
0.012326911926269531,
|
| 123 |
+
0.012340224266052247,
|
| 124 |
+
0.01232588768005371,
|
| 125 |
+
0.012336128234863282,
|
| 126 |
+
0.012306431770324706,
|
| 127 |
+
0.012321791648864745,
|
| 128 |
+
0.012308480262756348,
|
| 129 |
+
0.012315648078918457,
|
| 130 |
+
0.012310527801513671,
|
| 131 |
+
0.012314623832702636,
|
| 132 |
+
0.012310527801513671,
|
| 133 |
+
0.012318719863891601,
|
| 134 |
+
0.012324864387512208,
|
| 135 |
+
0.012357631683349609,
|
| 136 |
+
0.01232588768005371,
|
| 137 |
+
0.012320768356323243,
|
| 138 |
+
0.012323840141296387,
|
| 139 |
+
0.012311552047729492,
|
| 140 |
+
0.012386303901672363,
|
| 141 |
+
0.012305407524108887,
|
| 142 |
+
0.012306431770324706,
|
| 143 |
+
0.01232588768005371,
|
| 144 |
+
0.012333056449890138,
|
| 145 |
+
0.012309503555297852,
|
| 146 |
+
0.012308480262756348,
|
| 147 |
+
0.012310527801513671,
|
| 148 |
+
0.012324864387512208,
|
| 149 |
+
0.012336128234863282,
|
| 150 |
+
0.012329983711242675,
|
| 151 |
+
0.012315648078918457,
|
| 152 |
+
0.012296192169189453,
|
| 153 |
+
0.012380160331726075,
|
| 154 |
+
0.012311552047729492,
|
| 155 |
+
0.012312576293945313,
|
| 156 |
+
0.012640255928039551,
|
| 157 |
+
0.012328960418701173,
|
| 158 |
+
0.012311552047729492,
|
| 159 |
+
0.012355584144592285,
|
| 160 |
+
0.012302335739135742,
|
| 161 |
+
0.012349439620971679,
|
| 162 |
+
0.012324864387512208,
|
| 163 |
+
0.012307456016540527,
|
| 164 |
+
0.012305407524108887,
|
| 165 |
+
0.012322815895080566,
|
| 166 |
+
0.012309503555297852,
|
| 167 |
+
0.012338175773620605,
|
| 168 |
+
0.012315648078918457,
|
| 169 |
+
0.012310527801513671,
|
| 170 |
+
0.012307456016540527,
|
| 171 |
+
0.012332032203674317,
|
| 172 |
+
0.012324864387512208,
|
| 173 |
+
0.012314623832702636,
|
| 174 |
+
0.012326911926269531,
|
| 175 |
+
0.012316672325134278,
|
| 176 |
+
0.012324864387512208,
|
| 177 |
+
0.012312576293945313,
|
| 178 |
+
0.012306431770324706,
|
| 179 |
+
0.012307456016540527,
|
| 180 |
+
0.012316672325134278,
|
| 181 |
+
0.012304384231567383,
|
| 182 |
+
0.012309503555297852,
|
| 183 |
+
0.012309503555297852,
|
| 184 |
+
0.01234329605102539,
|
| 185 |
+
0.012329983711242675,
|
| 186 |
+
0.012337151527404786,
|
| 187 |
+
0.012328960418701173,
|
| 188 |
+
0.012327936172485352,
|
| 189 |
+
0.012332032203674317,
|
| 190 |
+
0.012331007957458496,
|
| 191 |
+
0.012502016067504883,
|
| 192 |
+
0.01249075222015381,
|
| 193 |
+
0.012713983535766601,
|
| 194 |
+
0.012414976119995117,
|
| 195 |
+
0.012332032203674317,
|
| 196 |
+
0.012322815895080566,
|
| 197 |
+
0.012329983711242675,
|
| 198 |
+
0.012315648078918457,
|
| 199 |
+
0.012326911926269531,
|
| 200 |
+
0.012357631683349609,
|
| 201 |
+
0.012393471717834472,
|
| 202 |
+
0.012378111839294433,
|
| 203 |
+
0.013136896133422851,
|
| 204 |
+
0.012919808387756348,
|
| 205 |
+
0.01238425636291504,
|
| 206 |
+
0.012332032203674317,
|
| 207 |
+
0.012314623832702636,
|
| 208 |
+
0.012323840141296387,
|
| 209 |
+
0.012318719863891601,
|
| 210 |
+
0.012307456016540527,
|
| 211 |
+
0.012305407524108887,
|
| 212 |
+
0.012307456016540527,
|
| 213 |
+
0.012319744110107422,
|
| 214 |
+
0.012339200019836426,
|
| 215 |
+
0.012340224266052247,
|
| 216 |
+
0.012339200019836426,
|
| 217 |
+
0.012313599586486817,
|
| 218 |
+
0.012305407524108887,
|
| 219 |
+
0.012324864387512208,
|
| 220 |
+
0.012462080001831055,
|
| 221 |
+
0.01235148811340332,
|
| 222 |
+
0.012307456016540527,
|
| 223 |
+
0.012306431770324706,
|
| 224 |
+
0.012324864387512208,
|
| 225 |
+
0.01235968017578125,
|
| 226 |
+
0.012331007957458496,
|
| 227 |
+
0.012332032203674317,
|
| 228 |
+
0.012319744110107422,
|
| 229 |
+
0.012308480262756348,
|
| 230 |
+
0.012307456016540527,
|
| 231 |
+
0.012381183624267577,
|
| 232 |
+
0.012323840141296387,
|
| 233 |
+
0.012318719863891601,
|
| 234 |
+
0.012314623832702636,
|
| 235 |
+
0.012323840141296387,
|
| 236 |
+
0.012313599586486817,
|
| 237 |
+
0.012314623832702636,
|
| 238 |
+
0.012303359985351562,
|
| 239 |
+
0.012322815895080566,
|
| 240 |
+
0.012299263954162597,
|
| 241 |
+
0.012313599586486817,
|
| 242 |
+
0.012302335739135742,
|
| 243 |
+
0.012327936172485352,
|
| 244 |
+
0.012308480262756348,
|
| 245 |
+
0.012321791648864745,
|
| 246 |
+
0.012307456016540527,
|
| 247 |
+
0.012320768356323243,
|
| 248 |
+
0.012324864387512208,
|
| 249 |
+
0.012310527801513671,
|
| 250 |
+
0.012307456016540527,
|
| 251 |
+
0.012316672325134278,
|
| 252 |
+
0.012312576293945313,
|
| 253 |
+
0.012306431770324706,
|
| 254 |
+
0.012303359985351562,
|
| 255 |
+
0.012332032203674317,
|
| 256 |
+
0.012324864387512208,
|
| 257 |
+
0.012320768356323243,
|
| 258 |
+
0.012317695617675782,
|
| 259 |
+
0.012307456016540527,
|
| 260 |
+
0.012313599586486817,
|
| 261 |
+
0.012298239707946777,
|
| 262 |
+
0.012305407524108887,
|
| 263 |
+
0.012326911926269531,
|
| 264 |
+
0.012320768356323243,
|
| 265 |
+
0.012308480262756348,
|
| 266 |
+
0.012406784057617188,
|
| 267 |
+
0.012302335739135742,
|
| 268 |
+
0.012319744110107422,
|
| 269 |
+
0.012337151527404786,
|
| 270 |
+
0.012338272094726562,
|
| 271 |
+
0.01230838394165039,
|
| 272 |
+
0.012319744110107422,
|
| 273 |
+
0.012307456016540527,
|
| 274 |
+
0.012310527801513671,
|
| 275 |
+
0.012301312446594239,
|
| 276 |
+
0.012298239707946777,
|
| 277 |
+
0.012327936172485352,
|
| 278 |
+
0.012320768356323243,
|
| 279 |
+
0.012307456016540527,
|
| 280 |
+
0.012338175773620605,
|
| 281 |
+
0.012328960418701173,
|
| 282 |
+
0.012306431770324706,
|
| 283 |
+
0.012319744110107422,
|
| 284 |
+
0.012312576293945313,
|
| 285 |
+
0.012340224266052247,
|
| 286 |
+
0.01285427188873291,
|
| 287 |
+
0.012777471542358398,
|
| 288 |
+
0.01233407974243164,
|
| 289 |
+
0.012317695617675782,
|
| 290 |
+
0.012346367835998535,
|
| 291 |
+
0.012464127540588378,
|
| 292 |
+
0.012313599586486817,
|
| 293 |
+
0.012312576293945313,
|
| 294 |
+
0.012304384231567383,
|
| 295 |
+
0.012304384231567383,
|
| 296 |
+
0.012315648078918457,
|
| 297 |
+
0.012309503555297852,
|
| 298 |
+
0.012486656188964844,
|
| 299 |
+
0.012336128234863282,
|
| 300 |
+
0.012307456016540527,
|
| 301 |
+
0.012340224266052247,
|
| 302 |
+
0.012339200019836426,
|
| 303 |
+
0.012322815895080566,
|
| 304 |
+
0.012326911926269531,
|
| 305 |
+
0.012328960418701173,
|
| 306 |
+
0.012310527801513671,
|
| 307 |
+
0.012317695617675782,
|
| 308 |
+
0.012297216415405274,
|
| 309 |
+
0.012426239967346191,
|
| 310 |
+
0.012308480262756348,
|
| 311 |
+
0.012336128234863282,
|
| 312 |
+
0.012319744110107422,
|
| 313 |
+
0.012322815895080566,
|
| 314 |
+
0.012360704421997071,
|
| 315 |
+
0.012314623832702636,
|
| 316 |
+
0.012328960418701173,
|
| 317 |
+
0.012506112098693848,
|
| 318 |
+
0.012314623832702636,
|
| 319 |
+
0.012324864387512208,
|
| 320 |
+
0.012317695617675782,
|
| 321 |
+
0.012312576293945313,
|
| 322 |
+
0.012311552047729492,
|
| 323 |
+
0.012303359985351562,
|
| 324 |
+
0.012299263954162597,
|
| 325 |
+
0.012332032203674317,
|
| 326 |
+
0.012316672325134278,
|
| 327 |
+
0.012316672325134278,
|
| 328 |
+
0.012312576293945313,
|
| 329 |
+
0.012314623832702636,
|
| 330 |
+
0.012313599586486817,
|
| 331 |
+
0.012316672325134278,
|
| 332 |
+
0.012368895530700684,
|
| 333 |
+
0.012310527801513671,
|
| 334 |
+
0.012301312446594239,
|
| 335 |
+
0.012316672325134278,
|
| 336 |
+
0.012315648078918457,
|
| 337 |
+
0.012320768356323243,
|
| 338 |
+
0.012328960418701173,
|
| 339 |
+
0.012306431770324706,
|
| 340 |
+
0.012315648078918457,
|
| 341 |
+
0.012310527801513671,
|
| 342 |
+
0.012303359985351562,
|
| 343 |
+
0.012315648078918457,
|
| 344 |
+
0.012312576293945313,
|
| 345 |
+
0.012315648078918457,
|
| 346 |
+
0.012313599586486817,
|
| 347 |
+
0.012336128234863282,
|
| 348 |
+
0.012315648078918457,
|
| 349 |
+
0.012318719863891601,
|
| 350 |
+
0.012345343589782716,
|
| 351 |
+
0.012346367835998535,
|
| 352 |
+
0.012316672325134278,
|
| 353 |
+
0.012338239669799805,
|
| 354 |
+
0.012300224304199218,
|
| 355 |
+
0.012311552047729492,
|
| 356 |
+
0.012319744110107422,
|
| 357 |
+
0.01232588768005371
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.0256943008154
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/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": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014148575782775879,
|
| 7 |
+
"prefill.throughput.value": 494.749443864281,
|
| 8 |
+
"decode.latency.mean": 1.5675462036132815,
|
| 9 |
+
"decode.throughput.value": 81.0183455564231,
|
| 10 |
+
"per_token.latency.mean": 0.012341764037064678,
|
| 11 |
+
"per_token.throughput.value": 81.0256943008154
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-08-28/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmphb_ugmdi/commit=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 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/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 88 |
+
- hydra.run.dir=_benchmark/tmphb_ugmdi/commit\=c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null,static
|
| 93 |
+
- backend.torch_compile=false,true
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
| 98 |
+
id: ???
|
| 99 |
+
num: ???
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: ???
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
| 142 |
+
name: pytorch_generate
|
| 143 |
+
backend:
|
| 144 |
+
name: pytorch
|
| 145 |
+
version: 2.4.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model_type: null
|
| 150 |
+
model: google/gemma-2b
|
| 151 |
+
processor: null
|
| 152 |
+
device: cuda
|
| 153 |
+
device_ids: '0'
|
| 154 |
+
seed: 42
|
| 155 |
+
inter_op_num_threads: null
|
| 156 |
+
intra_op_num_threads: null
|
| 157 |
+
model_kwargs: {}
|
| 158 |
+
processor_kwargs: {}
|
| 159 |
+
no_weights: true
|
| 160 |
+
device_map: null
|
| 161 |
+
torch_dtype: float16
|
| 162 |
+
eval_mode: true
|
| 163 |
+
to_bettertransformer: false
|
| 164 |
+
low_cpu_mem_usage: null
|
| 165 |
+
attn_implementation: null
|
| 166 |
+
cache_implementation: static
|
| 167 |
+
autocast_enabled: false
|
| 168 |
+
autocast_dtype: null
|
| 169 |
+
torch_compile: true
|
| 170 |
+
torch_compile_target: forward
|
| 171 |
+
torch_compile_config:
|
| 172 |
+
backend: inductor
|
| 173 |
+
mode: reduce-overhead
|
| 174 |
+
fullgraph: true
|
| 175 |
+
quantization_scheme: null
|
| 176 |
+
quantization_config: {}
|
| 177 |
+
deepspeed_inference: false
|
| 178 |
+
deepspeed_inference_config: {}
|
| 179 |
+
peft_type: null
|
| 180 |
+
peft_config: {}
|
| 181 |
+
scenario:
|
| 182 |
+
name: inference
|
| 183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 184 |
+
iterations: 2
|
| 185 |
+
duration: 0
|
| 186 |
+
warmup_runs: 10
|
| 187 |
+
input_shapes:
|
| 188 |
+
batch_size: 1
|
| 189 |
+
sequence_length: 7
|
| 190 |
+
new_tokens: null
|
| 191 |
+
memory: true
|
| 192 |
+
latency: true
|
| 193 |
+
energy: false
|
| 194 |
+
forward_kwargs: {}
|
| 195 |
+
generate_kwargs:
|
| 196 |
+
max_new_tokens: 128
|
| 197 |
+
min_new_tokens: 128
|
| 198 |
+
do_sample: false
|
| 199 |
+
call_kwargs: {}
|
| 200 |
+
launcher:
|
| 201 |
+
name: process
|
| 202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 203 |
+
device_isolation: true
|
| 204 |
+
device_isolation_action: warn
|
| 205 |
+
numactl: false
|
| 206 |
+
numactl_kwargs: {}
|
| 207 |
+
start_method: spawn
|
| 208 |
+
environment:
|
| 209 |
+
cpu: ' AMD EPYC 7R32'
|
| 210 |
+
cpu_count: 16
|
| 211 |
+
cpu_ram_mb: 66697.261056
|
| 212 |
+
system: Linux
|
| 213 |
+
machine: x86_64
|
| 214 |
+
platform: Linux-5.10.223-211.872.amzn2.x86_64-x86_64-with-glibc2.29
|
| 215 |
+
processor: x86_64
|
| 216 |
+
python_version: 3.8.10
|
| 217 |
+
gpu:
|
| 218 |
+
- NVIDIA A10G
|
| 219 |
+
gpu_count: 1
|
| 220 |
+
gpu_vram_mb: 24146608128
|
| 221 |
+
optimum_benchmark_version: 0.4.0
|
| 222 |
+
optimum_benchmark_commit: null
|
| 223 |
+
transformers_version: 4.45.0.dev0
|
| 224 |
+
transformers_commit: c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0
|
| 225 |
+
accelerate_version: 0.34.0.dev0
|
| 226 |
+
accelerate_commit: null
|
| 227 |
+
diffusers_version: null
|
| 228 |
+
diffusers_commit: null
|
| 229 |
+
optimum_version: 1.22.0.dev0
|
| 230 |
+
optimum_commit: null
|
| 231 |
+
timm_version: 0.9.16
|
| 232 |
+
timm_commit: null
|
| 233 |
+
peft_version: 0.12.1.dev0
|
| 234 |
+
peft_commit: null
|
2024-08-28/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.02051244831085205,
|
| 8 |
+
"prefill.throughput.value": 341.25619204103833,
|
| 9 |
+
"decode.latency.mean": 2.427037475585937,
|
| 10 |
+
"decode.throughput.value": 52.32716893641684,
|
| 11 |
+
"per_token.latency.mean": 0.019109263142262856,
|
| 12 |
+
"per_token.throughput.value": 52.33064156138798
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021654767990112303,
|
| 21 |
+
"prefill.throughput.value": 323.25444461913617,
|
| 22 |
+
"decode.latency.mean": 2.5708712158203126,
|
| 23 |
+
"decode.throughput.value": 49.399596221888885,
|
| 24 |
+
"per_token.latency.mean": 0.02024205705687756,
|
| 25 |
+
"per_token.throughput.value": 49.402093729413444
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014148575782775879,
|
| 34 |
+
"prefill.throughput.value": 494.749443864281,
|
| 35 |
+
"decode.latency.mean": 1.5675462036132815,
|
| 36 |
+
"decode.throughput.value": 81.0183455564231,
|
| 37 |
+
"per_token.latency.mean": 0.012341764037064678,
|
| 38 |
+
"per_token.throughput.value": 81.0256943008154
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-08-28/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02051244831085205,
|
| 7 |
+
"prefill.throughput.value": 341.25619204103833,
|
| 8 |
+
"decode.latency.mean": 2.427037475585937,
|
| 9 |
+
"decode.throughput.value": 52.32716893641684,
|
| 10 |
+
"per_token.latency.mean": 0.019109263142262856,
|
| 11 |
+
"per_token.throughput.value": 52.33064156138798
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021654767990112303,
|
| 19 |
+
"prefill.throughput.value": 323.25444461913617,
|
| 20 |
+
"decode.latency.mean": 2.5708712158203126,
|
| 21 |
+
"decode.throughput.value": 49.399596221888885,
|
| 22 |
+
"per_token.latency.mean": 0.02024205705687756,
|
| 23 |
+
"per_token.throughput.value": 49.402093729413444
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014148575782775879,
|
| 31 |
+
"prefill.throughput.value": 494.749443864281,
|
| 32 |
+
"decode.latency.mean": 1.5675462036132815,
|
| 33 |
+
"decode.throughput.value": 81.0183455564231,
|
| 34 |
+
"per_token.latency.mean": 0.012341764037064678,
|
| 35 |
+
"per_token.throughput.value": 81.0256943008154
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|