Upload folder using huggingface_hub
Browse files- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +2 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +93 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +473 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +104 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +367 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +93 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +473 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +104 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +367 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/multirun.yaml +234 -0
- 2024-09-11/summaries.json +41 -0
- 2024-09-11/summary.json +40 -0
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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: f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478/${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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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.451648,
|
| 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.4611904296875,
|
| 120 |
+
"mean": 11.4611904296875,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.4611904296875,
|
| 123 |
+
"p90": 11.4611904296875,
|
| 124 |
+
"p95": 11.4611904296875,
|
| 125 |
+
"p99": 11.4611904296875,
|
| 126 |
+
"values": [
|
| 127 |
+
11.4611904296875
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1783.82848,
|
| 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.04168374252319336,
|
| 147 |
+
"mean": 0.02084187126159668,
|
| 148 |
+
"stdev": 6.385612487792847e-05,
|
| 149 |
+
"p50": 0.02084187126159668,
|
| 150 |
+
"p90": 0.020892956161499023,
|
| 151 |
+
"p95": 0.020899341773986814,
|
| 152 |
+
"p99": 0.02090445026397705,
|
| 153 |
+
"values": [
|
| 154 |
+
0.02077801513671875,
|
| 155 |
+
0.020905727386474608
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 335.86235670202177
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1841.639424,
|
| 169 |
+
"max_global_vram": 6800.539648,
|
| 170 |
+
"max_process_vram": 0.0,
|
| 171 |
+
"max_reserved": 6146.752512,
|
| 172 |
+
"max_allocated": 5031.801344
|
| 173 |
+
},
|
| 174 |
+
"latency": {
|
| 175 |
+
"unit": "s",
|
| 176 |
+
"count": 2,
|
| 177 |
+
"total": 4.931319580078124,
|
| 178 |
+
"mean": 2.465659790039062,
|
| 179 |
+
"stdev": 0.0001861572265624556,
|
| 180 |
+
"p50": 2.465659790039062,
|
| 181 |
+
"p90": 2.4658087158203124,
|
| 182 |
+
"p95": 2.4658273315429686,
|
| 183 |
+
"p99": 2.4658422241210936,
|
| 184 |
+
"values": [
|
| 185 |
+
2.4654736328125,
|
| 186 |
+
2.465845947265625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 51.507511503842956
|
| 192 |
+
},
|
| 193 |
+
"energy": null,
|
| 194 |
+
"efficiency": null
|
| 195 |
+
},
|
| 196 |
+
"per_token": {
|
| 197 |
+
"memory": null,
|
| 198 |
+
"latency": {
|
| 199 |
+
"unit": "s",
|
| 200 |
+
"count": 254,
|
| 201 |
+
"total": 4.930960376739499,
|
| 202 |
+
"mean": 0.01941322982968308,
|
| 203 |
+
"stdev": 0.0002076222946319257,
|
| 204 |
+
"p50": 0.019396575927734375,
|
| 205 |
+
"p90": 0.019510271072387696,
|
| 206 |
+
"p95": 0.019620044803619386,
|
| 207 |
+
"p99": 0.02052510715484619,
|
| 208 |
+
"values": [
|
| 209 |
+
0.019296255111694336,
|
| 210 |
+
0.01923686408996582,
|
| 211 |
+
0.01924198341369629,
|
| 212 |
+
0.01930348777770996,
|
| 213 |
+
0.019290048599243163,
|
| 214 |
+
0.019305471420288087,
|
| 215 |
+
0.019312639236450196,
|
| 216 |
+
0.01928704071044922,
|
| 217 |
+
0.019309568405151366,
|
| 218 |
+
0.019337215423583985,
|
| 219 |
+
0.019317760467529296,
|
| 220 |
+
0.019357696533203125,
|
| 221 |
+
0.019177471160888672,
|
| 222 |
+
0.019165184020996092,
|
| 223 |
+
0.01927987289428711,
|
| 224 |
+
0.019335168838500977,
|
| 225 |
+
0.019260416030883788,
|
| 226 |
+
0.019392511367797852,
|
| 227 |
+
0.019354623794555666,
|
| 228 |
+
0.019342336654663086,
|
| 229 |
+
0.019336191177368164,
|
| 230 |
+
0.019366912841796875,
|
| 231 |
+
0.019356672286987304,
|
| 232 |
+
0.01928294372558594,
|
| 233 |
+
0.01924300765991211,
|
| 234 |
+
0.019315711975097655,
|
| 235 |
+
0.019331071853637697,
|
| 236 |
+
0.019333120346069335,
|
| 237 |
+
0.019318784713745117,
|
| 238 |
+
0.019312639236450196,
|
| 239 |
+
0.019296255111694336,
|
| 240 |
+
0.019305471420288087,
|
| 241 |
+
0.019356672286987304,
|
| 242 |
+
0.019322879791259767,
|
| 243 |
+
0.019310592651367187,
|
| 244 |
+
0.019154943466186524,
|
| 245 |
+
0.019136512756347656,
|
| 246 |
+
0.019094528198242186,
|
| 247 |
+
0.019302400588989257,
|
| 248 |
+
0.019139583587646485,
|
| 249 |
+
0.019103744506835937,
|
| 250 |
+
0.01925017547607422,
|
| 251 |
+
0.019147775650024415,
|
| 252 |
+
0.019183616638183593,
|
| 253 |
+
0.01922969627380371,
|
| 254 |
+
0.019294208526611328,
|
| 255 |
+
0.01926655960083008,
|
| 256 |
+
0.01944576072692871,
|
| 257 |
+
0.019371007919311522,
|
| 258 |
+
0.019148799896240236,
|
| 259 |
+
0.01923583984375,
|
| 260 |
+
0.019284992218017577,
|
| 261 |
+
0.01929523277282715,
|
| 262 |
+
0.019319807052612305,
|
| 263 |
+
0.019355648040771483,
|
| 264 |
+
0.019300352096557616,
|
| 265 |
+
0.019302400588989257,
|
| 266 |
+
0.019365888595581054,
|
| 267 |
+
0.019404800415039062,
|
| 268 |
+
0.01946214485168457,
|
| 269 |
+
0.01943756866455078,
|
| 270 |
+
0.019281919479370118,
|
| 271 |
+
0.019348480224609374,
|
| 272 |
+
0.01943449592590332,
|
| 273 |
+
0.019277824401855468,
|
| 274 |
+
0.019292160034179686,
|
| 275 |
+
0.01930342483520508,
|
| 276 |
+
0.01947750473022461,
|
| 277 |
+
0.019300352096557616,
|
| 278 |
+
0.019268608093261717,
|
| 279 |
+
0.01942118453979492,
|
| 280 |
+
0.01943244743347168,
|
| 281 |
+
0.01941913604736328,
|
| 282 |
+
0.019481599807739256,
|
| 283 |
+
0.019489791870117186,
|
| 284 |
+
0.019390464782714844,
|
| 285 |
+
0.01946112060546875,
|
| 286 |
+
0.01944780731201172,
|
| 287 |
+
0.019405824661254883,
|
| 288 |
+
0.01942630386352539,
|
| 289 |
+
0.01945497512817383,
|
| 290 |
+
0.01942937660217285,
|
| 291 |
+
0.019367935180664063,
|
| 292 |
+
0.0194334716796875,
|
| 293 |
+
0.019366912841796875,
|
| 294 |
+
0.01945292854309082,
|
| 295 |
+
0.019791872024536132,
|
| 296 |
+
0.019501056671142578,
|
| 297 |
+
0.019564544677734375,
|
| 298 |
+
0.019314687728881837,
|
| 299 |
+
0.019508224487304687,
|
| 300 |
+
0.01964339256286621,
|
| 301 |
+
0.020553728103637696,
|
| 302 |
+
0.019689472198486328,
|
| 303 |
+
0.01947238349914551,
|
| 304 |
+
0.019506175994873046,
|
| 305 |
+
0.019914751052856446,
|
| 306 |
+
0.02024140739440918,
|
| 307 |
+
0.019553279876708983,
|
| 308 |
+
0.01942323112487793,
|
| 309 |
+
0.01941094398498535,
|
| 310 |
+
0.019404800415039062,
|
| 311 |
+
0.0194969596862793,
|
| 312 |
+
0.019510271072387696,
|
| 313 |
+
0.019505151748657225,
|
| 314 |
+
0.01943961524963379,
|
| 315 |
+
0.019557376861572266,
|
| 316 |
+
0.019526655197143555,
|
| 317 |
+
0.019510271072387696,
|
| 318 |
+
0.01942118453979492,
|
| 319 |
+
0.019451904296875,
|
| 320 |
+
0.020333568572998048,
|
| 321 |
+
0.020805631637573242,
|
| 322 |
+
0.019486719131469727,
|
| 323 |
+
0.019449855804443358,
|
| 324 |
+
0.019449855804443358,
|
| 325 |
+
0.019565568923950196,
|
| 326 |
+
0.019332096099853514,
|
| 327 |
+
0.019312639236450196,
|
| 328 |
+
0.01945395278930664,
|
| 329 |
+
0.0194652156829834,
|
| 330 |
+
0.019570688247680663,
|
| 331 |
+
0.019466239929199217,
|
| 332 |
+
0.019615743637084963,
|
| 333 |
+
0.019574783325195313,
|
| 334 |
+
0.019451904296875,
|
| 335 |
+
0.01945907211303711,
|
| 336 |
+
0.019292160034179686,
|
| 337 |
+
0.01924608039855957,
|
| 338 |
+
0.019327999114990235,
|
| 339 |
+
0.019300352096557616,
|
| 340 |
+
0.019289087295532227,
|
| 341 |
+
0.01929523277282715,
|
| 342 |
+
0.019264511108398438,
|
| 343 |
+
0.01930342483520508,
|
| 344 |
+
0.01930342483520508,
|
| 345 |
+
0.01923276710510254,
|
| 346 |
+
0.019290111541748048,
|
| 347 |
+
0.019323904037475585,
|
| 348 |
+
0.019314687728881837,
|
| 349 |
+
0.01942732810974121,
|
| 350 |
+
0.019297279357910157,
|
| 351 |
+
0.019320831298828126,
|
| 352 |
+
0.019273727416992188,
|
| 353 |
+
0.019352575302124024,
|
| 354 |
+
0.019334144592285156,
|
| 355 |
+
0.01983590316772461,
|
| 356 |
+
0.020533248901367186,
|
| 357 |
+
0.01942630386352539,
|
| 358 |
+
0.01945702362060547,
|
| 359 |
+
0.019347455978393553,
|
| 360 |
+
0.019312639236450196,
|
| 361 |
+
0.019320831298828126,
|
| 362 |
+
0.019356672286987304,
|
| 363 |
+
0.019290111541748048,
|
| 364 |
+
0.019314687728881837,
|
| 365 |
+
0.019348480224609374,
|
| 366 |
+
0.0192225284576416,
|
| 367 |
+
0.019289087295532227,
|
| 368 |
+
0.019283967971801756,
|
| 369 |
+
0.019366912841796875,
|
| 370 |
+
0.019339263916015623,
|
| 371 |
+
0.019351551055908203,
|
| 372 |
+
0.019312639236450196,
|
| 373 |
+
0.019333120346069335,
|
| 374 |
+
0.01926655960083008,
|
| 375 |
+
0.019338239669799806,
|
| 376 |
+
0.019318784713745117,
|
| 377 |
+
0.019315711975097655,
|
| 378 |
+
0.019336191177368164,
|
| 379 |
+
0.019302400588989257,
|
| 380 |
+
0.019319807052612305,
|
| 381 |
+
0.01927884864807129,
|
| 382 |
+
0.019321855545043946,
|
| 383 |
+
0.01942425537109375,
|
| 384 |
+
0.019332096099853514,
|
| 385 |
+
0.019323904037475585,
|
| 386 |
+
0.019304447174072266,
|
| 387 |
+
0.019306528091430665,
|
| 388 |
+
0.01926857566833496,
|
| 389 |
+
0.01925734329223633,
|
| 390 |
+
0.019393535614013673,
|
| 391 |
+
0.019316736221313476,
|
| 392 |
+
0.019292160034179686,
|
| 393 |
+
0.01947750473022461,
|
| 394 |
+
0.01942425537109375,
|
| 395 |
+
0.01945599937438965,
|
| 396 |
+
0.019494911193847657,
|
| 397 |
+
0.019401727676391603,
|
| 398 |
+
0.01944371223449707,
|
| 399 |
+
0.01943756866455078,
|
| 400 |
+
0.01946316719055176,
|
| 401 |
+
0.019539968490600586,
|
| 402 |
+
0.019487743377685548,
|
| 403 |
+
0.019628032684326172,
|
| 404 |
+
0.019467264175415038,
|
| 405 |
+
0.01944268798828125,
|
| 406 |
+
0.01945292854309082,
|
| 407 |
+
0.019524608612060547,
|
| 408 |
+
0.01946419143676758,
|
| 409 |
+
0.019277824401855468,
|
| 410 |
+
0.019273727416992188,
|
| 411 |
+
0.019321855545043946,
|
| 412 |
+
0.019337215423583985,
|
| 413 |
+
0.020517887115478514,
|
| 414 |
+
0.019503103256225587,
|
| 415 |
+
0.01940787124633789,
|
| 416 |
+
0.01946316719055176,
|
| 417 |
+
0.01948876762390137,
|
| 418 |
+
0.01943244743347168,
|
| 419 |
+
0.01942425537109375,
|
| 420 |
+
0.019517440795898438,
|
| 421 |
+
0.01945599937438965,
|
| 422 |
+
0.01947648048400879,
|
| 423 |
+
0.01944371223449707,
|
| 424 |
+
0.0194201602935791,
|
| 425 |
+
0.019451904296875,
|
| 426 |
+
0.019404800415039062,
|
| 427 |
+
0.01944780731201172,
|
| 428 |
+
0.019414016723632813,
|
| 429 |
+
0.01944473648071289,
|
| 430 |
+
0.0193874568939209,
|
| 431 |
+
0.01939961624145508,
|
| 432 |
+
0.01939967918395996,
|
| 433 |
+
0.019503103256225587,
|
| 434 |
+
0.01945395278930664,
|
| 435 |
+
0.019508224487304687,
|
| 436 |
+
0.01947340774536133,
|
| 437 |
+
0.019414016723632813,
|
| 438 |
+
0.01946009635925293,
|
| 439 |
+
0.01946419143676758,
|
| 440 |
+
0.01943654441833496,
|
| 441 |
+
0.0194150390625,
|
| 442 |
+
0.01942732810974121,
|
| 443 |
+
0.01947648048400879,
|
| 444 |
+
0.01948569679260254,
|
| 445 |
+
0.01941606330871582,
|
| 446 |
+
0.01949388885498047,
|
| 447 |
+
0.01944780731201172,
|
| 448 |
+
0.019543039321899415,
|
| 449 |
+
0.01946931266784668,
|
| 450 |
+
0.019417087554931642,
|
| 451 |
+
0.019422208786010742,
|
| 452 |
+
0.0194467830657959,
|
| 453 |
+
0.01944473648071289,
|
| 454 |
+
0.019373056411743163,
|
| 455 |
+
0.01943654441833496,
|
| 456 |
+
0.01945702362060547,
|
| 457 |
+
0.01944780731201172,
|
| 458 |
+
0.01943449592590332,
|
| 459 |
+
0.01945907211303711,
|
| 460 |
+
0.01943654441833496,
|
| 461 |
+
0.019406848907470704,
|
| 462 |
+
0.02002227210998535
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 51.51126364717462
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"load": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1335.451648,
|
| 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.4611904296875,
|
| 15 |
+
"mean": 11.4611904296875,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.4611904296875,
|
| 18 |
+
"p90": 11.4611904296875,
|
| 19 |
+
"p95": 11.4611904296875,
|
| 20 |
+
"p99": 11.4611904296875,
|
| 21 |
+
"values": [
|
| 22 |
+
11.4611904296875
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1783.82848,
|
| 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.04168374252319336,
|
| 42 |
+
"mean": 0.02084187126159668,
|
| 43 |
+
"stdev": 6.385612487792847e-05,
|
| 44 |
+
"p50": 0.02084187126159668,
|
| 45 |
+
"p90": 0.020892956161499023,
|
| 46 |
+
"p95": 0.020899341773986814,
|
| 47 |
+
"p99": 0.02090445026397705,
|
| 48 |
+
"values": [
|
| 49 |
+
0.02077801513671875,
|
| 50 |
+
0.020905727386474608
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 335.86235670202177
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1841.639424,
|
| 64 |
+
"max_global_vram": 6800.539648,
|
| 65 |
+
"max_process_vram": 0.0,
|
| 66 |
+
"max_reserved": 6146.752512,
|
| 67 |
+
"max_allocated": 5031.801344
|
| 68 |
+
},
|
| 69 |
+
"latency": {
|
| 70 |
+
"unit": "s",
|
| 71 |
+
"count": 2,
|
| 72 |
+
"total": 4.931319580078124,
|
| 73 |
+
"mean": 2.465659790039062,
|
| 74 |
+
"stdev": 0.0001861572265624556,
|
| 75 |
+
"p50": 2.465659790039062,
|
| 76 |
+
"p90": 2.4658087158203124,
|
| 77 |
+
"p95": 2.4658273315429686,
|
| 78 |
+
"p99": 2.4658422241210936,
|
| 79 |
+
"values": [
|
| 80 |
+
2.4654736328125,
|
| 81 |
+
2.465845947265625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 51.507511503842956
|
| 87 |
+
},
|
| 88 |
+
"energy": null,
|
| 89 |
+
"efficiency": null
|
| 90 |
+
},
|
| 91 |
+
"per_token": {
|
| 92 |
+
"memory": null,
|
| 93 |
+
"latency": {
|
| 94 |
+
"unit": "s",
|
| 95 |
+
"count": 254,
|
| 96 |
+
"total": 4.930960376739499,
|
| 97 |
+
"mean": 0.01941322982968308,
|
| 98 |
+
"stdev": 0.0002076222946319257,
|
| 99 |
+
"p50": 0.019396575927734375,
|
| 100 |
+
"p90": 0.019510271072387696,
|
| 101 |
+
"p95": 0.019620044803619386,
|
| 102 |
+
"p99": 0.02052510715484619,
|
| 103 |
+
"values": [
|
| 104 |
+
0.019296255111694336,
|
| 105 |
+
0.01923686408996582,
|
| 106 |
+
0.01924198341369629,
|
| 107 |
+
0.01930348777770996,
|
| 108 |
+
0.019290048599243163,
|
| 109 |
+
0.019305471420288087,
|
| 110 |
+
0.019312639236450196,
|
| 111 |
+
0.01928704071044922,
|
| 112 |
+
0.019309568405151366,
|
| 113 |
+
0.019337215423583985,
|
| 114 |
+
0.019317760467529296,
|
| 115 |
+
0.019357696533203125,
|
| 116 |
+
0.019177471160888672,
|
| 117 |
+
0.019165184020996092,
|
| 118 |
+
0.01927987289428711,
|
| 119 |
+
0.019335168838500977,
|
| 120 |
+
0.019260416030883788,
|
| 121 |
+
0.019392511367797852,
|
| 122 |
+
0.019354623794555666,
|
| 123 |
+
0.019342336654663086,
|
| 124 |
+
0.019336191177368164,
|
| 125 |
+
0.019366912841796875,
|
| 126 |
+
0.019356672286987304,
|
| 127 |
+
0.01928294372558594,
|
| 128 |
+
0.01924300765991211,
|
| 129 |
+
0.019315711975097655,
|
| 130 |
+
0.019331071853637697,
|
| 131 |
+
0.019333120346069335,
|
| 132 |
+
0.019318784713745117,
|
| 133 |
+
0.019312639236450196,
|
| 134 |
+
0.019296255111694336,
|
| 135 |
+
0.019305471420288087,
|
| 136 |
+
0.019356672286987304,
|
| 137 |
+
0.019322879791259767,
|
| 138 |
+
0.019310592651367187,
|
| 139 |
+
0.019154943466186524,
|
| 140 |
+
0.019136512756347656,
|
| 141 |
+
0.019094528198242186,
|
| 142 |
+
0.019302400588989257,
|
| 143 |
+
0.019139583587646485,
|
| 144 |
+
0.019103744506835937,
|
| 145 |
+
0.01925017547607422,
|
| 146 |
+
0.019147775650024415,
|
| 147 |
+
0.019183616638183593,
|
| 148 |
+
0.01922969627380371,
|
| 149 |
+
0.019294208526611328,
|
| 150 |
+
0.01926655960083008,
|
| 151 |
+
0.01944576072692871,
|
| 152 |
+
0.019371007919311522,
|
| 153 |
+
0.019148799896240236,
|
| 154 |
+
0.01923583984375,
|
| 155 |
+
0.019284992218017577,
|
| 156 |
+
0.01929523277282715,
|
| 157 |
+
0.019319807052612305,
|
| 158 |
+
0.019355648040771483,
|
| 159 |
+
0.019300352096557616,
|
| 160 |
+
0.019302400588989257,
|
| 161 |
+
0.019365888595581054,
|
| 162 |
+
0.019404800415039062,
|
| 163 |
+
0.01946214485168457,
|
| 164 |
+
0.01943756866455078,
|
| 165 |
+
0.019281919479370118,
|
| 166 |
+
0.019348480224609374,
|
| 167 |
+
0.01943449592590332,
|
| 168 |
+
0.019277824401855468,
|
| 169 |
+
0.019292160034179686,
|
| 170 |
+
0.01930342483520508,
|
| 171 |
+
0.01947750473022461,
|
| 172 |
+
0.019300352096557616,
|
| 173 |
+
0.019268608093261717,
|
| 174 |
+
0.01942118453979492,
|
| 175 |
+
0.01943244743347168,
|
| 176 |
+
0.01941913604736328,
|
| 177 |
+
0.019481599807739256,
|
| 178 |
+
0.019489791870117186,
|
| 179 |
+
0.019390464782714844,
|
| 180 |
+
0.01946112060546875,
|
| 181 |
+
0.01944780731201172,
|
| 182 |
+
0.019405824661254883,
|
| 183 |
+
0.01942630386352539,
|
| 184 |
+
0.01945497512817383,
|
| 185 |
+
0.01942937660217285,
|
| 186 |
+
0.019367935180664063,
|
| 187 |
+
0.0194334716796875,
|
| 188 |
+
0.019366912841796875,
|
| 189 |
+
0.01945292854309082,
|
| 190 |
+
0.019791872024536132,
|
| 191 |
+
0.019501056671142578,
|
| 192 |
+
0.019564544677734375,
|
| 193 |
+
0.019314687728881837,
|
| 194 |
+
0.019508224487304687,
|
| 195 |
+
0.01964339256286621,
|
| 196 |
+
0.020553728103637696,
|
| 197 |
+
0.019689472198486328,
|
| 198 |
+
0.01947238349914551,
|
| 199 |
+
0.019506175994873046,
|
| 200 |
+
0.019914751052856446,
|
| 201 |
+
0.02024140739440918,
|
| 202 |
+
0.019553279876708983,
|
| 203 |
+
0.01942323112487793,
|
| 204 |
+
0.01941094398498535,
|
| 205 |
+
0.019404800415039062,
|
| 206 |
+
0.0194969596862793,
|
| 207 |
+
0.019510271072387696,
|
| 208 |
+
0.019505151748657225,
|
| 209 |
+
0.01943961524963379,
|
| 210 |
+
0.019557376861572266,
|
| 211 |
+
0.019526655197143555,
|
| 212 |
+
0.019510271072387696,
|
| 213 |
+
0.01942118453979492,
|
| 214 |
+
0.019451904296875,
|
| 215 |
+
0.020333568572998048,
|
| 216 |
+
0.020805631637573242,
|
| 217 |
+
0.019486719131469727,
|
| 218 |
+
0.019449855804443358,
|
| 219 |
+
0.019449855804443358,
|
| 220 |
+
0.019565568923950196,
|
| 221 |
+
0.019332096099853514,
|
| 222 |
+
0.019312639236450196,
|
| 223 |
+
0.01945395278930664,
|
| 224 |
+
0.0194652156829834,
|
| 225 |
+
0.019570688247680663,
|
| 226 |
+
0.019466239929199217,
|
| 227 |
+
0.019615743637084963,
|
| 228 |
+
0.019574783325195313,
|
| 229 |
+
0.019451904296875,
|
| 230 |
+
0.01945907211303711,
|
| 231 |
+
0.019292160034179686,
|
| 232 |
+
0.01924608039855957,
|
| 233 |
+
0.019327999114990235,
|
| 234 |
+
0.019300352096557616,
|
| 235 |
+
0.019289087295532227,
|
| 236 |
+
0.01929523277282715,
|
| 237 |
+
0.019264511108398438,
|
| 238 |
+
0.01930342483520508,
|
| 239 |
+
0.01930342483520508,
|
| 240 |
+
0.01923276710510254,
|
| 241 |
+
0.019290111541748048,
|
| 242 |
+
0.019323904037475585,
|
| 243 |
+
0.019314687728881837,
|
| 244 |
+
0.01942732810974121,
|
| 245 |
+
0.019297279357910157,
|
| 246 |
+
0.019320831298828126,
|
| 247 |
+
0.019273727416992188,
|
| 248 |
+
0.019352575302124024,
|
| 249 |
+
0.019334144592285156,
|
| 250 |
+
0.01983590316772461,
|
| 251 |
+
0.020533248901367186,
|
| 252 |
+
0.01942630386352539,
|
| 253 |
+
0.01945702362060547,
|
| 254 |
+
0.019347455978393553,
|
| 255 |
+
0.019312639236450196,
|
| 256 |
+
0.019320831298828126,
|
| 257 |
+
0.019356672286987304,
|
| 258 |
+
0.019290111541748048,
|
| 259 |
+
0.019314687728881837,
|
| 260 |
+
0.019348480224609374,
|
| 261 |
+
0.0192225284576416,
|
| 262 |
+
0.019289087295532227,
|
| 263 |
+
0.019283967971801756,
|
| 264 |
+
0.019366912841796875,
|
| 265 |
+
0.019339263916015623,
|
| 266 |
+
0.019351551055908203,
|
| 267 |
+
0.019312639236450196,
|
| 268 |
+
0.019333120346069335,
|
| 269 |
+
0.01926655960083008,
|
| 270 |
+
0.019338239669799806,
|
| 271 |
+
0.019318784713745117,
|
| 272 |
+
0.019315711975097655,
|
| 273 |
+
0.019336191177368164,
|
| 274 |
+
0.019302400588989257,
|
| 275 |
+
0.019319807052612305,
|
| 276 |
+
0.01927884864807129,
|
| 277 |
+
0.019321855545043946,
|
| 278 |
+
0.01942425537109375,
|
| 279 |
+
0.019332096099853514,
|
| 280 |
+
0.019323904037475585,
|
| 281 |
+
0.019304447174072266,
|
| 282 |
+
0.019306528091430665,
|
| 283 |
+
0.01926857566833496,
|
| 284 |
+
0.01925734329223633,
|
| 285 |
+
0.019393535614013673,
|
| 286 |
+
0.019316736221313476,
|
| 287 |
+
0.019292160034179686,
|
| 288 |
+
0.01947750473022461,
|
| 289 |
+
0.01942425537109375,
|
| 290 |
+
0.01945599937438965,
|
| 291 |
+
0.019494911193847657,
|
| 292 |
+
0.019401727676391603,
|
| 293 |
+
0.01944371223449707,
|
| 294 |
+
0.01943756866455078,
|
| 295 |
+
0.01946316719055176,
|
| 296 |
+
0.019539968490600586,
|
| 297 |
+
0.019487743377685548,
|
| 298 |
+
0.019628032684326172,
|
| 299 |
+
0.019467264175415038,
|
| 300 |
+
0.01944268798828125,
|
| 301 |
+
0.01945292854309082,
|
| 302 |
+
0.019524608612060547,
|
| 303 |
+
0.01946419143676758,
|
| 304 |
+
0.019277824401855468,
|
| 305 |
+
0.019273727416992188,
|
| 306 |
+
0.019321855545043946,
|
| 307 |
+
0.019337215423583985,
|
| 308 |
+
0.020517887115478514,
|
| 309 |
+
0.019503103256225587,
|
| 310 |
+
0.01940787124633789,
|
| 311 |
+
0.01946316719055176,
|
| 312 |
+
0.01948876762390137,
|
| 313 |
+
0.01943244743347168,
|
| 314 |
+
0.01942425537109375,
|
| 315 |
+
0.019517440795898438,
|
| 316 |
+
0.01945599937438965,
|
| 317 |
+
0.01947648048400879,
|
| 318 |
+
0.01944371223449707,
|
| 319 |
+
0.0194201602935791,
|
| 320 |
+
0.019451904296875,
|
| 321 |
+
0.019404800415039062,
|
| 322 |
+
0.01944780731201172,
|
| 323 |
+
0.019414016723632813,
|
| 324 |
+
0.01944473648071289,
|
| 325 |
+
0.0193874568939209,
|
| 326 |
+
0.01939961624145508,
|
| 327 |
+
0.01939967918395996,
|
| 328 |
+
0.019503103256225587,
|
| 329 |
+
0.01945395278930664,
|
| 330 |
+
0.019508224487304687,
|
| 331 |
+
0.01947340774536133,
|
| 332 |
+
0.019414016723632813,
|
| 333 |
+
0.01946009635925293,
|
| 334 |
+
0.01946419143676758,
|
| 335 |
+
0.01943654441833496,
|
| 336 |
+
0.0194150390625,
|
| 337 |
+
0.01942732810974121,
|
| 338 |
+
0.01947648048400879,
|
| 339 |
+
0.01948569679260254,
|
| 340 |
+
0.01941606330871582,
|
| 341 |
+
0.01949388885498047,
|
| 342 |
+
0.01944780731201172,
|
| 343 |
+
0.019543039321899415,
|
| 344 |
+
0.01946931266784668,
|
| 345 |
+
0.019417087554931642,
|
| 346 |
+
0.019422208786010742,
|
| 347 |
+
0.0194467830657959,
|
| 348 |
+
0.01944473648071289,
|
| 349 |
+
0.019373056411743163,
|
| 350 |
+
0.01943654441833496,
|
| 351 |
+
0.01945702362060547,
|
| 352 |
+
0.01944780731201172,
|
| 353 |
+
0.01943449592590332,
|
| 354 |
+
0.01945907211303711,
|
| 355 |
+
0.01943654441833496,
|
| 356 |
+
0.019406848907470704,
|
| 357 |
+
0.02002227210998535
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 51.51126364717462
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02084187126159668,
|
| 7 |
+
"prefill.throughput.value": 335.86235670202177,
|
| 8 |
+
"decode.latency.mean": 2.465659790039062,
|
| 9 |
+
"decode.throughput.value": 51.507511503842956,
|
| 10 |
+
"per_token.latency.mean": 0.01941322982968308,
|
| 11 |
+
"per_token.throughput.value": 51.51126364717462
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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: f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478/${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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11 02:42:35,034[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
| 2 |
+
[MAIN-PROCESS][[36m2024-09-11 02:42:37,439[0m][[34mprocess[0m][[31mERROR[0m] - + Received traceback from isolated process[0m
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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: f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478/${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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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.816192,
|
| 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.4623056640625,
|
| 120 |
+
"mean": 11.4623056640625,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 11.4623056640625,
|
| 123 |
+
"p90": 11.4623056640625,
|
| 124 |
+
"p95": 11.4623056640625,
|
| 125 |
+
"p99": 11.4623056640625,
|
| 126 |
+
"values": [
|
| 127 |
+
11.4623056640625
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1816.403968,
|
| 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.04521712112426758,
|
| 147 |
+
"mean": 0.02260856056213379,
|
| 148 |
+
"stdev": 0.0007233123779296861,
|
| 149 |
+
"p50": 0.02260856056213379,
|
| 150 |
+
"p90": 0.02318721046447754,
|
| 151 |
+
"p95": 0.023259541702270507,
|
| 152 |
+
"p99": 0.023317406692504882,
|
| 153 |
+
"values": [
|
| 154 |
+
0.023331872940063475,
|
| 155 |
+
0.021885248184204103
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 309.6172346205902
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 1842.81088,
|
| 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.410896728515625,
|
| 178 |
+
"mean": 2.7054483642578124,
|
| 179 |
+
"stdev": 0.001650756835937628,
|
| 180 |
+
"p50": 2.7054483642578124,
|
| 181 |
+
"p90": 2.7067689697265624,
|
| 182 |
+
"p95": 2.7069340454101565,
|
| 183 |
+
"p99": 2.7070661059570313,
|
| 184 |
+
"values": [
|
| 185 |
+
2.70709912109375,
|
| 186 |
+
2.703797607421875
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 46.942311550950635
|
| 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.41062961959839,
|
| 202 |
+
"mean": 0.02130169141574169,
|
| 203 |
+
"stdev": 0.000305934813687003,
|
| 204 |
+
"p50": 0.021341184616088867,
|
| 205 |
+
"p90": 0.02147420234680176,
|
| 206 |
+
"p95": 0.021516901969909668,
|
| 207 |
+
"p99": 0.022151598472595214,
|
| 208 |
+
"values": [
|
| 209 |
+
0.021339136123657225,
|
| 210 |
+
0.021739519119262696,
|
| 211 |
+
0.021363712310791014,
|
| 212 |
+
0.02131455993652344,
|
| 213 |
+
0.021300224304199217,
|
| 214 |
+
0.02145894432067871,
|
| 215 |
+
0.021415935516357423,
|
| 216 |
+
0.021098495483398438,
|
| 217 |
+
0.02103910446166992,
|
| 218 |
+
0.02130636787414551,
|
| 219 |
+
0.02142310333251953,
|
| 220 |
+
0.021365760803222656,
|
| 221 |
+
0.021592063903808592,
|
| 222 |
+
0.021375999450683594,
|
| 223 |
+
0.021345279693603517,
|
| 224 |
+
0.021369855880737306,
|
| 225 |
+
0.021421056747436523,
|
| 226 |
+
0.02124492835998535,
|
| 227 |
+
0.021271551132202148,
|
| 228 |
+
0.021177343368530274,
|
| 229 |
+
0.021324800491333007,
|
| 230 |
+
0.021410816192626952,
|
| 231 |
+
0.021356544494628905,
|
| 232 |
+
0.021335039138793945,
|
| 233 |
+
0.021378047943115236,
|
| 234 |
+
0.021168127059936523,
|
| 235 |
+
0.019973119735717772,
|
| 236 |
+
0.02004684829711914,
|
| 237 |
+
0.020130815505981444,
|
| 238 |
+
0.02088960075378418,
|
| 239 |
+
0.02148044776916504,
|
| 240 |
+
0.0214783992767334,
|
| 241 |
+
0.021374975204467773,
|
| 242 |
+
0.021531648635864258,
|
| 243 |
+
0.021335039138793945,
|
| 244 |
+
0.021352447509765626,
|
| 245 |
+
0.021527551651000978,
|
| 246 |
+
0.021361663818359376,
|
| 247 |
+
0.021386240005493166,
|
| 248 |
+
0.021129215240478515,
|
| 249 |
+
0.021139455795288087,
|
| 250 |
+
0.021400575637817384,
|
| 251 |
+
0.021375999450683594,
|
| 252 |
+
0.021317632675170898,
|
| 253 |
+
0.02146201515197754,
|
| 254 |
+
0.021345279693603517,
|
| 255 |
+
0.02139958381652832,
|
| 256 |
+
0.02146505546569824,
|
| 257 |
+
0.021403648376464843,
|
| 258 |
+
0.022252544403076172,
|
| 259 |
+
0.02149990463256836,
|
| 260 |
+
0.021332992553710937,
|
| 261 |
+
0.021361663818359376,
|
| 262 |
+
0.02128179168701172,
|
| 263 |
+
0.021342208862304687,
|
| 264 |
+
0.021375999450683594,
|
| 265 |
+
0.021227519989013673,
|
| 266 |
+
0.021234687805175782,
|
| 267 |
+
0.021368831634521485,
|
| 268 |
+
0.021308416366577147,
|
| 269 |
+
0.021363712310791014,
|
| 270 |
+
0.021395456314086913,
|
| 271 |
+
0.021361663818359376,
|
| 272 |
+
0.021481472015380858,
|
| 273 |
+
0.021134336471557616,
|
| 274 |
+
0.021308416366577147,
|
| 275 |
+
0.021327871322631836,
|
| 276 |
+
0.021324800491333007,
|
| 277 |
+
0.021317632675170898,
|
| 278 |
+
0.021311487197875977,
|
| 279 |
+
0.02148454475402832,
|
| 280 |
+
0.021332992553710937,
|
| 281 |
+
0.021345279693603517,
|
| 282 |
+
0.021318687438964843,
|
| 283 |
+
0.021431264877319337,
|
| 284 |
+
0.021340160369873046,
|
| 285 |
+
0.021493759155273438,
|
| 286 |
+
0.021378047943115236,
|
| 287 |
+
0.02129408073425293,
|
| 288 |
+
0.0213309440612793,
|
| 289 |
+
0.021387264251708983,
|
| 290 |
+
0.021304319381713867,
|
| 291 |
+
0.021377023696899415,
|
| 292 |
+
0.021498880386352538,
|
| 293 |
+
0.02141900825500488,
|
| 294 |
+
0.021363712310791014,
|
| 295 |
+
0.0214783992767334,
|
| 296 |
+
0.02129408073425293,
|
| 297 |
+
0.021354496002197267,
|
| 298 |
+
0.02146918487548828,
|
| 299 |
+
0.021375999450683594,
|
| 300 |
+
0.021339136123657225,
|
| 301 |
+
0.02130636787414551,
|
| 302 |
+
0.021328895568847657,
|
| 303 |
+
0.021379072189331053,
|
| 304 |
+
0.02188287925720215,
|
| 305 |
+
0.021613567352294923,
|
| 306 |
+
0.021420032501220702,
|
| 307 |
+
0.021389312744140625,
|
| 308 |
+
0.021335039138793945,
|
| 309 |
+
0.021361663818359376,
|
| 310 |
+
0.021323776245117186,
|
| 311 |
+
0.02144256019592285,
|
| 312 |
+
0.021363712310791014,
|
| 313 |
+
0.02127769660949707,
|
| 314 |
+
0.02126848030090332,
|
| 315 |
+
0.021359615325927735,
|
| 316 |
+
0.021309440612792968,
|
| 317 |
+
0.02126438331604004,
|
| 318 |
+
0.02137913513183594,
|
| 319 |
+
0.02017990493774414,
|
| 320 |
+
0.021375999450683594,
|
| 321 |
+
0.021325824737548828,
|
| 322 |
+
0.021319679260253906,
|
| 323 |
+
0.02246963119506836,
|
| 324 |
+
0.021511167526245118,
|
| 325 |
+
0.02130636787414551,
|
| 326 |
+
0.021238784790039062,
|
| 327 |
+
0.021313535690307618,
|
| 328 |
+
0.020242431640625,
|
| 329 |
+
0.02030899238586426,
|
| 330 |
+
0.02127359962463379,
|
| 331 |
+
0.021279743194580078,
|
| 332 |
+
0.021372928619384765,
|
| 333 |
+
0.021222400665283202,
|
| 334 |
+
0.021331968307495116,
|
| 335 |
+
0.021320703506469727,
|
| 336 |
+
0.021380096435546874,
|
| 337 |
+
0.02128691291809082,
|
| 338 |
+
0.02143129539489746,
|
| 339 |
+
0.021395456314086913,
|
| 340 |
+
0.021275648117065428,
|
| 341 |
+
0.02127052879333496,
|
| 342 |
+
0.021378047943115236,
|
| 343 |
+
0.020922367095947265,
|
| 344 |
+
0.021295103073120117,
|
| 345 |
+
0.021328895568847657,
|
| 346 |
+
0.021238784790039062,
|
| 347 |
+
0.0212674560546875,
|
| 348 |
+
0.021369855880737306,
|
| 349 |
+
0.021226495742797852,
|
| 350 |
+
0.021391359329223633,
|
| 351 |
+
0.021398527145385742,
|
| 352 |
+
0.021320703506469727,
|
| 353 |
+
0.02131455993652344,
|
| 354 |
+
0.021361663818359376,
|
| 355 |
+
0.02132275199890137,
|
| 356 |
+
0.021325824737548828,
|
| 357 |
+
0.021402624130249022,
|
| 358 |
+
0.021331968307495116,
|
| 359 |
+
0.021385215759277345,
|
| 360 |
+
0.021319679260253906,
|
| 361 |
+
0.02125721549987793,
|
| 362 |
+
0.021285888671875,
|
| 363 |
+
0.021341184616088867,
|
| 364 |
+
0.021403648376464843,
|
| 365 |
+
0.02126643180847168,
|
| 366 |
+
0.021444608688354492,
|
| 367 |
+
0.021327871322631836,
|
| 368 |
+
0.021351423263549805,
|
| 369 |
+
0.021414911270141602,
|
| 370 |
+
0.02128895950317383,
|
| 371 |
+
0.02129715156555176,
|
| 372 |
+
0.021392383575439454,
|
| 373 |
+
0.021246976852416992,
|
| 374 |
+
0.020117504119873047,
|
| 375 |
+
0.020996095657348633,
|
| 376 |
+
0.02128179168701172,
|
| 377 |
+
0.02127052879333496,
|
| 378 |
+
0.021507072448730468,
|
| 379 |
+
0.02125823974609375,
|
| 380 |
+
0.021301248550415038,
|
| 381 |
+
0.02125619125366211,
|
| 382 |
+
0.021275648117065428,
|
| 383 |
+
0.02124595260620117,
|
| 384 |
+
0.02129100799560547,
|
| 385 |
+
0.0212992000579834,
|
| 386 |
+
0.02129715156555176,
|
| 387 |
+
0.02127769660949707,
|
| 388 |
+
0.02129408073425293,
|
| 389 |
+
0.021285888671875,
|
| 390 |
+
0.021341184616088867,
|
| 391 |
+
0.02127257537841797,
|
| 392 |
+
0.021390335083007812,
|
| 393 |
+
0.021399551391601563,
|
| 394 |
+
0.02130636787414551,
|
| 395 |
+
0.021720064163208007,
|
| 396 |
+
0.021575679779052736,
|
| 397 |
+
0.02148863983154297,
|
| 398 |
+
0.021362688064575194,
|
| 399 |
+
0.021335039138793945,
|
| 400 |
+
0.021367807388305664,
|
| 401 |
+
0.021391359329223633,
|
| 402 |
+
0.021347328186035155,
|
| 403 |
+
0.021334016799926758,
|
| 404 |
+
0.021319679260253906,
|
| 405 |
+
0.021369855880737306,
|
| 406 |
+
0.021344255447387696,
|
| 407 |
+
0.0212674560546875,
|
| 408 |
+
0.021377023696899415,
|
| 409 |
+
0.021379072189331053,
|
| 410 |
+
0.02206208038330078,
|
| 411 |
+
0.022304767608642577,
|
| 412 |
+
0.02147635269165039,
|
| 413 |
+
0.021405696868896484,
|
| 414 |
+
0.02142310333251953,
|
| 415 |
+
0.021308416366577147,
|
| 416 |
+
0.0212992000579834,
|
| 417 |
+
0.021384191513061524,
|
| 418 |
+
0.020121599197387697,
|
| 419 |
+
0.020192256927490236,
|
| 420 |
+
0.02081996726989746,
|
| 421 |
+
0.02011136054992676,
|
| 422 |
+
0.020116479873657226,
|
| 423 |
+
0.020560895919799805,
|
| 424 |
+
0.021334016799926758,
|
| 425 |
+
0.021394432067871092,
|
| 426 |
+
0.021175296783447265,
|
| 427 |
+
0.02128486442565918,
|
| 428 |
+
0.021331968307495116,
|
| 429 |
+
0.021390335083007812,
|
| 430 |
+
0.021358591079711914,
|
| 431 |
+
0.021303295135498047,
|
| 432 |
+
0.021402624130249022,
|
| 433 |
+
0.021404672622680664,
|
| 434 |
+
0.020973567962646485,
|
| 435 |
+
0.021375999450683594,
|
| 436 |
+
0.021325824737548828,
|
| 437 |
+
0.02132275199890137,
|
| 438 |
+
0.021424127578735352,
|
| 439 |
+
0.021337087631225587,
|
| 440 |
+
0.021347328186035155,
|
| 441 |
+
0.021424127578735352,
|
| 442 |
+
0.021359615325927735,
|
| 443 |
+
0.021353471755981446,
|
| 444 |
+
0.0214783992767334,
|
| 445 |
+
0.021375999450683594,
|
| 446 |
+
0.021365760803222656,
|
| 447 |
+
0.021355520248413085,
|
| 448 |
+
0.02142310333251953,
|
| 449 |
+
0.021362688064575194,
|
| 450 |
+
0.021404672622680664,
|
| 451 |
+
0.021316608428955077,
|
| 452 |
+
0.021320703506469727,
|
| 453 |
+
0.02167193603515625,
|
| 454 |
+
0.021320703506469727,
|
| 455 |
+
0.021350400924682617,
|
| 456 |
+
0.021432319641113282,
|
| 457 |
+
0.02129715156555176,
|
| 458 |
+
0.020349952697753908,
|
| 459 |
+
0.021392383575439454,
|
| 460 |
+
0.021369855880737306,
|
| 461 |
+
0.0212807674407959,
|
| 462 |
+
0.021377023696899415
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 46.94462897256188
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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.816192,
|
| 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.4623056640625,
|
| 15 |
+
"mean": 11.4623056640625,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 11.4623056640625,
|
| 18 |
+
"p90": 11.4623056640625,
|
| 19 |
+
"p95": 11.4623056640625,
|
| 20 |
+
"p99": 11.4623056640625,
|
| 21 |
+
"values": [
|
| 22 |
+
11.4623056640625
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1816.403968,
|
| 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.04521712112426758,
|
| 42 |
+
"mean": 0.02260856056213379,
|
| 43 |
+
"stdev": 0.0007233123779296861,
|
| 44 |
+
"p50": 0.02260856056213379,
|
| 45 |
+
"p90": 0.02318721046447754,
|
| 46 |
+
"p95": 0.023259541702270507,
|
| 47 |
+
"p99": 0.023317406692504882,
|
| 48 |
+
"values": [
|
| 49 |
+
0.023331872940063475,
|
| 50 |
+
0.021885248184204103
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 309.6172346205902
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 1842.81088,
|
| 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.410896728515625,
|
| 73 |
+
"mean": 2.7054483642578124,
|
| 74 |
+
"stdev": 0.001650756835937628,
|
| 75 |
+
"p50": 2.7054483642578124,
|
| 76 |
+
"p90": 2.7067689697265624,
|
| 77 |
+
"p95": 2.7069340454101565,
|
| 78 |
+
"p99": 2.7070661059570313,
|
| 79 |
+
"values": [
|
| 80 |
+
2.70709912109375,
|
| 81 |
+
2.703797607421875
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 46.942311550950635
|
| 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.41062961959839,
|
| 97 |
+
"mean": 0.02130169141574169,
|
| 98 |
+
"stdev": 0.000305934813687003,
|
| 99 |
+
"p50": 0.021341184616088867,
|
| 100 |
+
"p90": 0.02147420234680176,
|
| 101 |
+
"p95": 0.021516901969909668,
|
| 102 |
+
"p99": 0.022151598472595214,
|
| 103 |
+
"values": [
|
| 104 |
+
0.021339136123657225,
|
| 105 |
+
0.021739519119262696,
|
| 106 |
+
0.021363712310791014,
|
| 107 |
+
0.02131455993652344,
|
| 108 |
+
0.021300224304199217,
|
| 109 |
+
0.02145894432067871,
|
| 110 |
+
0.021415935516357423,
|
| 111 |
+
0.021098495483398438,
|
| 112 |
+
0.02103910446166992,
|
| 113 |
+
0.02130636787414551,
|
| 114 |
+
0.02142310333251953,
|
| 115 |
+
0.021365760803222656,
|
| 116 |
+
0.021592063903808592,
|
| 117 |
+
0.021375999450683594,
|
| 118 |
+
0.021345279693603517,
|
| 119 |
+
0.021369855880737306,
|
| 120 |
+
0.021421056747436523,
|
| 121 |
+
0.02124492835998535,
|
| 122 |
+
0.021271551132202148,
|
| 123 |
+
0.021177343368530274,
|
| 124 |
+
0.021324800491333007,
|
| 125 |
+
0.021410816192626952,
|
| 126 |
+
0.021356544494628905,
|
| 127 |
+
0.021335039138793945,
|
| 128 |
+
0.021378047943115236,
|
| 129 |
+
0.021168127059936523,
|
| 130 |
+
0.019973119735717772,
|
| 131 |
+
0.02004684829711914,
|
| 132 |
+
0.020130815505981444,
|
| 133 |
+
0.02088960075378418,
|
| 134 |
+
0.02148044776916504,
|
| 135 |
+
0.0214783992767334,
|
| 136 |
+
0.021374975204467773,
|
| 137 |
+
0.021531648635864258,
|
| 138 |
+
0.021335039138793945,
|
| 139 |
+
0.021352447509765626,
|
| 140 |
+
0.021527551651000978,
|
| 141 |
+
0.021361663818359376,
|
| 142 |
+
0.021386240005493166,
|
| 143 |
+
0.021129215240478515,
|
| 144 |
+
0.021139455795288087,
|
| 145 |
+
0.021400575637817384,
|
| 146 |
+
0.021375999450683594,
|
| 147 |
+
0.021317632675170898,
|
| 148 |
+
0.02146201515197754,
|
| 149 |
+
0.021345279693603517,
|
| 150 |
+
0.02139958381652832,
|
| 151 |
+
0.02146505546569824,
|
| 152 |
+
0.021403648376464843,
|
| 153 |
+
0.022252544403076172,
|
| 154 |
+
0.02149990463256836,
|
| 155 |
+
0.021332992553710937,
|
| 156 |
+
0.021361663818359376,
|
| 157 |
+
0.02128179168701172,
|
| 158 |
+
0.021342208862304687,
|
| 159 |
+
0.021375999450683594,
|
| 160 |
+
0.021227519989013673,
|
| 161 |
+
0.021234687805175782,
|
| 162 |
+
0.021368831634521485,
|
| 163 |
+
0.021308416366577147,
|
| 164 |
+
0.021363712310791014,
|
| 165 |
+
0.021395456314086913,
|
| 166 |
+
0.021361663818359376,
|
| 167 |
+
0.021481472015380858,
|
| 168 |
+
0.021134336471557616,
|
| 169 |
+
0.021308416366577147,
|
| 170 |
+
0.021327871322631836,
|
| 171 |
+
0.021324800491333007,
|
| 172 |
+
0.021317632675170898,
|
| 173 |
+
0.021311487197875977,
|
| 174 |
+
0.02148454475402832,
|
| 175 |
+
0.021332992553710937,
|
| 176 |
+
0.021345279693603517,
|
| 177 |
+
0.021318687438964843,
|
| 178 |
+
0.021431264877319337,
|
| 179 |
+
0.021340160369873046,
|
| 180 |
+
0.021493759155273438,
|
| 181 |
+
0.021378047943115236,
|
| 182 |
+
0.02129408073425293,
|
| 183 |
+
0.0213309440612793,
|
| 184 |
+
0.021387264251708983,
|
| 185 |
+
0.021304319381713867,
|
| 186 |
+
0.021377023696899415,
|
| 187 |
+
0.021498880386352538,
|
| 188 |
+
0.02141900825500488,
|
| 189 |
+
0.021363712310791014,
|
| 190 |
+
0.0214783992767334,
|
| 191 |
+
0.02129408073425293,
|
| 192 |
+
0.021354496002197267,
|
| 193 |
+
0.02146918487548828,
|
| 194 |
+
0.021375999450683594,
|
| 195 |
+
0.021339136123657225,
|
| 196 |
+
0.02130636787414551,
|
| 197 |
+
0.021328895568847657,
|
| 198 |
+
0.021379072189331053,
|
| 199 |
+
0.02188287925720215,
|
| 200 |
+
0.021613567352294923,
|
| 201 |
+
0.021420032501220702,
|
| 202 |
+
0.021389312744140625,
|
| 203 |
+
0.021335039138793945,
|
| 204 |
+
0.021361663818359376,
|
| 205 |
+
0.021323776245117186,
|
| 206 |
+
0.02144256019592285,
|
| 207 |
+
0.021363712310791014,
|
| 208 |
+
0.02127769660949707,
|
| 209 |
+
0.02126848030090332,
|
| 210 |
+
0.021359615325927735,
|
| 211 |
+
0.021309440612792968,
|
| 212 |
+
0.02126438331604004,
|
| 213 |
+
0.02137913513183594,
|
| 214 |
+
0.02017990493774414,
|
| 215 |
+
0.021375999450683594,
|
| 216 |
+
0.021325824737548828,
|
| 217 |
+
0.021319679260253906,
|
| 218 |
+
0.02246963119506836,
|
| 219 |
+
0.021511167526245118,
|
| 220 |
+
0.02130636787414551,
|
| 221 |
+
0.021238784790039062,
|
| 222 |
+
0.021313535690307618,
|
| 223 |
+
0.020242431640625,
|
| 224 |
+
0.02030899238586426,
|
| 225 |
+
0.02127359962463379,
|
| 226 |
+
0.021279743194580078,
|
| 227 |
+
0.021372928619384765,
|
| 228 |
+
0.021222400665283202,
|
| 229 |
+
0.021331968307495116,
|
| 230 |
+
0.021320703506469727,
|
| 231 |
+
0.021380096435546874,
|
| 232 |
+
0.02128691291809082,
|
| 233 |
+
0.02143129539489746,
|
| 234 |
+
0.021395456314086913,
|
| 235 |
+
0.021275648117065428,
|
| 236 |
+
0.02127052879333496,
|
| 237 |
+
0.021378047943115236,
|
| 238 |
+
0.020922367095947265,
|
| 239 |
+
0.021295103073120117,
|
| 240 |
+
0.021328895568847657,
|
| 241 |
+
0.021238784790039062,
|
| 242 |
+
0.0212674560546875,
|
| 243 |
+
0.021369855880737306,
|
| 244 |
+
0.021226495742797852,
|
| 245 |
+
0.021391359329223633,
|
| 246 |
+
0.021398527145385742,
|
| 247 |
+
0.021320703506469727,
|
| 248 |
+
0.02131455993652344,
|
| 249 |
+
0.021361663818359376,
|
| 250 |
+
0.02132275199890137,
|
| 251 |
+
0.021325824737548828,
|
| 252 |
+
0.021402624130249022,
|
| 253 |
+
0.021331968307495116,
|
| 254 |
+
0.021385215759277345,
|
| 255 |
+
0.021319679260253906,
|
| 256 |
+
0.02125721549987793,
|
| 257 |
+
0.021285888671875,
|
| 258 |
+
0.021341184616088867,
|
| 259 |
+
0.021403648376464843,
|
| 260 |
+
0.02126643180847168,
|
| 261 |
+
0.021444608688354492,
|
| 262 |
+
0.021327871322631836,
|
| 263 |
+
0.021351423263549805,
|
| 264 |
+
0.021414911270141602,
|
| 265 |
+
0.02128895950317383,
|
| 266 |
+
0.02129715156555176,
|
| 267 |
+
0.021392383575439454,
|
| 268 |
+
0.021246976852416992,
|
| 269 |
+
0.020117504119873047,
|
| 270 |
+
0.020996095657348633,
|
| 271 |
+
0.02128179168701172,
|
| 272 |
+
0.02127052879333496,
|
| 273 |
+
0.021507072448730468,
|
| 274 |
+
0.02125823974609375,
|
| 275 |
+
0.021301248550415038,
|
| 276 |
+
0.02125619125366211,
|
| 277 |
+
0.021275648117065428,
|
| 278 |
+
0.02124595260620117,
|
| 279 |
+
0.02129100799560547,
|
| 280 |
+
0.0212992000579834,
|
| 281 |
+
0.02129715156555176,
|
| 282 |
+
0.02127769660949707,
|
| 283 |
+
0.02129408073425293,
|
| 284 |
+
0.021285888671875,
|
| 285 |
+
0.021341184616088867,
|
| 286 |
+
0.02127257537841797,
|
| 287 |
+
0.021390335083007812,
|
| 288 |
+
0.021399551391601563,
|
| 289 |
+
0.02130636787414551,
|
| 290 |
+
0.021720064163208007,
|
| 291 |
+
0.021575679779052736,
|
| 292 |
+
0.02148863983154297,
|
| 293 |
+
0.021362688064575194,
|
| 294 |
+
0.021335039138793945,
|
| 295 |
+
0.021367807388305664,
|
| 296 |
+
0.021391359329223633,
|
| 297 |
+
0.021347328186035155,
|
| 298 |
+
0.021334016799926758,
|
| 299 |
+
0.021319679260253906,
|
| 300 |
+
0.021369855880737306,
|
| 301 |
+
0.021344255447387696,
|
| 302 |
+
0.0212674560546875,
|
| 303 |
+
0.021377023696899415,
|
| 304 |
+
0.021379072189331053,
|
| 305 |
+
0.02206208038330078,
|
| 306 |
+
0.022304767608642577,
|
| 307 |
+
0.02147635269165039,
|
| 308 |
+
0.021405696868896484,
|
| 309 |
+
0.02142310333251953,
|
| 310 |
+
0.021308416366577147,
|
| 311 |
+
0.0212992000579834,
|
| 312 |
+
0.021384191513061524,
|
| 313 |
+
0.020121599197387697,
|
| 314 |
+
0.020192256927490236,
|
| 315 |
+
0.02081996726989746,
|
| 316 |
+
0.02011136054992676,
|
| 317 |
+
0.020116479873657226,
|
| 318 |
+
0.020560895919799805,
|
| 319 |
+
0.021334016799926758,
|
| 320 |
+
0.021394432067871092,
|
| 321 |
+
0.021175296783447265,
|
| 322 |
+
0.02128486442565918,
|
| 323 |
+
0.021331968307495116,
|
| 324 |
+
0.021390335083007812,
|
| 325 |
+
0.021358591079711914,
|
| 326 |
+
0.021303295135498047,
|
| 327 |
+
0.021402624130249022,
|
| 328 |
+
0.021404672622680664,
|
| 329 |
+
0.020973567962646485,
|
| 330 |
+
0.021375999450683594,
|
| 331 |
+
0.021325824737548828,
|
| 332 |
+
0.02132275199890137,
|
| 333 |
+
0.021424127578735352,
|
| 334 |
+
0.021337087631225587,
|
| 335 |
+
0.021347328186035155,
|
| 336 |
+
0.021424127578735352,
|
| 337 |
+
0.021359615325927735,
|
| 338 |
+
0.021353471755981446,
|
| 339 |
+
0.0214783992767334,
|
| 340 |
+
0.021375999450683594,
|
| 341 |
+
0.021365760803222656,
|
| 342 |
+
0.021355520248413085,
|
| 343 |
+
0.02142310333251953,
|
| 344 |
+
0.021362688064575194,
|
| 345 |
+
0.021404672622680664,
|
| 346 |
+
0.021316608428955077,
|
| 347 |
+
0.021320703506469727,
|
| 348 |
+
0.02167193603515625,
|
| 349 |
+
0.021320703506469727,
|
| 350 |
+
0.021350400924682617,
|
| 351 |
+
0.021432319641113282,
|
| 352 |
+
0.02129715156555176,
|
| 353 |
+
0.020349952697753908,
|
| 354 |
+
0.021392383575439454,
|
| 355 |
+
0.021369855880737306,
|
| 356 |
+
0.0212807674407959,
|
| 357 |
+
0.021377023696899415
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 46.94462897256188
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02260856056213379,
|
| 7 |
+
"prefill.throughput.value": 309.6172346205902,
|
| 8 |
+
"decode.latency.mean": 2.7054483642578124,
|
| 9 |
+
"decode.throughput.value": 46.942311550950635,
|
| 10 |
+
"per_token.latency.mean": 0.02130169141574169,
|
| 11 |
+
"per_token.throughput.value": 46.94462897256188
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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: f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478/${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/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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": 1351.811072,
|
| 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": 12.4141689453125,
|
| 120 |
+
"mean": 12.4141689453125,
|
| 121 |
+
"stdev": 0.0,
|
| 122 |
+
"p50": 12.4141689453125,
|
| 123 |
+
"p90": 12.4141689453125,
|
| 124 |
+
"p95": 12.4141689453125,
|
| 125 |
+
"p99": 12.4141689453125,
|
| 126 |
+
"values": [
|
| 127 |
+
12.4141689453125
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"throughput": null,
|
| 131 |
+
"energy": null,
|
| 132 |
+
"efficiency": null
|
| 133 |
+
},
|
| 134 |
+
"prefill": {
|
| 135 |
+
"memory": {
|
| 136 |
+
"unit": "MB",
|
| 137 |
+
"max_ram": 1939.816448,
|
| 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.02876371192932129,
|
| 147 |
+
"mean": 0.014381855964660645,
|
| 148 |
+
"stdev": 0.0004115524291992195,
|
| 149 |
+
"p50": 0.014381855964660645,
|
| 150 |
+
"p90": 0.01471109790802002,
|
| 151 |
+
"p95": 0.014752253150939943,
|
| 152 |
+
"p99": 0.014785177345275879,
|
| 153 |
+
"values": [
|
| 154 |
+
0.013970303535461425,
|
| 155 |
+
0.014793408393859864
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"throughput": {
|
| 159 |
+
"unit": "tokens/s",
|
| 160 |
+
"value": 486.7243850307308
|
| 161 |
+
},
|
| 162 |
+
"energy": null,
|
| 163 |
+
"efficiency": null
|
| 164 |
+
},
|
| 165 |
+
"decode": {
|
| 166 |
+
"memory": {
|
| 167 |
+
"unit": "MB",
|
| 168 |
+
"max_ram": 2113.511424,
|
| 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.12555029296875,
|
| 178 |
+
"mean": 1.562775146484375,
|
| 179 |
+
"stdev": 0.00024291992187508438,
|
| 180 |
+
"p50": 1.562775146484375,
|
| 181 |
+
"p90": 1.5629694824218752,
|
| 182 |
+
"p95": 1.5629937744140625,
|
| 183 |
+
"p99": 1.5630132080078125,
|
| 184 |
+
"values": [
|
| 185 |
+
1.56301806640625,
|
| 186 |
+
1.5625322265625
|
| 187 |
+
]
|
| 188 |
+
},
|
| 189 |
+
"throughput": {
|
| 190 |
+
"unit": "tokens/s",
|
| 191 |
+
"value": 81.26568961996848
|
| 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.125191679000852,
|
| 202 |
+
"mean": 0.01230390424803486,
|
| 203 |
+
"stdev": 5.2212705250091495e-05,
|
| 204 |
+
"p50": 0.012292096138000488,
|
| 205 |
+
"p90": 0.012319369411468505,
|
| 206 |
+
"p95": 0.012338811016082763,
|
| 207 |
+
"p99": 0.01254794246673584,
|
| 208 |
+
"values": [
|
| 209 |
+
0.012318719863891601,
|
| 210 |
+
0.012283904075622559,
|
| 211 |
+
0.012291071891784668,
|
| 212 |
+
0.012447744369506837,
|
| 213 |
+
0.012577792167663575,
|
| 214 |
+
0.012602368354797363,
|
| 215 |
+
0.012316672325134278,
|
| 216 |
+
0.012321791648864745,
|
| 217 |
+
0.012307456016540527,
|
| 218 |
+
0.012291071891784668,
|
| 219 |
+
0.012286975860595703,
|
| 220 |
+
0.012288000106811523,
|
| 221 |
+
0.012292096138000488,
|
| 222 |
+
0.012280832290649414,
|
| 223 |
+
0.012289024353027344,
|
| 224 |
+
0.012301312446594239,
|
| 225 |
+
0.012298239707946777,
|
| 226 |
+
0.012288000106811523,
|
| 227 |
+
0.012286975860595703,
|
| 228 |
+
0.012282879829406738,
|
| 229 |
+
0.012282879829406738,
|
| 230 |
+
0.012294143676757812,
|
| 231 |
+
0.012295167922973632,
|
| 232 |
+
0.012286975860595703,
|
| 233 |
+
0.012283904075622559,
|
| 234 |
+
0.012290047645568849,
|
| 235 |
+
0.012294143676757812,
|
| 236 |
+
0.012285951614379884,
|
| 237 |
+
0.012297216415405274,
|
| 238 |
+
0.012299263954162597,
|
| 239 |
+
0.01229312038421631,
|
| 240 |
+
0.012286975860595703,
|
| 241 |
+
0.012286975860595703,
|
| 242 |
+
0.012279808044433594,
|
| 243 |
+
0.012309503555297852,
|
| 244 |
+
0.012307456016540527,
|
| 245 |
+
0.012278783798217773,
|
| 246 |
+
0.012288000106811523,
|
| 247 |
+
0.012292096138000488,
|
| 248 |
+
0.012285951614379884,
|
| 249 |
+
0.012292096138000488,
|
| 250 |
+
0.012298239707946777,
|
| 251 |
+
0.012408831596374511,
|
| 252 |
+
0.012876799583435058,
|
| 253 |
+
0.012322815895080566,
|
| 254 |
+
0.012333056449890138,
|
| 255 |
+
0.012314623832702636,
|
| 256 |
+
0.012286975860595703,
|
| 257 |
+
0.012289024353027344,
|
| 258 |
+
0.012283904075622559,
|
| 259 |
+
0.012294143676757812,
|
| 260 |
+
0.012291071891784668,
|
| 261 |
+
0.012285951614379884,
|
| 262 |
+
0.012288000106811523,
|
| 263 |
+
0.012305407524108887,
|
| 264 |
+
0.012315648078918457,
|
| 265 |
+
0.01229312038421631,
|
| 266 |
+
0.012297216415405274,
|
| 267 |
+
0.012279808044433594,
|
| 268 |
+
0.012306431770324706,
|
| 269 |
+
0.012300288200378418,
|
| 270 |
+
0.01228492832183838,
|
| 271 |
+
0.012295167922973632,
|
| 272 |
+
0.012277791976928711,
|
| 273 |
+
0.012284895896911622,
|
| 274 |
+
0.012288000106811523,
|
| 275 |
+
0.012281855583190919,
|
| 276 |
+
0.012297216415405274,
|
| 277 |
+
0.012291071891784668,
|
| 278 |
+
0.012285951614379884,
|
| 279 |
+
0.012288000106811523,
|
| 280 |
+
0.012295167922973632,
|
| 281 |
+
0.012283904075622559,
|
| 282 |
+
0.012314623832702636,
|
| 283 |
+
0.012283904075622559,
|
| 284 |
+
0.012277759552001954,
|
| 285 |
+
0.012288000106811523,
|
| 286 |
+
0.012291071891784668,
|
| 287 |
+
0.012290047645568849,
|
| 288 |
+
0.012282879829406738,
|
| 289 |
+
0.01228492832183838,
|
| 290 |
+
0.012314623832702636,
|
| 291 |
+
0.012300288200378418,
|
| 292 |
+
0.012283904075622559,
|
| 293 |
+
0.012295167922973632,
|
| 294 |
+
0.012291071891784668,
|
| 295 |
+
0.012311552047729492,
|
| 296 |
+
0.012312576293945313,
|
| 297 |
+
0.012289024353027344,
|
| 298 |
+
0.012280832290649414,
|
| 299 |
+
0.012285951614379884,
|
| 300 |
+
0.012286975860595703,
|
| 301 |
+
0.012286975860595703,
|
| 302 |
+
0.012288000106811523,
|
| 303 |
+
0.012319744110107422,
|
| 304 |
+
0.012298239707946777,
|
| 305 |
+
0.012286975860595703,
|
| 306 |
+
0.012283904075622559,
|
| 307 |
+
0.012285951614379884,
|
| 308 |
+
0.012289024353027344,
|
| 309 |
+
0.012306431770324706,
|
| 310 |
+
0.012303359985351562,
|
| 311 |
+
0.012275712013244629,
|
| 312 |
+
0.012304384231567383,
|
| 313 |
+
0.012288000106811523,
|
| 314 |
+
0.012283904075622559,
|
| 315 |
+
0.012291071891784668,
|
| 316 |
+
0.012286975860595703,
|
| 317 |
+
0.012295167922973632,
|
| 318 |
+
0.012297216415405274,
|
| 319 |
+
0.012288000106811523,
|
| 320 |
+
0.01229312038421631,
|
| 321 |
+
0.01228492832183838,
|
| 322 |
+
0.012289024353027344,
|
| 323 |
+
0.012311552047729492,
|
| 324 |
+
0.012297216415405274,
|
| 325 |
+
0.012286975860595703,
|
| 326 |
+
0.012282879829406738,
|
| 327 |
+
0.01229312038421631,
|
| 328 |
+
0.012298239707946777,
|
| 329 |
+
0.01228492832183838,
|
| 330 |
+
0.012286975860595703,
|
| 331 |
+
0.01229312038421631,
|
| 332 |
+
0.012286975860595703,
|
| 333 |
+
0.012288000106811523,
|
| 334 |
+
0.012315648078918457,
|
| 335 |
+
0.012393471717834472,
|
| 336 |
+
0.012521471977233887,
|
| 337 |
+
0.01229312038421631,
|
| 338 |
+
0.012289024353027344,
|
| 339 |
+
0.012311552047729492,
|
| 340 |
+
0.012329983711242675,
|
| 341 |
+
0.012311552047729492,
|
| 342 |
+
0.012285951614379884,
|
| 343 |
+
0.012300288200378418,
|
| 344 |
+
0.012290047645568849,
|
| 345 |
+
0.012286975860595703,
|
| 346 |
+
0.01229312038421631,
|
| 347 |
+
0.012296192169189453,
|
| 348 |
+
0.01228492832183838,
|
| 349 |
+
0.01228492832183838,
|
| 350 |
+
0.0124518404006958,
|
| 351 |
+
0.012349439620971679,
|
| 352 |
+
0.012304384231567383,
|
| 353 |
+
0.012281855583190919,
|
| 354 |
+
0.012285951614379884,
|
| 355 |
+
0.012279808044433594,
|
| 356 |
+
0.012290047645568849,
|
| 357 |
+
0.012294143676757812,
|
| 358 |
+
0.012288000106811523,
|
| 359 |
+
0.012295167922973632,
|
| 360 |
+
0.012306431770324706,
|
| 361 |
+
0.012282879829406738,
|
| 362 |
+
0.012291071891784668,
|
| 363 |
+
0.012278783798217773,
|
| 364 |
+
0.012278783798217773,
|
| 365 |
+
0.012300288200378418,
|
| 366 |
+
0.012327936172485352,
|
| 367 |
+
0.012286975860595703,
|
| 368 |
+
0.012295167922973632,
|
| 369 |
+
0.012275712013244629,
|
| 370 |
+
0.012283904075622559,
|
| 371 |
+
0.012317695617675782,
|
| 372 |
+
0.012292096138000488,
|
| 373 |
+
0.012308480262756348,
|
| 374 |
+
0.012299263954162597,
|
| 375 |
+
0.012272640228271485,
|
| 376 |
+
0.012285951614379884,
|
| 377 |
+
0.012288000106811523,
|
| 378 |
+
0.012288000106811523,
|
| 379 |
+
0.012307456016540527,
|
| 380 |
+
0.012294143676757812,
|
| 381 |
+
0.012298239707946777,
|
| 382 |
+
0.012295167922973632,
|
| 383 |
+
0.012296192169189453,
|
| 384 |
+
0.012296256065368652,
|
| 385 |
+
0.012285887718200683,
|
| 386 |
+
0.012280832290649414,
|
| 387 |
+
0.012302335739135742,
|
| 388 |
+
0.01240988826751709,
|
| 389 |
+
0.0123023042678833,
|
| 390 |
+
0.012292096138000488,
|
| 391 |
+
0.01228502368927002,
|
| 392 |
+
0.012319647789001464,
|
| 393 |
+
0.012289024353027344,
|
| 394 |
+
0.012290047645568849,
|
| 395 |
+
0.012286975860595703,
|
| 396 |
+
0.012283904075622559,
|
| 397 |
+
0.012289024353027344,
|
| 398 |
+
0.012281855583190919,
|
| 399 |
+
0.012281855583190919,
|
| 400 |
+
0.012292096138000488,
|
| 401 |
+
0.012295167922973632,
|
| 402 |
+
0.012291071891784668,
|
| 403 |
+
0.012380160331726075,
|
| 404 |
+
0.012302335739135742,
|
| 405 |
+
0.012305407524108887,
|
| 406 |
+
0.012319744110107422,
|
| 407 |
+
0.01228492832183838,
|
| 408 |
+
0.012283904075622559,
|
| 409 |
+
0.012278783798217773,
|
| 410 |
+
0.012291071891784668,
|
| 411 |
+
0.012418047904968262,
|
| 412 |
+
0.012303359985351562,
|
| 413 |
+
0.012308480262756348,
|
| 414 |
+
0.012303359985351562,
|
| 415 |
+
0.012364800453186036,
|
| 416 |
+
0.012296192169189453,
|
| 417 |
+
0.012300288200378418,
|
| 418 |
+
0.012308480262756348,
|
| 419 |
+
0.012314623832702636,
|
| 420 |
+
0.012304384231567383,
|
| 421 |
+
0.012312576293945313,
|
| 422 |
+
0.012296192169189453,
|
| 423 |
+
0.012304384231567383,
|
| 424 |
+
0.012281855583190919,
|
| 425 |
+
0.012291071891784668,
|
| 426 |
+
0.012292096138000488,
|
| 427 |
+
0.012298239707946777,
|
| 428 |
+
0.012288000106811523,
|
| 429 |
+
0.012290047645568849,
|
| 430 |
+
0.012306431770324706,
|
| 431 |
+
0.012323840141296387,
|
| 432 |
+
0.012333087921142578,
|
| 433 |
+
0.01233199977874756,
|
| 434 |
+
0.012292096138000488,
|
| 435 |
+
0.012288000106811523,
|
| 436 |
+
0.012290047645568849,
|
| 437 |
+
0.012282879829406738,
|
| 438 |
+
0.012307456016540527,
|
| 439 |
+
0.012305407524108887,
|
| 440 |
+
0.012299263954162597,
|
| 441 |
+
0.012282879829406738,
|
| 442 |
+
0.012324864387512208,
|
| 443 |
+
0.012282879829406738,
|
| 444 |
+
0.01228492832183838,
|
| 445 |
+
0.012299327850341797,
|
| 446 |
+
0.012306367874145508,
|
| 447 |
+
0.012299263954162597,
|
| 448 |
+
0.012324864387512208,
|
| 449 |
+
0.012290047645568849,
|
| 450 |
+
0.01229312038421631,
|
| 451 |
+
0.012288000106811523,
|
| 452 |
+
0.012285951614379884,
|
| 453 |
+
0.012297216415405274,
|
| 454 |
+
0.01229312038421631,
|
| 455 |
+
0.012301312446594239,
|
| 456 |
+
0.012294143676757812,
|
| 457 |
+
0.01228492832183838,
|
| 458 |
+
0.012307456016540527,
|
| 459 |
+
0.012300352096557617,
|
| 460 |
+
0.012278719902038574,
|
| 461 |
+
0.012290047645568849,
|
| 462 |
+
0.01229312038421631
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"throughput": {
|
| 466 |
+
"unit": "tokens/s",
|
| 467 |
+
"value": 81.27501481163728
|
| 468 |
+
},
|
| 469 |
+
"energy": null,
|
| 470 |
+
"efficiency": null
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 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-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": 1351.811072,
|
| 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": 12.4141689453125,
|
| 15 |
+
"mean": 12.4141689453125,
|
| 16 |
+
"stdev": 0.0,
|
| 17 |
+
"p50": 12.4141689453125,
|
| 18 |
+
"p90": 12.4141689453125,
|
| 19 |
+
"p95": 12.4141689453125,
|
| 20 |
+
"p99": 12.4141689453125,
|
| 21 |
+
"values": [
|
| 22 |
+
12.4141689453125
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
"throughput": null,
|
| 26 |
+
"energy": null,
|
| 27 |
+
"efficiency": null
|
| 28 |
+
},
|
| 29 |
+
"prefill": {
|
| 30 |
+
"memory": {
|
| 31 |
+
"unit": "MB",
|
| 32 |
+
"max_ram": 1939.816448,
|
| 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.02876371192932129,
|
| 42 |
+
"mean": 0.014381855964660645,
|
| 43 |
+
"stdev": 0.0004115524291992195,
|
| 44 |
+
"p50": 0.014381855964660645,
|
| 45 |
+
"p90": 0.01471109790802002,
|
| 46 |
+
"p95": 0.014752253150939943,
|
| 47 |
+
"p99": 0.014785177345275879,
|
| 48 |
+
"values": [
|
| 49 |
+
0.013970303535461425,
|
| 50 |
+
0.014793408393859864
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"throughput": {
|
| 54 |
+
"unit": "tokens/s",
|
| 55 |
+
"value": 486.7243850307308
|
| 56 |
+
},
|
| 57 |
+
"energy": null,
|
| 58 |
+
"efficiency": null
|
| 59 |
+
},
|
| 60 |
+
"decode": {
|
| 61 |
+
"memory": {
|
| 62 |
+
"unit": "MB",
|
| 63 |
+
"max_ram": 2113.511424,
|
| 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.12555029296875,
|
| 73 |
+
"mean": 1.562775146484375,
|
| 74 |
+
"stdev": 0.00024291992187508438,
|
| 75 |
+
"p50": 1.562775146484375,
|
| 76 |
+
"p90": 1.5629694824218752,
|
| 77 |
+
"p95": 1.5629937744140625,
|
| 78 |
+
"p99": 1.5630132080078125,
|
| 79 |
+
"values": [
|
| 80 |
+
1.56301806640625,
|
| 81 |
+
1.5625322265625
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
"throughput": {
|
| 85 |
+
"unit": "tokens/s",
|
| 86 |
+
"value": 81.26568961996848
|
| 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.125191679000852,
|
| 97 |
+
"mean": 0.01230390424803486,
|
| 98 |
+
"stdev": 5.2212705250091495e-05,
|
| 99 |
+
"p50": 0.012292096138000488,
|
| 100 |
+
"p90": 0.012319369411468505,
|
| 101 |
+
"p95": 0.012338811016082763,
|
| 102 |
+
"p99": 0.01254794246673584,
|
| 103 |
+
"values": [
|
| 104 |
+
0.012318719863891601,
|
| 105 |
+
0.012283904075622559,
|
| 106 |
+
0.012291071891784668,
|
| 107 |
+
0.012447744369506837,
|
| 108 |
+
0.012577792167663575,
|
| 109 |
+
0.012602368354797363,
|
| 110 |
+
0.012316672325134278,
|
| 111 |
+
0.012321791648864745,
|
| 112 |
+
0.012307456016540527,
|
| 113 |
+
0.012291071891784668,
|
| 114 |
+
0.012286975860595703,
|
| 115 |
+
0.012288000106811523,
|
| 116 |
+
0.012292096138000488,
|
| 117 |
+
0.012280832290649414,
|
| 118 |
+
0.012289024353027344,
|
| 119 |
+
0.012301312446594239,
|
| 120 |
+
0.012298239707946777,
|
| 121 |
+
0.012288000106811523,
|
| 122 |
+
0.012286975860595703,
|
| 123 |
+
0.012282879829406738,
|
| 124 |
+
0.012282879829406738,
|
| 125 |
+
0.012294143676757812,
|
| 126 |
+
0.012295167922973632,
|
| 127 |
+
0.012286975860595703,
|
| 128 |
+
0.012283904075622559,
|
| 129 |
+
0.012290047645568849,
|
| 130 |
+
0.012294143676757812,
|
| 131 |
+
0.012285951614379884,
|
| 132 |
+
0.012297216415405274,
|
| 133 |
+
0.012299263954162597,
|
| 134 |
+
0.01229312038421631,
|
| 135 |
+
0.012286975860595703,
|
| 136 |
+
0.012286975860595703,
|
| 137 |
+
0.012279808044433594,
|
| 138 |
+
0.012309503555297852,
|
| 139 |
+
0.012307456016540527,
|
| 140 |
+
0.012278783798217773,
|
| 141 |
+
0.012288000106811523,
|
| 142 |
+
0.012292096138000488,
|
| 143 |
+
0.012285951614379884,
|
| 144 |
+
0.012292096138000488,
|
| 145 |
+
0.012298239707946777,
|
| 146 |
+
0.012408831596374511,
|
| 147 |
+
0.012876799583435058,
|
| 148 |
+
0.012322815895080566,
|
| 149 |
+
0.012333056449890138,
|
| 150 |
+
0.012314623832702636,
|
| 151 |
+
0.012286975860595703,
|
| 152 |
+
0.012289024353027344,
|
| 153 |
+
0.012283904075622559,
|
| 154 |
+
0.012294143676757812,
|
| 155 |
+
0.012291071891784668,
|
| 156 |
+
0.012285951614379884,
|
| 157 |
+
0.012288000106811523,
|
| 158 |
+
0.012305407524108887,
|
| 159 |
+
0.012315648078918457,
|
| 160 |
+
0.01229312038421631,
|
| 161 |
+
0.012297216415405274,
|
| 162 |
+
0.012279808044433594,
|
| 163 |
+
0.012306431770324706,
|
| 164 |
+
0.012300288200378418,
|
| 165 |
+
0.01228492832183838,
|
| 166 |
+
0.012295167922973632,
|
| 167 |
+
0.012277791976928711,
|
| 168 |
+
0.012284895896911622,
|
| 169 |
+
0.012288000106811523,
|
| 170 |
+
0.012281855583190919,
|
| 171 |
+
0.012297216415405274,
|
| 172 |
+
0.012291071891784668,
|
| 173 |
+
0.012285951614379884,
|
| 174 |
+
0.012288000106811523,
|
| 175 |
+
0.012295167922973632,
|
| 176 |
+
0.012283904075622559,
|
| 177 |
+
0.012314623832702636,
|
| 178 |
+
0.012283904075622559,
|
| 179 |
+
0.012277759552001954,
|
| 180 |
+
0.012288000106811523,
|
| 181 |
+
0.012291071891784668,
|
| 182 |
+
0.012290047645568849,
|
| 183 |
+
0.012282879829406738,
|
| 184 |
+
0.01228492832183838,
|
| 185 |
+
0.012314623832702636,
|
| 186 |
+
0.012300288200378418,
|
| 187 |
+
0.012283904075622559,
|
| 188 |
+
0.012295167922973632,
|
| 189 |
+
0.012291071891784668,
|
| 190 |
+
0.012311552047729492,
|
| 191 |
+
0.012312576293945313,
|
| 192 |
+
0.012289024353027344,
|
| 193 |
+
0.012280832290649414,
|
| 194 |
+
0.012285951614379884,
|
| 195 |
+
0.012286975860595703,
|
| 196 |
+
0.012286975860595703,
|
| 197 |
+
0.012288000106811523,
|
| 198 |
+
0.012319744110107422,
|
| 199 |
+
0.012298239707946777,
|
| 200 |
+
0.012286975860595703,
|
| 201 |
+
0.012283904075622559,
|
| 202 |
+
0.012285951614379884,
|
| 203 |
+
0.012289024353027344,
|
| 204 |
+
0.012306431770324706,
|
| 205 |
+
0.012303359985351562,
|
| 206 |
+
0.012275712013244629,
|
| 207 |
+
0.012304384231567383,
|
| 208 |
+
0.012288000106811523,
|
| 209 |
+
0.012283904075622559,
|
| 210 |
+
0.012291071891784668,
|
| 211 |
+
0.012286975860595703,
|
| 212 |
+
0.012295167922973632,
|
| 213 |
+
0.012297216415405274,
|
| 214 |
+
0.012288000106811523,
|
| 215 |
+
0.01229312038421631,
|
| 216 |
+
0.01228492832183838,
|
| 217 |
+
0.012289024353027344,
|
| 218 |
+
0.012311552047729492,
|
| 219 |
+
0.012297216415405274,
|
| 220 |
+
0.012286975860595703,
|
| 221 |
+
0.012282879829406738,
|
| 222 |
+
0.01229312038421631,
|
| 223 |
+
0.012298239707946777,
|
| 224 |
+
0.01228492832183838,
|
| 225 |
+
0.012286975860595703,
|
| 226 |
+
0.01229312038421631,
|
| 227 |
+
0.012286975860595703,
|
| 228 |
+
0.012288000106811523,
|
| 229 |
+
0.012315648078918457,
|
| 230 |
+
0.012393471717834472,
|
| 231 |
+
0.012521471977233887,
|
| 232 |
+
0.01229312038421631,
|
| 233 |
+
0.012289024353027344,
|
| 234 |
+
0.012311552047729492,
|
| 235 |
+
0.012329983711242675,
|
| 236 |
+
0.012311552047729492,
|
| 237 |
+
0.012285951614379884,
|
| 238 |
+
0.012300288200378418,
|
| 239 |
+
0.012290047645568849,
|
| 240 |
+
0.012286975860595703,
|
| 241 |
+
0.01229312038421631,
|
| 242 |
+
0.012296192169189453,
|
| 243 |
+
0.01228492832183838,
|
| 244 |
+
0.01228492832183838,
|
| 245 |
+
0.0124518404006958,
|
| 246 |
+
0.012349439620971679,
|
| 247 |
+
0.012304384231567383,
|
| 248 |
+
0.012281855583190919,
|
| 249 |
+
0.012285951614379884,
|
| 250 |
+
0.012279808044433594,
|
| 251 |
+
0.012290047645568849,
|
| 252 |
+
0.012294143676757812,
|
| 253 |
+
0.012288000106811523,
|
| 254 |
+
0.012295167922973632,
|
| 255 |
+
0.012306431770324706,
|
| 256 |
+
0.012282879829406738,
|
| 257 |
+
0.012291071891784668,
|
| 258 |
+
0.012278783798217773,
|
| 259 |
+
0.012278783798217773,
|
| 260 |
+
0.012300288200378418,
|
| 261 |
+
0.012327936172485352,
|
| 262 |
+
0.012286975860595703,
|
| 263 |
+
0.012295167922973632,
|
| 264 |
+
0.012275712013244629,
|
| 265 |
+
0.012283904075622559,
|
| 266 |
+
0.012317695617675782,
|
| 267 |
+
0.012292096138000488,
|
| 268 |
+
0.012308480262756348,
|
| 269 |
+
0.012299263954162597,
|
| 270 |
+
0.012272640228271485,
|
| 271 |
+
0.012285951614379884,
|
| 272 |
+
0.012288000106811523,
|
| 273 |
+
0.012288000106811523,
|
| 274 |
+
0.012307456016540527,
|
| 275 |
+
0.012294143676757812,
|
| 276 |
+
0.012298239707946777,
|
| 277 |
+
0.012295167922973632,
|
| 278 |
+
0.012296192169189453,
|
| 279 |
+
0.012296256065368652,
|
| 280 |
+
0.012285887718200683,
|
| 281 |
+
0.012280832290649414,
|
| 282 |
+
0.012302335739135742,
|
| 283 |
+
0.01240988826751709,
|
| 284 |
+
0.0123023042678833,
|
| 285 |
+
0.012292096138000488,
|
| 286 |
+
0.01228502368927002,
|
| 287 |
+
0.012319647789001464,
|
| 288 |
+
0.012289024353027344,
|
| 289 |
+
0.012290047645568849,
|
| 290 |
+
0.012286975860595703,
|
| 291 |
+
0.012283904075622559,
|
| 292 |
+
0.012289024353027344,
|
| 293 |
+
0.012281855583190919,
|
| 294 |
+
0.012281855583190919,
|
| 295 |
+
0.012292096138000488,
|
| 296 |
+
0.012295167922973632,
|
| 297 |
+
0.012291071891784668,
|
| 298 |
+
0.012380160331726075,
|
| 299 |
+
0.012302335739135742,
|
| 300 |
+
0.012305407524108887,
|
| 301 |
+
0.012319744110107422,
|
| 302 |
+
0.01228492832183838,
|
| 303 |
+
0.012283904075622559,
|
| 304 |
+
0.012278783798217773,
|
| 305 |
+
0.012291071891784668,
|
| 306 |
+
0.012418047904968262,
|
| 307 |
+
0.012303359985351562,
|
| 308 |
+
0.012308480262756348,
|
| 309 |
+
0.012303359985351562,
|
| 310 |
+
0.012364800453186036,
|
| 311 |
+
0.012296192169189453,
|
| 312 |
+
0.012300288200378418,
|
| 313 |
+
0.012308480262756348,
|
| 314 |
+
0.012314623832702636,
|
| 315 |
+
0.012304384231567383,
|
| 316 |
+
0.012312576293945313,
|
| 317 |
+
0.012296192169189453,
|
| 318 |
+
0.012304384231567383,
|
| 319 |
+
0.012281855583190919,
|
| 320 |
+
0.012291071891784668,
|
| 321 |
+
0.012292096138000488,
|
| 322 |
+
0.012298239707946777,
|
| 323 |
+
0.012288000106811523,
|
| 324 |
+
0.012290047645568849,
|
| 325 |
+
0.012306431770324706,
|
| 326 |
+
0.012323840141296387,
|
| 327 |
+
0.012333087921142578,
|
| 328 |
+
0.01233199977874756,
|
| 329 |
+
0.012292096138000488,
|
| 330 |
+
0.012288000106811523,
|
| 331 |
+
0.012290047645568849,
|
| 332 |
+
0.012282879829406738,
|
| 333 |
+
0.012307456016540527,
|
| 334 |
+
0.012305407524108887,
|
| 335 |
+
0.012299263954162597,
|
| 336 |
+
0.012282879829406738,
|
| 337 |
+
0.012324864387512208,
|
| 338 |
+
0.012282879829406738,
|
| 339 |
+
0.01228492832183838,
|
| 340 |
+
0.012299327850341797,
|
| 341 |
+
0.012306367874145508,
|
| 342 |
+
0.012299263954162597,
|
| 343 |
+
0.012324864387512208,
|
| 344 |
+
0.012290047645568849,
|
| 345 |
+
0.01229312038421631,
|
| 346 |
+
0.012288000106811523,
|
| 347 |
+
0.012285951614379884,
|
| 348 |
+
0.012297216415405274,
|
| 349 |
+
0.01229312038421631,
|
| 350 |
+
0.012301312446594239,
|
| 351 |
+
0.012294143676757812,
|
| 352 |
+
0.01228492832183838,
|
| 353 |
+
0.012307456016540527,
|
| 354 |
+
0.012300352096557617,
|
| 355 |
+
0.012278719902038574,
|
| 356 |
+
0.012290047645568849,
|
| 357 |
+
0.01229312038421631
|
| 358 |
+
]
|
| 359 |
+
},
|
| 360 |
+
"throughput": {
|
| 361 |
+
"unit": "tokens/s",
|
| 362 |
+
"value": 81.27501481163728
|
| 363 |
+
},
|
| 364 |
+
"energy": null,
|
| 365 |
+
"efficiency": null
|
| 366 |
+
}
|
| 367 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/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": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014381855964660645,
|
| 7 |
+
"prefill.throughput.value": 486.7243850307308,
|
| 8 |
+
"decode.latency.mean": 1.562775146484375,
|
| 9 |
+
"decode.throughput.value": 81.26568961996848,
|
| 10 |
+
"per_token.latency.mean": 0.01230390424803486,
|
| 11 |
+
"per_token.throughput.value": 81.27501481163728
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-09-11/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/multirun.yaml
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmpmhttm_o6/commit=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 88 |
+
- hydra.run.dir=_benchmark/tmpmhttm_o6/commit\=f38590dade57c1f8cf8a67e9409dae8935f8c478/${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: f38590dade57c1f8cf8a67e9409dae8935f8c478
|
| 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-11/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.02084187126159668,
|
| 8 |
+
"prefill.throughput.value": 335.86235670202177,
|
| 9 |
+
"decode.latency.mean": 2.465659790039062,
|
| 10 |
+
"decode.throughput.value": 51.507511503842956,
|
| 11 |
+
"per_token.latency.mean": 0.01941322982968308,
|
| 12 |
+
"per_token.throughput.value": 51.51126364717462
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.02260856056213379,
|
| 21 |
+
"prefill.throughput.value": 309.6172346205902,
|
| 22 |
+
"decode.latency.mean": 2.7054483642578124,
|
| 23 |
+
"decode.throughput.value": 46.942311550950635,
|
| 24 |
+
"per_token.latency.mean": 0.02130169141574169,
|
| 25 |
+
"per_token.throughput.value": 46.94462897256188
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014381855964660645,
|
| 34 |
+
"prefill.throughput.value": 486.7243850307308,
|
| 35 |
+
"decode.latency.mean": 1.562775146484375,
|
| 36 |
+
"decode.throughput.value": 81.26568961996848,
|
| 37 |
+
"per_token.latency.mean": 0.01230390424803486,
|
| 38 |
+
"per_token.throughput.value": 81.27501481163728
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-09-11/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"f38590dade57c1f8cf8a67e9409dae8935f8c478": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02084187126159668,
|
| 7 |
+
"prefill.throughput.value": 335.86235670202177,
|
| 8 |
+
"decode.latency.mean": 2.465659790039062,
|
| 9 |
+
"decode.throughput.value": 51.507511503842956,
|
| 10 |
+
"per_token.latency.mean": 0.01941322982968308,
|
| 11 |
+
"per_token.throughput.value": 51.51126364717462
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"f38590dade57c1f8cf8a67e9409dae8935f8c478": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.02260856056213379,
|
| 19 |
+
"prefill.throughput.value": 309.6172346205902,
|
| 20 |
+
"decode.latency.mean": 2.7054483642578124,
|
| 21 |
+
"decode.throughput.value": 46.942311550950635,
|
| 22 |
+
"per_token.latency.mean": 0.02130169141574169,
|
| 23 |
+
"per_token.throughput.value": 46.94462897256188
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"f38590dade57c1f8cf8a67e9409dae8935f8c478": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014381855964660645,
|
| 31 |
+
"prefill.throughput.value": 486.7243850307308,
|
| 32 |
+
"decode.latency.mean": 1.562775146484375,
|
| 33 |
+
"decode.throughput.value": 81.26568961996848,
|
| 34 |
+
"per_token.latency.mean": 0.01230390424803486,
|
| 35 |
+
"per_token.throughput.value": 81.27501481163728
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|