Upload folder using huggingface_hub
Browse files- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/multirun.yaml +232 -0
- 2024-06-12/summaries.json +41 -0
- 2024-06-12/summary.json +40 -0
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_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 |
+
latency: true
|
| 51 |
+
memory: 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 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 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/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1705.140224,
|
| 109 |
+
"max_global_vram": 6793.199616,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 6146.752512,
|
| 112 |
+
"max_allocated": 5034.576896
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.040881567001342774,
|
| 118 |
+
"mean": 0.020440783500671387,
|
| 119 |
+
"stdev": 0.00013140773773193462,
|
| 120 |
+
"p50": 0.020440783500671387,
|
| 121 |
+
"p90": 0.020545909690856935,
|
| 122 |
+
"p95": 0.02055905046463013,
|
| 123 |
+
"p99": 0.020569563083648684,
|
| 124 |
+
"values": [
|
| 125 |
+
0.020309375762939452,
|
| 126 |
+
0.02057219123840332
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 342.45262662119
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1705.160704,
|
| 140 |
+
"max_global_vram": 6795.296768,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 6148.849664,
|
| 143 |
+
"max_allocated": 5034.577408
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 4.9012099609375,
|
| 149 |
+
"mean": 2.45060498046875,
|
| 150 |
+
"stdev": 0.01456420898437516,
|
| 151 |
+
"p50": 2.45060498046875,
|
| 152 |
+
"p90": 2.46225634765625,
|
| 153 |
+
"p95": 2.4637127685546876,
|
| 154 |
+
"p99": 2.4648779052734375,
|
| 155 |
+
"values": [
|
| 156 |
+
2.465169189453125,
|
| 157 |
+
2.436040771484375
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 51.82393776728044
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 4.9023354911804224,
|
| 173 |
+
"mean": 0.019376820123242766,
|
| 174 |
+
"stdev": 0.001406548362147464,
|
| 175 |
+
"p50": 0.01908531188964844,
|
| 176 |
+
"p90": 0.019864371490478514,
|
| 177 |
+
"p95": 0.020009369659423827,
|
| 178 |
+
"p99": 0.02046148612976074,
|
| 179 |
+
"values": [
|
| 180 |
+
0.02031001663208008,
|
| 181 |
+
0.019115007400512696,
|
| 182 |
+
0.018852863311767578,
|
| 183 |
+
0.018906112670898437,
|
| 184 |
+
0.01884876823425293,
|
| 185 |
+
0.018944000244140623,
|
| 186 |
+
0.01884671974182129,
|
| 187 |
+
0.018922496795654296,
|
| 188 |
+
0.019788799285888673,
|
| 189 |
+
0.019753984451293945,
|
| 190 |
+
0.018932735443115235,
|
| 191 |
+
0.018893823623657227,
|
| 192 |
+
0.01962291145324707,
|
| 193 |
+
0.019746816635131836,
|
| 194 |
+
0.019606527328491212,
|
| 195 |
+
0.019701759338378907,
|
| 196 |
+
0.019929088592529298,
|
| 197 |
+
0.019714048385620117,
|
| 198 |
+
0.019725311279296876,
|
| 199 |
+
0.019784704208374023,
|
| 200 |
+
0.019787776947021486,
|
| 201 |
+
0.019766271591186522,
|
| 202 |
+
0.019772415161132813,
|
| 203 |
+
0.019698688507080078,
|
| 204 |
+
0.01982464027404785,
|
| 205 |
+
0.019772415161132813,
|
| 206 |
+
0.019769344329833984,
|
| 207 |
+
0.019721216201782226,
|
| 208 |
+
0.019751935958862304,
|
| 209 |
+
0.01969254493713379,
|
| 210 |
+
0.0196495361328125,
|
| 211 |
+
0.019764223098754884,
|
| 212 |
+
0.019731456756591798,
|
| 213 |
+
0.01967820739746094,
|
| 214 |
+
0.01966796875,
|
| 215 |
+
0.01965977668762207,
|
| 216 |
+
0.019818496704101563,
|
| 217 |
+
0.0196997127532959,
|
| 218 |
+
0.019696640014648437,
|
| 219 |
+
0.019628032684326172,
|
| 220 |
+
0.019758079528808595,
|
| 221 |
+
0.01964646339416504,
|
| 222 |
+
0.019636224746704102,
|
| 223 |
+
0.019742719650268553,
|
| 224 |
+
0.01885491180419922,
|
| 225 |
+
0.0195020809173584,
|
| 226 |
+
0.01982156753540039,
|
| 227 |
+
0.019393535614013673,
|
| 228 |
+
0.01882521629333496,
|
| 229 |
+
0.019005439758300782,
|
| 230 |
+
0.01909760093688965,
|
| 231 |
+
0.019169279098510742,
|
| 232 |
+
0.019171327590942384,
|
| 233 |
+
0.01902796745300293,
|
| 234 |
+
0.01899519920349121,
|
| 235 |
+
0.018983936309814452,
|
| 236 |
+
0.01904128074645996,
|
| 237 |
+
0.01900748825073242,
|
| 238 |
+
0.01906073570251465,
|
| 239 |
+
0.01905561637878418,
|
| 240 |
+
0.019076095581054688,
|
| 241 |
+
0.01908121681213379,
|
| 242 |
+
0.01906380844116211,
|
| 243 |
+
0.019009536743164062,
|
| 244 |
+
0.01906790351867676,
|
| 245 |
+
0.0191016960144043,
|
| 246 |
+
0.01903718376159668,
|
| 247 |
+
0.019096576690673828,
|
| 248 |
+
0.01909760093688965,
|
| 249 |
+
0.01919692802429199,
|
| 250 |
+
0.019092479705810548,
|
| 251 |
+
0.018959360122680666,
|
| 252 |
+
0.019058687210083008,
|
| 253 |
+
0.01908531188964844,
|
| 254 |
+
0.01902592086791992,
|
| 255 |
+
0.019112960815429687,
|
| 256 |
+
0.019017728805541992,
|
| 257 |
+
0.019013631820678712,
|
| 258 |
+
0.01904435157775879,
|
| 259 |
+
0.0190248966217041,
|
| 260 |
+
0.01901670455932617,
|
| 261 |
+
0.01901055908203125,
|
| 262 |
+
0.01899929618835449,
|
| 263 |
+
0.01902079963684082,
|
| 264 |
+
0.01904844856262207,
|
| 265 |
+
0.019042303085327148,
|
| 266 |
+
0.01906585693359375,
|
| 267 |
+
0.018972671508789063,
|
| 268 |
+
0.019058687210083008,
|
| 269 |
+
0.019056640625,
|
| 270 |
+
0.018998271942138673,
|
| 271 |
+
0.019298303604125978,
|
| 272 |
+
0.019121152877807617,
|
| 273 |
+
0.019082239151000976,
|
| 274 |
+
0.01904640007019043,
|
| 275 |
+
0.01904332733154297,
|
| 276 |
+
0.018917375564575196,
|
| 277 |
+
0.01882316780090332,
|
| 278 |
+
0.01908121681213379,
|
| 279 |
+
0.01903001594543457,
|
| 280 |
+
0.019076095581054688,
|
| 281 |
+
0.019149824142456053,
|
| 282 |
+
0.019083263397216797,
|
| 283 |
+
0.01947750473022461,
|
| 284 |
+
0.02001817512512207,
|
| 285 |
+
0.019965951919555663,
|
| 286 |
+
0.020348928451538087,
|
| 287 |
+
0.020164608001708984,
|
| 288 |
+
0.019962879180908204,
|
| 289 |
+
0.01979903984069824,
|
| 290 |
+
0.019887104034423828,
|
| 291 |
+
0.02024038314819336,
|
| 292 |
+
0.020157440185546875,
|
| 293 |
+
0.01986662483215332,
|
| 294 |
+
0.02010316848754883,
|
| 295 |
+
0.020649984359741212,
|
| 296 |
+
0.020143104553222657,
|
| 297 |
+
0.02000486373901367,
|
| 298 |
+
0.020016128540039063,
|
| 299 |
+
0.01985843276977539,
|
| 300 |
+
0.019901439666748046,
|
| 301 |
+
0.01992192077636719,
|
| 302 |
+
0.019803136825561524,
|
| 303 |
+
0.019549184799194336,
|
| 304 |
+
0.019535871505737306,
|
| 305 |
+
0.019709951400756837,
|
| 306 |
+
0.0407982063293457,
|
| 307 |
+
0.019558399200439454,
|
| 308 |
+
0.019506175994873046,
|
| 309 |
+
0.019449855804443358,
|
| 310 |
+
0.01942323112487793,
|
| 311 |
+
0.019715072631835938,
|
| 312 |
+
0.018947071075439453,
|
| 313 |
+
0.018932735443115235,
|
| 314 |
+
0.018888704299926756,
|
| 315 |
+
0.019100671768188478,
|
| 316 |
+
0.018926591873168946,
|
| 317 |
+
0.018981887817382814,
|
| 318 |
+
0.018919424057006837,
|
| 319 |
+
0.018941951751708985,
|
| 320 |
+
0.018997247695922852,
|
| 321 |
+
0.019518463134765626,
|
| 322 |
+
0.01983590316772461,
|
| 323 |
+
0.0198154239654541,
|
| 324 |
+
0.019767295837402343,
|
| 325 |
+
0.019805183410644533,
|
| 326 |
+
0.019923967361450197,
|
| 327 |
+
0.01986355209350586,
|
| 328 |
+
0.019727359771728514,
|
| 329 |
+
0.018778112411499022,
|
| 330 |
+
0.018993152618408202,
|
| 331 |
+
0.018880512237548826,
|
| 332 |
+
0.019079168319702147,
|
| 333 |
+
0.018984960556030273,
|
| 334 |
+
0.018956287384033203,
|
| 335 |
+
0.018936832427978514,
|
| 336 |
+
0.018898944854736328,
|
| 337 |
+
0.01899929618835449,
|
| 338 |
+
0.018884607315063476,
|
| 339 |
+
0.018902015686035157,
|
| 340 |
+
0.018965503692626954,
|
| 341 |
+
0.018908159255981445,
|
| 342 |
+
0.019148799896240236,
|
| 343 |
+
0.01899622344970703,
|
| 344 |
+
0.01905971145629883,
|
| 345 |
+
0.018947071075439453,
|
| 346 |
+
0.01887129592895508,
|
| 347 |
+
0.018893823623657227,
|
| 348 |
+
0.01904025650024414,
|
| 349 |
+
0.01886207962036133,
|
| 350 |
+
0.01888768005371094,
|
| 351 |
+
0.019098623275756836,
|
| 352 |
+
0.019312639236450196,
|
| 353 |
+
0.019174400329589843,
|
| 354 |
+
0.018969600677490234,
|
| 355 |
+
0.01903206443786621,
|
| 356 |
+
0.018886655807495118,
|
| 357 |
+
0.018952192306518553,
|
| 358 |
+
0.018898944854736328,
|
| 359 |
+
0.018911231994628908,
|
| 360 |
+
0.018948095321655273,
|
| 361 |
+
0.019058687210083008,
|
| 362 |
+
0.01886310386657715,
|
| 363 |
+
0.019091455459594727,
|
| 364 |
+
0.019079168319702147,
|
| 365 |
+
0.01906790351867676,
|
| 366 |
+
0.01904742431640625,
|
| 367 |
+
0.01966592025756836,
|
| 368 |
+
0.0192993278503418,
|
| 369 |
+
0.01906585693359375,
|
| 370 |
+
0.01904025650024414,
|
| 371 |
+
0.01905561637878418,
|
| 372 |
+
0.01887539291381836,
|
| 373 |
+
0.019172351837158205,
|
| 374 |
+
0.019195903778076173,
|
| 375 |
+
0.019212287902832033,
|
| 376 |
+
0.019126272201538085,
|
| 377 |
+
0.019072000503540038,
|
| 378 |
+
0.019140607833862306,
|
| 379 |
+
0.0190699520111084,
|
| 380 |
+
0.01905254364013672,
|
| 381 |
+
0.01902694320678711,
|
| 382 |
+
0.01908531188964844,
|
| 383 |
+
0.019083328247070312,
|
| 384 |
+
0.019064767837524414,
|
| 385 |
+
0.019128320693969726,
|
| 386 |
+
0.01902079963684082,
|
| 387 |
+
0.01903513526916504,
|
| 388 |
+
0.01904742431640625,
|
| 389 |
+
0.01900339126586914,
|
| 390 |
+
0.0190248966217041,
|
| 391 |
+
0.01925324821472168,
|
| 392 |
+
0.020583423614501953,
|
| 393 |
+
0.020171775817871093,
|
| 394 |
+
0.019969024658203126,
|
| 395 |
+
0.019143680572509765,
|
| 396 |
+
0.018993152618408202,
|
| 397 |
+
0.01904742431640625,
|
| 398 |
+
0.019224576950073242,
|
| 399 |
+
0.01986457633972168,
|
| 400 |
+
0.01987276840209961,
|
| 401 |
+
0.01989017677307129,
|
| 402 |
+
0.019119104385375976,
|
| 403 |
+
0.01921843147277832,
|
| 404 |
+
0.01965875244140625,
|
| 405 |
+
0.019561471939086913,
|
| 406 |
+
0.019574783325195313,
|
| 407 |
+
0.019581951141357423,
|
| 408 |
+
0.019602432250976562,
|
| 409 |
+
0.018884607315063476,
|
| 410 |
+
0.01883545684814453,
|
| 411 |
+
0.018882560729980468,
|
| 412 |
+
0.018952192306518553,
|
| 413 |
+
0.01903104019165039,
|
| 414 |
+
0.0190382080078125,
|
| 415 |
+
0.019072000503540038,
|
| 416 |
+
0.01907302474975586,
|
| 417 |
+
0.019104768753051758,
|
| 418 |
+
0.019074047088623047,
|
| 419 |
+
0.019120128631591796,
|
| 420 |
+
0.019072000503540038,
|
| 421 |
+
0.019042303085327148,
|
| 422 |
+
0.01900851249694824,
|
| 423 |
+
0.019178495407104493,
|
| 424 |
+
0.019119104385375976,
|
| 425 |
+
0.019186687469482423,
|
| 426 |
+
0.019112960815429687,
|
| 427 |
+
0.01906073570251465,
|
| 428 |
+
0.01904742431640625,
|
| 429 |
+
0.01902796745300293,
|
| 430 |
+
0.01906790351867676,
|
| 431 |
+
0.019120128631591796,
|
| 432 |
+
0.01903001594543457
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 51.608055069907266
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1705.140224,
|
| 6 |
+
"max_global_vram": 6793.199616,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6146.752512,
|
| 9 |
+
"max_allocated": 5034.576896
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.040881567001342774,
|
| 15 |
+
"mean": 0.020440783500671387,
|
| 16 |
+
"stdev": 0.00013140773773193462,
|
| 17 |
+
"p50": 0.020440783500671387,
|
| 18 |
+
"p90": 0.020545909690856935,
|
| 19 |
+
"p95": 0.02055905046463013,
|
| 20 |
+
"p99": 0.020569563083648684,
|
| 21 |
+
"values": [
|
| 22 |
+
0.020309375762939452,
|
| 23 |
+
0.02057219123840332
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 342.45262662119
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1705.160704,
|
| 37 |
+
"max_global_vram": 6795.296768,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 6148.849664,
|
| 40 |
+
"max_allocated": 5034.577408
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 4.9012099609375,
|
| 46 |
+
"mean": 2.45060498046875,
|
| 47 |
+
"stdev": 0.01456420898437516,
|
| 48 |
+
"p50": 2.45060498046875,
|
| 49 |
+
"p90": 2.46225634765625,
|
| 50 |
+
"p95": 2.4637127685546876,
|
| 51 |
+
"p99": 2.4648779052734375,
|
| 52 |
+
"values": [
|
| 53 |
+
2.465169189453125,
|
| 54 |
+
2.436040771484375
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 51.82393776728044
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 4.9023354911804224,
|
| 70 |
+
"mean": 0.019376820123242766,
|
| 71 |
+
"stdev": 0.001406548362147464,
|
| 72 |
+
"p50": 0.01908531188964844,
|
| 73 |
+
"p90": 0.019864371490478514,
|
| 74 |
+
"p95": 0.020009369659423827,
|
| 75 |
+
"p99": 0.02046148612976074,
|
| 76 |
+
"values": [
|
| 77 |
+
0.02031001663208008,
|
| 78 |
+
0.019115007400512696,
|
| 79 |
+
0.018852863311767578,
|
| 80 |
+
0.018906112670898437,
|
| 81 |
+
0.01884876823425293,
|
| 82 |
+
0.018944000244140623,
|
| 83 |
+
0.01884671974182129,
|
| 84 |
+
0.018922496795654296,
|
| 85 |
+
0.019788799285888673,
|
| 86 |
+
0.019753984451293945,
|
| 87 |
+
0.018932735443115235,
|
| 88 |
+
0.018893823623657227,
|
| 89 |
+
0.01962291145324707,
|
| 90 |
+
0.019746816635131836,
|
| 91 |
+
0.019606527328491212,
|
| 92 |
+
0.019701759338378907,
|
| 93 |
+
0.019929088592529298,
|
| 94 |
+
0.019714048385620117,
|
| 95 |
+
0.019725311279296876,
|
| 96 |
+
0.019784704208374023,
|
| 97 |
+
0.019787776947021486,
|
| 98 |
+
0.019766271591186522,
|
| 99 |
+
0.019772415161132813,
|
| 100 |
+
0.019698688507080078,
|
| 101 |
+
0.01982464027404785,
|
| 102 |
+
0.019772415161132813,
|
| 103 |
+
0.019769344329833984,
|
| 104 |
+
0.019721216201782226,
|
| 105 |
+
0.019751935958862304,
|
| 106 |
+
0.01969254493713379,
|
| 107 |
+
0.0196495361328125,
|
| 108 |
+
0.019764223098754884,
|
| 109 |
+
0.019731456756591798,
|
| 110 |
+
0.01967820739746094,
|
| 111 |
+
0.01966796875,
|
| 112 |
+
0.01965977668762207,
|
| 113 |
+
0.019818496704101563,
|
| 114 |
+
0.0196997127532959,
|
| 115 |
+
0.019696640014648437,
|
| 116 |
+
0.019628032684326172,
|
| 117 |
+
0.019758079528808595,
|
| 118 |
+
0.01964646339416504,
|
| 119 |
+
0.019636224746704102,
|
| 120 |
+
0.019742719650268553,
|
| 121 |
+
0.01885491180419922,
|
| 122 |
+
0.0195020809173584,
|
| 123 |
+
0.01982156753540039,
|
| 124 |
+
0.019393535614013673,
|
| 125 |
+
0.01882521629333496,
|
| 126 |
+
0.019005439758300782,
|
| 127 |
+
0.01909760093688965,
|
| 128 |
+
0.019169279098510742,
|
| 129 |
+
0.019171327590942384,
|
| 130 |
+
0.01902796745300293,
|
| 131 |
+
0.01899519920349121,
|
| 132 |
+
0.018983936309814452,
|
| 133 |
+
0.01904128074645996,
|
| 134 |
+
0.01900748825073242,
|
| 135 |
+
0.01906073570251465,
|
| 136 |
+
0.01905561637878418,
|
| 137 |
+
0.019076095581054688,
|
| 138 |
+
0.01908121681213379,
|
| 139 |
+
0.01906380844116211,
|
| 140 |
+
0.019009536743164062,
|
| 141 |
+
0.01906790351867676,
|
| 142 |
+
0.0191016960144043,
|
| 143 |
+
0.01903718376159668,
|
| 144 |
+
0.019096576690673828,
|
| 145 |
+
0.01909760093688965,
|
| 146 |
+
0.01919692802429199,
|
| 147 |
+
0.019092479705810548,
|
| 148 |
+
0.018959360122680666,
|
| 149 |
+
0.019058687210083008,
|
| 150 |
+
0.01908531188964844,
|
| 151 |
+
0.01902592086791992,
|
| 152 |
+
0.019112960815429687,
|
| 153 |
+
0.019017728805541992,
|
| 154 |
+
0.019013631820678712,
|
| 155 |
+
0.01904435157775879,
|
| 156 |
+
0.0190248966217041,
|
| 157 |
+
0.01901670455932617,
|
| 158 |
+
0.01901055908203125,
|
| 159 |
+
0.01899929618835449,
|
| 160 |
+
0.01902079963684082,
|
| 161 |
+
0.01904844856262207,
|
| 162 |
+
0.019042303085327148,
|
| 163 |
+
0.01906585693359375,
|
| 164 |
+
0.018972671508789063,
|
| 165 |
+
0.019058687210083008,
|
| 166 |
+
0.019056640625,
|
| 167 |
+
0.018998271942138673,
|
| 168 |
+
0.019298303604125978,
|
| 169 |
+
0.019121152877807617,
|
| 170 |
+
0.019082239151000976,
|
| 171 |
+
0.01904640007019043,
|
| 172 |
+
0.01904332733154297,
|
| 173 |
+
0.018917375564575196,
|
| 174 |
+
0.01882316780090332,
|
| 175 |
+
0.01908121681213379,
|
| 176 |
+
0.01903001594543457,
|
| 177 |
+
0.019076095581054688,
|
| 178 |
+
0.019149824142456053,
|
| 179 |
+
0.019083263397216797,
|
| 180 |
+
0.01947750473022461,
|
| 181 |
+
0.02001817512512207,
|
| 182 |
+
0.019965951919555663,
|
| 183 |
+
0.020348928451538087,
|
| 184 |
+
0.020164608001708984,
|
| 185 |
+
0.019962879180908204,
|
| 186 |
+
0.01979903984069824,
|
| 187 |
+
0.019887104034423828,
|
| 188 |
+
0.02024038314819336,
|
| 189 |
+
0.020157440185546875,
|
| 190 |
+
0.01986662483215332,
|
| 191 |
+
0.02010316848754883,
|
| 192 |
+
0.020649984359741212,
|
| 193 |
+
0.020143104553222657,
|
| 194 |
+
0.02000486373901367,
|
| 195 |
+
0.020016128540039063,
|
| 196 |
+
0.01985843276977539,
|
| 197 |
+
0.019901439666748046,
|
| 198 |
+
0.01992192077636719,
|
| 199 |
+
0.019803136825561524,
|
| 200 |
+
0.019549184799194336,
|
| 201 |
+
0.019535871505737306,
|
| 202 |
+
0.019709951400756837,
|
| 203 |
+
0.0407982063293457,
|
| 204 |
+
0.019558399200439454,
|
| 205 |
+
0.019506175994873046,
|
| 206 |
+
0.019449855804443358,
|
| 207 |
+
0.01942323112487793,
|
| 208 |
+
0.019715072631835938,
|
| 209 |
+
0.018947071075439453,
|
| 210 |
+
0.018932735443115235,
|
| 211 |
+
0.018888704299926756,
|
| 212 |
+
0.019100671768188478,
|
| 213 |
+
0.018926591873168946,
|
| 214 |
+
0.018981887817382814,
|
| 215 |
+
0.018919424057006837,
|
| 216 |
+
0.018941951751708985,
|
| 217 |
+
0.018997247695922852,
|
| 218 |
+
0.019518463134765626,
|
| 219 |
+
0.01983590316772461,
|
| 220 |
+
0.0198154239654541,
|
| 221 |
+
0.019767295837402343,
|
| 222 |
+
0.019805183410644533,
|
| 223 |
+
0.019923967361450197,
|
| 224 |
+
0.01986355209350586,
|
| 225 |
+
0.019727359771728514,
|
| 226 |
+
0.018778112411499022,
|
| 227 |
+
0.018993152618408202,
|
| 228 |
+
0.018880512237548826,
|
| 229 |
+
0.019079168319702147,
|
| 230 |
+
0.018984960556030273,
|
| 231 |
+
0.018956287384033203,
|
| 232 |
+
0.018936832427978514,
|
| 233 |
+
0.018898944854736328,
|
| 234 |
+
0.01899929618835449,
|
| 235 |
+
0.018884607315063476,
|
| 236 |
+
0.018902015686035157,
|
| 237 |
+
0.018965503692626954,
|
| 238 |
+
0.018908159255981445,
|
| 239 |
+
0.019148799896240236,
|
| 240 |
+
0.01899622344970703,
|
| 241 |
+
0.01905971145629883,
|
| 242 |
+
0.018947071075439453,
|
| 243 |
+
0.01887129592895508,
|
| 244 |
+
0.018893823623657227,
|
| 245 |
+
0.01904025650024414,
|
| 246 |
+
0.01886207962036133,
|
| 247 |
+
0.01888768005371094,
|
| 248 |
+
0.019098623275756836,
|
| 249 |
+
0.019312639236450196,
|
| 250 |
+
0.019174400329589843,
|
| 251 |
+
0.018969600677490234,
|
| 252 |
+
0.01903206443786621,
|
| 253 |
+
0.018886655807495118,
|
| 254 |
+
0.018952192306518553,
|
| 255 |
+
0.018898944854736328,
|
| 256 |
+
0.018911231994628908,
|
| 257 |
+
0.018948095321655273,
|
| 258 |
+
0.019058687210083008,
|
| 259 |
+
0.01886310386657715,
|
| 260 |
+
0.019091455459594727,
|
| 261 |
+
0.019079168319702147,
|
| 262 |
+
0.01906790351867676,
|
| 263 |
+
0.01904742431640625,
|
| 264 |
+
0.01966592025756836,
|
| 265 |
+
0.0192993278503418,
|
| 266 |
+
0.01906585693359375,
|
| 267 |
+
0.01904025650024414,
|
| 268 |
+
0.01905561637878418,
|
| 269 |
+
0.01887539291381836,
|
| 270 |
+
0.019172351837158205,
|
| 271 |
+
0.019195903778076173,
|
| 272 |
+
0.019212287902832033,
|
| 273 |
+
0.019126272201538085,
|
| 274 |
+
0.019072000503540038,
|
| 275 |
+
0.019140607833862306,
|
| 276 |
+
0.0190699520111084,
|
| 277 |
+
0.01905254364013672,
|
| 278 |
+
0.01902694320678711,
|
| 279 |
+
0.01908531188964844,
|
| 280 |
+
0.019083328247070312,
|
| 281 |
+
0.019064767837524414,
|
| 282 |
+
0.019128320693969726,
|
| 283 |
+
0.01902079963684082,
|
| 284 |
+
0.01903513526916504,
|
| 285 |
+
0.01904742431640625,
|
| 286 |
+
0.01900339126586914,
|
| 287 |
+
0.0190248966217041,
|
| 288 |
+
0.01925324821472168,
|
| 289 |
+
0.020583423614501953,
|
| 290 |
+
0.020171775817871093,
|
| 291 |
+
0.019969024658203126,
|
| 292 |
+
0.019143680572509765,
|
| 293 |
+
0.018993152618408202,
|
| 294 |
+
0.01904742431640625,
|
| 295 |
+
0.019224576950073242,
|
| 296 |
+
0.01986457633972168,
|
| 297 |
+
0.01987276840209961,
|
| 298 |
+
0.01989017677307129,
|
| 299 |
+
0.019119104385375976,
|
| 300 |
+
0.01921843147277832,
|
| 301 |
+
0.01965875244140625,
|
| 302 |
+
0.019561471939086913,
|
| 303 |
+
0.019574783325195313,
|
| 304 |
+
0.019581951141357423,
|
| 305 |
+
0.019602432250976562,
|
| 306 |
+
0.018884607315063476,
|
| 307 |
+
0.01883545684814453,
|
| 308 |
+
0.018882560729980468,
|
| 309 |
+
0.018952192306518553,
|
| 310 |
+
0.01903104019165039,
|
| 311 |
+
0.0190382080078125,
|
| 312 |
+
0.019072000503540038,
|
| 313 |
+
0.01907302474975586,
|
| 314 |
+
0.019104768753051758,
|
| 315 |
+
0.019074047088623047,
|
| 316 |
+
0.019120128631591796,
|
| 317 |
+
0.019072000503540038,
|
| 318 |
+
0.019042303085327148,
|
| 319 |
+
0.01900851249694824,
|
| 320 |
+
0.019178495407104493,
|
| 321 |
+
0.019119104385375976,
|
| 322 |
+
0.019186687469482423,
|
| 323 |
+
0.019112960815429687,
|
| 324 |
+
0.01906073570251465,
|
| 325 |
+
0.01904742431640625,
|
| 326 |
+
0.01902796745300293,
|
| 327 |
+
0.01906790351867676,
|
| 328 |
+
0.019120128631591796,
|
| 329 |
+
0.01903001594543457
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 51.608055069907266
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020440783500671387,
|
| 7 |
+
"prefill.throughput.value": 342.45262662119,
|
| 8 |
+
"decode.latency.mean": 2.45060498046875,
|
| 9 |
+
"decode.throughput.value": 51.82393776728044,
|
| 10 |
+
"per_token.latency.mean": 0.019376820123242766,
|
| 11 |
+
"per_token.throughput.value": 51.608055069907266
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_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 |
+
latency: true
|
| 51 |
+
memory: 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 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 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/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-06-12 02:35:23,075[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_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 |
+
latency: true
|
| 51 |
+
memory: 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 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 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/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1750.618112,
|
| 109 |
+
"max_global_vram": 6793.199616,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 6146.752512,
|
| 112 |
+
"max_allocated": 5036.936192
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.04374707221984863,
|
| 118 |
+
"mean": 0.021873536109924315,
|
| 119 |
+
"stdev": 0.0006145601272583012,
|
| 120 |
+
"p50": 0.021873536109924315,
|
| 121 |
+
"p90": 0.022365184211730955,
|
| 122 |
+
"p95": 0.022426640224456788,
|
| 123 |
+
"p99": 0.02247580503463745,
|
| 124 |
+
"values": [
|
| 125 |
+
0.022488096237182616,
|
| 126 |
+
0.021258975982666014
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 320.0214160537128
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1750.6304,
|
| 140 |
+
"max_global_vram": 6793.199616,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 6146.752512,
|
| 143 |
+
"max_allocated": 5036.936704
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 4.992007324218751,
|
| 149 |
+
"mean": 2.4960036621093753,
|
| 150 |
+
"stdev": 0.005812744140625048,
|
| 151 |
+
"p50": 2.4960036621093753,
|
| 152 |
+
"p90": 2.500653857421875,
|
| 153 |
+
"p95": 2.5012351318359376,
|
| 154 |
+
"p99": 2.5017001513671877,
|
| 155 |
+
"values": [
|
| 156 |
+
2.50181640625,
|
| 157 |
+
2.49019091796875
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 50.88133560375956
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 4.99309157371521,
|
| 173 |
+
"mean": 0.019735539817056166,
|
| 174 |
+
"stdev": 0.0013689270958941455,
|
| 175 |
+
"p50": 0.019509248733520508,
|
| 176 |
+
"p90": 0.020166437911987304,
|
| 177 |
+
"p95": 0.020301005172729494,
|
| 178 |
+
"p99": 0.020579819412231443,
|
| 179 |
+
"values": [
|
| 180 |
+
0.021006336212158205,
|
| 181 |
+
0.020468736648559572,
|
| 182 |
+
0.020248575210571287,
|
| 183 |
+
0.020017152786254884,
|
| 184 |
+
0.020133888244628906,
|
| 185 |
+
0.019997695922851562,
|
| 186 |
+
0.02005504035949707,
|
| 187 |
+
0.019812351226806642,
|
| 188 |
+
0.01986662483215332,
|
| 189 |
+
0.019953664779663087,
|
| 190 |
+
0.020197376251220703,
|
| 191 |
+
0.02016972732543945,
|
| 192 |
+
0.019965951919555663,
|
| 193 |
+
0.020410367965698242,
|
| 194 |
+
0.02032640075683594,
|
| 195 |
+
0.020307968139648438,
|
| 196 |
+
0.02004991912841797,
|
| 197 |
+
0.02007142448425293,
|
| 198 |
+
0.02014726448059082,
|
| 199 |
+
0.02015328025817871,
|
| 200 |
+
0.019894271850585937,
|
| 201 |
+
0.0198973445892334,
|
| 202 |
+
0.019991552352905274,
|
| 203 |
+
0.019861503601074217,
|
| 204 |
+
0.01999564743041992,
|
| 205 |
+
0.019933183670043944,
|
| 206 |
+
0.020135936737060548,
|
| 207 |
+
0.02030284881591797,
|
| 208 |
+
0.020299776077270508,
|
| 209 |
+
0.019961856842041017,
|
| 210 |
+
0.020363264083862305,
|
| 211 |
+
0.020102144241333008,
|
| 212 |
+
0.019948543548583983,
|
| 213 |
+
0.019987455368041994,
|
| 214 |
+
0.020145151138305666,
|
| 215 |
+
0.020109312057495117,
|
| 216 |
+
0.019908672332763673,
|
| 217 |
+
0.0199617919921875,
|
| 218 |
+
0.019957759857177734,
|
| 219 |
+
0.019955711364746095,
|
| 220 |
+
0.01986355209350586,
|
| 221 |
+
0.01978265571594238,
|
| 222 |
+
0.020050943374633787,
|
| 223 |
+
0.019677183151245118,
|
| 224 |
+
0.01982975959777832,
|
| 225 |
+
0.019900415420532228,
|
| 226 |
+
0.01982361602783203,
|
| 227 |
+
0.01979903984069824,
|
| 228 |
+
0.0198604793548584,
|
| 229 |
+
0.019843072891235353,
|
| 230 |
+
0.019523584365844726,
|
| 231 |
+
0.019717119216918946,
|
| 232 |
+
0.019530752182006835,
|
| 233 |
+
0.0194334716796875,
|
| 234 |
+
0.01947238349914551,
|
| 235 |
+
0.019188735961914064,
|
| 236 |
+
0.01944780731201172,
|
| 237 |
+
0.01947648048400879,
|
| 238 |
+
0.01946828842163086,
|
| 239 |
+
0.019474431991577147,
|
| 240 |
+
0.01943756866455078,
|
| 241 |
+
0.019478527069091797,
|
| 242 |
+
0.019494911193847657,
|
| 243 |
+
0.019414016723632813,
|
| 244 |
+
0.019503103256225587,
|
| 245 |
+
0.019491840362548828,
|
| 246 |
+
0.019511295318603517,
|
| 247 |
+
0.019474431991577147,
|
| 248 |
+
0.01944883155822754,
|
| 249 |
+
0.019406848907470704,
|
| 250 |
+
0.019449855804443358,
|
| 251 |
+
0.01945088005065918,
|
| 252 |
+
0.01943142318725586,
|
| 253 |
+
0.01947340774536133,
|
| 254 |
+
0.01948876762390137,
|
| 255 |
+
0.01942323112487793,
|
| 256 |
+
0.01943449592590332,
|
| 257 |
+
0.019408895492553712,
|
| 258 |
+
0.019491840362548828,
|
| 259 |
+
0.01948467254638672,
|
| 260 |
+
0.01944883155822754,
|
| 261 |
+
0.019430400848388672,
|
| 262 |
+
0.019467264175415038,
|
| 263 |
+
0.019475456237792968,
|
| 264 |
+
0.01943552017211914,
|
| 265 |
+
0.019400703430175782,
|
| 266 |
+
0.019458047866821288,
|
| 267 |
+
0.01944268798828125,
|
| 268 |
+
0.019507200241088866,
|
| 269 |
+
0.0194652156829834,
|
| 270 |
+
0.019501056671142578,
|
| 271 |
+
0.01946009635925293,
|
| 272 |
+
0.01947648048400879,
|
| 273 |
+
0.0195020809173584,
|
| 274 |
+
0.01945292854309082,
|
| 275 |
+
0.0194201602935791,
|
| 276 |
+
0.019471359252929688,
|
| 277 |
+
0.01949286460876465,
|
| 278 |
+
0.019518463134765626,
|
| 279 |
+
0.01946828842163086,
|
| 280 |
+
0.019479551315307618,
|
| 281 |
+
0.01945088005065918,
|
| 282 |
+
0.019491840362548828,
|
| 283 |
+
0.019483648300170898,
|
| 284 |
+
0.01947340774536133,
|
| 285 |
+
0.019499008178710937,
|
| 286 |
+
0.019277856826782225,
|
| 287 |
+
0.019397600173950195,
|
| 288 |
+
0.019479551315307618,
|
| 289 |
+
0.01944166374206543,
|
| 290 |
+
0.019280895233154297,
|
| 291 |
+
0.01925632095336914,
|
| 292 |
+
0.01944883155822754,
|
| 293 |
+
0.019474431991577147,
|
| 294 |
+
0.019532800674438477,
|
| 295 |
+
0.019504127502441407,
|
| 296 |
+
0.019499008178710937,
|
| 297 |
+
0.019479551315307618,
|
| 298 |
+
0.019487743377685548,
|
| 299 |
+
0.019581951141357423,
|
| 300 |
+
0.01947750473022461,
|
| 301 |
+
0.01944576072692871,
|
| 302 |
+
0.01948569679260254,
|
| 303 |
+
0.01947340774536133,
|
| 304 |
+
0.019518463134765626,
|
| 305 |
+
0.01946419143676758,
|
| 306 |
+
0.0409354248046875,
|
| 307 |
+
0.019520511627197267,
|
| 308 |
+
0.019540992736816407,
|
| 309 |
+
0.01946419143676758,
|
| 310 |
+
0.019430400848388672,
|
| 311 |
+
0.01946931266784668,
|
| 312 |
+
0.01944576072692871,
|
| 313 |
+
0.019518463134765626,
|
| 314 |
+
0.019511295318603517,
|
| 315 |
+
0.01946828842163086,
|
| 316 |
+
0.019562496185302734,
|
| 317 |
+
0.01945907211303711,
|
| 318 |
+
0.019569664001464843,
|
| 319 |
+
0.019471359252929688,
|
| 320 |
+
0.019606527328491212,
|
| 321 |
+
0.019505151748657225,
|
| 322 |
+
0.019506175994873046,
|
| 323 |
+
0.019517440795898438,
|
| 324 |
+
0.019513343811035155,
|
| 325 |
+
0.019482624053955077,
|
| 326 |
+
0.019535871505737306,
|
| 327 |
+
0.019524608612060547,
|
| 328 |
+
0.01946316719055176,
|
| 329 |
+
0.019510271072387696,
|
| 330 |
+
0.019518463134765626,
|
| 331 |
+
0.0194703369140625,
|
| 332 |
+
0.01946419143676758,
|
| 333 |
+
0.019514368057250975,
|
| 334 |
+
0.019553279876708983,
|
| 335 |
+
0.01945497512817383,
|
| 336 |
+
0.01945395278930664,
|
| 337 |
+
0.01943449592590332,
|
| 338 |
+
0.019481599807739256,
|
| 339 |
+
0.019531776428222656,
|
| 340 |
+
0.019503103256225587,
|
| 341 |
+
0.01944371223449707,
|
| 342 |
+
0.01942630386352539,
|
| 343 |
+
0.01946419143676758,
|
| 344 |
+
0.019528703689575197,
|
| 345 |
+
0.01946316719055176,
|
| 346 |
+
0.01946316719055176,
|
| 347 |
+
0.01946009635925293,
|
| 348 |
+
0.0194652156829834,
|
| 349 |
+
0.02002124786376953,
|
| 350 |
+
0.019544063568115236,
|
| 351 |
+
0.019329023361206055,
|
| 352 |
+
0.019375104904174805,
|
| 353 |
+
0.0194467830657959,
|
| 354 |
+
0.019795967102050782,
|
| 355 |
+
0.020237312316894532,
|
| 356 |
+
0.019538944244384765,
|
| 357 |
+
0.019490816116333007,
|
| 358 |
+
0.019524608612060547,
|
| 359 |
+
0.019523584365844726,
|
| 360 |
+
0.019516416549682617,
|
| 361 |
+
0.019509248733520508,
|
| 362 |
+
0.01949286460876465,
|
| 363 |
+
0.019511295318603517,
|
| 364 |
+
0.019495935440063478,
|
| 365 |
+
0.01944576072692871,
|
| 366 |
+
0.01945395278930664,
|
| 367 |
+
0.01944063949584961,
|
| 368 |
+
0.0194652156829834,
|
| 369 |
+
0.019491840362548828,
|
| 370 |
+
0.01946419143676758,
|
| 371 |
+
0.019479551315307618,
|
| 372 |
+
0.0194969596862793,
|
| 373 |
+
0.019481599807739256,
|
| 374 |
+
0.02023321533203125,
|
| 375 |
+
0.02042470359802246,
|
| 376 |
+
0.020346879959106445,
|
| 377 |
+
0.020700159072875975,
|
| 378 |
+
0.019696640014648437,
|
| 379 |
+
0.01970790481567383,
|
| 380 |
+
0.019575807571411134,
|
| 381 |
+
0.019535871505737306,
|
| 382 |
+
0.01948057556152344,
|
| 383 |
+
0.01945292854309082,
|
| 384 |
+
0.019538944244384765,
|
| 385 |
+
0.019546112060546874,
|
| 386 |
+
0.01948467254638672,
|
| 387 |
+
0.019505151748657225,
|
| 388 |
+
0.019512319564819337,
|
| 389 |
+
0.019499008178710937,
|
| 390 |
+
0.01949286460876465,
|
| 391 |
+
0.019475456237792968,
|
| 392 |
+
0.019813375473022463,
|
| 393 |
+
0.02025881576538086,
|
| 394 |
+
0.020090879440307616,
|
| 395 |
+
0.020328447341918944,
|
| 396 |
+
0.020175872802734376,
|
| 397 |
+
0.02024140739440918,
|
| 398 |
+
0.020297727584838866,
|
| 399 |
+
0.02029465675354004,
|
| 400 |
+
0.020341760635375978,
|
| 401 |
+
0.02024448013305664,
|
| 402 |
+
0.020257791519165038,
|
| 403 |
+
0.01965977668762207,
|
| 404 |
+
0.019530752182006835,
|
| 405 |
+
0.01963827133178711,
|
| 406 |
+
0.019487743377685548,
|
| 407 |
+
0.019515455245971678,
|
| 408 |
+
0.019467199325561523,
|
| 409 |
+
0.019507200241088866,
|
| 410 |
+
0.019474431991577147,
|
| 411 |
+
0.019516416549682617,
|
| 412 |
+
0.019570688247680663,
|
| 413 |
+
0.019597312927246095,
|
| 414 |
+
0.01946931266784668,
|
| 415 |
+
0.019514368057250975,
|
| 416 |
+
0.01946419143676758,
|
| 417 |
+
0.019503103256225587,
|
| 418 |
+
0.01947340774536133,
|
| 419 |
+
0.019475456237792968,
|
| 420 |
+
0.019511295318603517,
|
| 421 |
+
0.01947238349914551,
|
| 422 |
+
0.019546112060546874,
|
| 423 |
+
0.019526655197143555,
|
| 424 |
+
0.019577856063842772,
|
| 425 |
+
0.019545087814331053,
|
| 426 |
+
0.019516416549682617,
|
| 427 |
+
0.019511295318603517,
|
| 428 |
+
0.019546112060546874,
|
| 429 |
+
0.019552255630493166,
|
| 430 |
+
0.019555328369140625,
|
| 431 |
+
0.019524608612060547,
|
| 432 |
+
0.01946931266784668
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 50.67001000579492
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1750.618112,
|
| 6 |
+
"max_global_vram": 6793.199616,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6146.752512,
|
| 9 |
+
"max_allocated": 5036.936192
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.04374707221984863,
|
| 15 |
+
"mean": 0.021873536109924315,
|
| 16 |
+
"stdev": 0.0006145601272583012,
|
| 17 |
+
"p50": 0.021873536109924315,
|
| 18 |
+
"p90": 0.022365184211730955,
|
| 19 |
+
"p95": 0.022426640224456788,
|
| 20 |
+
"p99": 0.02247580503463745,
|
| 21 |
+
"values": [
|
| 22 |
+
0.022488096237182616,
|
| 23 |
+
0.021258975982666014
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 320.0214160537128
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1750.6304,
|
| 37 |
+
"max_global_vram": 6793.199616,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 6146.752512,
|
| 40 |
+
"max_allocated": 5036.936704
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 4.992007324218751,
|
| 46 |
+
"mean": 2.4960036621093753,
|
| 47 |
+
"stdev": 0.005812744140625048,
|
| 48 |
+
"p50": 2.4960036621093753,
|
| 49 |
+
"p90": 2.500653857421875,
|
| 50 |
+
"p95": 2.5012351318359376,
|
| 51 |
+
"p99": 2.5017001513671877,
|
| 52 |
+
"values": [
|
| 53 |
+
2.50181640625,
|
| 54 |
+
2.49019091796875
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 50.88133560375956
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 4.99309157371521,
|
| 70 |
+
"mean": 0.019735539817056166,
|
| 71 |
+
"stdev": 0.0013689270958941455,
|
| 72 |
+
"p50": 0.019509248733520508,
|
| 73 |
+
"p90": 0.020166437911987304,
|
| 74 |
+
"p95": 0.020301005172729494,
|
| 75 |
+
"p99": 0.020579819412231443,
|
| 76 |
+
"values": [
|
| 77 |
+
0.021006336212158205,
|
| 78 |
+
0.020468736648559572,
|
| 79 |
+
0.020248575210571287,
|
| 80 |
+
0.020017152786254884,
|
| 81 |
+
0.020133888244628906,
|
| 82 |
+
0.019997695922851562,
|
| 83 |
+
0.02005504035949707,
|
| 84 |
+
0.019812351226806642,
|
| 85 |
+
0.01986662483215332,
|
| 86 |
+
0.019953664779663087,
|
| 87 |
+
0.020197376251220703,
|
| 88 |
+
0.02016972732543945,
|
| 89 |
+
0.019965951919555663,
|
| 90 |
+
0.020410367965698242,
|
| 91 |
+
0.02032640075683594,
|
| 92 |
+
0.020307968139648438,
|
| 93 |
+
0.02004991912841797,
|
| 94 |
+
0.02007142448425293,
|
| 95 |
+
0.02014726448059082,
|
| 96 |
+
0.02015328025817871,
|
| 97 |
+
0.019894271850585937,
|
| 98 |
+
0.0198973445892334,
|
| 99 |
+
0.019991552352905274,
|
| 100 |
+
0.019861503601074217,
|
| 101 |
+
0.01999564743041992,
|
| 102 |
+
0.019933183670043944,
|
| 103 |
+
0.020135936737060548,
|
| 104 |
+
0.02030284881591797,
|
| 105 |
+
0.020299776077270508,
|
| 106 |
+
0.019961856842041017,
|
| 107 |
+
0.020363264083862305,
|
| 108 |
+
0.020102144241333008,
|
| 109 |
+
0.019948543548583983,
|
| 110 |
+
0.019987455368041994,
|
| 111 |
+
0.020145151138305666,
|
| 112 |
+
0.020109312057495117,
|
| 113 |
+
0.019908672332763673,
|
| 114 |
+
0.0199617919921875,
|
| 115 |
+
0.019957759857177734,
|
| 116 |
+
0.019955711364746095,
|
| 117 |
+
0.01986355209350586,
|
| 118 |
+
0.01978265571594238,
|
| 119 |
+
0.020050943374633787,
|
| 120 |
+
0.019677183151245118,
|
| 121 |
+
0.01982975959777832,
|
| 122 |
+
0.019900415420532228,
|
| 123 |
+
0.01982361602783203,
|
| 124 |
+
0.01979903984069824,
|
| 125 |
+
0.0198604793548584,
|
| 126 |
+
0.019843072891235353,
|
| 127 |
+
0.019523584365844726,
|
| 128 |
+
0.019717119216918946,
|
| 129 |
+
0.019530752182006835,
|
| 130 |
+
0.0194334716796875,
|
| 131 |
+
0.01947238349914551,
|
| 132 |
+
0.019188735961914064,
|
| 133 |
+
0.01944780731201172,
|
| 134 |
+
0.01947648048400879,
|
| 135 |
+
0.01946828842163086,
|
| 136 |
+
0.019474431991577147,
|
| 137 |
+
0.01943756866455078,
|
| 138 |
+
0.019478527069091797,
|
| 139 |
+
0.019494911193847657,
|
| 140 |
+
0.019414016723632813,
|
| 141 |
+
0.019503103256225587,
|
| 142 |
+
0.019491840362548828,
|
| 143 |
+
0.019511295318603517,
|
| 144 |
+
0.019474431991577147,
|
| 145 |
+
0.01944883155822754,
|
| 146 |
+
0.019406848907470704,
|
| 147 |
+
0.019449855804443358,
|
| 148 |
+
0.01945088005065918,
|
| 149 |
+
0.01943142318725586,
|
| 150 |
+
0.01947340774536133,
|
| 151 |
+
0.01948876762390137,
|
| 152 |
+
0.01942323112487793,
|
| 153 |
+
0.01943449592590332,
|
| 154 |
+
0.019408895492553712,
|
| 155 |
+
0.019491840362548828,
|
| 156 |
+
0.01948467254638672,
|
| 157 |
+
0.01944883155822754,
|
| 158 |
+
0.019430400848388672,
|
| 159 |
+
0.019467264175415038,
|
| 160 |
+
0.019475456237792968,
|
| 161 |
+
0.01943552017211914,
|
| 162 |
+
0.019400703430175782,
|
| 163 |
+
0.019458047866821288,
|
| 164 |
+
0.01944268798828125,
|
| 165 |
+
0.019507200241088866,
|
| 166 |
+
0.0194652156829834,
|
| 167 |
+
0.019501056671142578,
|
| 168 |
+
0.01946009635925293,
|
| 169 |
+
0.01947648048400879,
|
| 170 |
+
0.0195020809173584,
|
| 171 |
+
0.01945292854309082,
|
| 172 |
+
0.0194201602935791,
|
| 173 |
+
0.019471359252929688,
|
| 174 |
+
0.01949286460876465,
|
| 175 |
+
0.019518463134765626,
|
| 176 |
+
0.01946828842163086,
|
| 177 |
+
0.019479551315307618,
|
| 178 |
+
0.01945088005065918,
|
| 179 |
+
0.019491840362548828,
|
| 180 |
+
0.019483648300170898,
|
| 181 |
+
0.01947340774536133,
|
| 182 |
+
0.019499008178710937,
|
| 183 |
+
0.019277856826782225,
|
| 184 |
+
0.019397600173950195,
|
| 185 |
+
0.019479551315307618,
|
| 186 |
+
0.01944166374206543,
|
| 187 |
+
0.019280895233154297,
|
| 188 |
+
0.01925632095336914,
|
| 189 |
+
0.01944883155822754,
|
| 190 |
+
0.019474431991577147,
|
| 191 |
+
0.019532800674438477,
|
| 192 |
+
0.019504127502441407,
|
| 193 |
+
0.019499008178710937,
|
| 194 |
+
0.019479551315307618,
|
| 195 |
+
0.019487743377685548,
|
| 196 |
+
0.019581951141357423,
|
| 197 |
+
0.01947750473022461,
|
| 198 |
+
0.01944576072692871,
|
| 199 |
+
0.01948569679260254,
|
| 200 |
+
0.01947340774536133,
|
| 201 |
+
0.019518463134765626,
|
| 202 |
+
0.01946419143676758,
|
| 203 |
+
0.0409354248046875,
|
| 204 |
+
0.019520511627197267,
|
| 205 |
+
0.019540992736816407,
|
| 206 |
+
0.01946419143676758,
|
| 207 |
+
0.019430400848388672,
|
| 208 |
+
0.01946931266784668,
|
| 209 |
+
0.01944576072692871,
|
| 210 |
+
0.019518463134765626,
|
| 211 |
+
0.019511295318603517,
|
| 212 |
+
0.01946828842163086,
|
| 213 |
+
0.019562496185302734,
|
| 214 |
+
0.01945907211303711,
|
| 215 |
+
0.019569664001464843,
|
| 216 |
+
0.019471359252929688,
|
| 217 |
+
0.019606527328491212,
|
| 218 |
+
0.019505151748657225,
|
| 219 |
+
0.019506175994873046,
|
| 220 |
+
0.019517440795898438,
|
| 221 |
+
0.019513343811035155,
|
| 222 |
+
0.019482624053955077,
|
| 223 |
+
0.019535871505737306,
|
| 224 |
+
0.019524608612060547,
|
| 225 |
+
0.01946316719055176,
|
| 226 |
+
0.019510271072387696,
|
| 227 |
+
0.019518463134765626,
|
| 228 |
+
0.0194703369140625,
|
| 229 |
+
0.01946419143676758,
|
| 230 |
+
0.019514368057250975,
|
| 231 |
+
0.019553279876708983,
|
| 232 |
+
0.01945497512817383,
|
| 233 |
+
0.01945395278930664,
|
| 234 |
+
0.01943449592590332,
|
| 235 |
+
0.019481599807739256,
|
| 236 |
+
0.019531776428222656,
|
| 237 |
+
0.019503103256225587,
|
| 238 |
+
0.01944371223449707,
|
| 239 |
+
0.01942630386352539,
|
| 240 |
+
0.01946419143676758,
|
| 241 |
+
0.019528703689575197,
|
| 242 |
+
0.01946316719055176,
|
| 243 |
+
0.01946316719055176,
|
| 244 |
+
0.01946009635925293,
|
| 245 |
+
0.0194652156829834,
|
| 246 |
+
0.02002124786376953,
|
| 247 |
+
0.019544063568115236,
|
| 248 |
+
0.019329023361206055,
|
| 249 |
+
0.019375104904174805,
|
| 250 |
+
0.0194467830657959,
|
| 251 |
+
0.019795967102050782,
|
| 252 |
+
0.020237312316894532,
|
| 253 |
+
0.019538944244384765,
|
| 254 |
+
0.019490816116333007,
|
| 255 |
+
0.019524608612060547,
|
| 256 |
+
0.019523584365844726,
|
| 257 |
+
0.019516416549682617,
|
| 258 |
+
0.019509248733520508,
|
| 259 |
+
0.01949286460876465,
|
| 260 |
+
0.019511295318603517,
|
| 261 |
+
0.019495935440063478,
|
| 262 |
+
0.01944576072692871,
|
| 263 |
+
0.01945395278930664,
|
| 264 |
+
0.01944063949584961,
|
| 265 |
+
0.0194652156829834,
|
| 266 |
+
0.019491840362548828,
|
| 267 |
+
0.01946419143676758,
|
| 268 |
+
0.019479551315307618,
|
| 269 |
+
0.0194969596862793,
|
| 270 |
+
0.019481599807739256,
|
| 271 |
+
0.02023321533203125,
|
| 272 |
+
0.02042470359802246,
|
| 273 |
+
0.020346879959106445,
|
| 274 |
+
0.020700159072875975,
|
| 275 |
+
0.019696640014648437,
|
| 276 |
+
0.01970790481567383,
|
| 277 |
+
0.019575807571411134,
|
| 278 |
+
0.019535871505737306,
|
| 279 |
+
0.01948057556152344,
|
| 280 |
+
0.01945292854309082,
|
| 281 |
+
0.019538944244384765,
|
| 282 |
+
0.019546112060546874,
|
| 283 |
+
0.01948467254638672,
|
| 284 |
+
0.019505151748657225,
|
| 285 |
+
0.019512319564819337,
|
| 286 |
+
0.019499008178710937,
|
| 287 |
+
0.01949286460876465,
|
| 288 |
+
0.019475456237792968,
|
| 289 |
+
0.019813375473022463,
|
| 290 |
+
0.02025881576538086,
|
| 291 |
+
0.020090879440307616,
|
| 292 |
+
0.020328447341918944,
|
| 293 |
+
0.020175872802734376,
|
| 294 |
+
0.02024140739440918,
|
| 295 |
+
0.020297727584838866,
|
| 296 |
+
0.02029465675354004,
|
| 297 |
+
0.020341760635375978,
|
| 298 |
+
0.02024448013305664,
|
| 299 |
+
0.020257791519165038,
|
| 300 |
+
0.01965977668762207,
|
| 301 |
+
0.019530752182006835,
|
| 302 |
+
0.01963827133178711,
|
| 303 |
+
0.019487743377685548,
|
| 304 |
+
0.019515455245971678,
|
| 305 |
+
0.019467199325561523,
|
| 306 |
+
0.019507200241088866,
|
| 307 |
+
0.019474431991577147,
|
| 308 |
+
0.019516416549682617,
|
| 309 |
+
0.019570688247680663,
|
| 310 |
+
0.019597312927246095,
|
| 311 |
+
0.01946931266784668,
|
| 312 |
+
0.019514368057250975,
|
| 313 |
+
0.01946419143676758,
|
| 314 |
+
0.019503103256225587,
|
| 315 |
+
0.01947340774536133,
|
| 316 |
+
0.019475456237792968,
|
| 317 |
+
0.019511295318603517,
|
| 318 |
+
0.01947238349914551,
|
| 319 |
+
0.019546112060546874,
|
| 320 |
+
0.019526655197143555,
|
| 321 |
+
0.019577856063842772,
|
| 322 |
+
0.019545087814331053,
|
| 323 |
+
0.019516416549682617,
|
| 324 |
+
0.019511295318603517,
|
| 325 |
+
0.019546112060546874,
|
| 326 |
+
0.019552255630493166,
|
| 327 |
+
0.019555328369140625,
|
| 328 |
+
0.019524608612060547,
|
| 329 |
+
0.01946931266784668
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 50.67001000579492
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.021873536109924315,
|
| 7 |
+
"prefill.throughput.value": 320.0214160537128,
|
| 8 |
+
"decode.latency.mean": 2.4960036621093753,
|
| 9 |
+
"decode.throughput.value": 50.88133560375956,
|
| 10 |
+
"per_token.latency.mean": 0.019735539817056166,
|
| 11 |
+
"per_token.throughput.value": 50.67001000579492
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_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 |
+
latency: true
|
| 51 |
+
memory: 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 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 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/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${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/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 57 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1918.32064,
|
| 109 |
+
"max_global_vram": 6094.848,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 5379.19488,
|
| 112 |
+
"max_allocated": 5021.251584
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.028093472480773925,
|
| 118 |
+
"mean": 0.014046736240386963,
|
| 119 |
+
"stdev": 0.00010753583908081066,
|
| 120 |
+
"p50": 0.014046736240386963,
|
| 121 |
+
"p90": 0.014132764911651611,
|
| 122 |
+
"p95": 0.014143518495559693,
|
| 123 |
+
"p99": 0.014152121362686157,
|
| 124 |
+
"values": [
|
| 125 |
+
0.014154272079467773,
|
| 126 |
+
0.013939200401306152
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 498.33640215110654
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 2262.26176,
|
| 140 |
+
"max_global_vram": 8907.128832,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 5379.19488,
|
| 143 |
+
"max_allocated": 5027.089408
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 3.120976440429687,
|
| 149 |
+
"mean": 1.5604882202148436,
|
| 150 |
+
"stdev": 0.0016102905273437385,
|
| 151 |
+
"p50": 1.5604882202148436,
|
| 152 |
+
"p90": 1.5617764526367186,
|
| 153 |
+
"p95": 1.5619374816894531,
|
| 154 |
+
"p99": 1.5620663049316406,
|
| 155 |
+
"values": [
|
| 156 |
+
1.5620985107421874,
|
| 157 |
+
1.5588779296875
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 81.38478609118562
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 3.1220500497817993,
|
| 173 |
+
"mean": 0.012340118773841105,
|
| 174 |
+
"stdev": 0.0008910680088161562,
|
| 175 |
+
"p50": 0.012271615982055664,
|
| 176 |
+
"p90": 0.012317081260681153,
|
| 177 |
+
"p95": 0.012428902626037599,
|
| 178 |
+
"p99": 0.012765511856079102,
|
| 179 |
+
"values": [
|
| 180 |
+
0.01265561580657959,
|
| 181 |
+
0.01274880027770996,
|
| 182 |
+
0.012724224090576173,
|
| 183 |
+
0.012795904159545898,
|
| 184 |
+
0.012255295753479004,
|
| 185 |
+
0.01228384017944336,
|
| 186 |
+
0.012246015548706055,
|
| 187 |
+
0.012281855583190919,
|
| 188 |
+
0.012237824440002442,
|
| 189 |
+
0.012295167922973632,
|
| 190 |
+
0.012241920471191407,
|
| 191 |
+
0.012271615982055664,
|
| 192 |
+
0.012256256103515625,
|
| 193 |
+
0.012281855583190919,
|
| 194 |
+
0.012238847732543945,
|
| 195 |
+
0.012291071891784668,
|
| 196 |
+
0.012236800193786621,
|
| 197 |
+
0.012294143676757812,
|
| 198 |
+
0.012253184318542481,
|
| 199 |
+
0.012400639533996583,
|
| 200 |
+
0.012255231857299804,
|
| 201 |
+
0.012290047645568849,
|
| 202 |
+
0.012246015548706055,
|
| 203 |
+
0.01228492832183838,
|
| 204 |
+
0.01224505615234375,
|
| 205 |
+
0.012285887718200683,
|
| 206 |
+
0.012228608131408691,
|
| 207 |
+
0.012283904075622559,
|
| 208 |
+
0.01225216007232666,
|
| 209 |
+
0.01228492832183838,
|
| 210 |
+
0.01224294376373291,
|
| 211 |
+
0.012282879829406738,
|
| 212 |
+
0.012248064041137695,
|
| 213 |
+
0.012291071891784668,
|
| 214 |
+
0.012233728408813477,
|
| 215 |
+
0.012294143676757812,
|
| 216 |
+
0.012262399673461915,
|
| 217 |
+
0.012288000106811523,
|
| 218 |
+
0.012226559638977052,
|
| 219 |
+
0.012288000106811523,
|
| 220 |
+
0.012239871978759765,
|
| 221 |
+
0.012279808044433594,
|
| 222 |
+
0.012230655670166016,
|
| 223 |
+
0.012275712013244629,
|
| 224 |
+
0.0122357759475708,
|
| 225 |
+
0.012275712013244629,
|
| 226 |
+
0.012239871978759765,
|
| 227 |
+
0.012291071891784668,
|
| 228 |
+
0.012253184318542481,
|
| 229 |
+
0.01229312038421631,
|
| 230 |
+
0.012229632377624512,
|
| 231 |
+
0.012271615982055664,
|
| 232 |
+
0.012314623832702636,
|
| 233 |
+
0.012291071891784668,
|
| 234 |
+
0.012254207611083985,
|
| 235 |
+
0.012288000106811523,
|
| 236 |
+
0.01253273582458496,
|
| 237 |
+
0.01245081615447998,
|
| 238 |
+
0.012340224266052247,
|
| 239 |
+
0.012317695617675782,
|
| 240 |
+
0.012298239707946777,
|
| 241 |
+
0.012302335739135742,
|
| 242 |
+
0.01224396800994873,
|
| 243 |
+
0.01226854419708252,
|
| 244 |
+
0.012232704162597656,
|
| 245 |
+
0.012271615982055664,
|
| 246 |
+
0.012233728408813477,
|
| 247 |
+
0.01226956844329834,
|
| 248 |
+
0.01222758388519287,
|
| 249 |
+
0.012272640228271485,
|
| 250 |
+
0.012223487854003906,
|
| 251 |
+
0.012279808044433594,
|
| 252 |
+
0.012225536346435547,
|
| 253 |
+
0.012280832290649414,
|
| 254 |
+
0.012239871978759765,
|
| 255 |
+
0.01229312038421631,
|
| 256 |
+
0.01225216007232666,
|
| 257 |
+
0.012274687767028808,
|
| 258 |
+
0.01224294376373291,
|
| 259 |
+
0.012291071891784668,
|
| 260 |
+
0.012377087593078612,
|
| 261 |
+
0.012385279655456542,
|
| 262 |
+
0.012497920036315918,
|
| 263 |
+
0.012463104248046876,
|
| 264 |
+
0.012783616065979005,
|
| 265 |
+
0.012308480262756348,
|
| 266 |
+
0.01226035213470459,
|
| 267 |
+
0.012290047645568849,
|
| 268 |
+
0.012249088287353516,
|
| 269 |
+
0.012295167922973632,
|
| 270 |
+
0.01224396800994873,
|
| 271 |
+
0.012291071891784668,
|
| 272 |
+
0.012244992256164551,
|
| 273 |
+
0.012310527801513671,
|
| 274 |
+
0.012246015548706055,
|
| 275 |
+
0.012294143676757812,
|
| 276 |
+
0.01225216007232666,
|
| 277 |
+
0.012291071891784668,
|
| 278 |
+
0.01224294376373291,
|
| 279 |
+
0.012278783798217773,
|
| 280 |
+
0.012217344284057617,
|
| 281 |
+
0.012304384231567383,
|
| 282 |
+
0.01226035213470459,
|
| 283 |
+
0.012278783798217773,
|
| 284 |
+
0.012246015548706055,
|
| 285 |
+
0.012282879829406738,
|
| 286 |
+
0.012236800193786621,
|
| 287 |
+
0.012288000106811523,
|
| 288 |
+
0.01223475170135498,
|
| 289 |
+
0.012273695945739746,
|
| 290 |
+
0.012233695983886718,
|
| 291 |
+
0.01228492832183838,
|
| 292 |
+
0.0122357759475708,
|
| 293 |
+
0.012274687767028808,
|
| 294 |
+
0.01223475170135498,
|
| 295 |
+
0.012280832290649414,
|
| 296 |
+
0.012300288200378418,
|
| 297 |
+
0.012301312446594239,
|
| 298 |
+
0.01223475170135498,
|
| 299 |
+
0.012264448165893555,
|
| 300 |
+
0.012239871978759765,
|
| 301 |
+
0.012277759552001954,
|
| 302 |
+
0.012240896224975586,
|
| 303 |
+
0.012298239707946777,
|
| 304 |
+
0.012248064041137695,
|
| 305 |
+
0.012283904075622559,
|
| 306 |
+
0.026423295974731444,
|
| 307 |
+
0.012236800193786621,
|
| 308 |
+
0.012308480262756348,
|
| 309 |
+
0.012248064041137695,
|
| 310 |
+
0.012286975860595703,
|
| 311 |
+
0.012233728408813477,
|
| 312 |
+
0.012283904075622559,
|
| 313 |
+
0.012239871978759765,
|
| 314 |
+
0.012271615982055664,
|
| 315 |
+
0.012239871978759765,
|
| 316 |
+
0.012431360244750977,
|
| 317 |
+
0.012427264213562012,
|
| 318 |
+
0.012431360244750977,
|
| 319 |
+
0.012280832290649414,
|
| 320 |
+
0.012298239707946777,
|
| 321 |
+
0.012257280349731446,
|
| 322 |
+
0.012292096138000488,
|
| 323 |
+
0.012236800193786621,
|
| 324 |
+
0.012281855583190919,
|
| 325 |
+
0.012247039794921874,
|
| 326 |
+
0.012278783798217773,
|
| 327 |
+
0.012241920471191407,
|
| 328 |
+
0.01228492832183838,
|
| 329 |
+
0.01224396800994873,
|
| 330 |
+
0.012296192169189453,
|
| 331 |
+
0.01225113582611084,
|
| 332 |
+
0.012295167922973632,
|
| 333 |
+
0.012224512100219726,
|
| 334 |
+
0.012283904075622559,
|
| 335 |
+
0.012237824440002442,
|
| 336 |
+
0.012270591735839843,
|
| 337 |
+
0.012231679916381836,
|
| 338 |
+
0.012270591735839843,
|
| 339 |
+
0.012226559638977052,
|
| 340 |
+
0.012353535652160644,
|
| 341 |
+
0.012333056449890138,
|
| 342 |
+
0.012389375686645507,
|
| 343 |
+
0.012298239707946777,
|
| 344 |
+
0.01228492832183838,
|
| 345 |
+
0.012259327888488769,
|
| 346 |
+
0.012377087593078612,
|
| 347 |
+
0.01225011157989502,
|
| 348 |
+
0.012283904075622559,
|
| 349 |
+
0.012230655670166016,
|
| 350 |
+
0.012271615982055664,
|
| 351 |
+
0.012229632377624512,
|
| 352 |
+
0.012285951614379884,
|
| 353 |
+
0.01224294376373291,
|
| 354 |
+
0.012283904075622559,
|
| 355 |
+
0.012244992256164551,
|
| 356 |
+
0.012272704124450683,
|
| 357 |
+
0.01223366355895996,
|
| 358 |
+
0.01228492832183838,
|
| 359 |
+
0.012241920471191407,
|
| 360 |
+
0.012307456016540527,
|
| 361 |
+
0.012264448165893555,
|
| 362 |
+
0.012278783798217773,
|
| 363 |
+
0.012233728408813477,
|
| 364 |
+
0.01226956844329834,
|
| 365 |
+
0.012218367576599122,
|
| 366 |
+
0.012271615982055664,
|
| 367 |
+
0.012225536346435547,
|
| 368 |
+
0.012274687767028808,
|
| 369 |
+
0.012225536346435547,
|
| 370 |
+
0.012262399673461915,
|
| 371 |
+
0.012229632377624512,
|
| 372 |
+
0.012281855583190919,
|
| 373 |
+
0.012231679916381836,
|
| 374 |
+
0.012288000106811523,
|
| 375 |
+
0.012225536346435547,
|
| 376 |
+
0.012307456016540527,
|
| 377 |
+
0.012266495704650878,
|
| 378 |
+
0.012273664474487305,
|
| 379 |
+
0.012228608131408691,
|
| 380 |
+
0.012280832290649414,
|
| 381 |
+
0.012231679916381836,
|
| 382 |
+
0.012277759552001954,
|
| 383 |
+
0.012226559638977052,
|
| 384 |
+
0.012302335739135742,
|
| 385 |
+
0.012241920471191407,
|
| 386 |
+
0.012275775909423829,
|
| 387 |
+
0.012251071929931641,
|
| 388 |
+
0.012270591735839843,
|
| 389 |
+
0.012240896224975586,
|
| 390 |
+
0.012321791648864745,
|
| 391 |
+
0.012253184318542481,
|
| 392 |
+
0.01228492832183838,
|
| 393 |
+
0.012236800193786621,
|
| 394 |
+
0.01226854419708252,
|
| 395 |
+
0.01224294376373291,
|
| 396 |
+
0.01228492832183838,
|
| 397 |
+
0.012225536346435547,
|
| 398 |
+
0.01229312038421631,
|
| 399 |
+
0.012259327888488769,
|
| 400 |
+
0.01228492832183838,
|
| 401 |
+
0.0122357759475708,
|
| 402 |
+
0.012265472412109376,
|
| 403 |
+
0.012226559638977052,
|
| 404 |
+
0.012375040054321289,
|
| 405 |
+
0.01267404842376709,
|
| 406 |
+
0.01235865592956543,
|
| 407 |
+
0.012233728408813477,
|
| 408 |
+
0.01229312038421631,
|
| 409 |
+
0.01224396800994873,
|
| 410 |
+
0.01228492832183838,
|
| 411 |
+
0.01224294376373291,
|
| 412 |
+
0.012270591735839843,
|
| 413 |
+
0.012228608131408691,
|
| 414 |
+
0.012267519950866699,
|
| 415 |
+
0.01225113582611084,
|
| 416 |
+
0.012264448165893555,
|
| 417 |
+
0.012232704162597656,
|
| 418 |
+
0.012291071891784668,
|
| 419 |
+
0.012248096466064453,
|
| 420 |
+
0.012288991928100585,
|
| 421 |
+
0.012238847732543945,
|
| 422 |
+
0.012271615982055664,
|
| 423 |
+
0.012246015548706055,
|
| 424 |
+
0.012294143676757812,
|
| 425 |
+
0.012238847732543945,
|
| 426 |
+
0.012279808044433594,
|
| 427 |
+
0.01224396800994873,
|
| 428 |
+
0.012273664474487305,
|
| 429 |
+
0.012236800193786621,
|
| 430 |
+
0.012274687767028808,
|
| 431 |
+
0.012232704162597656,
|
| 432 |
+
0.012275712013244629
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 81.03649716239565
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 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 |
+
"hub_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 |
+
"latency": true,
|
| 56 |
+
"memory": 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 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1918.32064,
|
| 6 |
+
"max_global_vram": 6094.848,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 5379.19488,
|
| 9 |
+
"max_allocated": 5021.251584
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.028093472480773925,
|
| 15 |
+
"mean": 0.014046736240386963,
|
| 16 |
+
"stdev": 0.00010753583908081066,
|
| 17 |
+
"p50": 0.014046736240386963,
|
| 18 |
+
"p90": 0.014132764911651611,
|
| 19 |
+
"p95": 0.014143518495559693,
|
| 20 |
+
"p99": 0.014152121362686157,
|
| 21 |
+
"values": [
|
| 22 |
+
0.014154272079467773,
|
| 23 |
+
0.013939200401306152
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 498.33640215110654
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 2262.26176,
|
| 37 |
+
"max_global_vram": 8907.128832,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 5379.19488,
|
| 40 |
+
"max_allocated": 5027.089408
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 3.120976440429687,
|
| 46 |
+
"mean": 1.5604882202148436,
|
| 47 |
+
"stdev": 0.0016102905273437385,
|
| 48 |
+
"p50": 1.5604882202148436,
|
| 49 |
+
"p90": 1.5617764526367186,
|
| 50 |
+
"p95": 1.5619374816894531,
|
| 51 |
+
"p99": 1.5620663049316406,
|
| 52 |
+
"values": [
|
| 53 |
+
1.5620985107421874,
|
| 54 |
+
1.5588779296875
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 81.38478609118562
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 3.1220500497817993,
|
| 70 |
+
"mean": 0.012340118773841105,
|
| 71 |
+
"stdev": 0.0008910680088161562,
|
| 72 |
+
"p50": 0.012271615982055664,
|
| 73 |
+
"p90": 0.012317081260681153,
|
| 74 |
+
"p95": 0.012428902626037599,
|
| 75 |
+
"p99": 0.012765511856079102,
|
| 76 |
+
"values": [
|
| 77 |
+
0.01265561580657959,
|
| 78 |
+
0.01274880027770996,
|
| 79 |
+
0.012724224090576173,
|
| 80 |
+
0.012795904159545898,
|
| 81 |
+
0.012255295753479004,
|
| 82 |
+
0.01228384017944336,
|
| 83 |
+
0.012246015548706055,
|
| 84 |
+
0.012281855583190919,
|
| 85 |
+
0.012237824440002442,
|
| 86 |
+
0.012295167922973632,
|
| 87 |
+
0.012241920471191407,
|
| 88 |
+
0.012271615982055664,
|
| 89 |
+
0.012256256103515625,
|
| 90 |
+
0.012281855583190919,
|
| 91 |
+
0.012238847732543945,
|
| 92 |
+
0.012291071891784668,
|
| 93 |
+
0.012236800193786621,
|
| 94 |
+
0.012294143676757812,
|
| 95 |
+
0.012253184318542481,
|
| 96 |
+
0.012400639533996583,
|
| 97 |
+
0.012255231857299804,
|
| 98 |
+
0.012290047645568849,
|
| 99 |
+
0.012246015548706055,
|
| 100 |
+
0.01228492832183838,
|
| 101 |
+
0.01224505615234375,
|
| 102 |
+
0.012285887718200683,
|
| 103 |
+
0.012228608131408691,
|
| 104 |
+
0.012283904075622559,
|
| 105 |
+
0.01225216007232666,
|
| 106 |
+
0.01228492832183838,
|
| 107 |
+
0.01224294376373291,
|
| 108 |
+
0.012282879829406738,
|
| 109 |
+
0.012248064041137695,
|
| 110 |
+
0.012291071891784668,
|
| 111 |
+
0.012233728408813477,
|
| 112 |
+
0.012294143676757812,
|
| 113 |
+
0.012262399673461915,
|
| 114 |
+
0.012288000106811523,
|
| 115 |
+
0.012226559638977052,
|
| 116 |
+
0.012288000106811523,
|
| 117 |
+
0.012239871978759765,
|
| 118 |
+
0.012279808044433594,
|
| 119 |
+
0.012230655670166016,
|
| 120 |
+
0.012275712013244629,
|
| 121 |
+
0.0122357759475708,
|
| 122 |
+
0.012275712013244629,
|
| 123 |
+
0.012239871978759765,
|
| 124 |
+
0.012291071891784668,
|
| 125 |
+
0.012253184318542481,
|
| 126 |
+
0.01229312038421631,
|
| 127 |
+
0.012229632377624512,
|
| 128 |
+
0.012271615982055664,
|
| 129 |
+
0.012314623832702636,
|
| 130 |
+
0.012291071891784668,
|
| 131 |
+
0.012254207611083985,
|
| 132 |
+
0.012288000106811523,
|
| 133 |
+
0.01253273582458496,
|
| 134 |
+
0.01245081615447998,
|
| 135 |
+
0.012340224266052247,
|
| 136 |
+
0.012317695617675782,
|
| 137 |
+
0.012298239707946777,
|
| 138 |
+
0.012302335739135742,
|
| 139 |
+
0.01224396800994873,
|
| 140 |
+
0.01226854419708252,
|
| 141 |
+
0.012232704162597656,
|
| 142 |
+
0.012271615982055664,
|
| 143 |
+
0.012233728408813477,
|
| 144 |
+
0.01226956844329834,
|
| 145 |
+
0.01222758388519287,
|
| 146 |
+
0.012272640228271485,
|
| 147 |
+
0.012223487854003906,
|
| 148 |
+
0.012279808044433594,
|
| 149 |
+
0.012225536346435547,
|
| 150 |
+
0.012280832290649414,
|
| 151 |
+
0.012239871978759765,
|
| 152 |
+
0.01229312038421631,
|
| 153 |
+
0.01225216007232666,
|
| 154 |
+
0.012274687767028808,
|
| 155 |
+
0.01224294376373291,
|
| 156 |
+
0.012291071891784668,
|
| 157 |
+
0.012377087593078612,
|
| 158 |
+
0.012385279655456542,
|
| 159 |
+
0.012497920036315918,
|
| 160 |
+
0.012463104248046876,
|
| 161 |
+
0.012783616065979005,
|
| 162 |
+
0.012308480262756348,
|
| 163 |
+
0.01226035213470459,
|
| 164 |
+
0.012290047645568849,
|
| 165 |
+
0.012249088287353516,
|
| 166 |
+
0.012295167922973632,
|
| 167 |
+
0.01224396800994873,
|
| 168 |
+
0.012291071891784668,
|
| 169 |
+
0.012244992256164551,
|
| 170 |
+
0.012310527801513671,
|
| 171 |
+
0.012246015548706055,
|
| 172 |
+
0.012294143676757812,
|
| 173 |
+
0.01225216007232666,
|
| 174 |
+
0.012291071891784668,
|
| 175 |
+
0.01224294376373291,
|
| 176 |
+
0.012278783798217773,
|
| 177 |
+
0.012217344284057617,
|
| 178 |
+
0.012304384231567383,
|
| 179 |
+
0.01226035213470459,
|
| 180 |
+
0.012278783798217773,
|
| 181 |
+
0.012246015548706055,
|
| 182 |
+
0.012282879829406738,
|
| 183 |
+
0.012236800193786621,
|
| 184 |
+
0.012288000106811523,
|
| 185 |
+
0.01223475170135498,
|
| 186 |
+
0.012273695945739746,
|
| 187 |
+
0.012233695983886718,
|
| 188 |
+
0.01228492832183838,
|
| 189 |
+
0.0122357759475708,
|
| 190 |
+
0.012274687767028808,
|
| 191 |
+
0.01223475170135498,
|
| 192 |
+
0.012280832290649414,
|
| 193 |
+
0.012300288200378418,
|
| 194 |
+
0.012301312446594239,
|
| 195 |
+
0.01223475170135498,
|
| 196 |
+
0.012264448165893555,
|
| 197 |
+
0.012239871978759765,
|
| 198 |
+
0.012277759552001954,
|
| 199 |
+
0.012240896224975586,
|
| 200 |
+
0.012298239707946777,
|
| 201 |
+
0.012248064041137695,
|
| 202 |
+
0.012283904075622559,
|
| 203 |
+
0.026423295974731444,
|
| 204 |
+
0.012236800193786621,
|
| 205 |
+
0.012308480262756348,
|
| 206 |
+
0.012248064041137695,
|
| 207 |
+
0.012286975860595703,
|
| 208 |
+
0.012233728408813477,
|
| 209 |
+
0.012283904075622559,
|
| 210 |
+
0.012239871978759765,
|
| 211 |
+
0.012271615982055664,
|
| 212 |
+
0.012239871978759765,
|
| 213 |
+
0.012431360244750977,
|
| 214 |
+
0.012427264213562012,
|
| 215 |
+
0.012431360244750977,
|
| 216 |
+
0.012280832290649414,
|
| 217 |
+
0.012298239707946777,
|
| 218 |
+
0.012257280349731446,
|
| 219 |
+
0.012292096138000488,
|
| 220 |
+
0.012236800193786621,
|
| 221 |
+
0.012281855583190919,
|
| 222 |
+
0.012247039794921874,
|
| 223 |
+
0.012278783798217773,
|
| 224 |
+
0.012241920471191407,
|
| 225 |
+
0.01228492832183838,
|
| 226 |
+
0.01224396800994873,
|
| 227 |
+
0.012296192169189453,
|
| 228 |
+
0.01225113582611084,
|
| 229 |
+
0.012295167922973632,
|
| 230 |
+
0.012224512100219726,
|
| 231 |
+
0.012283904075622559,
|
| 232 |
+
0.012237824440002442,
|
| 233 |
+
0.012270591735839843,
|
| 234 |
+
0.012231679916381836,
|
| 235 |
+
0.012270591735839843,
|
| 236 |
+
0.012226559638977052,
|
| 237 |
+
0.012353535652160644,
|
| 238 |
+
0.012333056449890138,
|
| 239 |
+
0.012389375686645507,
|
| 240 |
+
0.012298239707946777,
|
| 241 |
+
0.01228492832183838,
|
| 242 |
+
0.012259327888488769,
|
| 243 |
+
0.012377087593078612,
|
| 244 |
+
0.01225011157989502,
|
| 245 |
+
0.012283904075622559,
|
| 246 |
+
0.012230655670166016,
|
| 247 |
+
0.012271615982055664,
|
| 248 |
+
0.012229632377624512,
|
| 249 |
+
0.012285951614379884,
|
| 250 |
+
0.01224294376373291,
|
| 251 |
+
0.012283904075622559,
|
| 252 |
+
0.012244992256164551,
|
| 253 |
+
0.012272704124450683,
|
| 254 |
+
0.01223366355895996,
|
| 255 |
+
0.01228492832183838,
|
| 256 |
+
0.012241920471191407,
|
| 257 |
+
0.012307456016540527,
|
| 258 |
+
0.012264448165893555,
|
| 259 |
+
0.012278783798217773,
|
| 260 |
+
0.012233728408813477,
|
| 261 |
+
0.01226956844329834,
|
| 262 |
+
0.012218367576599122,
|
| 263 |
+
0.012271615982055664,
|
| 264 |
+
0.012225536346435547,
|
| 265 |
+
0.012274687767028808,
|
| 266 |
+
0.012225536346435547,
|
| 267 |
+
0.012262399673461915,
|
| 268 |
+
0.012229632377624512,
|
| 269 |
+
0.012281855583190919,
|
| 270 |
+
0.012231679916381836,
|
| 271 |
+
0.012288000106811523,
|
| 272 |
+
0.012225536346435547,
|
| 273 |
+
0.012307456016540527,
|
| 274 |
+
0.012266495704650878,
|
| 275 |
+
0.012273664474487305,
|
| 276 |
+
0.012228608131408691,
|
| 277 |
+
0.012280832290649414,
|
| 278 |
+
0.012231679916381836,
|
| 279 |
+
0.012277759552001954,
|
| 280 |
+
0.012226559638977052,
|
| 281 |
+
0.012302335739135742,
|
| 282 |
+
0.012241920471191407,
|
| 283 |
+
0.012275775909423829,
|
| 284 |
+
0.012251071929931641,
|
| 285 |
+
0.012270591735839843,
|
| 286 |
+
0.012240896224975586,
|
| 287 |
+
0.012321791648864745,
|
| 288 |
+
0.012253184318542481,
|
| 289 |
+
0.01228492832183838,
|
| 290 |
+
0.012236800193786621,
|
| 291 |
+
0.01226854419708252,
|
| 292 |
+
0.01224294376373291,
|
| 293 |
+
0.01228492832183838,
|
| 294 |
+
0.012225536346435547,
|
| 295 |
+
0.01229312038421631,
|
| 296 |
+
0.012259327888488769,
|
| 297 |
+
0.01228492832183838,
|
| 298 |
+
0.0122357759475708,
|
| 299 |
+
0.012265472412109376,
|
| 300 |
+
0.012226559638977052,
|
| 301 |
+
0.012375040054321289,
|
| 302 |
+
0.01267404842376709,
|
| 303 |
+
0.01235865592956543,
|
| 304 |
+
0.012233728408813477,
|
| 305 |
+
0.01229312038421631,
|
| 306 |
+
0.01224396800994873,
|
| 307 |
+
0.01228492832183838,
|
| 308 |
+
0.01224294376373291,
|
| 309 |
+
0.012270591735839843,
|
| 310 |
+
0.012228608131408691,
|
| 311 |
+
0.012267519950866699,
|
| 312 |
+
0.01225113582611084,
|
| 313 |
+
0.012264448165893555,
|
| 314 |
+
0.012232704162597656,
|
| 315 |
+
0.012291071891784668,
|
| 316 |
+
0.012248096466064453,
|
| 317 |
+
0.012288991928100585,
|
| 318 |
+
0.012238847732543945,
|
| 319 |
+
0.012271615982055664,
|
| 320 |
+
0.012246015548706055,
|
| 321 |
+
0.012294143676757812,
|
| 322 |
+
0.012238847732543945,
|
| 323 |
+
0.012279808044433594,
|
| 324 |
+
0.01224396800994873,
|
| 325 |
+
0.012273664474487305,
|
| 326 |
+
0.012236800193786621,
|
| 327 |
+
0.012274687767028808,
|
| 328 |
+
0.012232704162597656,
|
| 329 |
+
0.012275712013244629
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 81.03649716239565
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/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": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014046736240386963,
|
| 7 |
+
"prefill.throughput.value": 498.33640215110654,
|
| 8 |
+
"decode.latency.mean": 1.5604882202148436,
|
| 9 |
+
"decode.throughput.value": 81.38478609118562,
|
| 10 |
+
"per_token.latency.mean": 0.012340118773841105,
|
| 11 |
+
"per_token.throughput.value": 81.03649716239565
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-12/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/multirun.yaml
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9g4hc0uy/commit=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 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/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9g4hc0uy/commit\=35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23/${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.3.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model: google/gemma-2b
|
| 150 |
+
processor: null
|
| 151 |
+
device: cuda
|
| 152 |
+
device_ids: '0'
|
| 153 |
+
seed: 42
|
| 154 |
+
inter_op_num_threads: null
|
| 155 |
+
intra_op_num_threads: null
|
| 156 |
+
model_kwargs: {}
|
| 157 |
+
processor_kwargs: {}
|
| 158 |
+
hub_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 |
+
latency: true
|
| 192 |
+
memory: 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 |
+
start_method: spawn
|
| 206 |
+
environment:
|
| 207 |
+
cpu: ' AMD EPYC 7R32'
|
| 208 |
+
cpu_count: 16
|
| 209 |
+
cpu_ram_mb: 66697.29792
|
| 210 |
+
system: Linux
|
| 211 |
+
machine: x86_64
|
| 212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 213 |
+
processor: x86_64
|
| 214 |
+
python_version: 3.8.10
|
| 215 |
+
gpu:
|
| 216 |
+
- NVIDIA A10G
|
| 217 |
+
gpu_count: 1
|
| 218 |
+
gpu_vram_mb: 24146608128
|
| 219 |
+
optimum_benchmark_version: 0.2.1
|
| 220 |
+
optimum_benchmark_commit: null
|
| 221 |
+
transformers_version: 4.42.0.dev0
|
| 222 |
+
transformers_commit: 35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23
|
| 223 |
+
accelerate_version: 0.32.0.dev0
|
| 224 |
+
accelerate_commit: null
|
| 225 |
+
diffusers_version: null
|
| 226 |
+
diffusers_commit: null
|
| 227 |
+
optimum_version: 1.21.0.dev0
|
| 228 |
+
optimum_commit: null
|
| 229 |
+
timm_version: 0.9.16
|
| 230 |
+
timm_commit: null
|
| 231 |
+
peft_version: 0.11.2.dev0
|
| 232 |
+
peft_commit: null
|
2024-06-12/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.020440783500671387,
|
| 8 |
+
"prefill.throughput.value": 342.45262662119,
|
| 9 |
+
"decode.latency.mean": 2.45060498046875,
|
| 10 |
+
"decode.throughput.value": 51.82393776728044,
|
| 11 |
+
"per_token.latency.mean": 0.019376820123242766,
|
| 12 |
+
"per_token.throughput.value": 51.608055069907266
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.021873536109924315,
|
| 21 |
+
"prefill.throughput.value": 320.0214160537128,
|
| 22 |
+
"decode.latency.mean": 2.4960036621093753,
|
| 23 |
+
"decode.throughput.value": 50.88133560375956,
|
| 24 |
+
"per_token.latency.mean": 0.019735539817056166,
|
| 25 |
+
"per_token.throughput.value": 50.67001000579492
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014046736240386963,
|
| 34 |
+
"prefill.throughput.value": 498.33640215110654,
|
| 35 |
+
"decode.latency.mean": 1.5604882202148436,
|
| 36 |
+
"decode.throughput.value": 81.38478609118562,
|
| 37 |
+
"per_token.latency.mean": 0.012340118773841105,
|
| 38 |
+
"per_token.throughput.value": 81.03649716239565
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-06-12/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.020440783500671387,
|
| 7 |
+
"prefill.throughput.value": 342.45262662119,
|
| 8 |
+
"decode.latency.mean": 2.45060498046875,
|
| 9 |
+
"decode.throughput.value": 51.82393776728044,
|
| 10 |
+
"per_token.latency.mean": 0.019376820123242766,
|
| 11 |
+
"per_token.throughput.value": 51.608055069907266
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.021873536109924315,
|
| 19 |
+
"prefill.throughput.value": 320.0214160537128,
|
| 20 |
+
"decode.latency.mean": 2.4960036621093753,
|
| 21 |
+
"decode.throughput.value": 50.88133560375956,
|
| 22 |
+
"per_token.latency.mean": 0.019735539817056166,
|
| 23 |
+
"per_token.throughput.value": 50.67001000579492
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014046736240386963,
|
| 31 |
+
"prefill.throughput.value": 498.33640215110654,
|
| 32 |
+
"decode.latency.mean": 1.5604882202148436,
|
| 33 |
+
"decode.throughput.value": 81.38478609118562,
|
| 34 |
+
"per_token.latency.mean": 0.012340118773841105,
|
| 35 |
+
"per_token.throughput.value": 81.03649716239565
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|