Upload folder using huggingface_hub
Browse files- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/multirun.yaml +234 -0
- 2024-09-07/summaries.json +41 -0
- 2024-09-07/summary.json +40 -0
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 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/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=False
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1335.775232,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 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.434404296875,
|
| 120 |
+
"mean": 11.434404296875,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.434404296875,
|
| 123 |
+
"p90": 11.434404296875,
|
| 124 |
+
"p95": 11.434404296875,
|
| 125 |
+
"p99": 11.434404296875,
|
| 126 |
+
"values": [
|
| 127 |
+
11.434404296875
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1777.188864,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 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.04124406433105469,
|
| 147 |
+
"mean": 0.020622032165527344,
|
| 148 |
+
"stdev": 6.401634216308613e-05,
|
| 149 |
+
"p50": 0.020622032165527344,
|
| 150 |
+
"p90": 0.02067324523925781,
|
| 151 |
+
"p95": 0.020679646873474122,
|
| 152 |
+
"p99": 0.02068476818084717,
|
| 153 |
+
"values": [
|
| 154 |
+
0.020558015823364258,
|
| 155 |
+
0.02068604850769043
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 339.4427835148805
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1835.2128,
|
| 169 |
+
"max_global_vram": 6800.539648,
|
| 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.91337548828125,
|
| 178 |
+
"mean": 2.456687744140625,
|
| 179 |
+
"stdev": 0.003428710937499968,
|
| 180 |
+
"p50": 2.456687744140625,
|
| 181 |
+
"p90": 2.459430712890625,
|
| 182 |
+
"p95": 2.4597735839843753,
|
| 183 |
+
"p99": 2.460047880859375,
|
| 184 |
+
"values": [
|
| 185 |
+
2.453259033203125,
|
| 186 |
+
2.460116455078125
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 51.69562159574574
|
| 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.913057790756221,
|
| 202 |
+
"mean": 0.019342747207701672,
|
| 203 |
+
"stdev": 0.0002929164810771794,
|
| 204 |
+
"p50": 0.01927014446258545,
|
| 205 |
+
"p90": 0.01976084499359131,
|
| 206 |
+
"p95": 0.019967027378082276,
|
| 207 |
+
"p99": 0.020360570888519287,
|
| 208 |
+
"values": [
|
| 209 |
+
0.019086336135864256,
|
| 210 |
+
0.019172351837158205,
|
| 211 |
+
0.019215360641479492,
|
| 212 |
+
0.019087360382080077,
|
| 213 |
+
0.019120128631591796,
|
| 214 |
+
0.019171327590942384,
|
| 215 |
+
0.019122175216674805,
|
| 216 |
+
0.019331071853637697,
|
| 217 |
+
0.019130367279052735,
|
| 218 |
+
0.019119104385375976,
|
| 219 |
+
0.019130367279052735,
|
| 220 |
+
0.019113983154296875,
|
| 221 |
+
0.019092479705810548,
|
| 222 |
+
0.019126272201538085,
|
| 223 |
+
0.019162111282348633,
|
| 224 |
+
0.019449855804443358,
|
| 225 |
+
0.019170303344726563,
|
| 226 |
+
0.019169279098510742,
|
| 227 |
+
0.019155967712402345,
|
| 228 |
+
0.019182592391967773,
|
| 229 |
+
0.019281919479370118,
|
| 230 |
+
0.019264511108398438,
|
| 231 |
+
0.019116031646728517,
|
| 232 |
+
0.019132415771484376,
|
| 233 |
+
0.019102720260620116,
|
| 234 |
+
0.019364864349365234,
|
| 235 |
+
0.019952640533447266,
|
| 236 |
+
0.0192225284576416,
|
| 237 |
+
0.019326976776123047,
|
| 238 |
+
0.019169279098510742,
|
| 239 |
+
0.01960140800476074,
|
| 240 |
+
0.019813375473022463,
|
| 241 |
+
0.019761152267456054,
|
| 242 |
+
0.02003763198852539,
|
| 243 |
+
0.01983283233642578,
|
| 244 |
+
0.019812351226806642,
|
| 245 |
+
0.019936256408691407,
|
| 246 |
+
0.019755008697509766,
|
| 247 |
+
0.019746816635131836,
|
| 248 |
+
0.019696640014648437,
|
| 249 |
+
0.019732479095458985,
|
| 250 |
+
0.019252223968505858,
|
| 251 |
+
0.019317760467529296,
|
| 252 |
+
0.019760128021240234,
|
| 253 |
+
0.01906790351867676,
|
| 254 |
+
0.019126272201538085,
|
| 255 |
+
0.01908121681213379,
|
| 256 |
+
0.01927065658569336,
|
| 257 |
+
0.01924403190612793,
|
| 258 |
+
0.019080192565917968,
|
| 259 |
+
0.019174400329589843,
|
| 260 |
+
0.019127296447753905,
|
| 261 |
+
0.019808256149291992,
|
| 262 |
+
0.01986457633972168,
|
| 263 |
+
0.019273727416992188,
|
| 264 |
+
0.019153919219970703,
|
| 265 |
+
0.019159040451049804,
|
| 266 |
+
0.01920614433288574,
|
| 267 |
+
0.01922047996520996,
|
| 268 |
+
0.0194334716796875,
|
| 269 |
+
0.01924710464477539,
|
| 270 |
+
0.019408895492553712,
|
| 271 |
+
0.019293184280395507,
|
| 272 |
+
0.01927065658569336,
|
| 273 |
+
0.01922559928894043,
|
| 274 |
+
0.019277824401855468,
|
| 275 |
+
0.019430400848388672,
|
| 276 |
+
0.0192542724609375,
|
| 277 |
+
0.01944576072692871,
|
| 278 |
+
0.01924095916748047,
|
| 279 |
+
0.01923379135131836,
|
| 280 |
+
0.01922355270385742,
|
| 281 |
+
0.01927168083190918,
|
| 282 |
+
0.0194467830657959,
|
| 283 |
+
0.01922867202758789,
|
| 284 |
+
0.01921843147277832,
|
| 285 |
+
0.01925324821472168,
|
| 286 |
+
0.01927884864807129,
|
| 287 |
+
0.01927168083190918,
|
| 288 |
+
0.019224576950073242,
|
| 289 |
+
0.01942118453979492,
|
| 290 |
+
0.01928294372558594,
|
| 291 |
+
0.01920614433288574,
|
| 292 |
+
0.019404800415039062,
|
| 293 |
+
0.01924300765991211,
|
| 294 |
+
0.01927987289428711,
|
| 295 |
+
0.0192491512298584,
|
| 296 |
+
0.01926553535461426,
|
| 297 |
+
0.019362815856933592,
|
| 298 |
+
0.01948569679260254,
|
| 299 |
+
0.019298303604125978,
|
| 300 |
+
0.01927577590942383,
|
| 301 |
+
0.01921843147277832,
|
| 302 |
+
0.01928704071044922,
|
| 303 |
+
0.019368959426879884,
|
| 304 |
+
0.019204095840454103,
|
| 305 |
+
0.01924300765991211,
|
| 306 |
+
0.019224576950073242,
|
| 307 |
+
0.019276800155639647,
|
| 308 |
+
0.019555328369140625,
|
| 309 |
+
0.01923276710510254,
|
| 310 |
+
0.019219455718994142,
|
| 311 |
+
0.01940377616882324,
|
| 312 |
+
0.019216384887695313,
|
| 313 |
+
0.019314687728881837,
|
| 314 |
+
0.019273727416992188,
|
| 315 |
+
0.01920204734802246,
|
| 316 |
+
0.019358720779418945,
|
| 317 |
+
0.019320831298828126,
|
| 318 |
+
0.019404863357543944,
|
| 319 |
+
0.019256256103515626,
|
| 320 |
+
0.01927577590942383,
|
| 321 |
+
0.01924198341369629,
|
| 322 |
+
0.01926553535461426,
|
| 323 |
+
0.019408895492553712,
|
| 324 |
+
0.019363840103149413,
|
| 325 |
+
0.01924300765991211,
|
| 326 |
+
0.019273727416992188,
|
| 327 |
+
0.01925836753845215,
|
| 328 |
+
0.019201055526733398,
|
| 329 |
+
0.019383264541625977,
|
| 330 |
+
0.01942527961730957,
|
| 331 |
+
0.01923788833618164,
|
| 332 |
+
0.01926655960083008,
|
| 333 |
+
0.019284992218017577,
|
| 334 |
+
0.01904537582397461,
|
| 335 |
+
0.01923174476623535,
|
| 336 |
+
0.019100671768188478,
|
| 337 |
+
0.01923379135131836,
|
| 338 |
+
0.01905254364013672,
|
| 339 |
+
0.019177471160888672,
|
| 340 |
+
0.019115007400512696,
|
| 341 |
+
0.019112960815429687,
|
| 342 |
+
0.019269632339477538,
|
| 343 |
+
0.019306495666503908,
|
| 344 |
+
0.019276800155639647,
|
| 345 |
+
0.019099647521972657,
|
| 346 |
+
0.019134464263916014,
|
| 347 |
+
0.019129344940185547,
|
| 348 |
+
0.019179519653320314,
|
| 349 |
+
0.019361791610717775,
|
| 350 |
+
0.019298303604125978,
|
| 351 |
+
0.019133440017700197,
|
| 352 |
+
0.019131391525268555,
|
| 353 |
+
0.019143680572509765,
|
| 354 |
+
0.019128320693969726,
|
| 355 |
+
0.019252223968505858,
|
| 356 |
+
0.01918976020812988,
|
| 357 |
+
0.019136512756347656,
|
| 358 |
+
0.019160064697265625,
|
| 359 |
+
0.019133440017700197,
|
| 360 |
+
0.019120128631591796,
|
| 361 |
+
0.019300352096557616,
|
| 362 |
+
0.019164159774780275,
|
| 363 |
+
0.019092479705810548,
|
| 364 |
+
0.019103744506835937,
|
| 365 |
+
0.01922150421142578,
|
| 366 |
+
0.019150848388671874,
|
| 367 |
+
0.019308544158935546,
|
| 368 |
+
0.019276800155639647,
|
| 369 |
+
0.019115007400512696,
|
| 370 |
+
0.019159040451049804,
|
| 371 |
+
0.019153919219970703,
|
| 372 |
+
0.019146751403808594,
|
| 373 |
+
0.01927065658569336,
|
| 374 |
+
0.019105791091918945,
|
| 375 |
+
0.019283967971801756,
|
| 376 |
+
0.019108863830566408,
|
| 377 |
+
0.019070976257324217,
|
| 378 |
+
0.019134464263916014,
|
| 379 |
+
0.019156991958618166,
|
| 380 |
+
0.01921843147277832,
|
| 381 |
+
0.01920204734802246,
|
| 382 |
+
0.019136512756347656,
|
| 383 |
+
0.019133440017700197,
|
| 384 |
+
0.0191016960144043,
|
| 385 |
+
0.019103744506835937,
|
| 386 |
+
0.019252223968505858,
|
| 387 |
+
0.01925836753845215,
|
| 388 |
+
0.019168256759643554,
|
| 389 |
+
0.01888768005371094,
|
| 390 |
+
0.018975744247436522,
|
| 391 |
+
0.018945024490356444,
|
| 392 |
+
0.019158016204833983,
|
| 393 |
+
0.019414016723632813,
|
| 394 |
+
0.01925324821472168,
|
| 395 |
+
0.01927168083190918,
|
| 396 |
+
0.01926553535461426,
|
| 397 |
+
0.01928294372558594,
|
| 398 |
+
0.01942527961730957,
|
| 399 |
+
0.0192174072265625,
|
| 400 |
+
0.019486719131469727,
|
| 401 |
+
0.020765695571899414,
|
| 402 |
+
0.019989503860473632,
|
| 403 |
+
0.019313663482666017,
|
| 404 |
+
0.01927884864807129,
|
| 405 |
+
0.019290111541748048,
|
| 406 |
+
0.020001792907714845,
|
| 407 |
+
0.019475456237792968,
|
| 408 |
+
0.01921433639526367,
|
| 409 |
+
0.0192225284576416,
|
| 410 |
+
0.0192174072265625,
|
| 411 |
+
0.01947238349914551,
|
| 412 |
+
0.019336191177368164,
|
| 413 |
+
0.019335168838500977,
|
| 414 |
+
0.019288063049316406,
|
| 415 |
+
0.019478527069091797,
|
| 416 |
+
0.019330047607421876,
|
| 417 |
+
0.019311616897583008,
|
| 418 |
+
0.019292160034179686,
|
| 419 |
+
0.019301376342773437,
|
| 420 |
+
0.01942835235595703,
|
| 421 |
+
0.01945497512817383,
|
| 422 |
+
0.01927065658569336,
|
| 423 |
+
0.019388416290283202,
|
| 424 |
+
0.01926044845581055,
|
| 425 |
+
0.01927676773071289,
|
| 426 |
+
0.019366912841796875,
|
| 427 |
+
0.0194334716796875,
|
| 428 |
+
0.019252223968505858,
|
| 429 |
+
0.019273727416992188,
|
| 430 |
+
0.01923072052001953,
|
| 431 |
+
0.01922355270385742,
|
| 432 |
+
0.019349504470825195,
|
| 433 |
+
0.01944473648071289,
|
| 434 |
+
0.019300352096557616,
|
| 435 |
+
0.01927987289428711,
|
| 436 |
+
0.019298303604125978,
|
| 437 |
+
0.019281919479370118,
|
| 438 |
+
0.019543039321899415,
|
| 439 |
+
0.01930342483520508,
|
| 440 |
+
0.019280895233154297,
|
| 441 |
+
0.019341312408447265,
|
| 442 |
+
0.019307519912719725,
|
| 443 |
+
0.019364864349365234,
|
| 444 |
+
0.0194334716796875,
|
| 445 |
+
0.02039910316467285,
|
| 446 |
+
0.02006630325317383,
|
| 447 |
+
0.019965951919555663,
|
| 448 |
+
0.019981311798095702,
|
| 449 |
+
0.020060159683227538,
|
| 450 |
+
0.01991372871398926,
|
| 451 |
+
0.019969024658203126,
|
| 452 |
+
0.019877887725830077,
|
| 453 |
+
0.021353471755981446,
|
| 454 |
+
0.02032640075683594,
|
| 455 |
+
0.02002943992614746,
|
| 456 |
+
0.01945702362060547,
|
| 457 |
+
0.0192542724609375,
|
| 458 |
+
0.01961881637573242,
|
| 459 |
+
0.020060159683227538,
|
| 460 |
+
0.01987583923339844,
|
| 461 |
+
0.01984000015258789,
|
| 462 |
+
0.019743743896484374
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 51.69896443674927
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1335.775232,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 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.434404296875,
|
| 15 |
+
"mean": 11.434404296875,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.434404296875,
|
| 18 |
+
"p90": 11.434404296875,
|
| 19 |
+
"p95": 11.434404296875,
|
| 20 |
+
"p99": 11.434404296875,
|
| 21 |
+
"values": [
|
| 22 |
+
11.434404296875
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1777.188864,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 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.04124406433105469,
|
| 42 |
+
"mean": 0.020622032165527344,
|
| 43 |
+
"stdev": 6.401634216308613e-05,
|
| 44 |
+
"p50": 0.020622032165527344,
|
| 45 |
+
"p90": 0.02067324523925781,
|
| 46 |
+
"p95": 0.020679646873474122,
|
| 47 |
+
"p99": 0.02068476818084717,
|
| 48 |
+
"values": [
|
| 49 |
+
0.020558015823364258,
|
| 50 |
+
0.02068604850769043
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 339.4427835148805
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1835.2128,
|
| 64 |
+
"max_global_vram": 6800.539648,
|
| 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.91337548828125,
|
| 73 |
+
"mean": 2.456687744140625,
|
| 74 |
+
"stdev": 0.003428710937499968,
|
| 75 |
+
"p50": 2.456687744140625,
|
| 76 |
+
"p90": 2.459430712890625,
|
| 77 |
+
"p95": 2.4597735839843753,
|
| 78 |
+
"p99": 2.460047880859375,
|
| 79 |
+
"values": [
|
| 80 |
+
2.453259033203125,
|
| 81 |
+
2.460116455078125
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 51.69562159574574
|
| 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.913057790756221,
|
| 97 |
+
"mean": 0.019342747207701672,
|
| 98 |
+
"stdev": 0.0002929164810771794,
|
| 99 |
+
"p50": 0.01927014446258545,
|
| 100 |
+
"p90": 0.01976084499359131,
|
| 101 |
+
"p95": 0.019967027378082276,
|
| 102 |
+
"p99": 0.020360570888519287,
|
| 103 |
+
"values": [
|
| 104 |
+
0.019086336135864256,
|
| 105 |
+
0.019172351837158205,
|
| 106 |
+
0.019215360641479492,
|
| 107 |
+
0.019087360382080077,
|
| 108 |
+
0.019120128631591796,
|
| 109 |
+
0.019171327590942384,
|
| 110 |
+
0.019122175216674805,
|
| 111 |
+
0.019331071853637697,
|
| 112 |
+
0.019130367279052735,
|
| 113 |
+
0.019119104385375976,
|
| 114 |
+
0.019130367279052735,
|
| 115 |
+
0.019113983154296875,
|
| 116 |
+
0.019092479705810548,
|
| 117 |
+
0.019126272201538085,
|
| 118 |
+
0.019162111282348633,
|
| 119 |
+
0.019449855804443358,
|
| 120 |
+
0.019170303344726563,
|
| 121 |
+
0.019169279098510742,
|
| 122 |
+
0.019155967712402345,
|
| 123 |
+
0.019182592391967773,
|
| 124 |
+
0.019281919479370118,
|
| 125 |
+
0.019264511108398438,
|
| 126 |
+
0.019116031646728517,
|
| 127 |
+
0.019132415771484376,
|
| 128 |
+
0.019102720260620116,
|
| 129 |
+
0.019364864349365234,
|
| 130 |
+
0.019952640533447266,
|
| 131 |
+
0.0192225284576416,
|
| 132 |
+
0.019326976776123047,
|
| 133 |
+
0.019169279098510742,
|
| 134 |
+
0.01960140800476074,
|
| 135 |
+
0.019813375473022463,
|
| 136 |
+
0.019761152267456054,
|
| 137 |
+
0.02003763198852539,
|
| 138 |
+
0.01983283233642578,
|
| 139 |
+
0.019812351226806642,
|
| 140 |
+
0.019936256408691407,
|
| 141 |
+
0.019755008697509766,
|
| 142 |
+
0.019746816635131836,
|
| 143 |
+
0.019696640014648437,
|
| 144 |
+
0.019732479095458985,
|
| 145 |
+
0.019252223968505858,
|
| 146 |
+
0.019317760467529296,
|
| 147 |
+
0.019760128021240234,
|
| 148 |
+
0.01906790351867676,
|
| 149 |
+
0.019126272201538085,
|
| 150 |
+
0.01908121681213379,
|
| 151 |
+
0.01927065658569336,
|
| 152 |
+
0.01924403190612793,
|
| 153 |
+
0.019080192565917968,
|
| 154 |
+
0.019174400329589843,
|
| 155 |
+
0.019127296447753905,
|
| 156 |
+
0.019808256149291992,
|
| 157 |
+
0.01986457633972168,
|
| 158 |
+
0.019273727416992188,
|
| 159 |
+
0.019153919219970703,
|
| 160 |
+
0.019159040451049804,
|
| 161 |
+
0.01920614433288574,
|
| 162 |
+
0.01922047996520996,
|
| 163 |
+
0.0194334716796875,
|
| 164 |
+
0.01924710464477539,
|
| 165 |
+
0.019408895492553712,
|
| 166 |
+
0.019293184280395507,
|
| 167 |
+
0.01927065658569336,
|
| 168 |
+
0.01922559928894043,
|
| 169 |
+
0.019277824401855468,
|
| 170 |
+
0.019430400848388672,
|
| 171 |
+
0.0192542724609375,
|
| 172 |
+
0.01944576072692871,
|
| 173 |
+
0.01924095916748047,
|
| 174 |
+
0.01923379135131836,
|
| 175 |
+
0.01922355270385742,
|
| 176 |
+
0.01927168083190918,
|
| 177 |
+
0.0194467830657959,
|
| 178 |
+
0.01922867202758789,
|
| 179 |
+
0.01921843147277832,
|
| 180 |
+
0.01925324821472168,
|
| 181 |
+
0.01927884864807129,
|
| 182 |
+
0.01927168083190918,
|
| 183 |
+
0.019224576950073242,
|
| 184 |
+
0.01942118453979492,
|
| 185 |
+
0.01928294372558594,
|
| 186 |
+
0.01920614433288574,
|
| 187 |
+
0.019404800415039062,
|
| 188 |
+
0.01924300765991211,
|
| 189 |
+
0.01927987289428711,
|
| 190 |
+
0.0192491512298584,
|
| 191 |
+
0.01926553535461426,
|
| 192 |
+
0.019362815856933592,
|
| 193 |
+
0.01948569679260254,
|
| 194 |
+
0.019298303604125978,
|
| 195 |
+
0.01927577590942383,
|
| 196 |
+
0.01921843147277832,
|
| 197 |
+
0.01928704071044922,
|
| 198 |
+
0.019368959426879884,
|
| 199 |
+
0.019204095840454103,
|
| 200 |
+
0.01924300765991211,
|
| 201 |
+
0.019224576950073242,
|
| 202 |
+
0.019276800155639647,
|
| 203 |
+
0.019555328369140625,
|
| 204 |
+
0.01923276710510254,
|
| 205 |
+
0.019219455718994142,
|
| 206 |
+
0.01940377616882324,
|
| 207 |
+
0.019216384887695313,
|
| 208 |
+
0.019314687728881837,
|
| 209 |
+
0.019273727416992188,
|
| 210 |
+
0.01920204734802246,
|
| 211 |
+
0.019358720779418945,
|
| 212 |
+
0.019320831298828126,
|
| 213 |
+
0.019404863357543944,
|
| 214 |
+
0.019256256103515626,
|
| 215 |
+
0.01927577590942383,
|
| 216 |
+
0.01924198341369629,
|
| 217 |
+
0.01926553535461426,
|
| 218 |
+
0.019408895492553712,
|
| 219 |
+
0.019363840103149413,
|
| 220 |
+
0.01924300765991211,
|
| 221 |
+
0.019273727416992188,
|
| 222 |
+
0.01925836753845215,
|
| 223 |
+
0.019201055526733398,
|
| 224 |
+
0.019383264541625977,
|
| 225 |
+
0.01942527961730957,
|
| 226 |
+
0.01923788833618164,
|
| 227 |
+
0.01926655960083008,
|
| 228 |
+
0.019284992218017577,
|
| 229 |
+
0.01904537582397461,
|
| 230 |
+
0.01923174476623535,
|
| 231 |
+
0.019100671768188478,
|
| 232 |
+
0.01923379135131836,
|
| 233 |
+
0.01905254364013672,
|
| 234 |
+
0.019177471160888672,
|
| 235 |
+
0.019115007400512696,
|
| 236 |
+
0.019112960815429687,
|
| 237 |
+
0.019269632339477538,
|
| 238 |
+
0.019306495666503908,
|
| 239 |
+
0.019276800155639647,
|
| 240 |
+
0.019099647521972657,
|
| 241 |
+
0.019134464263916014,
|
| 242 |
+
0.019129344940185547,
|
| 243 |
+
0.019179519653320314,
|
| 244 |
+
0.019361791610717775,
|
| 245 |
+
0.019298303604125978,
|
| 246 |
+
0.019133440017700197,
|
| 247 |
+
0.019131391525268555,
|
| 248 |
+
0.019143680572509765,
|
| 249 |
+
0.019128320693969726,
|
| 250 |
+
0.019252223968505858,
|
| 251 |
+
0.01918976020812988,
|
| 252 |
+
0.019136512756347656,
|
| 253 |
+
0.019160064697265625,
|
| 254 |
+
0.019133440017700197,
|
| 255 |
+
0.019120128631591796,
|
| 256 |
+
0.019300352096557616,
|
| 257 |
+
0.019164159774780275,
|
| 258 |
+
0.019092479705810548,
|
| 259 |
+
0.019103744506835937,
|
| 260 |
+
0.01922150421142578,
|
| 261 |
+
0.019150848388671874,
|
| 262 |
+
0.019308544158935546,
|
| 263 |
+
0.019276800155639647,
|
| 264 |
+
0.019115007400512696,
|
| 265 |
+
0.019159040451049804,
|
| 266 |
+
0.019153919219970703,
|
| 267 |
+
0.019146751403808594,
|
| 268 |
+
0.01927065658569336,
|
| 269 |
+
0.019105791091918945,
|
| 270 |
+
0.019283967971801756,
|
| 271 |
+
0.019108863830566408,
|
| 272 |
+
0.019070976257324217,
|
| 273 |
+
0.019134464263916014,
|
| 274 |
+
0.019156991958618166,
|
| 275 |
+
0.01921843147277832,
|
| 276 |
+
0.01920204734802246,
|
| 277 |
+
0.019136512756347656,
|
| 278 |
+
0.019133440017700197,
|
| 279 |
+
0.0191016960144043,
|
| 280 |
+
0.019103744506835937,
|
| 281 |
+
0.019252223968505858,
|
| 282 |
+
0.01925836753845215,
|
| 283 |
+
0.019168256759643554,
|
| 284 |
+
0.01888768005371094,
|
| 285 |
+
0.018975744247436522,
|
| 286 |
+
0.018945024490356444,
|
| 287 |
+
0.019158016204833983,
|
| 288 |
+
0.019414016723632813,
|
| 289 |
+
0.01925324821472168,
|
| 290 |
+
0.01927168083190918,
|
| 291 |
+
0.01926553535461426,
|
| 292 |
+
0.01928294372558594,
|
| 293 |
+
0.01942527961730957,
|
| 294 |
+
0.0192174072265625,
|
| 295 |
+
0.019486719131469727,
|
| 296 |
+
0.020765695571899414,
|
| 297 |
+
0.019989503860473632,
|
| 298 |
+
0.019313663482666017,
|
| 299 |
+
0.01927884864807129,
|
| 300 |
+
0.019290111541748048,
|
| 301 |
+
0.020001792907714845,
|
| 302 |
+
0.019475456237792968,
|
| 303 |
+
0.01921433639526367,
|
| 304 |
+
0.0192225284576416,
|
| 305 |
+
0.0192174072265625,
|
| 306 |
+
0.01947238349914551,
|
| 307 |
+
0.019336191177368164,
|
| 308 |
+
0.019335168838500977,
|
| 309 |
+
0.019288063049316406,
|
| 310 |
+
0.019478527069091797,
|
| 311 |
+
0.019330047607421876,
|
| 312 |
+
0.019311616897583008,
|
| 313 |
+
0.019292160034179686,
|
| 314 |
+
0.019301376342773437,
|
| 315 |
+
0.01942835235595703,
|
| 316 |
+
0.01945497512817383,
|
| 317 |
+
0.01927065658569336,
|
| 318 |
+
0.019388416290283202,
|
| 319 |
+
0.01926044845581055,
|
| 320 |
+
0.01927676773071289,
|
| 321 |
+
0.019366912841796875,
|
| 322 |
+
0.0194334716796875,
|
| 323 |
+
0.019252223968505858,
|
| 324 |
+
0.019273727416992188,
|
| 325 |
+
0.01923072052001953,
|
| 326 |
+
0.01922355270385742,
|
| 327 |
+
0.019349504470825195,
|
| 328 |
+
0.01944473648071289,
|
| 329 |
+
0.019300352096557616,
|
| 330 |
+
0.01927987289428711,
|
| 331 |
+
0.019298303604125978,
|
| 332 |
+
0.019281919479370118,
|
| 333 |
+
0.019543039321899415,
|
| 334 |
+
0.01930342483520508,
|
| 335 |
+
0.019280895233154297,
|
| 336 |
+
0.019341312408447265,
|
| 337 |
+
0.019307519912719725,
|
| 338 |
+
0.019364864349365234,
|
| 339 |
+
0.0194334716796875,
|
| 340 |
+
0.02039910316467285,
|
| 341 |
+
0.02006630325317383,
|
| 342 |
+
0.019965951919555663,
|
| 343 |
+
0.019981311798095702,
|
| 344 |
+
0.020060159683227538,
|
| 345 |
+
0.01991372871398926,
|
| 346 |
+
0.019969024658203126,
|
| 347 |
+
0.019877887725830077,
|
| 348 |
+
0.021353471755981446,
|
| 349 |
+
0.02032640075683594,
|
| 350 |
+
0.02002943992614746,
|
| 351 |
+
0.01945702362060547,
|
| 352 |
+
0.0192542724609375,
|
| 353 |
+
0.01961881637573242,
|
| 354 |
+
0.020060159683227538,
|
| 355 |
+
0.01987583923339844,
|
| 356 |
+
0.01984000015258789,
|
| 357 |
+
0.019743743896484374
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 51.69896443674927
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020622032165527344,
|
| 7 |
+
"prefill.throughput.value": 339.4427835148805,
|
| 8 |
+
"decode.latency.mean": 2.456687744140625,
|
| 9 |
+
"decode.throughput.value": 51.69562159574574,
|
| 10 |
+
"per_token.latency.mean": 0.019342747207701672,
|
| 11 |
+
"per_token.throughput.value": 51.69896443674927
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 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/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=True
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-09-07 02:42:18,788[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-09-07 02:42:21,212[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 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/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=False
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1335.263232,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 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.437876953125,
|
| 120 |
+
"mean": 11.437876953125,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.437876953125,
|
| 123 |
+
"p90": 11.437876953125,
|
| 124 |
+
"p95": 11.437876953125,
|
| 125 |
+
"p99": 11.437876953125,
|
| 126 |
+
"values": [
|
| 127 |
+
11.437876953125
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1836.777472,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 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.04510265731811523,
|
| 147 |
+
"mean": 0.022551328659057616,
|
| 148 |
+
"stdev": 7.971191406250071e-05,
|
| 149 |
+
"p50": 0.022551328659057616,
|
| 150 |
+
"p90": 0.02261509819030762,
|
| 151 |
+
"p95": 0.022623069381713868,
|
| 152 |
+
"p99": 0.02262944633483887,
|
| 153 |
+
"values": [
|
| 154 |
+
0.022471616744995117,
|
| 155 |
+
0.02263104057312012
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 310.402996906725
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1863.692288,
|
| 169 |
+
"max_global_vram": 6800.539648,
|
| 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.2664306640625,
|
| 178 |
+
"mean": 2.63321533203125,
|
| 179 |
+
"stdev": 0.011829345703124883,
|
| 180 |
+
"p50": 2.63321533203125,
|
| 181 |
+
"p90": 2.64267880859375,
|
| 182 |
+
"p95": 2.643861743164062,
|
| 183 |
+
"p99": 2.6448080908203124,
|
| 184 |
+
"values": [
|
| 185 |
+
2.645044677734375,
|
| 186 |
+
2.621385986328125
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 48.230009317936336
|
| 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.266164733886718,
|
| 202 |
+
"mean": 0.020732932023176057,
|
| 203 |
+
"stdev": 0.00033867787473972636,
|
| 204 |
+
"p50": 0.020599295616149902,
|
| 205 |
+
"p90": 0.02119208984375,
|
| 206 |
+
"p95": 0.021380915069580078,
|
| 207 |
+
"p99": 0.022013910274505614,
|
| 208 |
+
"values": [
|
| 209 |
+
0.020728832244873048,
|
| 210 |
+
0.021399551391601563,
|
| 211 |
+
0.02122547149658203,
|
| 212 |
+
0.021234687805175782,
|
| 213 |
+
0.02146406364440918,
|
| 214 |
+
0.02145484733581543,
|
| 215 |
+
0.02128895950317383,
|
| 216 |
+
0.021166080474853514,
|
| 217 |
+
0.021124095916748048,
|
| 218 |
+
0.021408767700195314,
|
| 219 |
+
0.021325855255126952,
|
| 220 |
+
0.020862943649291994,
|
| 221 |
+
0.020768768310546876,
|
| 222 |
+
0.021242879867553712,
|
| 223 |
+
0.020954111099243163,
|
| 224 |
+
0.02045849609375,
|
| 225 |
+
0.020929536819458007,
|
| 226 |
+
0.02243071937561035,
|
| 227 |
+
0.02148044776916504,
|
| 228 |
+
0.021370880126953123,
|
| 229 |
+
0.02142310333251953,
|
| 230 |
+
0.021525503158569336,
|
| 231 |
+
0.02062233543395996,
|
| 232 |
+
0.020677631378173827,
|
| 233 |
+
0.020571136474609376,
|
| 234 |
+
0.021154815673828126,
|
| 235 |
+
0.020568063735961914,
|
| 236 |
+
0.020519935607910156,
|
| 237 |
+
0.02081996726989746,
|
| 238 |
+
0.020743167877197266,
|
| 239 |
+
0.020599807739257812,
|
| 240 |
+
0.020536319732666015,
|
| 241 |
+
0.020557823181152343,
|
| 242 |
+
0.02063667106628418,
|
| 243 |
+
0.020748287200927733,
|
| 244 |
+
0.020561920166015626,
|
| 245 |
+
0.02064691162109375,
|
| 246 |
+
0.02051584053039551,
|
| 247 |
+
0.020557823181152343,
|
| 248 |
+
0.020790271759033203,
|
| 249 |
+
0.020586496353149415,
|
| 250 |
+
0.020617216110229493,
|
| 251 |
+
0.020593664169311524,
|
| 252 |
+
0.020523008346557618,
|
| 253 |
+
0.020666368484497072,
|
| 254 |
+
0.020566015243530272,
|
| 255 |
+
0.02061311912536621,
|
| 256 |
+
0.020533248901367186,
|
| 257 |
+
0.020602880477905275,
|
| 258 |
+
0.020600831985473633,
|
| 259 |
+
0.0206059513092041,
|
| 260 |
+
0.020714496612548827,
|
| 261 |
+
0.020732927322387695,
|
| 262 |
+
0.02061414337158203,
|
| 263 |
+
0.020694015502929687,
|
| 264 |
+
0.020485120773315428,
|
| 265 |
+
0.02040934371948242,
|
| 266 |
+
0.020733951568603515,
|
| 267 |
+
0.020767744064331056,
|
| 268 |
+
0.02064793586730957,
|
| 269 |
+
0.02059878349304199,
|
| 270 |
+
0.020553728103637696,
|
| 271 |
+
0.02068992042541504,
|
| 272 |
+
0.020505599975585938,
|
| 273 |
+
0.020749311447143554,
|
| 274 |
+
0.020559871673583984,
|
| 275 |
+
0.02057318305969238,
|
| 276 |
+
0.020567039489746093,
|
| 277 |
+
0.020551679611206054,
|
| 278 |
+
0.020701183319091796,
|
| 279 |
+
0.020592639923095703,
|
| 280 |
+
0.020567039489746093,
|
| 281 |
+
0.020700159072875975,
|
| 282 |
+
0.020624383926391602,
|
| 283 |
+
0.020580352783203124,
|
| 284 |
+
0.020561920166015626,
|
| 285 |
+
0.020592639923095703,
|
| 286 |
+
0.02072166442871094,
|
| 287 |
+
0.02064896011352539,
|
| 288 |
+
0.020722688674926756,
|
| 289 |
+
0.020531200408935548,
|
| 290 |
+
0.020674560546875,
|
| 291 |
+
0.020501504898071288,
|
| 292 |
+
0.020497407913208008,
|
| 293 |
+
0.020552703857421875,
|
| 294 |
+
0.02052403259277344,
|
| 295 |
+
0.020892671585083008,
|
| 296 |
+
0.02063871955871582,
|
| 297 |
+
0.020516864776611327,
|
| 298 |
+
0.020571136474609376,
|
| 299 |
+
0.023204864501953124,
|
| 300 |
+
0.021644287109375,
|
| 301 |
+
0.021311487197875977,
|
| 302 |
+
0.020753408432006838,
|
| 303 |
+
0.02051481628417969,
|
| 304 |
+
0.020913152694702147,
|
| 305 |
+
0.02119987106323242,
|
| 306 |
+
0.021325824737548828,
|
| 307 |
+
0.021275648117065428,
|
| 308 |
+
0.021134336471557616,
|
| 309 |
+
0.020575231552124023,
|
| 310 |
+
0.020592639923095703,
|
| 311 |
+
0.020793344497680662,
|
| 312 |
+
0.021176319122314453,
|
| 313 |
+
0.021129215240478515,
|
| 314 |
+
0.021198848724365234,
|
| 315 |
+
0.021183488845825195,
|
| 316 |
+
0.021129215240478515,
|
| 317 |
+
0.021113855361938477,
|
| 318 |
+
0.021337087631225587,
|
| 319 |
+
0.020540416717529295,
|
| 320 |
+
0.020537343978881836,
|
| 321 |
+
0.020513792037963868,
|
| 322 |
+
0.020556800842285155,
|
| 323 |
+
0.020666368484497072,
|
| 324 |
+
0.020550655364990233,
|
| 325 |
+
0.020496383666992187,
|
| 326 |
+
0.020553728103637696,
|
| 327 |
+
0.020568063735961914,
|
| 328 |
+
0.02110873603820801,
|
| 329 |
+
0.02110054397583008,
|
| 330 |
+
0.02110771179199219,
|
| 331 |
+
0.02047590446472168,
|
| 332 |
+
0.02046463966369629,
|
| 333 |
+
0.02050048065185547,
|
| 334 |
+
0.020797439575195312,
|
| 335 |
+
0.021195775985717775,
|
| 336 |
+
0.021627904891967774,
|
| 337 |
+
0.022458368301391602,
|
| 338 |
+
0.021448703765869142,
|
| 339 |
+
0.020612096786499022,
|
| 340 |
+
0.020561952590942383,
|
| 341 |
+
0.02066633605957031,
|
| 342 |
+
0.020559871673583984,
|
| 343 |
+
0.02067558479309082,
|
| 344 |
+
0.020516864776611327,
|
| 345 |
+
0.020552703857421875,
|
| 346 |
+
0.020502527236938475,
|
| 347 |
+
0.020485120773315428,
|
| 348 |
+
0.02065510368347168,
|
| 349 |
+
0.020525056838989256,
|
| 350 |
+
0.020518911361694335,
|
| 351 |
+
0.020568063735961914,
|
| 352 |
+
0.020666368484497072,
|
| 353 |
+
0.020539392471313478,
|
| 354 |
+
0.020525056838989256,
|
| 355 |
+
0.02048409652709961,
|
| 356 |
+
0.020541439056396483,
|
| 357 |
+
0.020710399627685547,
|
| 358 |
+
0.020798463821411133,
|
| 359 |
+
0.020557823181152343,
|
| 360 |
+
0.020527103424072265,
|
| 361 |
+
0.02057318305969238,
|
| 362 |
+
0.020528127670288086,
|
| 363 |
+
0.0206878719329834,
|
| 364 |
+
0.02071244812011719,
|
| 365 |
+
0.020540416717529295,
|
| 366 |
+
0.020552703857421875,
|
| 367 |
+
0.02051584053039551,
|
| 368 |
+
0.020509695053100584,
|
| 369 |
+
0.02068889617919922,
|
| 370 |
+
0.020543487548828124,
|
| 371 |
+
0.020579328536987306,
|
| 372 |
+
0.020699136734008788,
|
| 373 |
+
0.020547584533691408,
|
| 374 |
+
0.020528127670288086,
|
| 375 |
+
0.02050764846801758,
|
| 376 |
+
0.020564992904663085,
|
| 377 |
+
0.020510719299316405,
|
| 378 |
+
0.0206376953125,
|
| 379 |
+
0.020540416717529295,
|
| 380 |
+
0.020546560287475587,
|
| 381 |
+
0.02051481628417969,
|
| 382 |
+
0.020550655364990233,
|
| 383 |
+
0.020801536560058592,
|
| 384 |
+
0.020610048294067384,
|
| 385 |
+
0.020555776596069338,
|
| 386 |
+
0.02056505584716797,
|
| 387 |
+
0.02056083106994629,
|
| 388 |
+
0.020501504898071288,
|
| 389 |
+
0.020356096267700196,
|
| 390 |
+
0.020332544326782227,
|
| 391 |
+
0.02062745666503906,
|
| 392 |
+
0.020552703857421875,
|
| 393 |
+
0.020596736907958983,
|
| 394 |
+
0.02072166442871094,
|
| 395 |
+
0.020568063735961914,
|
| 396 |
+
0.020575231552124023,
|
| 397 |
+
0.020558847427368163,
|
| 398 |
+
0.020569087982177735,
|
| 399 |
+
0.020853759765625,
|
| 400 |
+
0.020564992904663085,
|
| 401 |
+
0.020523008346557618,
|
| 402 |
+
0.020555776596069338,
|
| 403 |
+
0.020566015243530272,
|
| 404 |
+
0.02069811248779297,
|
| 405 |
+
0.020568063735961914,
|
| 406 |
+
0.02061516761779785,
|
| 407 |
+
0.020593664169311524,
|
| 408 |
+
0.020580352783203124,
|
| 409 |
+
0.020583423614501953,
|
| 410 |
+
0.020748287200927733,
|
| 411 |
+
0.02063871955871582,
|
| 412 |
+
0.02088140869140625,
|
| 413 |
+
0.020634624481201173,
|
| 414 |
+
0.02061516761779785,
|
| 415 |
+
0.020568063735961914,
|
| 416 |
+
0.020583423614501953,
|
| 417 |
+
0.020758527755737305,
|
| 418 |
+
0.020714496612548827,
|
| 419 |
+
0.02057318305969238,
|
| 420 |
+
0.020571136474609376,
|
| 421 |
+
0.020544511795043945,
|
| 422 |
+
0.020571136474609376,
|
| 423 |
+
0.020727807998657227,
|
| 424 |
+
0.020583423614501953,
|
| 425 |
+
0.02063052749633789,
|
| 426 |
+
0.02059775924682617,
|
| 427 |
+
0.020546560287475587,
|
| 428 |
+
0.020563968658447264,
|
| 429 |
+
0.020534271240234374,
|
| 430 |
+
0.020714496612548827,
|
| 431 |
+
0.02107699203491211,
|
| 432 |
+
0.021161983489990235,
|
| 433 |
+
0.020557823181152343,
|
| 434 |
+
0.02067558479309082,
|
| 435 |
+
0.02058956718444824,
|
| 436 |
+
0.02062233543395996,
|
| 437 |
+
0.02064076805114746,
|
| 438 |
+
0.020626432418823244,
|
| 439 |
+
0.020730880737304686,
|
| 440 |
+
0.020723712921142577,
|
| 441 |
+
0.020580352783203124,
|
| 442 |
+
0.020571136474609376,
|
| 443 |
+
0.020595712661743162,
|
| 444 |
+
0.020561920166015626,
|
| 445 |
+
0.020840448379516603,
|
| 446 |
+
0.020560895919799805,
|
| 447 |
+
0.020561920166015626,
|
| 448 |
+
0.02061414337158203,
|
| 449 |
+
0.02059775924682617,
|
| 450 |
+
0.020754432678222655,
|
| 451 |
+
0.020593664169311524,
|
| 452 |
+
0.020556800842285155,
|
| 453 |
+
0.020715520858764647,
|
| 454 |
+
0.020750335693359375,
|
| 455 |
+
0.020571136474609376,
|
| 456 |
+
0.020549631118774413,
|
| 457 |
+
0.020562944412231447,
|
| 458 |
+
0.020755456924438476,
|
| 459 |
+
0.020761600494384767,
|
| 460 |
+
0.020593664169311524,
|
| 461 |
+
0.020619264602661135,
|
| 462 |
+
0.0206561279296875
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 48.2324448313515
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1335.263232,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 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.437876953125,
|
| 15 |
+
"mean": 11.437876953125,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.437876953125,
|
| 18 |
+
"p90": 11.437876953125,
|
| 19 |
+
"p95": 11.437876953125,
|
| 20 |
+
"p99": 11.437876953125,
|
| 21 |
+
"values": [
|
| 22 |
+
11.437876953125
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1836.777472,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 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.04510265731811523,
|
| 42 |
+
"mean": 0.022551328659057616,
|
| 43 |
+
"stdev": 7.971191406250071e-05,
|
| 44 |
+
"p50": 0.022551328659057616,
|
| 45 |
+
"p90": 0.02261509819030762,
|
| 46 |
+
"p95": 0.022623069381713868,
|
| 47 |
+
"p99": 0.02262944633483887,
|
| 48 |
+
"values": [
|
| 49 |
+
0.022471616744995117,
|
| 50 |
+
0.02263104057312012
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 310.402996906725
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1863.692288,
|
| 64 |
+
"max_global_vram": 6800.539648,
|
| 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.2664306640625,
|
| 73 |
+
"mean": 2.63321533203125,
|
| 74 |
+
"stdev": 0.011829345703124883,
|
| 75 |
+
"p50": 2.63321533203125,
|
| 76 |
+
"p90": 2.64267880859375,
|
| 77 |
+
"p95": 2.643861743164062,
|
| 78 |
+
"p99": 2.6448080908203124,
|
| 79 |
+
"values": [
|
| 80 |
+
2.645044677734375,
|
| 81 |
+
2.621385986328125
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 48.230009317936336
|
| 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.266164733886718,
|
| 97 |
+
"mean": 0.020732932023176057,
|
| 98 |
+
"stdev": 0.00033867787473972636,
|
| 99 |
+
"p50": 0.020599295616149902,
|
| 100 |
+
"p90": 0.02119208984375,
|
| 101 |
+
"p95": 0.021380915069580078,
|
| 102 |
+
"p99": 0.022013910274505614,
|
| 103 |
+
"values": [
|
| 104 |
+
0.020728832244873048,
|
| 105 |
+
0.021399551391601563,
|
| 106 |
+
0.02122547149658203,
|
| 107 |
+
0.021234687805175782,
|
| 108 |
+
0.02146406364440918,
|
| 109 |
+
0.02145484733581543,
|
| 110 |
+
0.02128895950317383,
|
| 111 |
+
0.021166080474853514,
|
| 112 |
+
0.021124095916748048,
|
| 113 |
+
0.021408767700195314,
|
| 114 |
+
0.021325855255126952,
|
| 115 |
+
0.020862943649291994,
|
| 116 |
+
0.020768768310546876,
|
| 117 |
+
0.021242879867553712,
|
| 118 |
+
0.020954111099243163,
|
| 119 |
+
0.02045849609375,
|
| 120 |
+
0.020929536819458007,
|
| 121 |
+
0.02243071937561035,
|
| 122 |
+
0.02148044776916504,
|
| 123 |
+
0.021370880126953123,
|
| 124 |
+
0.02142310333251953,
|
| 125 |
+
0.021525503158569336,
|
| 126 |
+
0.02062233543395996,
|
| 127 |
+
0.020677631378173827,
|
| 128 |
+
0.020571136474609376,
|
| 129 |
+
0.021154815673828126,
|
| 130 |
+
0.020568063735961914,
|
| 131 |
+
0.020519935607910156,
|
| 132 |
+
0.02081996726989746,
|
| 133 |
+
0.020743167877197266,
|
| 134 |
+
0.020599807739257812,
|
| 135 |
+
0.020536319732666015,
|
| 136 |
+
0.020557823181152343,
|
| 137 |
+
0.02063667106628418,
|
| 138 |
+
0.020748287200927733,
|
| 139 |
+
0.020561920166015626,
|
| 140 |
+
0.02064691162109375,
|
| 141 |
+
0.02051584053039551,
|
| 142 |
+
0.020557823181152343,
|
| 143 |
+
0.020790271759033203,
|
| 144 |
+
0.020586496353149415,
|
| 145 |
+
0.020617216110229493,
|
| 146 |
+
0.020593664169311524,
|
| 147 |
+
0.020523008346557618,
|
| 148 |
+
0.020666368484497072,
|
| 149 |
+
0.020566015243530272,
|
| 150 |
+
0.02061311912536621,
|
| 151 |
+
0.020533248901367186,
|
| 152 |
+
0.020602880477905275,
|
| 153 |
+
0.020600831985473633,
|
| 154 |
+
0.0206059513092041,
|
| 155 |
+
0.020714496612548827,
|
| 156 |
+
0.020732927322387695,
|
| 157 |
+
0.02061414337158203,
|
| 158 |
+
0.020694015502929687,
|
| 159 |
+
0.020485120773315428,
|
| 160 |
+
0.02040934371948242,
|
| 161 |
+
0.020733951568603515,
|
| 162 |
+
0.020767744064331056,
|
| 163 |
+
0.02064793586730957,
|
| 164 |
+
0.02059878349304199,
|
| 165 |
+
0.020553728103637696,
|
| 166 |
+
0.02068992042541504,
|
| 167 |
+
0.020505599975585938,
|
| 168 |
+
0.020749311447143554,
|
| 169 |
+
0.020559871673583984,
|
| 170 |
+
0.02057318305969238,
|
| 171 |
+
0.020567039489746093,
|
| 172 |
+
0.020551679611206054,
|
| 173 |
+
0.020701183319091796,
|
| 174 |
+
0.020592639923095703,
|
| 175 |
+
0.020567039489746093,
|
| 176 |
+
0.020700159072875975,
|
| 177 |
+
0.020624383926391602,
|
| 178 |
+
0.020580352783203124,
|
| 179 |
+
0.020561920166015626,
|
| 180 |
+
0.020592639923095703,
|
| 181 |
+
0.02072166442871094,
|
| 182 |
+
0.02064896011352539,
|
| 183 |
+
0.020722688674926756,
|
| 184 |
+
0.020531200408935548,
|
| 185 |
+
0.020674560546875,
|
| 186 |
+
0.020501504898071288,
|
| 187 |
+
0.020497407913208008,
|
| 188 |
+
0.020552703857421875,
|
| 189 |
+
0.02052403259277344,
|
| 190 |
+
0.020892671585083008,
|
| 191 |
+
0.02063871955871582,
|
| 192 |
+
0.020516864776611327,
|
| 193 |
+
0.020571136474609376,
|
| 194 |
+
0.023204864501953124,
|
| 195 |
+
0.021644287109375,
|
| 196 |
+
0.021311487197875977,
|
| 197 |
+
0.020753408432006838,
|
| 198 |
+
0.02051481628417969,
|
| 199 |
+
0.020913152694702147,
|
| 200 |
+
0.02119987106323242,
|
| 201 |
+
0.021325824737548828,
|
| 202 |
+
0.021275648117065428,
|
| 203 |
+
0.021134336471557616,
|
| 204 |
+
0.020575231552124023,
|
| 205 |
+
0.020592639923095703,
|
| 206 |
+
0.020793344497680662,
|
| 207 |
+
0.021176319122314453,
|
| 208 |
+
0.021129215240478515,
|
| 209 |
+
0.021198848724365234,
|
| 210 |
+
0.021183488845825195,
|
| 211 |
+
0.021129215240478515,
|
| 212 |
+
0.021113855361938477,
|
| 213 |
+
0.021337087631225587,
|
| 214 |
+
0.020540416717529295,
|
| 215 |
+
0.020537343978881836,
|
| 216 |
+
0.020513792037963868,
|
| 217 |
+
0.020556800842285155,
|
| 218 |
+
0.020666368484497072,
|
| 219 |
+
0.020550655364990233,
|
| 220 |
+
0.020496383666992187,
|
| 221 |
+
0.020553728103637696,
|
| 222 |
+
0.020568063735961914,
|
| 223 |
+
0.02110873603820801,
|
| 224 |
+
0.02110054397583008,
|
| 225 |
+
0.02110771179199219,
|
| 226 |
+
0.02047590446472168,
|
| 227 |
+
0.02046463966369629,
|
| 228 |
+
0.02050048065185547,
|
| 229 |
+
0.020797439575195312,
|
| 230 |
+
0.021195775985717775,
|
| 231 |
+
0.021627904891967774,
|
| 232 |
+
0.022458368301391602,
|
| 233 |
+
0.021448703765869142,
|
| 234 |
+
0.020612096786499022,
|
| 235 |
+
0.020561952590942383,
|
| 236 |
+
0.02066633605957031,
|
| 237 |
+
0.020559871673583984,
|
| 238 |
+
0.02067558479309082,
|
| 239 |
+
0.020516864776611327,
|
| 240 |
+
0.020552703857421875,
|
| 241 |
+
0.020502527236938475,
|
| 242 |
+
0.020485120773315428,
|
| 243 |
+
0.02065510368347168,
|
| 244 |
+
0.020525056838989256,
|
| 245 |
+
0.020518911361694335,
|
| 246 |
+
0.020568063735961914,
|
| 247 |
+
0.020666368484497072,
|
| 248 |
+
0.020539392471313478,
|
| 249 |
+
0.020525056838989256,
|
| 250 |
+
0.02048409652709961,
|
| 251 |
+
0.020541439056396483,
|
| 252 |
+
0.020710399627685547,
|
| 253 |
+
0.020798463821411133,
|
| 254 |
+
0.020557823181152343,
|
| 255 |
+
0.020527103424072265,
|
| 256 |
+
0.02057318305969238,
|
| 257 |
+
0.020528127670288086,
|
| 258 |
+
0.0206878719329834,
|
| 259 |
+
0.02071244812011719,
|
| 260 |
+
0.020540416717529295,
|
| 261 |
+
0.020552703857421875,
|
| 262 |
+
0.02051584053039551,
|
| 263 |
+
0.020509695053100584,
|
| 264 |
+
0.02068889617919922,
|
| 265 |
+
0.020543487548828124,
|
| 266 |
+
0.020579328536987306,
|
| 267 |
+
0.020699136734008788,
|
| 268 |
+
0.020547584533691408,
|
| 269 |
+
0.020528127670288086,
|
| 270 |
+
0.02050764846801758,
|
| 271 |
+
0.020564992904663085,
|
| 272 |
+
0.020510719299316405,
|
| 273 |
+
0.0206376953125,
|
| 274 |
+
0.020540416717529295,
|
| 275 |
+
0.020546560287475587,
|
| 276 |
+
0.02051481628417969,
|
| 277 |
+
0.020550655364990233,
|
| 278 |
+
0.020801536560058592,
|
| 279 |
+
0.020610048294067384,
|
| 280 |
+
0.020555776596069338,
|
| 281 |
+
0.02056505584716797,
|
| 282 |
+
0.02056083106994629,
|
| 283 |
+
0.020501504898071288,
|
| 284 |
+
0.020356096267700196,
|
| 285 |
+
0.020332544326782227,
|
| 286 |
+
0.02062745666503906,
|
| 287 |
+
0.020552703857421875,
|
| 288 |
+
0.020596736907958983,
|
| 289 |
+
0.02072166442871094,
|
| 290 |
+
0.020568063735961914,
|
| 291 |
+
0.020575231552124023,
|
| 292 |
+
0.020558847427368163,
|
| 293 |
+
0.020569087982177735,
|
| 294 |
+
0.020853759765625,
|
| 295 |
+
0.020564992904663085,
|
| 296 |
+
0.020523008346557618,
|
| 297 |
+
0.020555776596069338,
|
| 298 |
+
0.020566015243530272,
|
| 299 |
+
0.02069811248779297,
|
| 300 |
+
0.020568063735961914,
|
| 301 |
+
0.02061516761779785,
|
| 302 |
+
0.020593664169311524,
|
| 303 |
+
0.020580352783203124,
|
| 304 |
+
0.020583423614501953,
|
| 305 |
+
0.020748287200927733,
|
| 306 |
+
0.02063871955871582,
|
| 307 |
+
0.02088140869140625,
|
| 308 |
+
0.020634624481201173,
|
| 309 |
+
0.02061516761779785,
|
| 310 |
+
0.020568063735961914,
|
| 311 |
+
0.020583423614501953,
|
| 312 |
+
0.020758527755737305,
|
| 313 |
+
0.020714496612548827,
|
| 314 |
+
0.02057318305969238,
|
| 315 |
+
0.020571136474609376,
|
| 316 |
+
0.020544511795043945,
|
| 317 |
+
0.020571136474609376,
|
| 318 |
+
0.020727807998657227,
|
| 319 |
+
0.020583423614501953,
|
| 320 |
+
0.02063052749633789,
|
| 321 |
+
0.02059775924682617,
|
| 322 |
+
0.020546560287475587,
|
| 323 |
+
0.020563968658447264,
|
| 324 |
+
0.020534271240234374,
|
| 325 |
+
0.020714496612548827,
|
| 326 |
+
0.02107699203491211,
|
| 327 |
+
0.021161983489990235,
|
| 328 |
+
0.020557823181152343,
|
| 329 |
+
0.02067558479309082,
|
| 330 |
+
0.02058956718444824,
|
| 331 |
+
0.02062233543395996,
|
| 332 |
+
0.02064076805114746,
|
| 333 |
+
0.020626432418823244,
|
| 334 |
+
0.020730880737304686,
|
| 335 |
+
0.020723712921142577,
|
| 336 |
+
0.020580352783203124,
|
| 337 |
+
0.020571136474609376,
|
| 338 |
+
0.020595712661743162,
|
| 339 |
+
0.020561920166015626,
|
| 340 |
+
0.020840448379516603,
|
| 341 |
+
0.020560895919799805,
|
| 342 |
+
0.020561920166015626,
|
| 343 |
+
0.02061414337158203,
|
| 344 |
+
0.02059775924682617,
|
| 345 |
+
0.020754432678222655,
|
| 346 |
+
0.020593664169311524,
|
| 347 |
+
0.020556800842285155,
|
| 348 |
+
0.020715520858764647,
|
| 349 |
+
0.020750335693359375,
|
| 350 |
+
0.020571136474609376,
|
| 351 |
+
0.020549631118774413,
|
| 352 |
+
0.020562944412231447,
|
| 353 |
+
0.020755456924438476,
|
| 354 |
+
0.020761600494384767,
|
| 355 |
+
0.020593664169311524,
|
| 356 |
+
0.020619264602661135,
|
| 357 |
+
0.0206561279296875
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 48.2324448313515
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.022551328659057616,
|
| 7 |
+
"prefill.throughput.value": 310.402996906725,
|
| 8 |
+
"decode.latency.mean": 2.63321533203125,
|
| 9 |
+
"decode.throughput.value": 48.230009317936336,
|
| 10 |
+
"per_token.latency.mean": 0.020732932023176057,
|
| 11 |
+
"per_token.throughput.value": 48.2324448313515
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 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/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${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/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=True
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": true,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1353.351168,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 13.642583984375,
|
| 120 |
+
"mean": 13.642583984375,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 13.642583984375,
|
| 123 |
+
"p90": 13.642583984375,
|
| 124 |
+
"p95": 13.642583984375,
|
| 125 |
+
"p99": 13.642583984375,
|
| 126 |
+
"values": [
|
| 127 |
+
13.642583984375
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1932.9024,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 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.02852188777923584,
|
| 147 |
+
"mean": 0.01426094388961792,
|
| 148 |
+
"stdev": 0.0003147358894348149,
|
| 149 |
+
"p50": 0.01426094388961792,
|
| 150 |
+
"p90": 0.014512732601165772,
|
| 151 |
+
"p95": 0.014544206190109253,
|
| 152 |
+
"p99": 0.014569385061264038,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013946208000183105,
|
| 155 |
+
0.014575679779052735
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 490.85110033257024
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2106.281984,
|
| 169 |
+
"max_global_vram": 6060.244992,
|
| 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.1270985107421874,
|
| 178 |
+
"mean": 1.5635492553710937,
|
| 179 |
+
"stdev": 0.0011759643554687393,
|
| 180 |
+
"p50": 1.5635492553710937,
|
| 181 |
+
"p90": 1.5644900268554687,
|
| 182 |
+
"p95": 1.5646076232910155,
|
| 183 |
+
"p99": 1.564701700439453,
|
| 184 |
+
"values": [
|
| 185 |
+
1.562373291015625,
|
| 186 |
+
1.5647252197265624
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.2254552031095
|
| 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.126789118766784,
|
| 202 |
+
"mean": 0.012310193380971592,
|
| 203 |
+
"stdev": 5.856617698944486e-05,
|
| 204 |
+
"p50": 0.012296192169189453,
|
| 205 |
+
"p90": 0.012324864387512208,
|
| 206 |
+
"p95": 0.012386764621734618,
|
| 207 |
+
"p99": 0.012623595952987671,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012313599586486817,
|
| 210 |
+
0.012286975860595703,
|
| 211 |
+
0.012296192169189453,
|
| 212 |
+
0.012315648078918457,
|
| 213 |
+
0.012298239707946777,
|
| 214 |
+
0.012295167922973632,
|
| 215 |
+
0.01229312038421631,
|
| 216 |
+
0.012280832290649414,
|
| 217 |
+
0.012292096138000488,
|
| 218 |
+
0.012289024353027344,
|
| 219 |
+
0.012298239707946777,
|
| 220 |
+
0.012291071891784668,
|
| 221 |
+
0.012310527801513671,
|
| 222 |
+
0.012298239707946777,
|
| 223 |
+
0.012294143676757812,
|
| 224 |
+
0.012297216415405274,
|
| 225 |
+
0.012289024353027344,
|
| 226 |
+
0.012289024353027344,
|
| 227 |
+
0.012299263954162597,
|
| 228 |
+
0.012280832290649414,
|
| 229 |
+
0.012271615982055664,
|
| 230 |
+
0.012288000106811523,
|
| 231 |
+
0.012297247886657715,
|
| 232 |
+
0.012291040420532227,
|
| 233 |
+
0.012283904075622559,
|
| 234 |
+
0.012286975860595703,
|
| 235 |
+
0.012316672325134278,
|
| 236 |
+
0.012296192169189453,
|
| 237 |
+
0.012299263954162597,
|
| 238 |
+
0.012286975860595703,
|
| 239 |
+
0.012282879829406738,
|
| 240 |
+
0.012288000106811523,
|
| 241 |
+
0.01227673625946045,
|
| 242 |
+
0.012288000106811523,
|
| 243 |
+
0.012294143676757812,
|
| 244 |
+
0.012310527801513671,
|
| 245 |
+
0.012306431770324706,
|
| 246 |
+
0.012423168182373047,
|
| 247 |
+
0.012317695617675782,
|
| 248 |
+
0.012336128234863282,
|
| 249 |
+
0.012282879829406738,
|
| 250 |
+
0.012453951835632325,
|
| 251 |
+
0.012297151565551757,
|
| 252 |
+
0.012285951614379884,
|
| 253 |
+
0.012291071891784668,
|
| 254 |
+
0.012288000106811523,
|
| 255 |
+
0.012312576293945313,
|
| 256 |
+
0.012291071891784668,
|
| 257 |
+
0.012282879829406738,
|
| 258 |
+
0.012290047645568849,
|
| 259 |
+
0.01227673625946045,
|
| 260 |
+
0.012288000106811523,
|
| 261 |
+
0.012318719863891601,
|
| 262 |
+
0.012279808044433594,
|
| 263 |
+
0.012332032203674317,
|
| 264 |
+
0.012300288200378418,
|
| 265 |
+
0.012289024353027344,
|
| 266 |
+
0.012285951614379884,
|
| 267 |
+
0.012290047645568849,
|
| 268 |
+
0.012298239707946777,
|
| 269 |
+
0.012288000106811523,
|
| 270 |
+
0.012303359985351562,
|
| 271 |
+
0.012292096138000488,
|
| 272 |
+
0.012296192169189453,
|
| 273 |
+
0.012295167922973632,
|
| 274 |
+
0.012310527801513671,
|
| 275 |
+
0.012313599586486817,
|
| 276 |
+
0.012300288200378418,
|
| 277 |
+
0.012282879829406738,
|
| 278 |
+
0.012283904075622559,
|
| 279 |
+
0.012294143676757812,
|
| 280 |
+
0.012436479568481444,
|
| 281 |
+
0.012285951614379884,
|
| 282 |
+
0.012285951614379884,
|
| 283 |
+
0.012296192169189453,
|
| 284 |
+
0.012298239707946777,
|
| 285 |
+
0.012290047645568849,
|
| 286 |
+
0.012289024353027344,
|
| 287 |
+
0.012309503555297852,
|
| 288 |
+
0.012308575630187989,
|
| 289 |
+
0.012276639938354492,
|
| 290 |
+
0.012302335739135742,
|
| 291 |
+
0.012285951614379884,
|
| 292 |
+
0.012292096138000488,
|
| 293 |
+
0.012286975860595703,
|
| 294 |
+
0.012292096138000488,
|
| 295 |
+
0.012289024353027344,
|
| 296 |
+
0.012285951614379884,
|
| 297 |
+
0.012277759552001954,
|
| 298 |
+
0.01228492832183838,
|
| 299 |
+
0.012308480262756348,
|
| 300 |
+
0.012291071891784668,
|
| 301 |
+
0.012312576293945313,
|
| 302 |
+
0.012311552047729492,
|
| 303 |
+
0.012298239707946777,
|
| 304 |
+
0.012292096138000488,
|
| 305 |
+
0.012291071891784668,
|
| 306 |
+
0.012286975860595703,
|
| 307 |
+
0.012303359985351562,
|
| 308 |
+
0.012301312446594239,
|
| 309 |
+
0.012286975860595703,
|
| 310 |
+
0.012291071891784668,
|
| 311 |
+
0.01227673625946045,
|
| 312 |
+
0.012296192169189453,
|
| 313 |
+
0.012281855583190919,
|
| 314 |
+
0.012290047645568849,
|
| 315 |
+
0.012327936172485352,
|
| 316 |
+
0.012291071891784668,
|
| 317 |
+
0.012314623832702636,
|
| 318 |
+
0.012294143676757812,
|
| 319 |
+
0.012361727714538574,
|
| 320 |
+
0.012307456016540527,
|
| 321 |
+
0.01229312038421631,
|
| 322 |
+
0.012296192169189453,
|
| 323 |
+
0.012439552307128907,
|
| 324 |
+
0.012279808044433594,
|
| 325 |
+
0.012292096138000488,
|
| 326 |
+
0.012312576293945313,
|
| 327 |
+
0.012318719863891601,
|
| 328 |
+
0.012315648078918457,
|
| 329 |
+
0.012328960418701173,
|
| 330 |
+
0.012298239707946777,
|
| 331 |
+
0.012294143676757812,
|
| 332 |
+
0.012297216415405274,
|
| 333 |
+
0.012301312446594239,
|
| 334 |
+
0.012299263954162597,
|
| 335 |
+
0.012305407524108887,
|
| 336 |
+
0.01273036766052246,
|
| 337 |
+
0.012781567573547363,
|
| 338 |
+
0.0123504638671875,
|
| 339 |
+
0.012324864387512208,
|
| 340 |
+
0.012311552047729492,
|
| 341 |
+
0.012328960418701173,
|
| 342 |
+
0.012319744110107422,
|
| 343 |
+
0.012289024353027344,
|
| 344 |
+
0.012296192169189453,
|
| 345 |
+
0.012304384231567383,
|
| 346 |
+
0.012290047645568849,
|
| 347 |
+
0.012277759552001954,
|
| 348 |
+
0.012518400192260743,
|
| 349 |
+
0.012324864387512208,
|
| 350 |
+
0.012434432029724121,
|
| 351 |
+
0.012298239707946777,
|
| 352 |
+
0.012313599586486817,
|
| 353 |
+
0.012310527801513671,
|
| 354 |
+
0.012312576293945313,
|
| 355 |
+
0.012300288200378418,
|
| 356 |
+
0.012304384231567383,
|
| 357 |
+
0.012281855583190919,
|
| 358 |
+
0.012298239707946777,
|
| 359 |
+
0.012418047904968262,
|
| 360 |
+
0.012362751960754394,
|
| 361 |
+
0.01228492832183838,
|
| 362 |
+
0.012294143676757812,
|
| 363 |
+
0.012295167922973632,
|
| 364 |
+
0.012317695617675782,
|
| 365 |
+
0.01229312038421631,
|
| 366 |
+
0.012318719863891601,
|
| 367 |
+
0.012306431770324706,
|
| 368 |
+
0.01229312038421631,
|
| 369 |
+
0.012307456016540527,
|
| 370 |
+
0.012294143676757812,
|
| 371 |
+
0.012278783798217773,
|
| 372 |
+
0.012292096138000488,
|
| 373 |
+
0.012289024353027344,
|
| 374 |
+
0.012312576293945313,
|
| 375 |
+
0.012292096138000488,
|
| 376 |
+
0.01228492832183838,
|
| 377 |
+
0.012324864387512208,
|
| 378 |
+
0.012298239707946777,
|
| 379 |
+
0.012302335739135742,
|
| 380 |
+
0.012318719863891601,
|
| 381 |
+
0.012310527801513671,
|
| 382 |
+
0.012305407524108887,
|
| 383 |
+
0.012292096138000488,
|
| 384 |
+
0.01244057559967041,
|
| 385 |
+
0.01229312038421631,
|
| 386 |
+
0.012295167922973632,
|
| 387 |
+
0.012297216415405274,
|
| 388 |
+
0.012313599586486817,
|
| 389 |
+
0.012311552047729492,
|
| 390 |
+
0.01228492832183838,
|
| 391 |
+
0.012300288200378418,
|
| 392 |
+
0.012300288200378418,
|
| 393 |
+
0.012307456016540527,
|
| 394 |
+
0.012301312446594239,
|
| 395 |
+
0.012303359985351562,
|
| 396 |
+
0.012369919776916503,
|
| 397 |
+
0.012305407524108887,
|
| 398 |
+
0.012290047645568849,
|
| 399 |
+
0.012319744110107422,
|
| 400 |
+
0.012291071891784668,
|
| 401 |
+
0.012304384231567383,
|
| 402 |
+
0.012297216415405274,
|
| 403 |
+
0.012297216415405274,
|
| 404 |
+
0.012280832290649414,
|
| 405 |
+
0.012305407524108887,
|
| 406 |
+
0.012709888458251953,
|
| 407 |
+
0.012547072410583495,
|
| 408 |
+
0.012328960418701173,
|
| 409 |
+
0.012286975860595703,
|
| 410 |
+
0.012294143676757812,
|
| 411 |
+
0.012288000106811523,
|
| 412 |
+
0.012288000106811523,
|
| 413 |
+
0.012304384231567383,
|
| 414 |
+
0.012305407524108887,
|
| 415 |
+
0.01229312038421631,
|
| 416 |
+
0.012323840141296387,
|
| 417 |
+
0.012315711975097655,
|
| 418 |
+
0.012324799537658691,
|
| 419 |
+
0.012296192169189453,
|
| 420 |
+
0.012288000106811523,
|
| 421 |
+
0.012288000106811523,
|
| 422 |
+
0.012281855583190919,
|
| 423 |
+
0.012271615982055664,
|
| 424 |
+
0.012294143676757812,
|
| 425 |
+
0.012300288200378418,
|
| 426 |
+
0.01228492832183838,
|
| 427 |
+
0.012289024353027344,
|
| 428 |
+
0.012289055824279785,
|
| 429 |
+
0.012296159744262696,
|
| 430 |
+
0.012297216415405274,
|
| 431 |
+
0.012292096138000488,
|
| 432 |
+
0.012299263954162597,
|
| 433 |
+
0.012288000106811523,
|
| 434 |
+
0.012308480262756348,
|
| 435 |
+
0.012296192169189453,
|
| 436 |
+
0.012279808044433594,
|
| 437 |
+
0.012309503555297852,
|
| 438 |
+
0.012279808044433594,
|
| 439 |
+
0.012280832290649414,
|
| 440 |
+
0.012282879829406738,
|
| 441 |
+
0.012286975860595703,
|
| 442 |
+
0.012429311752319335,
|
| 443 |
+
0.012314623832702636,
|
| 444 |
+
0.012305407524108887,
|
| 445 |
+
0.012309503555297852,
|
| 446 |
+
0.012304384231567383,
|
| 447 |
+
0.012286975860595703,
|
| 448 |
+
0.01229312038421631,
|
| 449 |
+
0.012309503555297852,
|
| 450 |
+
0.01235968017578125,
|
| 451 |
+
0.012280832290649414,
|
| 452 |
+
0.012288000106811523,
|
| 453 |
+
0.012292096138000488,
|
| 454 |
+
0.01229312038421631,
|
| 455 |
+
0.012288000106811523,
|
| 456 |
+
0.012333056449890138,
|
| 457 |
+
0.012304384231567383,
|
| 458 |
+
0.012306431770324706,
|
| 459 |
+
0.012300288200378418,
|
| 460 |
+
0.012303359985351562,
|
| 461 |
+
0.012303359985351562,
|
| 462 |
+
0.012285951614379884
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.23349236298303
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1353.351168,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 13.642583984375,
|
| 15 |
+
"mean": 13.642583984375,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 13.642583984375,
|
| 18 |
+
"p90": 13.642583984375,
|
| 19 |
+
"p95": 13.642583984375,
|
| 20 |
+
"p99": 13.642583984375,
|
| 21 |
+
"values": [
|
| 22 |
+
13.642583984375
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1932.9024,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 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.02852188777923584,
|
| 42 |
+
"mean": 0.01426094388961792,
|
| 43 |
+
"stdev": 0.0003147358894348149,
|
| 44 |
+
"p50": 0.01426094388961792,
|
| 45 |
+
"p90": 0.014512732601165772,
|
| 46 |
+
"p95": 0.014544206190109253,
|
| 47 |
+
"p99": 0.014569385061264038,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013946208000183105,
|
| 50 |
+
0.014575679779052735
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 490.85110033257024
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2106.281984,
|
| 64 |
+
"max_global_vram": 6060.244992,
|
| 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.1270985107421874,
|
| 73 |
+
"mean": 1.5635492553710937,
|
| 74 |
+
"stdev": 0.0011759643554687393,
|
| 75 |
+
"p50": 1.5635492553710937,
|
| 76 |
+
"p90": 1.5644900268554687,
|
| 77 |
+
"p95": 1.5646076232910155,
|
| 78 |
+
"p99": 1.564701700439453,
|
| 79 |
+
"values": [
|
| 80 |
+
1.562373291015625,
|
| 81 |
+
1.5647252197265624
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.2254552031095
|
| 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.126789118766784,
|
| 97 |
+
"mean": 0.012310193380971592,
|
| 98 |
+
"stdev": 5.856617698944486e-05,
|
| 99 |
+
"p50": 0.012296192169189453,
|
| 100 |
+
"p90": 0.012324864387512208,
|
| 101 |
+
"p95": 0.012386764621734618,
|
| 102 |
+
"p99": 0.012623595952987671,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012313599586486817,
|
| 105 |
+
0.012286975860595703,
|
| 106 |
+
0.012296192169189453,
|
| 107 |
+
0.012315648078918457,
|
| 108 |
+
0.012298239707946777,
|
| 109 |
+
0.012295167922973632,
|
| 110 |
+
0.01229312038421631,
|
| 111 |
+
0.012280832290649414,
|
| 112 |
+
0.012292096138000488,
|
| 113 |
+
0.012289024353027344,
|
| 114 |
+
0.012298239707946777,
|
| 115 |
+
0.012291071891784668,
|
| 116 |
+
0.012310527801513671,
|
| 117 |
+
0.012298239707946777,
|
| 118 |
+
0.012294143676757812,
|
| 119 |
+
0.012297216415405274,
|
| 120 |
+
0.012289024353027344,
|
| 121 |
+
0.012289024353027344,
|
| 122 |
+
0.012299263954162597,
|
| 123 |
+
0.012280832290649414,
|
| 124 |
+
0.012271615982055664,
|
| 125 |
+
0.012288000106811523,
|
| 126 |
+
0.012297247886657715,
|
| 127 |
+
0.012291040420532227,
|
| 128 |
+
0.012283904075622559,
|
| 129 |
+
0.012286975860595703,
|
| 130 |
+
0.012316672325134278,
|
| 131 |
+
0.012296192169189453,
|
| 132 |
+
0.012299263954162597,
|
| 133 |
+
0.012286975860595703,
|
| 134 |
+
0.012282879829406738,
|
| 135 |
+
0.012288000106811523,
|
| 136 |
+
0.01227673625946045,
|
| 137 |
+
0.012288000106811523,
|
| 138 |
+
0.012294143676757812,
|
| 139 |
+
0.012310527801513671,
|
| 140 |
+
0.012306431770324706,
|
| 141 |
+
0.012423168182373047,
|
| 142 |
+
0.012317695617675782,
|
| 143 |
+
0.012336128234863282,
|
| 144 |
+
0.012282879829406738,
|
| 145 |
+
0.012453951835632325,
|
| 146 |
+
0.012297151565551757,
|
| 147 |
+
0.012285951614379884,
|
| 148 |
+
0.012291071891784668,
|
| 149 |
+
0.012288000106811523,
|
| 150 |
+
0.012312576293945313,
|
| 151 |
+
0.012291071891784668,
|
| 152 |
+
0.012282879829406738,
|
| 153 |
+
0.012290047645568849,
|
| 154 |
+
0.01227673625946045,
|
| 155 |
+
0.012288000106811523,
|
| 156 |
+
0.012318719863891601,
|
| 157 |
+
0.012279808044433594,
|
| 158 |
+
0.012332032203674317,
|
| 159 |
+
0.012300288200378418,
|
| 160 |
+
0.012289024353027344,
|
| 161 |
+
0.012285951614379884,
|
| 162 |
+
0.012290047645568849,
|
| 163 |
+
0.012298239707946777,
|
| 164 |
+
0.012288000106811523,
|
| 165 |
+
0.012303359985351562,
|
| 166 |
+
0.012292096138000488,
|
| 167 |
+
0.012296192169189453,
|
| 168 |
+
0.012295167922973632,
|
| 169 |
+
0.012310527801513671,
|
| 170 |
+
0.012313599586486817,
|
| 171 |
+
0.012300288200378418,
|
| 172 |
+
0.012282879829406738,
|
| 173 |
+
0.012283904075622559,
|
| 174 |
+
0.012294143676757812,
|
| 175 |
+
0.012436479568481444,
|
| 176 |
+
0.012285951614379884,
|
| 177 |
+
0.012285951614379884,
|
| 178 |
+
0.012296192169189453,
|
| 179 |
+
0.012298239707946777,
|
| 180 |
+
0.012290047645568849,
|
| 181 |
+
0.012289024353027344,
|
| 182 |
+
0.012309503555297852,
|
| 183 |
+
0.012308575630187989,
|
| 184 |
+
0.012276639938354492,
|
| 185 |
+
0.012302335739135742,
|
| 186 |
+
0.012285951614379884,
|
| 187 |
+
0.012292096138000488,
|
| 188 |
+
0.012286975860595703,
|
| 189 |
+
0.012292096138000488,
|
| 190 |
+
0.012289024353027344,
|
| 191 |
+
0.012285951614379884,
|
| 192 |
+
0.012277759552001954,
|
| 193 |
+
0.01228492832183838,
|
| 194 |
+
0.012308480262756348,
|
| 195 |
+
0.012291071891784668,
|
| 196 |
+
0.012312576293945313,
|
| 197 |
+
0.012311552047729492,
|
| 198 |
+
0.012298239707946777,
|
| 199 |
+
0.012292096138000488,
|
| 200 |
+
0.012291071891784668,
|
| 201 |
+
0.012286975860595703,
|
| 202 |
+
0.012303359985351562,
|
| 203 |
+
0.012301312446594239,
|
| 204 |
+
0.012286975860595703,
|
| 205 |
+
0.012291071891784668,
|
| 206 |
+
0.01227673625946045,
|
| 207 |
+
0.012296192169189453,
|
| 208 |
+
0.012281855583190919,
|
| 209 |
+
0.012290047645568849,
|
| 210 |
+
0.012327936172485352,
|
| 211 |
+
0.012291071891784668,
|
| 212 |
+
0.012314623832702636,
|
| 213 |
+
0.012294143676757812,
|
| 214 |
+
0.012361727714538574,
|
| 215 |
+
0.012307456016540527,
|
| 216 |
+
0.01229312038421631,
|
| 217 |
+
0.012296192169189453,
|
| 218 |
+
0.012439552307128907,
|
| 219 |
+
0.012279808044433594,
|
| 220 |
+
0.012292096138000488,
|
| 221 |
+
0.012312576293945313,
|
| 222 |
+
0.012318719863891601,
|
| 223 |
+
0.012315648078918457,
|
| 224 |
+
0.012328960418701173,
|
| 225 |
+
0.012298239707946777,
|
| 226 |
+
0.012294143676757812,
|
| 227 |
+
0.012297216415405274,
|
| 228 |
+
0.012301312446594239,
|
| 229 |
+
0.012299263954162597,
|
| 230 |
+
0.012305407524108887,
|
| 231 |
+
0.01273036766052246,
|
| 232 |
+
0.012781567573547363,
|
| 233 |
+
0.0123504638671875,
|
| 234 |
+
0.012324864387512208,
|
| 235 |
+
0.012311552047729492,
|
| 236 |
+
0.012328960418701173,
|
| 237 |
+
0.012319744110107422,
|
| 238 |
+
0.012289024353027344,
|
| 239 |
+
0.012296192169189453,
|
| 240 |
+
0.012304384231567383,
|
| 241 |
+
0.012290047645568849,
|
| 242 |
+
0.012277759552001954,
|
| 243 |
+
0.012518400192260743,
|
| 244 |
+
0.012324864387512208,
|
| 245 |
+
0.012434432029724121,
|
| 246 |
+
0.012298239707946777,
|
| 247 |
+
0.012313599586486817,
|
| 248 |
+
0.012310527801513671,
|
| 249 |
+
0.012312576293945313,
|
| 250 |
+
0.012300288200378418,
|
| 251 |
+
0.012304384231567383,
|
| 252 |
+
0.012281855583190919,
|
| 253 |
+
0.012298239707946777,
|
| 254 |
+
0.012418047904968262,
|
| 255 |
+
0.012362751960754394,
|
| 256 |
+
0.01228492832183838,
|
| 257 |
+
0.012294143676757812,
|
| 258 |
+
0.012295167922973632,
|
| 259 |
+
0.012317695617675782,
|
| 260 |
+
0.01229312038421631,
|
| 261 |
+
0.012318719863891601,
|
| 262 |
+
0.012306431770324706,
|
| 263 |
+
0.01229312038421631,
|
| 264 |
+
0.012307456016540527,
|
| 265 |
+
0.012294143676757812,
|
| 266 |
+
0.012278783798217773,
|
| 267 |
+
0.012292096138000488,
|
| 268 |
+
0.012289024353027344,
|
| 269 |
+
0.012312576293945313,
|
| 270 |
+
0.012292096138000488,
|
| 271 |
+
0.01228492832183838,
|
| 272 |
+
0.012324864387512208,
|
| 273 |
+
0.012298239707946777,
|
| 274 |
+
0.012302335739135742,
|
| 275 |
+
0.012318719863891601,
|
| 276 |
+
0.012310527801513671,
|
| 277 |
+
0.012305407524108887,
|
| 278 |
+
0.012292096138000488,
|
| 279 |
+
0.01244057559967041,
|
| 280 |
+
0.01229312038421631,
|
| 281 |
+
0.012295167922973632,
|
| 282 |
+
0.012297216415405274,
|
| 283 |
+
0.012313599586486817,
|
| 284 |
+
0.012311552047729492,
|
| 285 |
+
0.01228492832183838,
|
| 286 |
+
0.012300288200378418,
|
| 287 |
+
0.012300288200378418,
|
| 288 |
+
0.012307456016540527,
|
| 289 |
+
0.012301312446594239,
|
| 290 |
+
0.012303359985351562,
|
| 291 |
+
0.012369919776916503,
|
| 292 |
+
0.012305407524108887,
|
| 293 |
+
0.012290047645568849,
|
| 294 |
+
0.012319744110107422,
|
| 295 |
+
0.012291071891784668,
|
| 296 |
+
0.012304384231567383,
|
| 297 |
+
0.012297216415405274,
|
| 298 |
+
0.012297216415405274,
|
| 299 |
+
0.012280832290649414,
|
| 300 |
+
0.012305407524108887,
|
| 301 |
+
0.012709888458251953,
|
| 302 |
+
0.012547072410583495,
|
| 303 |
+
0.012328960418701173,
|
| 304 |
+
0.012286975860595703,
|
| 305 |
+
0.012294143676757812,
|
| 306 |
+
0.012288000106811523,
|
| 307 |
+
0.012288000106811523,
|
| 308 |
+
0.012304384231567383,
|
| 309 |
+
0.012305407524108887,
|
| 310 |
+
0.01229312038421631,
|
| 311 |
+
0.012323840141296387,
|
| 312 |
+
0.012315711975097655,
|
| 313 |
+
0.012324799537658691,
|
| 314 |
+
0.012296192169189453,
|
| 315 |
+
0.012288000106811523,
|
| 316 |
+
0.012288000106811523,
|
| 317 |
+
0.012281855583190919,
|
| 318 |
+
0.012271615982055664,
|
| 319 |
+
0.012294143676757812,
|
| 320 |
+
0.012300288200378418,
|
| 321 |
+
0.01228492832183838,
|
| 322 |
+
0.012289024353027344,
|
| 323 |
+
0.012289055824279785,
|
| 324 |
+
0.012296159744262696,
|
| 325 |
+
0.012297216415405274,
|
| 326 |
+
0.012292096138000488,
|
| 327 |
+
0.012299263954162597,
|
| 328 |
+
0.012288000106811523,
|
| 329 |
+
0.012308480262756348,
|
| 330 |
+
0.012296192169189453,
|
| 331 |
+
0.012279808044433594,
|
| 332 |
+
0.012309503555297852,
|
| 333 |
+
0.012279808044433594,
|
| 334 |
+
0.012280832290649414,
|
| 335 |
+
0.012282879829406738,
|
| 336 |
+
0.012286975860595703,
|
| 337 |
+
0.012429311752319335,
|
| 338 |
+
0.012314623832702636,
|
| 339 |
+
0.012305407524108887,
|
| 340 |
+
0.012309503555297852,
|
| 341 |
+
0.012304384231567383,
|
| 342 |
+
0.012286975860595703,
|
| 343 |
+
0.01229312038421631,
|
| 344 |
+
0.012309503555297852,
|
| 345 |
+
0.01235968017578125,
|
| 346 |
+
0.012280832290649414,
|
| 347 |
+
0.012288000106811523,
|
| 348 |
+
0.012292096138000488,
|
| 349 |
+
0.01229312038421631,
|
| 350 |
+
0.012288000106811523,
|
| 351 |
+
0.012333056449890138,
|
| 352 |
+
0.012304384231567383,
|
| 353 |
+
0.012306431770324706,
|
| 354 |
+
0.012300288200378418,
|
| 355 |
+
0.012303359985351562,
|
| 356 |
+
0.012303359985351562,
|
| 357 |
+
0.012285951614379884
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.23349236298303
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/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": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.01426094388961792,
|
| 7 |
+
"prefill.throughput.value": 490.85110033257024,
|
| 8 |
+
"decode.latency.mean": 1.5635492553710937,
|
| 9 |
+
"decode.throughput.value": 81.2254552031095,
|
| 10 |
+
"per_token.latency.mean": 0.012310193380971592,
|
| 11 |
+
"per_token.throughput.value": 81.23349236298303
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-07/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp50ftesme/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 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/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp50ftesme/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null,static
|
| 93 |
+
- backend.torch_compile=false,true
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
| 98 |
+
id: ???
|
| 99 |
+
num: ???
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: ???
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
| 142 |
+
name: pytorch_generate
|
| 143 |
+
backend:
|
| 144 |
+
name: pytorch
|
| 145 |
+
version: 2.4.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model_type: null
|
| 150 |
+
model: google/gemma-2b
|
| 151 |
+
processor: null
|
| 152 |
+
device: cuda
|
| 153 |
+
device_ids: '0'
|
| 154 |
+
seed: 42
|
| 155 |
+
inter_op_num_threads: null
|
| 156 |
+
intra_op_num_threads: null
|
| 157 |
+
model_kwargs: {}
|
| 158 |
+
processor_kwargs: {}
|
| 159 |
+
no_weights: true
|
| 160 |
+
device_map: null
|
| 161 |
+
torch_dtype: float16
|
| 162 |
+
eval_mode: true
|
| 163 |
+
to_bettertransformer: false
|
| 164 |
+
low_cpu_mem_usage: null
|
| 165 |
+
attn_implementation: null
|
| 166 |
+
cache_implementation: static
|
| 167 |
+
autocast_enabled: false
|
| 168 |
+
autocast_dtype: null
|
| 169 |
+
torch_compile: true
|
| 170 |
+
torch_compile_target: forward
|
| 171 |
+
torch_compile_config:
|
| 172 |
+
backend: inductor
|
| 173 |
+
mode: reduce-overhead
|
| 174 |
+
fullgraph: true
|
| 175 |
+
quantization_scheme: null
|
| 176 |
+
quantization_config: {}
|
| 177 |
+
deepspeed_inference: false
|
| 178 |
+
deepspeed_inference_config: {}
|
| 179 |
+
peft_type: null
|
| 180 |
+
peft_config: {}
|
| 181 |
+
scenario:
|
| 182 |
+
name: inference
|
| 183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 184 |
+
iterations: 2
|
| 185 |
+
duration: 0
|
| 186 |
+
warmup_runs: 10
|
| 187 |
+
input_shapes:
|
| 188 |
+
batch_size: 1
|
| 189 |
+
sequence_length: 7
|
| 190 |
+
new_tokens: null
|
| 191 |
+
memory: true
|
| 192 |
+
latency: true
|
| 193 |
+
energy: false
|
| 194 |
+
forward_kwargs: {}
|
| 195 |
+
generate_kwargs:
|
| 196 |
+
max_new_tokens: 128
|
| 197 |
+
min_new_tokens: 128
|
| 198 |
+
do_sample: false
|
| 199 |
+
call_kwargs: {}
|
| 200 |
+
launcher:
|
| 201 |
+
name: process
|
| 202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 203 |
+
device_isolation: true
|
| 204 |
+
device_isolation_action: warn
|
| 205 |
+
numactl: false
|
| 206 |
+
numactl_kwargs: {}
|
| 207 |
+
start_method: spawn
|
| 208 |
+
environment:
|
| 209 |
+
cpu: ' AMD EPYC 7R32'
|
| 210 |
+
cpu_count: 16
|
| 211 |
+
cpu_ram_mb: 66697.261056
|
| 212 |
+
system: Linux
|
| 213 |
+
machine: x86_64
|
| 214 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 215 |
+
processor: x86_64
|
| 216 |
+
python_version: 3.8.10
|
| 217 |
+
gpu:
|
| 218 |
+
- NVIDIA A10G
|
| 219 |
+
gpu_count: 1
|
| 220 |
+
gpu_vram_mb: 24146608128
|
| 221 |
+
optimum_benchmark_version: 0.4.0
|
| 222 |
+
optimum_benchmark_commit: null
|
| 223 |
+
transformers_version: 4.45.0.dev0
|
| 224 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 225 |
+
accelerate_version: 0.35.0.dev0
|
| 226 |
+
accelerate_commit: null
|
| 227 |
+
diffusers_version: null
|
| 228 |
+
diffusers_commit: null
|
| 229 |
+
optimum_version: 1.22.0.dev0
|
| 230 |
+
optimum_commit: null
|
| 231 |
+
timm_version: 0.9.16
|
| 232 |
+
timm_commit: null
|
| 233 |
+
peft_version: 0.12.1.dev0
|
| 234 |
+
peft_commit: null
|
2024-09-07/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.020622032165527344,
|
| 8 |
+
"prefill.throughput.value": 339.4427835148805,
|
| 9 |
+
"decode.latency.mean": 2.456687744140625,
|
| 10 |
+
"decode.throughput.value": 51.69562159574574,
|
| 11 |
+
"per_token.latency.mean": 0.019342747207701672,
|
| 12 |
+
"per_token.throughput.value": 51.69896443674927
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.022551328659057616,
|
| 21 |
+
"prefill.throughput.value": 310.402996906725,
|
| 22 |
+
"decode.latency.mean": 2.63321533203125,
|
| 23 |
+
"decode.throughput.value": 48.230009317936336,
|
| 24 |
+
"per_token.latency.mean": 0.020732932023176057,
|
| 25 |
+
"per_token.throughput.value": 48.2324448313515
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.01426094388961792,
|
| 34 |
+
"prefill.throughput.value": 490.85110033257024,
|
| 35 |
+
"decode.latency.mean": 1.5635492553710937,
|
| 36 |
+
"decode.throughput.value": 81.2254552031095,
|
| 37 |
+
"per_token.latency.mean": 0.012310193380971592,
|
| 38 |
+
"per_token.throughput.value": 81.23349236298303
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-09-07/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020622032165527344,
|
| 7 |
+
"prefill.throughput.value": 339.4427835148805,
|
| 8 |
+
"decode.latency.mean": 2.456687744140625,
|
| 9 |
+
"decode.throughput.value": 51.69562159574574,
|
| 10 |
+
"per_token.latency.mean": 0.019342747207701672,
|
| 11 |
+
"per_token.throughput.value": 51.69896443674927
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.022551328659057616,
|
| 19 |
+
"prefill.throughput.value": 310.402996906725,
|
| 20 |
+
"decode.latency.mean": 2.63321533203125,
|
| 21 |
+
"decode.throughput.value": 48.230009317936336,
|
| 22 |
+
"per_token.latency.mean": 0.020732932023176057,
|
| 23 |
+
"per_token.throughput.value": 48.2324448313515
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.01426094388961792,
|
| 31 |
+
"prefill.throughput.value": 490.85110033257024,
|
| 32 |
+
"decode.latency.mean": 1.5635492553710937,
|
| 33 |
+
"decode.throughput.value": 81.2254552031095,
|
| 34 |
+
"per_token.latency.mean": 0.012310193380971592,
|
| 35 |
+
"per_token.throughput.value": 81.23349236298303
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|