Upload folder using huggingface_hub
Browse files- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/multirun.yaml +234 -0
- 2024-09-09/summaries.json +41 -0
- 2024-09-09/summary.json +40 -0
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 6 |
+
subdir: ${hydra.job.override_dirname}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
root:
|
| 71 |
+
level: ERROR
|
| 72 |
+
disable_existing_loggers: true
|
| 73 |
+
job_logging:
|
| 74 |
+
version: 1
|
| 75 |
+
root:
|
| 76 |
+
level: ERROR
|
| 77 |
+
disable_existing_loggers: true
|
| 78 |
+
env: {}
|
| 79 |
+
mode: MULTIRUN
|
| 80 |
+
searchpath: []
|
| 81 |
+
callbacks: {}
|
| 82 |
+
output_subdir: .hydra
|
| 83 |
+
overrides:
|
| 84 |
+
hydra:
|
| 85 |
+
- hydra/job_logging=disabled
|
| 86 |
+
- hydra/hydra_logging=disabled
|
| 87 |
+
- hydra.sweep.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null
|
| 93 |
+
- backend.torch_compile=False
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 98 |
+
id: '0'
|
| 99 |
+
num: 0
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: /transformers/_benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=False
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1336.111104,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 11.5026650390625,
|
| 120 |
+
"mean": 11.5026650390625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.5026650390625,
|
| 123 |
+
"p90": 11.5026650390625,
|
| 124 |
+
"p95": 11.5026650390625,
|
| 125 |
+
"p99": 11.5026650390625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.5026650390625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1781.06368,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6142.558208,
|
| 141 |
+
"max_allocated": 5028.431872
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.04159145545959472,
|
| 147 |
+
"mean": 0.02079572772979736,
|
| 148 |
+
"stdev": 9.697628021240223e-05,
|
| 149 |
+
"p50": 0.02079572772979736,
|
| 150 |
+
"p90": 0.020873308753967285,
|
| 151 |
+
"p95": 0.020883006381988527,
|
| 152 |
+
"p99": 0.02089076448440552,
|
| 153 |
+
"values": [
|
| 154 |
+
0.02069875144958496,
|
| 155 |
+
0.020892704010009765
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 336.6075999336143
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1839.099904,
|
| 169 |
+
"max_global_vram": 6800.539648,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 6146.752512,
|
| 172 |
+
"max_allocated": 5031.801344
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 5.098266357421875,
|
| 178 |
+
"mean": 2.5491331787109375,
|
| 179 |
+
"stdev": 0.0021544189453126528,
|
| 180 |
+
"p50": 2.5491331787109375,
|
| 181 |
+
"p90": 2.5508567138671876,
|
| 182 |
+
"p95": 2.5510721557617186,
|
| 183 |
+
"p99": 2.551244509277344,
|
| 184 |
+
"values": [
|
| 185 |
+
2.55128759765625,
|
| 186 |
+
2.546978759765625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 49.82085716848352
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 5.0979501895904535,
|
| 202 |
+
"mean": 0.020070670037757695,
|
| 203 |
+
"stdev": 0.0005546999471228763,
|
| 204 |
+
"p50": 0.020323840141296387,
|
| 205 |
+
"p90": 0.020567039489746093,
|
| 206 |
+
"p95": 0.020685157680511473,
|
| 207 |
+
"p99": 0.021063240242004393,
|
| 208 |
+
"values": [
|
| 209 |
+
0.01923583984375,
|
| 210 |
+
0.01922867202758789,
|
| 211 |
+
0.019375104904174805,
|
| 212 |
+
0.01923072052001953,
|
| 213 |
+
0.01922150421142578,
|
| 214 |
+
0.01925017547607422,
|
| 215 |
+
0.019321855545043946,
|
| 216 |
+
0.01922355270385742,
|
| 217 |
+
0.0192174072265625,
|
| 218 |
+
0.019549184799194336,
|
| 219 |
+
0.019305471420288087,
|
| 220 |
+
0.01921843147277832,
|
| 221 |
+
0.019336191177368164,
|
| 222 |
+
0.01923072052001953,
|
| 223 |
+
0.01921331214904785,
|
| 224 |
+
0.019183616638183593,
|
| 225 |
+
0.01927475166320801,
|
| 226 |
+
0.01942937660217285,
|
| 227 |
+
0.019418111801147463,
|
| 228 |
+
0.020405248641967775,
|
| 229 |
+
0.021134336471557616,
|
| 230 |
+
0.020541439056396483,
|
| 231 |
+
0.020435968399047853,
|
| 232 |
+
0.020471807479858398,
|
| 233 |
+
0.02048307228088379,
|
| 234 |
+
0.020382720947265624,
|
| 235 |
+
0.020351999282836913,
|
| 236 |
+
0.02046566390991211,
|
| 237 |
+
0.020255775451660157,
|
| 238 |
+
0.02028028869628906,
|
| 239 |
+
0.020477951049804686,
|
| 240 |
+
0.02031718444824219,
|
| 241 |
+
0.02027724838256836,
|
| 242 |
+
0.01963315200805664,
|
| 243 |
+
0.020419584274291993,
|
| 244 |
+
0.01941196823120117,
|
| 245 |
+
0.01927577590942383,
|
| 246 |
+
0.01923686408996582,
|
| 247 |
+
0.020345855712890625,
|
| 248 |
+
0.020462591171264647,
|
| 249 |
+
0.02026905632019043,
|
| 250 |
+
0.020341760635375978,
|
| 251 |
+
0.02032640075683594,
|
| 252 |
+
0.02026393508911133,
|
| 253 |
+
0.020351999282836913,
|
| 254 |
+
0.020331520080566406,
|
| 255 |
+
0.020495359420776366,
|
| 256 |
+
0.020368383407592772,
|
| 257 |
+
0.020303871154785155,
|
| 258 |
+
0.020370431900024414,
|
| 259 |
+
0.02049126434326172,
|
| 260 |
+
0.019281919479370118,
|
| 261 |
+
0.01925324821472168,
|
| 262 |
+
0.01922764778137207,
|
| 263 |
+
0.019663871765136717,
|
| 264 |
+
0.020282367706298828,
|
| 265 |
+
0.020264959335327147,
|
| 266 |
+
0.02045030403137207,
|
| 267 |
+
0.020601856231689454,
|
| 268 |
+
0.02044927978515625,
|
| 269 |
+
0.02043801689147949,
|
| 270 |
+
0.020528127670288086,
|
| 271 |
+
0.019351551055908203,
|
| 272 |
+
0.019499008178710937,
|
| 273 |
+
0.019273759841918946,
|
| 274 |
+
0.019324895858764648,
|
| 275 |
+
0.019406848907470704,
|
| 276 |
+
0.019571712493896484,
|
| 277 |
+
0.020299776077270508,
|
| 278 |
+
0.02043391990661621,
|
| 279 |
+
0.0194652156829834,
|
| 280 |
+
0.020460544586181642,
|
| 281 |
+
0.02060697555541992,
|
| 282 |
+
0.020462591171264647,
|
| 283 |
+
0.02079641532897949,
|
| 284 |
+
0.02057318305969238,
|
| 285 |
+
0.020576255798339844,
|
| 286 |
+
0.02046566390991211,
|
| 287 |
+
0.01945088005065918,
|
| 288 |
+
0.019513343811035155,
|
| 289 |
+
0.01942323112487793,
|
| 290 |
+
0.019405824661254883,
|
| 291 |
+
0.020529151916503906,
|
| 292 |
+
0.02050662422180176,
|
| 293 |
+
0.02048307228088379,
|
| 294 |
+
0.020486143112182616,
|
| 295 |
+
0.01944063949584961,
|
| 296 |
+
0.019501056671142578,
|
| 297 |
+
0.019341312408447265,
|
| 298 |
+
0.02002841567993164,
|
| 299 |
+
0.02041651153564453,
|
| 300 |
+
0.02047590446472168,
|
| 301 |
+
0.02048102378845215,
|
| 302 |
+
0.019893247604370116,
|
| 303 |
+
0.020666368484497072,
|
| 304 |
+
0.02050764846801758,
|
| 305 |
+
0.02020249557495117,
|
| 306 |
+
0.019389440536499023,
|
| 307 |
+
0.019361791610717775,
|
| 308 |
+
0.02088652801513672,
|
| 309 |
+
0.020502527236938475,
|
| 310 |
+
0.021000192642211913,
|
| 311 |
+
0.02162073516845703,
|
| 312 |
+
0.020730880737304686,
|
| 313 |
+
0.020582399368286132,
|
| 314 |
+
0.020549631118774413,
|
| 315 |
+
0.02044108772277832,
|
| 316 |
+
0.02044825553894043,
|
| 317 |
+
0.02042367935180664,
|
| 318 |
+
0.020410367965698242,
|
| 319 |
+
0.020567039489746093,
|
| 320 |
+
0.020477951049804686,
|
| 321 |
+
0.020411392211914063,
|
| 322 |
+
0.020370431900024414,
|
| 323 |
+
0.02039910316467285,
|
| 324 |
+
0.02035916709899902,
|
| 325 |
+
0.02051481628417969,
|
| 326 |
+
0.02049955177307129,
|
| 327 |
+
0.020391839981079102,
|
| 328 |
+
0.02042265510559082,
|
| 329 |
+
0.02046976089477539,
|
| 330 |
+
0.02045337677001953,
|
| 331 |
+
0.020392959594726562,
|
| 332 |
+
0.020380672454833985,
|
| 333 |
+
0.020534271240234374,
|
| 334 |
+
0.02044108772277832,
|
| 335 |
+
0.020487167358398437,
|
| 336 |
+
0.019173376083374022,
|
| 337 |
+
0.019165184020996092,
|
| 338 |
+
0.019153919219970703,
|
| 339 |
+
0.019384319305419923,
|
| 340 |
+
0.01920102310180664,
|
| 341 |
+
0.019165184020996092,
|
| 342 |
+
0.01927475166320801,
|
| 343 |
+
0.01921331214904785,
|
| 344 |
+
0.019188735961914064,
|
| 345 |
+
0.01944883155822754,
|
| 346 |
+
0.01924710464477539,
|
| 347 |
+
0.01925939178466797,
|
| 348 |
+
0.01924198341369629,
|
| 349 |
+
0.019314687728881837,
|
| 350 |
+
0.01925324821472168,
|
| 351 |
+
0.019396608352661132,
|
| 352 |
+
0.019151872634887695,
|
| 353 |
+
0.020371456146240235,
|
| 354 |
+
0.020398080825805662,
|
| 355 |
+
0.020346879959106445,
|
| 356 |
+
0.02046566390991211,
|
| 357 |
+
0.020246528625488282,
|
| 358 |
+
0.020222976684570314,
|
| 359 |
+
0.020321279525756835,
|
| 360 |
+
0.02028441619873047,
|
| 361 |
+
0.02025267219543457,
|
| 362 |
+
0.020299776077270508,
|
| 363 |
+
0.020197376251220703,
|
| 364 |
+
0.0202608642578125,
|
| 365 |
+
0.020321279525756835,
|
| 366 |
+
0.020376575469970702,
|
| 367 |
+
0.02026905632019043,
|
| 368 |
+
0.020419584274291993,
|
| 369 |
+
0.0202608642578125,
|
| 370 |
+
0.02027622413635254,
|
| 371 |
+
0.01925017547607422,
|
| 372 |
+
0.019155967712402345,
|
| 373 |
+
0.019779584884643556,
|
| 374 |
+
0.02024448013305664,
|
| 375 |
+
0.020230144500732423,
|
| 376 |
+
0.020281343460083007,
|
| 377 |
+
0.01946419143676758,
|
| 378 |
+
0.020249599456787108,
|
| 379 |
+
0.01924198341369629,
|
| 380 |
+
0.020114431381225584,
|
| 381 |
+
0.01990656089782715,
|
| 382 |
+
0.020479999542236327,
|
| 383 |
+
0.02028544044494629,
|
| 384 |
+
0.02022809600830078,
|
| 385 |
+
0.020287488937377928,
|
| 386 |
+
0.020311040878295897,
|
| 387 |
+
0.02024448013305664,
|
| 388 |
+
0.01924095916748047,
|
| 389 |
+
0.019172351837158205,
|
| 390 |
+
0.019212287902832033,
|
| 391 |
+
0.01924198341369629,
|
| 392 |
+
0.019174400329589843,
|
| 393 |
+
0.01944268798828125,
|
| 394 |
+
0.01949388885498047,
|
| 395 |
+
0.019331071853637697,
|
| 396 |
+
0.01943552017211914,
|
| 397 |
+
0.019300352096557616,
|
| 398 |
+
0.019346431732177736,
|
| 399 |
+
0.020231168746948244,
|
| 400 |
+
0.020528127670288086,
|
| 401 |
+
0.020892671585083008,
|
| 402 |
+
0.020684799194335936,
|
| 403 |
+
0.020750335693359375,
|
| 404 |
+
0.020797439575195312,
|
| 405 |
+
0.020512767791748047,
|
| 406 |
+
0.020462591171264647,
|
| 407 |
+
0.02041753578186035,
|
| 408 |
+
0.020808704376220705,
|
| 409 |
+
0.020107263565063475,
|
| 410 |
+
0.020176895141601564,
|
| 411 |
+
0.021357568740844726,
|
| 412 |
+
0.02046463966369629,
|
| 413 |
+
0.02037555122375488,
|
| 414 |
+
0.020567039489746093,
|
| 415 |
+
0.02067251205444336,
|
| 416 |
+
0.020493312835693358,
|
| 417 |
+
0.02043801689147949,
|
| 418 |
+
0.020468736648559572,
|
| 419 |
+
0.02046668815612793,
|
| 420 |
+
0.01943142318725586,
|
| 421 |
+
0.02039193534851074,
|
| 422 |
+
0.02046463966369629,
|
| 423 |
+
0.020426752090454102,
|
| 424 |
+
0.02050048065185547,
|
| 425 |
+
0.02046771240234375,
|
| 426 |
+
0.02066739273071289,
|
| 427 |
+
0.020541439056396483,
|
| 428 |
+
0.02040934371948242,
|
| 429 |
+
0.020506656646728516,
|
| 430 |
+
0.020459487915039064,
|
| 431 |
+
0.020578304290771485,
|
| 432 |
+
0.02045747184753418,
|
| 433 |
+
0.02043391990661621,
|
| 434 |
+
0.02045337677001953,
|
| 435 |
+
0.020567039489746093,
|
| 436 |
+
0.020752384185791017,
|
| 437 |
+
0.0204769287109375,
|
| 438 |
+
0.020398080825805662,
|
| 439 |
+
0.019412992477416992,
|
| 440 |
+
0.019372032165527343,
|
| 441 |
+
0.019393535614013673,
|
| 442 |
+
0.020091903686523437,
|
| 443 |
+
0.02041651153564453,
|
| 444 |
+
0.02042367935180664,
|
| 445 |
+
0.020489215850830078,
|
| 446 |
+
0.01944883155822754,
|
| 447 |
+
0.019794944763183595,
|
| 448 |
+
0.020487167358398437,
|
| 449 |
+
0.020494335174560546,
|
| 450 |
+
0.02040012741088867,
|
| 451 |
+
0.02039091110229492,
|
| 452 |
+
0.020539392471313478,
|
| 453 |
+
0.020644863128662108,
|
| 454 |
+
0.020380672454833985,
|
| 455 |
+
0.020685823440551757,
|
| 456 |
+
0.02060492706298828,
|
| 457 |
+
0.02048409652709961,
|
| 458 |
+
0.01941196823120117,
|
| 459 |
+
0.019504127502441407,
|
| 460 |
+
0.019511295318603517,
|
| 461 |
+
0.019314687728881837,
|
| 462 |
+
0.020092927932739257
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 49.82394698925161
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1336.111104,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 11.5026650390625,
|
| 15 |
+
"mean": 11.5026650390625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.5026650390625,
|
| 18 |
+
"p90": 11.5026650390625,
|
| 19 |
+
"p95": 11.5026650390625,
|
| 20 |
+
"p99": 11.5026650390625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.5026650390625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1781.06368,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6142.558208,
|
| 36 |
+
"max_allocated": 5028.431872
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.04159145545959472,
|
| 42 |
+
"mean": 0.02079572772979736,
|
| 43 |
+
"stdev": 9.697628021240223e-05,
|
| 44 |
+
"p50": 0.02079572772979736,
|
| 45 |
+
"p90": 0.020873308753967285,
|
| 46 |
+
"p95": 0.020883006381988527,
|
| 47 |
+
"p99": 0.02089076448440552,
|
| 48 |
+
"values": [
|
| 49 |
+
0.02069875144958496,
|
| 50 |
+
0.020892704010009765
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 336.6075999336143
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1839.099904,
|
| 64 |
+
"max_global_vram": 6800.539648,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 6146.752512,
|
| 67 |
+
"max_allocated": 5031.801344
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 5.098266357421875,
|
| 73 |
+
"mean": 2.5491331787109375,
|
| 74 |
+
"stdev": 0.0021544189453126528,
|
| 75 |
+
"p50": 2.5491331787109375,
|
| 76 |
+
"p90": 2.5508567138671876,
|
| 77 |
+
"p95": 2.5510721557617186,
|
| 78 |
+
"p99": 2.551244509277344,
|
| 79 |
+
"values": [
|
| 80 |
+
2.55128759765625,
|
| 81 |
+
2.546978759765625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 49.82085716848352
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 5.0979501895904535,
|
| 97 |
+
"mean": 0.020070670037757695,
|
| 98 |
+
"stdev": 0.0005546999471228763,
|
| 99 |
+
"p50": 0.020323840141296387,
|
| 100 |
+
"p90": 0.020567039489746093,
|
| 101 |
+
"p95": 0.020685157680511473,
|
| 102 |
+
"p99": 0.021063240242004393,
|
| 103 |
+
"values": [
|
| 104 |
+
0.01923583984375,
|
| 105 |
+
0.01922867202758789,
|
| 106 |
+
0.019375104904174805,
|
| 107 |
+
0.01923072052001953,
|
| 108 |
+
0.01922150421142578,
|
| 109 |
+
0.01925017547607422,
|
| 110 |
+
0.019321855545043946,
|
| 111 |
+
0.01922355270385742,
|
| 112 |
+
0.0192174072265625,
|
| 113 |
+
0.019549184799194336,
|
| 114 |
+
0.019305471420288087,
|
| 115 |
+
0.01921843147277832,
|
| 116 |
+
0.019336191177368164,
|
| 117 |
+
0.01923072052001953,
|
| 118 |
+
0.01921331214904785,
|
| 119 |
+
0.019183616638183593,
|
| 120 |
+
0.01927475166320801,
|
| 121 |
+
0.01942937660217285,
|
| 122 |
+
0.019418111801147463,
|
| 123 |
+
0.020405248641967775,
|
| 124 |
+
0.021134336471557616,
|
| 125 |
+
0.020541439056396483,
|
| 126 |
+
0.020435968399047853,
|
| 127 |
+
0.020471807479858398,
|
| 128 |
+
0.02048307228088379,
|
| 129 |
+
0.020382720947265624,
|
| 130 |
+
0.020351999282836913,
|
| 131 |
+
0.02046566390991211,
|
| 132 |
+
0.020255775451660157,
|
| 133 |
+
0.02028028869628906,
|
| 134 |
+
0.020477951049804686,
|
| 135 |
+
0.02031718444824219,
|
| 136 |
+
0.02027724838256836,
|
| 137 |
+
0.01963315200805664,
|
| 138 |
+
0.020419584274291993,
|
| 139 |
+
0.01941196823120117,
|
| 140 |
+
0.01927577590942383,
|
| 141 |
+
0.01923686408996582,
|
| 142 |
+
0.020345855712890625,
|
| 143 |
+
0.020462591171264647,
|
| 144 |
+
0.02026905632019043,
|
| 145 |
+
0.020341760635375978,
|
| 146 |
+
0.02032640075683594,
|
| 147 |
+
0.02026393508911133,
|
| 148 |
+
0.020351999282836913,
|
| 149 |
+
0.020331520080566406,
|
| 150 |
+
0.020495359420776366,
|
| 151 |
+
0.020368383407592772,
|
| 152 |
+
0.020303871154785155,
|
| 153 |
+
0.020370431900024414,
|
| 154 |
+
0.02049126434326172,
|
| 155 |
+
0.019281919479370118,
|
| 156 |
+
0.01925324821472168,
|
| 157 |
+
0.01922764778137207,
|
| 158 |
+
0.019663871765136717,
|
| 159 |
+
0.020282367706298828,
|
| 160 |
+
0.020264959335327147,
|
| 161 |
+
0.02045030403137207,
|
| 162 |
+
0.020601856231689454,
|
| 163 |
+
0.02044927978515625,
|
| 164 |
+
0.02043801689147949,
|
| 165 |
+
0.020528127670288086,
|
| 166 |
+
0.019351551055908203,
|
| 167 |
+
0.019499008178710937,
|
| 168 |
+
0.019273759841918946,
|
| 169 |
+
0.019324895858764648,
|
| 170 |
+
0.019406848907470704,
|
| 171 |
+
0.019571712493896484,
|
| 172 |
+
0.020299776077270508,
|
| 173 |
+
0.02043391990661621,
|
| 174 |
+
0.0194652156829834,
|
| 175 |
+
0.020460544586181642,
|
| 176 |
+
0.02060697555541992,
|
| 177 |
+
0.020462591171264647,
|
| 178 |
+
0.02079641532897949,
|
| 179 |
+
0.02057318305969238,
|
| 180 |
+
0.020576255798339844,
|
| 181 |
+
0.02046566390991211,
|
| 182 |
+
0.01945088005065918,
|
| 183 |
+
0.019513343811035155,
|
| 184 |
+
0.01942323112487793,
|
| 185 |
+
0.019405824661254883,
|
| 186 |
+
0.020529151916503906,
|
| 187 |
+
0.02050662422180176,
|
| 188 |
+
0.02048307228088379,
|
| 189 |
+
0.020486143112182616,
|
| 190 |
+
0.01944063949584961,
|
| 191 |
+
0.019501056671142578,
|
| 192 |
+
0.019341312408447265,
|
| 193 |
+
0.02002841567993164,
|
| 194 |
+
0.02041651153564453,
|
| 195 |
+
0.02047590446472168,
|
| 196 |
+
0.02048102378845215,
|
| 197 |
+
0.019893247604370116,
|
| 198 |
+
0.020666368484497072,
|
| 199 |
+
0.02050764846801758,
|
| 200 |
+
0.02020249557495117,
|
| 201 |
+
0.019389440536499023,
|
| 202 |
+
0.019361791610717775,
|
| 203 |
+
0.02088652801513672,
|
| 204 |
+
0.020502527236938475,
|
| 205 |
+
0.021000192642211913,
|
| 206 |
+
0.02162073516845703,
|
| 207 |
+
0.020730880737304686,
|
| 208 |
+
0.020582399368286132,
|
| 209 |
+
0.020549631118774413,
|
| 210 |
+
0.02044108772277832,
|
| 211 |
+
0.02044825553894043,
|
| 212 |
+
0.02042367935180664,
|
| 213 |
+
0.020410367965698242,
|
| 214 |
+
0.020567039489746093,
|
| 215 |
+
0.020477951049804686,
|
| 216 |
+
0.020411392211914063,
|
| 217 |
+
0.020370431900024414,
|
| 218 |
+
0.02039910316467285,
|
| 219 |
+
0.02035916709899902,
|
| 220 |
+
0.02051481628417969,
|
| 221 |
+
0.02049955177307129,
|
| 222 |
+
0.020391839981079102,
|
| 223 |
+
0.02042265510559082,
|
| 224 |
+
0.02046976089477539,
|
| 225 |
+
0.02045337677001953,
|
| 226 |
+
0.020392959594726562,
|
| 227 |
+
0.020380672454833985,
|
| 228 |
+
0.020534271240234374,
|
| 229 |
+
0.02044108772277832,
|
| 230 |
+
0.020487167358398437,
|
| 231 |
+
0.019173376083374022,
|
| 232 |
+
0.019165184020996092,
|
| 233 |
+
0.019153919219970703,
|
| 234 |
+
0.019384319305419923,
|
| 235 |
+
0.01920102310180664,
|
| 236 |
+
0.019165184020996092,
|
| 237 |
+
0.01927475166320801,
|
| 238 |
+
0.01921331214904785,
|
| 239 |
+
0.019188735961914064,
|
| 240 |
+
0.01944883155822754,
|
| 241 |
+
0.01924710464477539,
|
| 242 |
+
0.01925939178466797,
|
| 243 |
+
0.01924198341369629,
|
| 244 |
+
0.019314687728881837,
|
| 245 |
+
0.01925324821472168,
|
| 246 |
+
0.019396608352661132,
|
| 247 |
+
0.019151872634887695,
|
| 248 |
+
0.020371456146240235,
|
| 249 |
+
0.020398080825805662,
|
| 250 |
+
0.020346879959106445,
|
| 251 |
+
0.02046566390991211,
|
| 252 |
+
0.020246528625488282,
|
| 253 |
+
0.020222976684570314,
|
| 254 |
+
0.020321279525756835,
|
| 255 |
+
0.02028441619873047,
|
| 256 |
+
0.02025267219543457,
|
| 257 |
+
0.020299776077270508,
|
| 258 |
+
0.020197376251220703,
|
| 259 |
+
0.0202608642578125,
|
| 260 |
+
0.020321279525756835,
|
| 261 |
+
0.020376575469970702,
|
| 262 |
+
0.02026905632019043,
|
| 263 |
+
0.020419584274291993,
|
| 264 |
+
0.0202608642578125,
|
| 265 |
+
0.02027622413635254,
|
| 266 |
+
0.01925017547607422,
|
| 267 |
+
0.019155967712402345,
|
| 268 |
+
0.019779584884643556,
|
| 269 |
+
0.02024448013305664,
|
| 270 |
+
0.020230144500732423,
|
| 271 |
+
0.020281343460083007,
|
| 272 |
+
0.01946419143676758,
|
| 273 |
+
0.020249599456787108,
|
| 274 |
+
0.01924198341369629,
|
| 275 |
+
0.020114431381225584,
|
| 276 |
+
0.01990656089782715,
|
| 277 |
+
0.020479999542236327,
|
| 278 |
+
0.02028544044494629,
|
| 279 |
+
0.02022809600830078,
|
| 280 |
+
0.020287488937377928,
|
| 281 |
+
0.020311040878295897,
|
| 282 |
+
0.02024448013305664,
|
| 283 |
+
0.01924095916748047,
|
| 284 |
+
0.019172351837158205,
|
| 285 |
+
0.019212287902832033,
|
| 286 |
+
0.01924198341369629,
|
| 287 |
+
0.019174400329589843,
|
| 288 |
+
0.01944268798828125,
|
| 289 |
+
0.01949388885498047,
|
| 290 |
+
0.019331071853637697,
|
| 291 |
+
0.01943552017211914,
|
| 292 |
+
0.019300352096557616,
|
| 293 |
+
0.019346431732177736,
|
| 294 |
+
0.020231168746948244,
|
| 295 |
+
0.020528127670288086,
|
| 296 |
+
0.020892671585083008,
|
| 297 |
+
0.020684799194335936,
|
| 298 |
+
0.020750335693359375,
|
| 299 |
+
0.020797439575195312,
|
| 300 |
+
0.020512767791748047,
|
| 301 |
+
0.020462591171264647,
|
| 302 |
+
0.02041753578186035,
|
| 303 |
+
0.020808704376220705,
|
| 304 |
+
0.020107263565063475,
|
| 305 |
+
0.020176895141601564,
|
| 306 |
+
0.021357568740844726,
|
| 307 |
+
0.02046463966369629,
|
| 308 |
+
0.02037555122375488,
|
| 309 |
+
0.020567039489746093,
|
| 310 |
+
0.02067251205444336,
|
| 311 |
+
0.020493312835693358,
|
| 312 |
+
0.02043801689147949,
|
| 313 |
+
0.020468736648559572,
|
| 314 |
+
0.02046668815612793,
|
| 315 |
+
0.01943142318725586,
|
| 316 |
+
0.02039193534851074,
|
| 317 |
+
0.02046463966369629,
|
| 318 |
+
0.020426752090454102,
|
| 319 |
+
0.02050048065185547,
|
| 320 |
+
0.02046771240234375,
|
| 321 |
+
0.02066739273071289,
|
| 322 |
+
0.020541439056396483,
|
| 323 |
+
0.02040934371948242,
|
| 324 |
+
0.020506656646728516,
|
| 325 |
+
0.020459487915039064,
|
| 326 |
+
0.020578304290771485,
|
| 327 |
+
0.02045747184753418,
|
| 328 |
+
0.02043391990661621,
|
| 329 |
+
0.02045337677001953,
|
| 330 |
+
0.020567039489746093,
|
| 331 |
+
0.020752384185791017,
|
| 332 |
+
0.0204769287109375,
|
| 333 |
+
0.020398080825805662,
|
| 334 |
+
0.019412992477416992,
|
| 335 |
+
0.019372032165527343,
|
| 336 |
+
0.019393535614013673,
|
| 337 |
+
0.020091903686523437,
|
| 338 |
+
0.02041651153564453,
|
| 339 |
+
0.02042367935180664,
|
| 340 |
+
0.020489215850830078,
|
| 341 |
+
0.01944883155822754,
|
| 342 |
+
0.019794944763183595,
|
| 343 |
+
0.020487167358398437,
|
| 344 |
+
0.020494335174560546,
|
| 345 |
+
0.02040012741088867,
|
| 346 |
+
0.02039091110229492,
|
| 347 |
+
0.020539392471313478,
|
| 348 |
+
0.020644863128662108,
|
| 349 |
+
0.020380672454833985,
|
| 350 |
+
0.020685823440551757,
|
| 351 |
+
0.02060492706298828,
|
| 352 |
+
0.02048409652709961,
|
| 353 |
+
0.01941196823120117,
|
| 354 |
+
0.019504127502441407,
|
| 355 |
+
0.019511295318603517,
|
| 356 |
+
0.019314687728881837,
|
| 357 |
+
0.020092927932739257
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 49.82394698925161
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-2b",
|
| 3 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02079572772979736,
|
| 7 |
+
"prefill.throughput.value": 336.6075999336143,
|
| 8 |
+
"decode.latency.mean": 2.5491331787109375,
|
| 9 |
+
"decode.throughput.value": 49.82085716848352,
|
| 10 |
+
"per_token.latency.mean": 0.020070670037757695,
|
| 11 |
+
"per_token.throughput.value": 49.82394698925161
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 6 |
+
subdir: ${hydra.job.override_dirname}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
root:
|
| 71 |
+
level: ERROR
|
| 72 |
+
disable_existing_loggers: true
|
| 73 |
+
job_logging:
|
| 74 |
+
version: 1
|
| 75 |
+
root:
|
| 76 |
+
level: ERROR
|
| 77 |
+
disable_existing_loggers: true
|
| 78 |
+
env: {}
|
| 79 |
+
mode: MULTIRUN
|
| 80 |
+
searchpath: []
|
| 81 |
+
callbacks: {}
|
| 82 |
+
output_subdir: .hydra
|
| 83 |
+
overrides:
|
| 84 |
+
hydra:
|
| 85 |
+
- hydra/job_logging=disabled
|
| 86 |
+
- hydra/hydra_logging=disabled
|
| 87 |
+
- hydra.sweep.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null
|
| 93 |
+
- backend.torch_compile=True
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 98 |
+
id: '1'
|
| 99 |
+
num: 1
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: /transformers/_benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=True
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-09-09 02:45:19,927[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-09-09 02:45:22,337[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 6 |
+
subdir: ${hydra.job.override_dirname}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
root:
|
| 71 |
+
level: ERROR
|
| 72 |
+
disable_existing_loggers: true
|
| 73 |
+
job_logging:
|
| 74 |
+
version: 1
|
| 75 |
+
root:
|
| 76 |
+
level: ERROR
|
| 77 |
+
disable_existing_loggers: true
|
| 78 |
+
env: {}
|
| 79 |
+
mode: MULTIRUN
|
| 80 |
+
searchpath: []
|
| 81 |
+
callbacks: {}
|
| 82 |
+
output_subdir: .hydra
|
| 83 |
+
overrides:
|
| 84 |
+
hydra:
|
| 85 |
+
- hydra/job_logging=disabled
|
| 86 |
+
- hydra/hydra_logging=disabled
|
| 87 |
+
- hydra.sweep.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=static
|
| 93 |
+
- backend.torch_compile=False
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 98 |
+
id: '2'
|
| 99 |
+
num: 2
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: /transformers/_benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=False
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1335.853056,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 11.5549052734375,
|
| 120 |
+
"mean": 11.5549052734375,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.5549052734375,
|
| 123 |
+
"p90": 11.5549052734375,
|
| 124 |
+
"p95": 11.5549052734375,
|
| 125 |
+
"p99": 11.5549052734375,
|
| 126 |
+
"values": [
|
| 127 |
+
11.5549052734375
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1815.908352,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6142.558208,
|
| 141 |
+
"max_allocated": 5028.450816
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.04465740776062012,
|
| 147 |
+
"mean": 0.02232870388031006,
|
| 148 |
+
"stdev": 4.7072410583496455e-05,
|
| 149 |
+
"p50": 0.02232870388031006,
|
| 150 |
+
"p90": 0.022366361808776856,
|
| 151 |
+
"p95": 0.022371069049835206,
|
| 152 |
+
"p99": 0.022374834842681886,
|
| 153 |
+
"values": [
|
| 154 |
+
0.022281631469726563,
|
| 155 |
+
0.022375776290893556
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 313.4978204522097
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1842.540544,
|
| 169 |
+
"max_global_vram": 6800.539648,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 6146.752512,
|
| 172 |
+
"max_allocated": 5031.820288
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 5.27243017578125,
|
| 178 |
+
"mean": 2.636215087890625,
|
| 179 |
+
"stdev": 0.004873291015624837,
|
| 180 |
+
"p50": 2.636215087890625,
|
| 181 |
+
"p90": 2.6401137207031247,
|
| 182 |
+
"p95": 2.6406010498046872,
|
| 183 |
+
"p99": 2.6409909130859375,
|
| 184 |
+
"values": [
|
| 185 |
+
2.631341796875,
|
| 186 |
+
2.64108837890625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 48.175128267557035
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 5.272176639556889,
|
| 202 |
+
"mean": 0.020756600943137343,
|
| 203 |
+
"stdev": 0.0003286462326815648,
|
| 204 |
+
"p50": 0.020604415893554686,
|
| 205 |
+
"p90": 0.021191167449951174,
|
| 206 |
+
"p95": 0.0212695556640625,
|
| 207 |
+
"p99": 0.021576816596984863,
|
| 208 |
+
"values": [
|
| 209 |
+
0.020455423355102538,
|
| 210 |
+
0.020501504898071288,
|
| 211 |
+
0.020504575729370117,
|
| 212 |
+
0.020818944931030273,
|
| 213 |
+
0.020566015243530272,
|
| 214 |
+
0.020714496612548827,
|
| 215 |
+
0.021146623611450196,
|
| 216 |
+
0.020980735778808594,
|
| 217 |
+
0.020758527755737305,
|
| 218 |
+
0.020403200149536133,
|
| 219 |
+
0.020913152694702147,
|
| 220 |
+
0.02104217529296875,
|
| 221 |
+
0.021230592727661132,
|
| 222 |
+
0.02109337615966797,
|
| 223 |
+
0.020504575729370117,
|
| 224 |
+
0.020649984359741212,
|
| 225 |
+
0.020347904205322266,
|
| 226 |
+
0.021638143539428712,
|
| 227 |
+
0.020568063735961914,
|
| 228 |
+
0.020503551483154296,
|
| 229 |
+
0.02122035217285156,
|
| 230 |
+
0.020998144149780275,
|
| 231 |
+
0.020823040008544923,
|
| 232 |
+
0.02049126434326172,
|
| 233 |
+
0.0204902400970459,
|
| 234 |
+
0.02109132766723633,
|
| 235 |
+
0.021209087371826172,
|
| 236 |
+
0.02048204803466797,
|
| 237 |
+
0.020555776596069338,
|
| 238 |
+
0.020548639297485353,
|
| 239 |
+
0.0204564151763916,
|
| 240 |
+
0.02043187141418457,
|
| 241 |
+
0.02049843215942383,
|
| 242 |
+
0.020509695053100584,
|
| 243 |
+
0.02068377685546875,
|
| 244 |
+
0.020497407913208008,
|
| 245 |
+
0.02046976089477539,
|
| 246 |
+
0.02048307228088379,
|
| 247 |
+
0.02045952033996582,
|
| 248 |
+
0.020756479263305663,
|
| 249 |
+
0.0210513916015625,
|
| 250 |
+
0.020501504898071288,
|
| 251 |
+
0.020485120773315428,
|
| 252 |
+
0.02025574493408203,
|
| 253 |
+
0.020546560287475587,
|
| 254 |
+
0.020682752609252928,
|
| 255 |
+
0.021238784790039062,
|
| 256 |
+
0.020538368225097657,
|
| 257 |
+
0.020516864776611327,
|
| 258 |
+
0.020412416458129884,
|
| 259 |
+
0.020497407913208008,
|
| 260 |
+
0.020447231292724608,
|
| 261 |
+
0.020470783233642577,
|
| 262 |
+
0.02045337677001953,
|
| 263 |
+
0.020552703857421875,
|
| 264 |
+
0.020542463302612304,
|
| 265 |
+
0.02049945640563965,
|
| 266 |
+
0.020477951049804686,
|
| 267 |
+
0.020444160461425782,
|
| 268 |
+
0.02045337677001953,
|
| 269 |
+
0.02047488021850586,
|
| 270 |
+
0.020518911361694335,
|
| 271 |
+
0.020462591171264647,
|
| 272 |
+
0.02045644760131836,
|
| 273 |
+
0.02044313621520996,
|
| 274 |
+
0.020496383666992187,
|
| 275 |
+
0.020586496353149415,
|
| 276 |
+
0.020479999542236327,
|
| 277 |
+
0.020454399108886717,
|
| 278 |
+
0.02045952033996582,
|
| 279 |
+
0.020530176162719727,
|
| 280 |
+
0.020753408432006838,
|
| 281 |
+
0.021046272277832033,
|
| 282 |
+
0.02057318305969238,
|
| 283 |
+
0.020509695053100584,
|
| 284 |
+
0.020454399108886717,
|
| 285 |
+
0.020477951049804686,
|
| 286 |
+
0.0206561279296875,
|
| 287 |
+
0.02191974449157715,
|
| 288 |
+
0.02123776054382324,
|
| 289 |
+
0.021226495742797852,
|
| 290 |
+
0.020554752349853517,
|
| 291 |
+
0.020512767791748047,
|
| 292 |
+
0.020509695053100584,
|
| 293 |
+
0.020497407913208008,
|
| 294 |
+
0.02066022491455078,
|
| 295 |
+
0.02086297607421875,
|
| 296 |
+
0.02084966468811035,
|
| 297 |
+
0.020769792556762694,
|
| 298 |
+
0.020612096786499022,
|
| 299 |
+
0.02050048065185547,
|
| 300 |
+
0.022544384002685547,
|
| 301 |
+
0.02130534362792969,
|
| 302 |
+
0.02128486442565918,
|
| 303 |
+
0.02129715156555176,
|
| 304 |
+
0.02109132766723633,
|
| 305 |
+
0.020487167358398437,
|
| 306 |
+
0.020790271759033203,
|
| 307 |
+
0.020726783752441406,
|
| 308 |
+
0.020520959854125977,
|
| 309 |
+
0.02130227279663086,
|
| 310 |
+
0.02107494354248047,
|
| 311 |
+
0.02106879997253418,
|
| 312 |
+
0.021160959243774414,
|
| 313 |
+
0.021374975204467773,
|
| 314 |
+
0.02103091239929199,
|
| 315 |
+
0.020702207565307617,
|
| 316 |
+
0.021172224044799806,
|
| 317 |
+
0.020479999542236327,
|
| 318 |
+
0.02045952033996582,
|
| 319 |
+
0.020470783233642577,
|
| 320 |
+
0.02107596778869629,
|
| 321 |
+
0.02064896011352539,
|
| 322 |
+
0.0204902400970459,
|
| 323 |
+
0.02065715217590332,
|
| 324 |
+
0.02047385597229004,
|
| 325 |
+
0.020505599975585938,
|
| 326 |
+
0.020625408172607423,
|
| 327 |
+
0.02110361671447754,
|
| 328 |
+
0.020706304550170897,
|
| 329 |
+
0.020571136474609376,
|
| 330 |
+
0.02081996726989746,
|
| 331 |
+
0.020883455276489257,
|
| 332 |
+
0.020477951049804686,
|
| 333 |
+
0.020832256317138673,
|
| 334 |
+
0.020441120147705077,
|
| 335 |
+
0.020441055297851562,
|
| 336 |
+
0.021038080215454103,
|
| 337 |
+
0.020426752090454102,
|
| 338 |
+
0.020387840270996094,
|
| 339 |
+
0.020996095657348633,
|
| 340 |
+
0.02102272033691406,
|
| 341 |
+
0.021006336212158205,
|
| 342 |
+
0.020972543716430665,
|
| 343 |
+
0.021003263473510742,
|
| 344 |
+
0.02103910446166992,
|
| 345 |
+
0.021121023178100586,
|
| 346 |
+
0.02045132827758789,
|
| 347 |
+
0.02044108772277832,
|
| 348 |
+
0.0204902400970459,
|
| 349 |
+
0.020715520858764647,
|
| 350 |
+
0.021384191513061524,
|
| 351 |
+
0.02060492706298828,
|
| 352 |
+
0.02104832077026367,
|
| 353 |
+
0.021013504028320314,
|
| 354 |
+
0.020603904724121092,
|
| 355 |
+
0.020531200408935548,
|
| 356 |
+
0.02046976089477539,
|
| 357 |
+
0.02048409652709961,
|
| 358 |
+
0.020587520599365236,
|
| 359 |
+
0.0212992000579834,
|
| 360 |
+
0.02110361671447754,
|
| 361 |
+
0.020979711532592774,
|
| 362 |
+
0.021161983489990235,
|
| 363 |
+
0.021028863906860353,
|
| 364 |
+
0.020999168395996092,
|
| 365 |
+
0.020963327407836914,
|
| 366 |
+
0.020505599975585938,
|
| 367 |
+
0.020582399368286132,
|
| 368 |
+
0.02051481628417969,
|
| 369 |
+
0.020497407913208008,
|
| 370 |
+
0.02050662422180176,
|
| 371 |
+
0.0204421443939209,
|
| 372 |
+
0.020803552627563476,
|
| 373 |
+
0.02047283172607422,
|
| 374 |
+
0.020625408172607423,
|
| 375 |
+
0.02046156883239746,
|
| 376 |
+
0.020463615417480468,
|
| 377 |
+
0.020520959854125977,
|
| 378 |
+
0.020525056838989256,
|
| 379 |
+
0.021206016540527343,
|
| 380 |
+
0.020724735260009765,
|
| 381 |
+
0.020535295486450195,
|
| 382 |
+
0.020551679611206054,
|
| 383 |
+
0.020471807479858398,
|
| 384 |
+
0.02068172836303711,
|
| 385 |
+
0.020447231292724608,
|
| 386 |
+
0.021012479782104493,
|
| 387 |
+
0.020976640701293944,
|
| 388 |
+
0.020468736648559572,
|
| 389 |
+
0.020715520858764647,
|
| 390 |
+
0.02045747184753418,
|
| 391 |
+
0.02103398323059082,
|
| 392 |
+
0.021133312225341795,
|
| 393 |
+
0.0210882568359375,
|
| 394 |
+
0.021227519989013673,
|
| 395 |
+
0.020669504165649413,
|
| 396 |
+
0.020489152908325196,
|
| 397 |
+
0.020496383666992187,
|
| 398 |
+
0.02125209617614746,
|
| 399 |
+
0.02102783966064453,
|
| 400 |
+
0.021242879867553712,
|
| 401 |
+
0.021021696090698243,
|
| 402 |
+
0.020549631118774413,
|
| 403 |
+
0.020504575729370117,
|
| 404 |
+
0.020997119903564454,
|
| 405 |
+
0.020471807479858398,
|
| 406 |
+
0.0210513916015625,
|
| 407 |
+
0.021167104721069335,
|
| 408 |
+
0.020485120773315428,
|
| 409 |
+
0.020502527236938475,
|
| 410 |
+
0.020454399108886717,
|
| 411 |
+
0.02048102378845215,
|
| 412 |
+
0.02045849609375,
|
| 413 |
+
0.02109337615966797,
|
| 414 |
+
0.02106060791015625,
|
| 415 |
+
0.02101759910583496,
|
| 416 |
+
0.02102374458312988,
|
| 417 |
+
0.020288511276245116,
|
| 418 |
+
0.020570112228393556,
|
| 419 |
+
0.020788223266601562,
|
| 420 |
+
0.020486143112182616,
|
| 421 |
+
0.020463615417480468,
|
| 422 |
+
0.020463615417480468,
|
| 423 |
+
0.020593664169311524,
|
| 424 |
+
0.02049126434326172,
|
| 425 |
+
0.020478975296020507,
|
| 426 |
+
0.021117952346801756,
|
| 427 |
+
0.02105241584777832,
|
| 428 |
+
0.02128691291809082,
|
| 429 |
+
0.021522432327270507,
|
| 430 |
+
0.02126131248474121,
|
| 431 |
+
0.021045248031616212,
|
| 432 |
+
0.020929536819458007,
|
| 433 |
+
0.021187583923339845,
|
| 434 |
+
0.02044927978515625,
|
| 435 |
+
0.020477951049804686,
|
| 436 |
+
0.02047385597229004,
|
| 437 |
+
0.020434944152832032,
|
| 438 |
+
0.020495359420776366,
|
| 439 |
+
0.02066022491455078,
|
| 440 |
+
0.021073919296264648,
|
| 441 |
+
0.02107904052734375,
|
| 442 |
+
0.02102374458312988,
|
| 443 |
+
0.021003263473510742,
|
| 444 |
+
0.0210565128326416,
|
| 445 |
+
0.02044825553894043,
|
| 446 |
+
0.021192703247070312,
|
| 447 |
+
0.021324800491333007,
|
| 448 |
+
0.0211015682220459,
|
| 449 |
+
0.02104729652404785,
|
| 450 |
+
0.021086208343505858,
|
| 451 |
+
0.02108415985107422,
|
| 452 |
+
0.02082918357849121,
|
| 453 |
+
0.021124095916748048,
|
| 454 |
+
0.021194751739501954,
|
| 455 |
+
0.021169151306152344,
|
| 456 |
+
0.020539392471313478,
|
| 457 |
+
0.020509695053100584,
|
| 458 |
+
0.02047590446472168,
|
| 459 |
+
0.020968448638916014,
|
| 460 |
+
0.02109542465209961,
|
| 461 |
+
0.0204769287109375,
|
| 462 |
+
0.02049126434326172
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 48.17744498434486
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1335.853056,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 11.5549052734375,
|
| 15 |
+
"mean": 11.5549052734375,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.5549052734375,
|
| 18 |
+
"p90": 11.5549052734375,
|
| 19 |
+
"p95": 11.5549052734375,
|
| 20 |
+
"p99": 11.5549052734375,
|
| 21 |
+
"values": [
|
| 22 |
+
11.5549052734375
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1815.908352,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6142.558208,
|
| 36 |
+
"max_allocated": 5028.450816
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.04465740776062012,
|
| 42 |
+
"mean": 0.02232870388031006,
|
| 43 |
+
"stdev": 4.7072410583496455e-05,
|
| 44 |
+
"p50": 0.02232870388031006,
|
| 45 |
+
"p90": 0.022366361808776856,
|
| 46 |
+
"p95": 0.022371069049835206,
|
| 47 |
+
"p99": 0.022374834842681886,
|
| 48 |
+
"values": [
|
| 49 |
+
0.022281631469726563,
|
| 50 |
+
0.022375776290893556
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 313.4978204522097
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1842.540544,
|
| 64 |
+
"max_global_vram": 6800.539648,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 6146.752512,
|
| 67 |
+
"max_allocated": 5031.820288
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 5.27243017578125,
|
| 73 |
+
"mean": 2.636215087890625,
|
| 74 |
+
"stdev": 0.004873291015624837,
|
| 75 |
+
"p50": 2.636215087890625,
|
| 76 |
+
"p90": 2.6401137207031247,
|
| 77 |
+
"p95": 2.6406010498046872,
|
| 78 |
+
"p99": 2.6409909130859375,
|
| 79 |
+
"values": [
|
| 80 |
+
2.631341796875,
|
| 81 |
+
2.64108837890625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 48.175128267557035
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 5.272176639556889,
|
| 97 |
+
"mean": 0.020756600943137343,
|
| 98 |
+
"stdev": 0.0003286462326815648,
|
| 99 |
+
"p50": 0.020604415893554686,
|
| 100 |
+
"p90": 0.021191167449951174,
|
| 101 |
+
"p95": 0.0212695556640625,
|
| 102 |
+
"p99": 0.021576816596984863,
|
| 103 |
+
"values": [
|
| 104 |
+
0.020455423355102538,
|
| 105 |
+
0.020501504898071288,
|
| 106 |
+
0.020504575729370117,
|
| 107 |
+
0.020818944931030273,
|
| 108 |
+
0.020566015243530272,
|
| 109 |
+
0.020714496612548827,
|
| 110 |
+
0.021146623611450196,
|
| 111 |
+
0.020980735778808594,
|
| 112 |
+
0.020758527755737305,
|
| 113 |
+
0.020403200149536133,
|
| 114 |
+
0.020913152694702147,
|
| 115 |
+
0.02104217529296875,
|
| 116 |
+
0.021230592727661132,
|
| 117 |
+
0.02109337615966797,
|
| 118 |
+
0.020504575729370117,
|
| 119 |
+
0.020649984359741212,
|
| 120 |
+
0.020347904205322266,
|
| 121 |
+
0.021638143539428712,
|
| 122 |
+
0.020568063735961914,
|
| 123 |
+
0.020503551483154296,
|
| 124 |
+
0.02122035217285156,
|
| 125 |
+
0.020998144149780275,
|
| 126 |
+
0.020823040008544923,
|
| 127 |
+
0.02049126434326172,
|
| 128 |
+
0.0204902400970459,
|
| 129 |
+
0.02109132766723633,
|
| 130 |
+
0.021209087371826172,
|
| 131 |
+
0.02048204803466797,
|
| 132 |
+
0.020555776596069338,
|
| 133 |
+
0.020548639297485353,
|
| 134 |
+
0.0204564151763916,
|
| 135 |
+
0.02043187141418457,
|
| 136 |
+
0.02049843215942383,
|
| 137 |
+
0.020509695053100584,
|
| 138 |
+
0.02068377685546875,
|
| 139 |
+
0.020497407913208008,
|
| 140 |
+
0.02046976089477539,
|
| 141 |
+
0.02048307228088379,
|
| 142 |
+
0.02045952033996582,
|
| 143 |
+
0.020756479263305663,
|
| 144 |
+
0.0210513916015625,
|
| 145 |
+
0.020501504898071288,
|
| 146 |
+
0.020485120773315428,
|
| 147 |
+
0.02025574493408203,
|
| 148 |
+
0.020546560287475587,
|
| 149 |
+
0.020682752609252928,
|
| 150 |
+
0.021238784790039062,
|
| 151 |
+
0.020538368225097657,
|
| 152 |
+
0.020516864776611327,
|
| 153 |
+
0.020412416458129884,
|
| 154 |
+
0.020497407913208008,
|
| 155 |
+
0.020447231292724608,
|
| 156 |
+
0.020470783233642577,
|
| 157 |
+
0.02045337677001953,
|
| 158 |
+
0.020552703857421875,
|
| 159 |
+
0.020542463302612304,
|
| 160 |
+
0.02049945640563965,
|
| 161 |
+
0.020477951049804686,
|
| 162 |
+
0.020444160461425782,
|
| 163 |
+
0.02045337677001953,
|
| 164 |
+
0.02047488021850586,
|
| 165 |
+
0.020518911361694335,
|
| 166 |
+
0.020462591171264647,
|
| 167 |
+
0.02045644760131836,
|
| 168 |
+
0.02044313621520996,
|
| 169 |
+
0.020496383666992187,
|
| 170 |
+
0.020586496353149415,
|
| 171 |
+
0.020479999542236327,
|
| 172 |
+
0.020454399108886717,
|
| 173 |
+
0.02045952033996582,
|
| 174 |
+
0.020530176162719727,
|
| 175 |
+
0.020753408432006838,
|
| 176 |
+
0.021046272277832033,
|
| 177 |
+
0.02057318305969238,
|
| 178 |
+
0.020509695053100584,
|
| 179 |
+
0.020454399108886717,
|
| 180 |
+
0.020477951049804686,
|
| 181 |
+
0.0206561279296875,
|
| 182 |
+
0.02191974449157715,
|
| 183 |
+
0.02123776054382324,
|
| 184 |
+
0.021226495742797852,
|
| 185 |
+
0.020554752349853517,
|
| 186 |
+
0.020512767791748047,
|
| 187 |
+
0.020509695053100584,
|
| 188 |
+
0.020497407913208008,
|
| 189 |
+
0.02066022491455078,
|
| 190 |
+
0.02086297607421875,
|
| 191 |
+
0.02084966468811035,
|
| 192 |
+
0.020769792556762694,
|
| 193 |
+
0.020612096786499022,
|
| 194 |
+
0.02050048065185547,
|
| 195 |
+
0.022544384002685547,
|
| 196 |
+
0.02130534362792969,
|
| 197 |
+
0.02128486442565918,
|
| 198 |
+
0.02129715156555176,
|
| 199 |
+
0.02109132766723633,
|
| 200 |
+
0.020487167358398437,
|
| 201 |
+
0.020790271759033203,
|
| 202 |
+
0.020726783752441406,
|
| 203 |
+
0.020520959854125977,
|
| 204 |
+
0.02130227279663086,
|
| 205 |
+
0.02107494354248047,
|
| 206 |
+
0.02106879997253418,
|
| 207 |
+
0.021160959243774414,
|
| 208 |
+
0.021374975204467773,
|
| 209 |
+
0.02103091239929199,
|
| 210 |
+
0.020702207565307617,
|
| 211 |
+
0.021172224044799806,
|
| 212 |
+
0.020479999542236327,
|
| 213 |
+
0.02045952033996582,
|
| 214 |
+
0.020470783233642577,
|
| 215 |
+
0.02107596778869629,
|
| 216 |
+
0.02064896011352539,
|
| 217 |
+
0.0204902400970459,
|
| 218 |
+
0.02065715217590332,
|
| 219 |
+
0.02047385597229004,
|
| 220 |
+
0.020505599975585938,
|
| 221 |
+
0.020625408172607423,
|
| 222 |
+
0.02110361671447754,
|
| 223 |
+
0.020706304550170897,
|
| 224 |
+
0.020571136474609376,
|
| 225 |
+
0.02081996726989746,
|
| 226 |
+
0.020883455276489257,
|
| 227 |
+
0.020477951049804686,
|
| 228 |
+
0.020832256317138673,
|
| 229 |
+
0.020441120147705077,
|
| 230 |
+
0.020441055297851562,
|
| 231 |
+
0.021038080215454103,
|
| 232 |
+
0.020426752090454102,
|
| 233 |
+
0.020387840270996094,
|
| 234 |
+
0.020996095657348633,
|
| 235 |
+
0.02102272033691406,
|
| 236 |
+
0.021006336212158205,
|
| 237 |
+
0.020972543716430665,
|
| 238 |
+
0.021003263473510742,
|
| 239 |
+
0.02103910446166992,
|
| 240 |
+
0.021121023178100586,
|
| 241 |
+
0.02045132827758789,
|
| 242 |
+
0.02044108772277832,
|
| 243 |
+
0.0204902400970459,
|
| 244 |
+
0.020715520858764647,
|
| 245 |
+
0.021384191513061524,
|
| 246 |
+
0.02060492706298828,
|
| 247 |
+
0.02104832077026367,
|
| 248 |
+
0.021013504028320314,
|
| 249 |
+
0.020603904724121092,
|
| 250 |
+
0.020531200408935548,
|
| 251 |
+
0.02046976089477539,
|
| 252 |
+
0.02048409652709961,
|
| 253 |
+
0.020587520599365236,
|
| 254 |
+
0.0212992000579834,
|
| 255 |
+
0.02110361671447754,
|
| 256 |
+
0.020979711532592774,
|
| 257 |
+
0.021161983489990235,
|
| 258 |
+
0.021028863906860353,
|
| 259 |
+
0.020999168395996092,
|
| 260 |
+
0.020963327407836914,
|
| 261 |
+
0.020505599975585938,
|
| 262 |
+
0.020582399368286132,
|
| 263 |
+
0.02051481628417969,
|
| 264 |
+
0.020497407913208008,
|
| 265 |
+
0.02050662422180176,
|
| 266 |
+
0.0204421443939209,
|
| 267 |
+
0.020803552627563476,
|
| 268 |
+
0.02047283172607422,
|
| 269 |
+
0.020625408172607423,
|
| 270 |
+
0.02046156883239746,
|
| 271 |
+
0.020463615417480468,
|
| 272 |
+
0.020520959854125977,
|
| 273 |
+
0.020525056838989256,
|
| 274 |
+
0.021206016540527343,
|
| 275 |
+
0.020724735260009765,
|
| 276 |
+
0.020535295486450195,
|
| 277 |
+
0.020551679611206054,
|
| 278 |
+
0.020471807479858398,
|
| 279 |
+
0.02068172836303711,
|
| 280 |
+
0.020447231292724608,
|
| 281 |
+
0.021012479782104493,
|
| 282 |
+
0.020976640701293944,
|
| 283 |
+
0.020468736648559572,
|
| 284 |
+
0.020715520858764647,
|
| 285 |
+
0.02045747184753418,
|
| 286 |
+
0.02103398323059082,
|
| 287 |
+
0.021133312225341795,
|
| 288 |
+
0.0210882568359375,
|
| 289 |
+
0.021227519989013673,
|
| 290 |
+
0.020669504165649413,
|
| 291 |
+
0.020489152908325196,
|
| 292 |
+
0.020496383666992187,
|
| 293 |
+
0.02125209617614746,
|
| 294 |
+
0.02102783966064453,
|
| 295 |
+
0.021242879867553712,
|
| 296 |
+
0.021021696090698243,
|
| 297 |
+
0.020549631118774413,
|
| 298 |
+
0.020504575729370117,
|
| 299 |
+
0.020997119903564454,
|
| 300 |
+
0.020471807479858398,
|
| 301 |
+
0.0210513916015625,
|
| 302 |
+
0.021167104721069335,
|
| 303 |
+
0.020485120773315428,
|
| 304 |
+
0.020502527236938475,
|
| 305 |
+
0.020454399108886717,
|
| 306 |
+
0.02048102378845215,
|
| 307 |
+
0.02045849609375,
|
| 308 |
+
0.02109337615966797,
|
| 309 |
+
0.02106060791015625,
|
| 310 |
+
0.02101759910583496,
|
| 311 |
+
0.02102374458312988,
|
| 312 |
+
0.020288511276245116,
|
| 313 |
+
0.020570112228393556,
|
| 314 |
+
0.020788223266601562,
|
| 315 |
+
0.020486143112182616,
|
| 316 |
+
0.020463615417480468,
|
| 317 |
+
0.020463615417480468,
|
| 318 |
+
0.020593664169311524,
|
| 319 |
+
0.02049126434326172,
|
| 320 |
+
0.020478975296020507,
|
| 321 |
+
0.021117952346801756,
|
| 322 |
+
0.02105241584777832,
|
| 323 |
+
0.02128691291809082,
|
| 324 |
+
0.021522432327270507,
|
| 325 |
+
0.02126131248474121,
|
| 326 |
+
0.021045248031616212,
|
| 327 |
+
0.020929536819458007,
|
| 328 |
+
0.021187583923339845,
|
| 329 |
+
0.02044927978515625,
|
| 330 |
+
0.020477951049804686,
|
| 331 |
+
0.02047385597229004,
|
| 332 |
+
0.020434944152832032,
|
| 333 |
+
0.020495359420776366,
|
| 334 |
+
0.02066022491455078,
|
| 335 |
+
0.021073919296264648,
|
| 336 |
+
0.02107904052734375,
|
| 337 |
+
0.02102374458312988,
|
| 338 |
+
0.021003263473510742,
|
| 339 |
+
0.0210565128326416,
|
| 340 |
+
0.02044825553894043,
|
| 341 |
+
0.021192703247070312,
|
| 342 |
+
0.021324800491333007,
|
| 343 |
+
0.0211015682220459,
|
| 344 |
+
0.02104729652404785,
|
| 345 |
+
0.021086208343505858,
|
| 346 |
+
0.02108415985107422,
|
| 347 |
+
0.02082918357849121,
|
| 348 |
+
0.021124095916748048,
|
| 349 |
+
0.021194751739501954,
|
| 350 |
+
0.021169151306152344,
|
| 351 |
+
0.020539392471313478,
|
| 352 |
+
0.020509695053100584,
|
| 353 |
+
0.02047590446472168,
|
| 354 |
+
0.020968448638916014,
|
| 355 |
+
0.02109542465209961,
|
| 356 |
+
0.0204769287109375,
|
| 357 |
+
0.02049126434326172
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 48.17744498434486
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-2b",
|
| 3 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02232870388031006,
|
| 7 |
+
"prefill.throughput.value": 313.4978204522097,
|
| 8 |
+
"decode.latency.mean": 2.636215087890625,
|
| 9 |
+
"decode.throughput.value": 48.175128267557035,
|
| 10 |
+
"per_token.latency.mean": 0.020756600943137343,
|
| 11 |
+
"per_token.throughput.value": 48.17744498434486
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.4.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model_type: null
|
| 9 |
+
model: google/gemma-2b
|
| 10 |
+
processor: null
|
| 11 |
+
device: cuda
|
| 12 |
+
device_ids: '0'
|
| 13 |
+
seed: 42
|
| 14 |
+
inter_op_num_threads: null
|
| 15 |
+
intra_op_num_threads: null
|
| 16 |
+
model_kwargs: {}
|
| 17 |
+
processor_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
memory: true
|
| 51 |
+
latency: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
numactl: false
|
| 65 |
+
numactl_kwargs: {}
|
| 66 |
+
start_method: spawn
|
| 67 |
+
environment:
|
| 68 |
+
cpu: ' AMD EPYC 7R32'
|
| 69 |
+
cpu_count: 16
|
| 70 |
+
cpu_ram_mb: 66697.261056
|
| 71 |
+
system: Linux
|
| 72 |
+
machine: x86_64
|
| 73 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 74 |
+
processor: x86_64
|
| 75 |
+
python_version: 3.8.10
|
| 76 |
+
gpu:
|
| 77 |
+
- NVIDIA A10G
|
| 78 |
+
gpu_count: 1
|
| 79 |
+
gpu_vram_mb: 24146608128
|
| 80 |
+
optimum_benchmark_version: 0.4.0
|
| 81 |
+
optimum_benchmark_commit: null
|
| 82 |
+
transformers_version: 4.45.0.dev0
|
| 83 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 84 |
+
accelerate_version: 0.35.0.dev0
|
| 85 |
+
accelerate_commit: null
|
| 86 |
+
diffusers_version: null
|
| 87 |
+
diffusers_commit: null
|
| 88 |
+
optimum_version: 1.22.0.dev0
|
| 89 |
+
optimum_commit: null
|
| 90 |
+
timm_version: 0.9.16
|
| 91 |
+
timm_commit: null
|
| 92 |
+
peft_version: 0.12.1.dev0
|
| 93 |
+
peft_commit: null
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 6 |
+
subdir: ${hydra.job.override_dirname}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
root:
|
| 71 |
+
level: ERROR
|
| 72 |
+
disable_existing_loggers: true
|
| 73 |
+
job_logging:
|
| 74 |
+
version: 1
|
| 75 |
+
root:
|
| 76 |
+
level: ERROR
|
| 77 |
+
disable_existing_loggers: true
|
| 78 |
+
env: {}
|
| 79 |
+
mode: MULTIRUN
|
| 80 |
+
searchpath: []
|
| 81 |
+
callbacks: {}
|
| 82 |
+
output_subdir: .hydra
|
| 83 |
+
overrides:
|
| 84 |
+
hydra:
|
| 85 |
+
- hydra/job_logging=disabled
|
| 86 |
+
- hydra/hydra_logging=disabled
|
| 87 |
+
- hydra.sweep.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=static
|
| 93 |
+
- backend.torch_compile=True
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 98 |
+
id: '3'
|
| 99 |
+
num: 3
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: /transformers/_benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=True
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json
ADDED
|
@@ -0,0 +1,473 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gemma",
|
| 11 |
+
"model": "google/gemma-2b",
|
| 12 |
+
"processor": "google/gemma-2b",
|
| 13 |
+
"device": "cuda",
|
| 14 |
+
"device_ids": "0",
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": true,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"latency": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"numactl": false,
|
| 73 |
+
"numactl_kwargs": {},
|
| 74 |
+
"start_method": "spawn"
|
| 75 |
+
},
|
| 76 |
+
"environment": {
|
| 77 |
+
"cpu": " AMD EPYC 7R32",
|
| 78 |
+
"cpu_count": 16,
|
| 79 |
+
"cpu_ram_mb": 66697.261056,
|
| 80 |
+
"system": "Linux",
|
| 81 |
+
"machine": "x86_64",
|
| 82 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 83 |
+
"processor": "x86_64",
|
| 84 |
+
"python_version": "3.8.10",
|
| 85 |
+
"gpu": [
|
| 86 |
+
"NVIDIA A10G"
|
| 87 |
+
],
|
| 88 |
+
"gpu_count": 1,
|
| 89 |
+
"gpu_vram_mb": 24146608128,
|
| 90 |
+
"optimum_benchmark_version": "0.4.0",
|
| 91 |
+
"optimum_benchmark_commit": null,
|
| 92 |
+
"transformers_version": "4.45.0.dev0",
|
| 93 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 94 |
+
"accelerate_version": "0.35.0.dev0",
|
| 95 |
+
"accelerate_commit": null,
|
| 96 |
+
"diffusers_version": null,
|
| 97 |
+
"diffusers_commit": null,
|
| 98 |
+
"optimum_version": "1.22.0.dev0",
|
| 99 |
+
"optimum_commit": null,
|
| 100 |
+
"timm_version": "0.9.16",
|
| 101 |
+
"timm_commit": null,
|
| 102 |
+
"peft_version": "0.12.1.dev0",
|
| 103 |
+
"peft_commit": null
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"report": {
|
| 107 |
+
"load": {
|
| 108 |
+
"memory": {
|
| 109 |
+
"unit": "MB",
|
| 110 |
+
"max_ram": 1353.756672,
|
| 111 |
+
"max_global_vram": 6775.373824,
|
| 112 |
+
"max_process_vram": 0.0,
|
| 113 |
+
"max_reserved": 6138.363904,
|
| 114 |
+
"max_allocated": 6060.931072
|
| 115 |
+
},
|
| 116 |
+
"latency": {
|
| 117 |
+
"unit": "s",
|
| 118 |
+
"count": 1,
|
| 119 |
+
"total": 13.015529296875,
|
| 120 |
+
"mean": 13.015529296875,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 13.015529296875,
|
| 123 |
+
"p90": 13.015529296875,
|
| 124 |
+
"p95": 13.015529296875,
|
| 125 |
+
"p99": 13.015529296875,
|
| 126 |
+
"values": [
|
| 127 |
+
13.015529296875
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1925.742592,
|
| 138 |
+
"max_global_vram": 6796.345344,
|
| 139 |
+
"max_process_vram": 0.0,
|
| 140 |
+
"max_reserved": 6138.363904,
|
| 141 |
+
"max_allocated": 5278.596608
|
| 142 |
+
},
|
| 143 |
+
"latency": {
|
| 144 |
+
"unit": "s",
|
| 145 |
+
"count": 2,
|
| 146 |
+
"total": 0.02835750389099121,
|
| 147 |
+
"mean": 0.014178751945495605,
|
| 148 |
+
"stdev": 0.0001983041763305663,
|
| 149 |
+
"p50": 0.014178751945495605,
|
| 150 |
+
"p90": 0.014337395286560058,
|
| 151 |
+
"p95": 0.014357225704193115,
|
| 152 |
+
"p99": 0.01437309003829956,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013980447769165039,
|
| 155 |
+
0.014377056121826172
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 493.69648519902375
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2098.884608,
|
| 169 |
+
"max_global_vram": 6060.244992,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 5381.292032,
|
| 172 |
+
"max_allocated": 5282.647552
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 3.13300537109375,
|
| 178 |
+
"mean": 1.566502685546875,
|
| 179 |
+
"stdev": 0.00012390136718753997,
|
| 180 |
+
"p50": 1.566502685546875,
|
| 181 |
+
"p90": 1.566601806640625,
|
| 182 |
+
"p95": 1.5666141967773437,
|
| 183 |
+
"p99": 1.5666241088867188,
|
| 184 |
+
"values": [
|
| 185 |
+
1.5666265869140625,
|
| 186 |
+
1.5663787841796875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.07231552920292
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 3.1327047624588027,
|
| 202 |
+
"mean": 0.012333483316766935,
|
| 203 |
+
"stdev": 8.446177575398085e-05,
|
| 204 |
+
"p50": 0.012312576293945313,
|
| 205 |
+
"p90": 0.012358963108062743,
|
| 206 |
+
"p95": 0.012455321550369262,
|
| 207 |
+
"p99": 0.012812411012649535,
|
| 208 |
+
"values": [
|
| 209 |
+
0.01248256015777588,
|
| 210 |
+
0.012323840141296387,
|
| 211 |
+
0.01229312038421631,
|
| 212 |
+
0.012313632011413575,
|
| 213 |
+
0.01231766414642334,
|
| 214 |
+
0.012319744110107422,
|
| 215 |
+
0.012317695617675782,
|
| 216 |
+
0.01233510398864746,
|
| 217 |
+
0.01232588768005371,
|
| 218 |
+
0.01232588768005371,
|
| 219 |
+
0.012973055839538575,
|
| 220 |
+
0.012379136085510254,
|
| 221 |
+
0.012317695617675782,
|
| 222 |
+
0.012305407524108887,
|
| 223 |
+
0.012314623832702636,
|
| 224 |
+
0.012315648078918457,
|
| 225 |
+
0.012308480262756348,
|
| 226 |
+
0.012316672325134278,
|
| 227 |
+
0.012310527801513671,
|
| 228 |
+
0.012319744110107422,
|
| 229 |
+
0.012320768356323243,
|
| 230 |
+
0.012297216415405274,
|
| 231 |
+
0.012305407524108887,
|
| 232 |
+
0.01234329605102539,
|
| 233 |
+
0.012332032203674317,
|
| 234 |
+
0.012310527801513671,
|
| 235 |
+
0.012311552047729492,
|
| 236 |
+
0.012309503555297852,
|
| 237 |
+
0.012303359985351562,
|
| 238 |
+
0.012306431770324706,
|
| 239 |
+
0.012324864387512208,
|
| 240 |
+
0.012306431770324706,
|
| 241 |
+
0.012313599586486817,
|
| 242 |
+
0.012304384231567383,
|
| 243 |
+
0.012310527801513671,
|
| 244 |
+
0.012300288200378418,
|
| 245 |
+
0.012319744110107422,
|
| 246 |
+
0.012326911926269531,
|
| 247 |
+
0.012312576293945313,
|
| 248 |
+
0.012305407524108887,
|
| 249 |
+
0.01237299156188965,
|
| 250 |
+
0.012305407524108887,
|
| 251 |
+
0.012302335739135742,
|
| 252 |
+
0.012308480262756348,
|
| 253 |
+
0.012322815895080566,
|
| 254 |
+
0.012316672325134278,
|
| 255 |
+
0.01258188819885254,
|
| 256 |
+
0.012339200019836426,
|
| 257 |
+
0.01245798397064209,
|
| 258 |
+
0.012301312446594239,
|
| 259 |
+
0.012309503555297852,
|
| 260 |
+
0.012309503555297852,
|
| 261 |
+
0.012300288200378418,
|
| 262 |
+
0.012313599586486817,
|
| 263 |
+
0.012309503555297852,
|
| 264 |
+
0.012314687728881836,
|
| 265 |
+
0.01235142421722412,
|
| 266 |
+
0.012315648078918457,
|
| 267 |
+
0.012317695617675782,
|
| 268 |
+
0.012301312446594239,
|
| 269 |
+
0.01233510398864746,
|
| 270 |
+
0.012315648078918457,
|
| 271 |
+
0.012302335739135742,
|
| 272 |
+
0.012302335739135742,
|
| 273 |
+
0.012321791648864745,
|
| 274 |
+
0.012318719863891601,
|
| 275 |
+
0.012307456016540527,
|
| 276 |
+
0.012322815895080566,
|
| 277 |
+
0.012316672325134278,
|
| 278 |
+
0.012352512359619141,
|
| 279 |
+
0.012310527801513671,
|
| 280 |
+
0.012315648078918457,
|
| 281 |
+
0.012308480262756348,
|
| 282 |
+
0.012328960418701173,
|
| 283 |
+
0.012311552047729492,
|
| 284 |
+
0.012301312446594239,
|
| 285 |
+
0.012307456016540527,
|
| 286 |
+
0.012311552047729492,
|
| 287 |
+
0.012301312446594239,
|
| 288 |
+
0.012306431770324706,
|
| 289 |
+
0.012306431770324706,
|
| 290 |
+
0.012323840141296387,
|
| 291 |
+
0.012323936462402344,
|
| 292 |
+
0.012309408187866211,
|
| 293 |
+
0.012303359985351562,
|
| 294 |
+
0.012295167922973632,
|
| 295 |
+
0.012333056449890138,
|
| 296 |
+
0.012307519912719727,
|
| 297 |
+
0.012306367874145508,
|
| 298 |
+
0.012320768356323243,
|
| 299 |
+
0.012299263954162597,
|
| 300 |
+
0.012304384231567383,
|
| 301 |
+
0.012317695617675782,
|
| 302 |
+
0.012321791648864745,
|
| 303 |
+
0.012974080085754394,
|
| 304 |
+
0.012348416328430176,
|
| 305 |
+
0.012345343589782716,
|
| 306 |
+
0.012336128234863282,
|
| 307 |
+
0.012318719863891601,
|
| 308 |
+
0.012305407524108887,
|
| 309 |
+
0.012307456016540527,
|
| 310 |
+
0.012304384231567383,
|
| 311 |
+
0.012302335739135742,
|
| 312 |
+
0.012310527801513671,
|
| 313 |
+
0.012320768356323243,
|
| 314 |
+
0.012316672325134278,
|
| 315 |
+
0.012308480262756348,
|
| 316 |
+
0.012310527801513671,
|
| 317 |
+
0.012303359985351562,
|
| 318 |
+
0.012323840141296387,
|
| 319 |
+
0.012309503555297852,
|
| 320 |
+
0.012314623832702636,
|
| 321 |
+
0.012310527801513671,
|
| 322 |
+
0.012315648078918457,
|
| 323 |
+
0.012303359985351562,
|
| 324 |
+
0.012314623832702636,
|
| 325 |
+
0.012314623832702636,
|
| 326 |
+
0.012316703796386719,
|
| 327 |
+
0.012520416259765625,
|
| 328 |
+
0.012552191734313965,
|
| 329 |
+
0.012437503814697265,
|
| 330 |
+
0.012316672325134278,
|
| 331 |
+
0.012305407524108887,
|
| 332 |
+
0.012308480262756348,
|
| 333 |
+
0.012294143676757812,
|
| 334 |
+
0.012296192169189453,
|
| 335 |
+
0.012307456016540527,
|
| 336 |
+
0.012339200019836426,
|
| 337 |
+
0.012307456016540527,
|
| 338 |
+
0.012300288200378418,
|
| 339 |
+
0.012292096138000488,
|
| 340 |
+
0.012304384231567383,
|
| 341 |
+
0.012304384231567383,
|
| 342 |
+
0.012305407524108887,
|
| 343 |
+
0.012315648078918457,
|
| 344 |
+
0.012306431770324706,
|
| 345 |
+
0.012465151786804199,
|
| 346 |
+
0.01235148811340332,
|
| 347 |
+
0.012320768356323243,
|
| 348 |
+
0.012302335739135742,
|
| 349 |
+
0.012310527801513671,
|
| 350 |
+
0.012313599586486817,
|
| 351 |
+
0.012303359985351562,
|
| 352 |
+
0.012300288200378418,
|
| 353 |
+
0.012295167922973632,
|
| 354 |
+
0.012305407524108887,
|
| 355 |
+
0.012311552047729492,
|
| 356 |
+
0.012286975860595703,
|
| 357 |
+
0.01244876766204834,
|
| 358 |
+
0.012371968269348145,
|
| 359 |
+
0.012324864387512208,
|
| 360 |
+
0.012306431770324706,
|
| 361 |
+
0.012321791648864745,
|
| 362 |
+
0.012305407524108887,
|
| 363 |
+
0.012286975860595703,
|
| 364 |
+
0.012295167922973632,
|
| 365 |
+
0.012306431770324706,
|
| 366 |
+
0.012309503555297852,
|
| 367 |
+
0.012303359985351562,
|
| 368 |
+
0.012305407524108887,
|
| 369 |
+
0.012302335739135742,
|
| 370 |
+
0.012303359985351562,
|
| 371 |
+
0.012323840141296387,
|
| 372 |
+
0.012321791648864745,
|
| 373 |
+
0.012297216415405274,
|
| 374 |
+
0.012307456016540527,
|
| 375 |
+
0.012291071891784668,
|
| 376 |
+
0.012301312446594239,
|
| 377 |
+
0.012294143676757812,
|
| 378 |
+
0.012313599586486817,
|
| 379 |
+
0.012296192169189453,
|
| 380 |
+
0.012313599586486817,
|
| 381 |
+
0.012319744110107422,
|
| 382 |
+
0.012297216415405274,
|
| 383 |
+
0.012295167922973632,
|
| 384 |
+
0.01234124755859375,
|
| 385 |
+
0.012399616241455079,
|
| 386 |
+
0.012984319686889649,
|
| 387 |
+
0.012328960418701173,
|
| 388 |
+
0.012393471717834472,
|
| 389 |
+
0.012314623832702636,
|
| 390 |
+
0.012323840141296387,
|
| 391 |
+
0.01231158447265625,
|
| 392 |
+
0.012303327560424805,
|
| 393 |
+
0.012297216415405274,
|
| 394 |
+
0.012323840141296387,
|
| 395 |
+
0.012327936172485352,
|
| 396 |
+
0.01233510398864746,
|
| 397 |
+
0.012327936172485352,
|
| 398 |
+
0.012324864387512208,
|
| 399 |
+
0.012403712272644044,
|
| 400 |
+
0.012308480262756348,
|
| 401 |
+
0.012319744110107422,
|
| 402 |
+
0.012315648078918457,
|
| 403 |
+
0.012331007957458496,
|
| 404 |
+
0.012412927627563476,
|
| 405 |
+
0.01233510398864746,
|
| 406 |
+
0.01233510398864746,
|
| 407 |
+
0.012323840141296387,
|
| 408 |
+
0.012389375686645507,
|
| 409 |
+
0.012306431770324706,
|
| 410 |
+
0.012305407524108887,
|
| 411 |
+
0.012310527801513671,
|
| 412 |
+
0.012472319602966308,
|
| 413 |
+
0.012319744110107422,
|
| 414 |
+
0.012309503555297852,
|
| 415 |
+
0.012308480262756348,
|
| 416 |
+
0.012316672325134278,
|
| 417 |
+
0.012301312446594239,
|
| 418 |
+
0.012326911926269531,
|
| 419 |
+
0.012322815895080566,
|
| 420 |
+
0.012304384231567383,
|
| 421 |
+
0.012309503555297852,
|
| 422 |
+
0.012312576293945313,
|
| 423 |
+
0.012304384231567383,
|
| 424 |
+
0.012301312446594239,
|
| 425 |
+
0.012361727714538574,
|
| 426 |
+
0.012352512359619141,
|
| 427 |
+
0.012365823745727538,
|
| 428 |
+
0.012305407524108887,
|
| 429 |
+
0.012309503555297852,
|
| 430 |
+
0.012304384231567383,
|
| 431 |
+
0.012320768356323243,
|
| 432 |
+
0.012453887939453125,
|
| 433 |
+
0.012313599586486817,
|
| 434 |
+
0.012303359985351562,
|
| 435 |
+
0.012304384231567383,
|
| 436 |
+
0.012309503555297852,
|
| 437 |
+
0.012307456016540527,
|
| 438 |
+
0.012324864387512208,
|
| 439 |
+
0.012317695617675782,
|
| 440 |
+
0.012310527801513671,
|
| 441 |
+
0.012303359985351562,
|
| 442 |
+
0.012301312446594239,
|
| 443 |
+
0.012327936172485352,
|
| 444 |
+
0.012326911926269531,
|
| 445 |
+
0.012310527801513671,
|
| 446 |
+
0.012308480262756348,
|
| 447 |
+
0.012348416328430176,
|
| 448 |
+
0.012312576293945313,
|
| 449 |
+
0.012311552047729492,
|
| 450 |
+
0.012313599586486817,
|
| 451 |
+
0.012317695617675782,
|
| 452 |
+
0.012323840141296387,
|
| 453 |
+
0.012304384231567383,
|
| 454 |
+
0.012308480262756348,
|
| 455 |
+
0.012305407524108887,
|
| 456 |
+
0.01233510398864746,
|
| 457 |
+
0.012319744110107422,
|
| 458 |
+
0.012298239707946777,
|
| 459 |
+
0.012309503555297852,
|
| 460 |
+
0.012463104248046876,
|
| 461 |
+
0.012669952392578124,
|
| 462 |
+
0.012488703727722168
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.08009508072512
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.4.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model_type": "gemma",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"memory": true,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"numactl": false,
|
| 72 |
+
"numactl_kwargs": {},
|
| 73 |
+
"start_method": "spawn"
|
| 74 |
+
},
|
| 75 |
+
"environment": {
|
| 76 |
+
"cpu": " AMD EPYC 7R32",
|
| 77 |
+
"cpu_count": 16,
|
| 78 |
+
"cpu_ram_mb": 66697.261056,
|
| 79 |
+
"system": "Linux",
|
| 80 |
+
"machine": "x86_64",
|
| 81 |
+
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 82 |
+
"processor": "x86_64",
|
| 83 |
+
"python_version": "3.8.10",
|
| 84 |
+
"gpu": [
|
| 85 |
+
"NVIDIA A10G"
|
| 86 |
+
],
|
| 87 |
+
"gpu_count": 1,
|
| 88 |
+
"gpu_vram_mb": 24146608128,
|
| 89 |
+
"optimum_benchmark_version": "0.4.0",
|
| 90 |
+
"optimum_benchmark_commit": null,
|
| 91 |
+
"transformers_version": "4.45.0.dev0",
|
| 92 |
+
"transformers_commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 93 |
+
"accelerate_version": "0.35.0.dev0",
|
| 94 |
+
"accelerate_commit": null,
|
| 95 |
+
"diffusers_version": null,
|
| 96 |
+
"diffusers_commit": null,
|
| 97 |
+
"optimum_version": "1.22.0.dev0",
|
| 98 |
+
"optimum_commit": null,
|
| 99 |
+
"timm_version": "0.9.16",
|
| 100 |
+
"timm_commit": null,
|
| 101 |
+
"peft_version": "0.12.1.dev0",
|
| 102 |
+
"peft_commit": null
|
| 103 |
+
}
|
| 104 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1353.756672,
|
| 6 |
+
"max_global_vram": 6775.373824,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6138.363904,
|
| 9 |
+
"max_allocated": 6060.931072
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 1,
|
| 14 |
+
"total": 13.015529296875,
|
| 15 |
+
"mean": 13.015529296875,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 13.015529296875,
|
| 18 |
+
"p90": 13.015529296875,
|
| 19 |
+
"p95": 13.015529296875,
|
| 20 |
+
"p99": 13.015529296875,
|
| 21 |
+
"values": [
|
| 22 |
+
13.015529296875
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1925.742592,
|
| 33 |
+
"max_global_vram": 6796.345344,
|
| 34 |
+
"max_process_vram": 0.0,
|
| 35 |
+
"max_reserved": 6138.363904,
|
| 36 |
+
"max_allocated": 5278.596608
|
| 37 |
+
},
|
| 38 |
+
"latency": {
|
| 39 |
+
"unit": "s",
|
| 40 |
+
"count": 2,
|
| 41 |
+
"total": 0.02835750389099121,
|
| 42 |
+
"mean": 0.014178751945495605,
|
| 43 |
+
"stdev": 0.0001983041763305663,
|
| 44 |
+
"p50": 0.014178751945495605,
|
| 45 |
+
"p90": 0.014337395286560058,
|
| 46 |
+
"p95": 0.014357225704193115,
|
| 47 |
+
"p99": 0.01437309003829956,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013980447769165039,
|
| 50 |
+
0.014377056121826172
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 493.69648519902375
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2098.884608,
|
| 64 |
+
"max_global_vram": 6060.244992,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 5381.292032,
|
| 67 |
+
"max_allocated": 5282.647552
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 3.13300537109375,
|
| 73 |
+
"mean": 1.566502685546875,
|
| 74 |
+
"stdev": 0.00012390136718753997,
|
| 75 |
+
"p50": 1.566502685546875,
|
| 76 |
+
"p90": 1.566601806640625,
|
| 77 |
+
"p95": 1.5666141967773437,
|
| 78 |
+
"p99": 1.5666241088867188,
|
| 79 |
+
"values": [
|
| 80 |
+
1.5666265869140625,
|
| 81 |
+
1.5663787841796875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.07231552920292
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 3.1327047624588027,
|
| 97 |
+
"mean": 0.012333483316766935,
|
| 98 |
+
"stdev": 8.446177575398085e-05,
|
| 99 |
+
"p50": 0.012312576293945313,
|
| 100 |
+
"p90": 0.012358963108062743,
|
| 101 |
+
"p95": 0.012455321550369262,
|
| 102 |
+
"p99": 0.012812411012649535,
|
| 103 |
+
"values": [
|
| 104 |
+
0.01248256015777588,
|
| 105 |
+
0.012323840141296387,
|
| 106 |
+
0.01229312038421631,
|
| 107 |
+
0.012313632011413575,
|
| 108 |
+
0.01231766414642334,
|
| 109 |
+
0.012319744110107422,
|
| 110 |
+
0.012317695617675782,
|
| 111 |
+
0.01233510398864746,
|
| 112 |
+
0.01232588768005371,
|
| 113 |
+
0.01232588768005371,
|
| 114 |
+
0.012973055839538575,
|
| 115 |
+
0.012379136085510254,
|
| 116 |
+
0.012317695617675782,
|
| 117 |
+
0.012305407524108887,
|
| 118 |
+
0.012314623832702636,
|
| 119 |
+
0.012315648078918457,
|
| 120 |
+
0.012308480262756348,
|
| 121 |
+
0.012316672325134278,
|
| 122 |
+
0.012310527801513671,
|
| 123 |
+
0.012319744110107422,
|
| 124 |
+
0.012320768356323243,
|
| 125 |
+
0.012297216415405274,
|
| 126 |
+
0.012305407524108887,
|
| 127 |
+
0.01234329605102539,
|
| 128 |
+
0.012332032203674317,
|
| 129 |
+
0.012310527801513671,
|
| 130 |
+
0.012311552047729492,
|
| 131 |
+
0.012309503555297852,
|
| 132 |
+
0.012303359985351562,
|
| 133 |
+
0.012306431770324706,
|
| 134 |
+
0.012324864387512208,
|
| 135 |
+
0.012306431770324706,
|
| 136 |
+
0.012313599586486817,
|
| 137 |
+
0.012304384231567383,
|
| 138 |
+
0.012310527801513671,
|
| 139 |
+
0.012300288200378418,
|
| 140 |
+
0.012319744110107422,
|
| 141 |
+
0.012326911926269531,
|
| 142 |
+
0.012312576293945313,
|
| 143 |
+
0.012305407524108887,
|
| 144 |
+
0.01237299156188965,
|
| 145 |
+
0.012305407524108887,
|
| 146 |
+
0.012302335739135742,
|
| 147 |
+
0.012308480262756348,
|
| 148 |
+
0.012322815895080566,
|
| 149 |
+
0.012316672325134278,
|
| 150 |
+
0.01258188819885254,
|
| 151 |
+
0.012339200019836426,
|
| 152 |
+
0.01245798397064209,
|
| 153 |
+
0.012301312446594239,
|
| 154 |
+
0.012309503555297852,
|
| 155 |
+
0.012309503555297852,
|
| 156 |
+
0.012300288200378418,
|
| 157 |
+
0.012313599586486817,
|
| 158 |
+
0.012309503555297852,
|
| 159 |
+
0.012314687728881836,
|
| 160 |
+
0.01235142421722412,
|
| 161 |
+
0.012315648078918457,
|
| 162 |
+
0.012317695617675782,
|
| 163 |
+
0.012301312446594239,
|
| 164 |
+
0.01233510398864746,
|
| 165 |
+
0.012315648078918457,
|
| 166 |
+
0.012302335739135742,
|
| 167 |
+
0.012302335739135742,
|
| 168 |
+
0.012321791648864745,
|
| 169 |
+
0.012318719863891601,
|
| 170 |
+
0.012307456016540527,
|
| 171 |
+
0.012322815895080566,
|
| 172 |
+
0.012316672325134278,
|
| 173 |
+
0.012352512359619141,
|
| 174 |
+
0.012310527801513671,
|
| 175 |
+
0.012315648078918457,
|
| 176 |
+
0.012308480262756348,
|
| 177 |
+
0.012328960418701173,
|
| 178 |
+
0.012311552047729492,
|
| 179 |
+
0.012301312446594239,
|
| 180 |
+
0.012307456016540527,
|
| 181 |
+
0.012311552047729492,
|
| 182 |
+
0.012301312446594239,
|
| 183 |
+
0.012306431770324706,
|
| 184 |
+
0.012306431770324706,
|
| 185 |
+
0.012323840141296387,
|
| 186 |
+
0.012323936462402344,
|
| 187 |
+
0.012309408187866211,
|
| 188 |
+
0.012303359985351562,
|
| 189 |
+
0.012295167922973632,
|
| 190 |
+
0.012333056449890138,
|
| 191 |
+
0.012307519912719727,
|
| 192 |
+
0.012306367874145508,
|
| 193 |
+
0.012320768356323243,
|
| 194 |
+
0.012299263954162597,
|
| 195 |
+
0.012304384231567383,
|
| 196 |
+
0.012317695617675782,
|
| 197 |
+
0.012321791648864745,
|
| 198 |
+
0.012974080085754394,
|
| 199 |
+
0.012348416328430176,
|
| 200 |
+
0.012345343589782716,
|
| 201 |
+
0.012336128234863282,
|
| 202 |
+
0.012318719863891601,
|
| 203 |
+
0.012305407524108887,
|
| 204 |
+
0.012307456016540527,
|
| 205 |
+
0.012304384231567383,
|
| 206 |
+
0.012302335739135742,
|
| 207 |
+
0.012310527801513671,
|
| 208 |
+
0.012320768356323243,
|
| 209 |
+
0.012316672325134278,
|
| 210 |
+
0.012308480262756348,
|
| 211 |
+
0.012310527801513671,
|
| 212 |
+
0.012303359985351562,
|
| 213 |
+
0.012323840141296387,
|
| 214 |
+
0.012309503555297852,
|
| 215 |
+
0.012314623832702636,
|
| 216 |
+
0.012310527801513671,
|
| 217 |
+
0.012315648078918457,
|
| 218 |
+
0.012303359985351562,
|
| 219 |
+
0.012314623832702636,
|
| 220 |
+
0.012314623832702636,
|
| 221 |
+
0.012316703796386719,
|
| 222 |
+
0.012520416259765625,
|
| 223 |
+
0.012552191734313965,
|
| 224 |
+
0.012437503814697265,
|
| 225 |
+
0.012316672325134278,
|
| 226 |
+
0.012305407524108887,
|
| 227 |
+
0.012308480262756348,
|
| 228 |
+
0.012294143676757812,
|
| 229 |
+
0.012296192169189453,
|
| 230 |
+
0.012307456016540527,
|
| 231 |
+
0.012339200019836426,
|
| 232 |
+
0.012307456016540527,
|
| 233 |
+
0.012300288200378418,
|
| 234 |
+
0.012292096138000488,
|
| 235 |
+
0.012304384231567383,
|
| 236 |
+
0.012304384231567383,
|
| 237 |
+
0.012305407524108887,
|
| 238 |
+
0.012315648078918457,
|
| 239 |
+
0.012306431770324706,
|
| 240 |
+
0.012465151786804199,
|
| 241 |
+
0.01235148811340332,
|
| 242 |
+
0.012320768356323243,
|
| 243 |
+
0.012302335739135742,
|
| 244 |
+
0.012310527801513671,
|
| 245 |
+
0.012313599586486817,
|
| 246 |
+
0.012303359985351562,
|
| 247 |
+
0.012300288200378418,
|
| 248 |
+
0.012295167922973632,
|
| 249 |
+
0.012305407524108887,
|
| 250 |
+
0.012311552047729492,
|
| 251 |
+
0.012286975860595703,
|
| 252 |
+
0.01244876766204834,
|
| 253 |
+
0.012371968269348145,
|
| 254 |
+
0.012324864387512208,
|
| 255 |
+
0.012306431770324706,
|
| 256 |
+
0.012321791648864745,
|
| 257 |
+
0.012305407524108887,
|
| 258 |
+
0.012286975860595703,
|
| 259 |
+
0.012295167922973632,
|
| 260 |
+
0.012306431770324706,
|
| 261 |
+
0.012309503555297852,
|
| 262 |
+
0.012303359985351562,
|
| 263 |
+
0.012305407524108887,
|
| 264 |
+
0.012302335739135742,
|
| 265 |
+
0.012303359985351562,
|
| 266 |
+
0.012323840141296387,
|
| 267 |
+
0.012321791648864745,
|
| 268 |
+
0.012297216415405274,
|
| 269 |
+
0.012307456016540527,
|
| 270 |
+
0.012291071891784668,
|
| 271 |
+
0.012301312446594239,
|
| 272 |
+
0.012294143676757812,
|
| 273 |
+
0.012313599586486817,
|
| 274 |
+
0.012296192169189453,
|
| 275 |
+
0.012313599586486817,
|
| 276 |
+
0.012319744110107422,
|
| 277 |
+
0.012297216415405274,
|
| 278 |
+
0.012295167922973632,
|
| 279 |
+
0.01234124755859375,
|
| 280 |
+
0.012399616241455079,
|
| 281 |
+
0.012984319686889649,
|
| 282 |
+
0.012328960418701173,
|
| 283 |
+
0.012393471717834472,
|
| 284 |
+
0.012314623832702636,
|
| 285 |
+
0.012323840141296387,
|
| 286 |
+
0.01231158447265625,
|
| 287 |
+
0.012303327560424805,
|
| 288 |
+
0.012297216415405274,
|
| 289 |
+
0.012323840141296387,
|
| 290 |
+
0.012327936172485352,
|
| 291 |
+
0.01233510398864746,
|
| 292 |
+
0.012327936172485352,
|
| 293 |
+
0.012324864387512208,
|
| 294 |
+
0.012403712272644044,
|
| 295 |
+
0.012308480262756348,
|
| 296 |
+
0.012319744110107422,
|
| 297 |
+
0.012315648078918457,
|
| 298 |
+
0.012331007957458496,
|
| 299 |
+
0.012412927627563476,
|
| 300 |
+
0.01233510398864746,
|
| 301 |
+
0.01233510398864746,
|
| 302 |
+
0.012323840141296387,
|
| 303 |
+
0.012389375686645507,
|
| 304 |
+
0.012306431770324706,
|
| 305 |
+
0.012305407524108887,
|
| 306 |
+
0.012310527801513671,
|
| 307 |
+
0.012472319602966308,
|
| 308 |
+
0.012319744110107422,
|
| 309 |
+
0.012309503555297852,
|
| 310 |
+
0.012308480262756348,
|
| 311 |
+
0.012316672325134278,
|
| 312 |
+
0.012301312446594239,
|
| 313 |
+
0.012326911926269531,
|
| 314 |
+
0.012322815895080566,
|
| 315 |
+
0.012304384231567383,
|
| 316 |
+
0.012309503555297852,
|
| 317 |
+
0.012312576293945313,
|
| 318 |
+
0.012304384231567383,
|
| 319 |
+
0.012301312446594239,
|
| 320 |
+
0.012361727714538574,
|
| 321 |
+
0.012352512359619141,
|
| 322 |
+
0.012365823745727538,
|
| 323 |
+
0.012305407524108887,
|
| 324 |
+
0.012309503555297852,
|
| 325 |
+
0.012304384231567383,
|
| 326 |
+
0.012320768356323243,
|
| 327 |
+
0.012453887939453125,
|
| 328 |
+
0.012313599586486817,
|
| 329 |
+
0.012303359985351562,
|
| 330 |
+
0.012304384231567383,
|
| 331 |
+
0.012309503555297852,
|
| 332 |
+
0.012307456016540527,
|
| 333 |
+
0.012324864387512208,
|
| 334 |
+
0.012317695617675782,
|
| 335 |
+
0.012310527801513671,
|
| 336 |
+
0.012303359985351562,
|
| 337 |
+
0.012301312446594239,
|
| 338 |
+
0.012327936172485352,
|
| 339 |
+
0.012326911926269531,
|
| 340 |
+
0.012310527801513671,
|
| 341 |
+
0.012308480262756348,
|
| 342 |
+
0.012348416328430176,
|
| 343 |
+
0.012312576293945313,
|
| 344 |
+
0.012311552047729492,
|
| 345 |
+
0.012313599586486817,
|
| 346 |
+
0.012317695617675782,
|
| 347 |
+
0.012323840141296387,
|
| 348 |
+
0.012304384231567383,
|
| 349 |
+
0.012308480262756348,
|
| 350 |
+
0.012305407524108887,
|
| 351 |
+
0.01233510398864746,
|
| 352 |
+
0.012319744110107422,
|
| 353 |
+
0.012298239707946777,
|
| 354 |
+
0.012309503555297852,
|
| 355 |
+
0.012463104248046876,
|
| 356 |
+
0.012669952392578124,
|
| 357 |
+
0.012488703727722168
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.08009508072512
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "google/gemma-2b",
|
| 3 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014178751945495605,
|
| 7 |
+
"prefill.throughput.value": 493.69648519902375,
|
| 8 |
+
"decode.latency.mean": 1.566502685546875,
|
| 9 |
+
"decode.throughput.value": 81.07231552920292,
|
| 10 |
+
"per_token.latency.mean": 0.012333483316766935,
|
| 11 |
+
"per_token.throughput.value": 81.08009508072512
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-09/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp9ylowwqc/commit=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 6 |
+
subdir: ${hydra.job.override_dirname}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
root:
|
| 71 |
+
level: ERROR
|
| 72 |
+
disable_existing_loggers: true
|
| 73 |
+
job_logging:
|
| 74 |
+
version: 1
|
| 75 |
+
root:
|
| 76 |
+
level: ERROR
|
| 77 |
+
disable_existing_loggers: true
|
| 78 |
+
env: {}
|
| 79 |
+
mode: MULTIRUN
|
| 80 |
+
searchpath: []
|
| 81 |
+
callbacks: {}
|
| 82 |
+
output_subdir: .hydra
|
| 83 |
+
overrides:
|
| 84 |
+
hydra:
|
| 85 |
+
- hydra/job_logging=disabled
|
| 86 |
+
- hydra/hydra_logging=disabled
|
| 87 |
+
- hydra.sweep.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp9ylowwqc/commit\=66bc4def9505fa7c7fe4aa7a248c34a026bb552b/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null,static
|
| 93 |
+
- backend.torch_compile=false,true
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
| 98 |
+
id: ???
|
| 99 |
+
num: ???
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: ???
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
| 142 |
+
name: pytorch_generate
|
| 143 |
+
backend:
|
| 144 |
+
name: pytorch
|
| 145 |
+
version: 2.4.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model_type: null
|
| 150 |
+
model: google/gemma-2b
|
| 151 |
+
processor: null
|
| 152 |
+
device: cuda
|
| 153 |
+
device_ids: '0'
|
| 154 |
+
seed: 42
|
| 155 |
+
inter_op_num_threads: null
|
| 156 |
+
intra_op_num_threads: null
|
| 157 |
+
model_kwargs: {}
|
| 158 |
+
processor_kwargs: {}
|
| 159 |
+
no_weights: true
|
| 160 |
+
device_map: null
|
| 161 |
+
torch_dtype: float16
|
| 162 |
+
eval_mode: true
|
| 163 |
+
to_bettertransformer: false
|
| 164 |
+
low_cpu_mem_usage: null
|
| 165 |
+
attn_implementation: null
|
| 166 |
+
cache_implementation: static
|
| 167 |
+
autocast_enabled: false
|
| 168 |
+
autocast_dtype: null
|
| 169 |
+
torch_compile: true
|
| 170 |
+
torch_compile_target: forward
|
| 171 |
+
torch_compile_config:
|
| 172 |
+
backend: inductor
|
| 173 |
+
mode: reduce-overhead
|
| 174 |
+
fullgraph: true
|
| 175 |
+
quantization_scheme: null
|
| 176 |
+
quantization_config: {}
|
| 177 |
+
deepspeed_inference: false
|
| 178 |
+
deepspeed_inference_config: {}
|
| 179 |
+
peft_type: null
|
| 180 |
+
peft_config: {}
|
| 181 |
+
scenario:
|
| 182 |
+
name: inference
|
| 183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 184 |
+
iterations: 2
|
| 185 |
+
duration: 0
|
| 186 |
+
warmup_runs: 10
|
| 187 |
+
input_shapes:
|
| 188 |
+
batch_size: 1
|
| 189 |
+
sequence_length: 7
|
| 190 |
+
new_tokens: null
|
| 191 |
+
memory: true
|
| 192 |
+
latency: true
|
| 193 |
+
energy: false
|
| 194 |
+
forward_kwargs: {}
|
| 195 |
+
generate_kwargs:
|
| 196 |
+
max_new_tokens: 128
|
| 197 |
+
min_new_tokens: 128
|
| 198 |
+
do_sample: false
|
| 199 |
+
call_kwargs: {}
|
| 200 |
+
launcher:
|
| 201 |
+
name: process
|
| 202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 203 |
+
device_isolation: true
|
| 204 |
+
device_isolation_action: warn
|
| 205 |
+
numactl: false
|
| 206 |
+
numactl_kwargs: {}
|
| 207 |
+
start_method: spawn
|
| 208 |
+
environment:
|
| 209 |
+
cpu: ' AMD EPYC 7R32'
|
| 210 |
+
cpu_count: 16
|
| 211 |
+
cpu_ram_mb: 66697.261056
|
| 212 |
+
system: Linux
|
| 213 |
+
machine: x86_64
|
| 214 |
+
platform: Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29
|
| 215 |
+
processor: x86_64
|
| 216 |
+
python_version: 3.8.10
|
| 217 |
+
gpu:
|
| 218 |
+
- NVIDIA A10G
|
| 219 |
+
gpu_count: 1
|
| 220 |
+
gpu_vram_mb: 24146608128
|
| 221 |
+
optimum_benchmark_version: 0.4.0
|
| 222 |
+
optimum_benchmark_commit: null
|
| 223 |
+
transformers_version: 4.45.0.dev0
|
| 224 |
+
transformers_commit: 66bc4def9505fa7c7fe4aa7a248c34a026bb552b
|
| 225 |
+
accelerate_version: 0.35.0.dev0
|
| 226 |
+
accelerate_commit: null
|
| 227 |
+
diffusers_version: null
|
| 228 |
+
diffusers_commit: null
|
| 229 |
+
optimum_version: 1.22.0.dev0
|
| 230 |
+
optimum_commit: null
|
| 231 |
+
timm_version: 0.9.16
|
| 232 |
+
timm_commit: null
|
| 233 |
+
peft_version: 0.12.1.dev0
|
| 234 |
+
peft_commit: null
|
2024-09-09/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.02079572772979736,
|
| 8 |
+
"prefill.throughput.value": 336.6075999336143,
|
| 9 |
+
"decode.latency.mean": 2.5491331787109375,
|
| 10 |
+
"decode.throughput.value": 49.82085716848352,
|
| 11 |
+
"per_token.latency.mean": 0.020070670037757695,
|
| 12 |
+
"per_token.throughput.value": 49.82394698925161
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.02232870388031006,
|
| 21 |
+
"prefill.throughput.value": 313.4978204522097,
|
| 22 |
+
"decode.latency.mean": 2.636215087890625,
|
| 23 |
+
"decode.throughput.value": 48.175128267557035,
|
| 24 |
+
"per_token.latency.mean": 0.020756600943137343,
|
| 25 |
+
"per_token.throughput.value": 48.17744498434486
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "66bc4def9505fa7c7fe4aa7a248c34a026bb552b",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014178751945495605,
|
| 34 |
+
"prefill.throughput.value": 493.69648519902375,
|
| 35 |
+
"decode.latency.mean": 1.566502685546875,
|
| 36 |
+
"decode.throughput.value": 81.07231552920292,
|
| 37 |
+
"per_token.latency.mean": 0.012333483316766935,
|
| 38 |
+
"per_token.throughput.value": 81.08009508072512
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-09-09/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02079572772979736,
|
| 7 |
+
"prefill.throughput.value": 336.6075999336143,
|
| 8 |
+
"decode.latency.mean": 2.5491331787109375,
|
| 9 |
+
"decode.throughput.value": 49.82085716848352,
|
| 10 |
+
"per_token.latency.mean": 0.020070670037757695,
|
| 11 |
+
"per_token.throughput.value": 49.82394698925161
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.02232870388031006,
|
| 19 |
+
"prefill.throughput.value": 313.4978204522097,
|
| 20 |
+
"decode.latency.mean": 2.636215087890625,
|
| 21 |
+
"decode.throughput.value": 48.175128267557035,
|
| 22 |
+
"per_token.latency.mean": 0.020756600943137343,
|
| 23 |
+
"per_token.throughput.value": 48.17744498434486
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"66bc4def9505fa7c7fe4aa7a248c34a026bb552b": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014178751945495605,
|
| 31 |
+
"prefill.throughput.value": 493.69648519902375,
|
| 32 |
+
"decode.latency.mean": 1.566502685546875,
|
| 33 |
+
"decode.throughput.value": 81.07231552920292,
|
| 34 |
+
"per_token.latency.mean": 0.012333483316766935,
|
| 35 |
+
"per_token.throughput.value": 81.08009508072512
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|