Upload folder using huggingface_hub
Browse files- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
- 2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/multirun.yaml +232 -0
- 2024-06-19/summaries.json +41 -0
- 2024-06-19/summary.json +40 -0
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 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/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=False
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1720.397824,
|
| 109 |
+
"max_global_vram": 6793.199616,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 6146.752512,
|
| 112 |
+
"max_allocated": 5034.576896
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.04137660789489746,
|
| 118 |
+
"mean": 0.02068830394744873,
|
| 119 |
+
"stdev": 0.000961264610290528,
|
| 120 |
+
"p50": 0.02068830394744873,
|
| 121 |
+
"p90": 0.021457315635681155,
|
| 122 |
+
"p95": 0.021553442096710205,
|
| 123 |
+
"p99": 0.02163034326553345,
|
| 124 |
+
"values": [
|
| 125 |
+
0.02164956855773926,
|
| 126 |
+
0.019727039337158202
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 338.35543105809967
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1720.471552,
|
| 140 |
+
"max_global_vram": 6795.296768,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 6148.849664,
|
| 143 |
+
"max_allocated": 5034.577408
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 4.871063720703125,
|
| 149 |
+
"mean": 2.4355318603515625,
|
| 150 |
+
"stdev": 0.003218872070312351,
|
| 151 |
+
"p50": 2.4355318603515625,
|
| 152 |
+
"p90": 2.4381069580078125,
|
| 153 |
+
"p95": 2.4384288452148435,
|
| 154 |
+
"p99": 2.4386863549804687,
|
| 155 |
+
"values": [
|
| 156 |
+
2.438750732421875,
|
| 157 |
+
2.43231298828125
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 52.1446678926499
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 4.869810171127319,
|
| 173 |
+
"mean": 0.019248261545957785,
|
| 174 |
+
"stdev": 0.0013118284299616808,
|
| 175 |
+
"p50": 0.019086336135864256,
|
| 176 |
+
"p90": 0.01948426284790039,
|
| 177 |
+
"p95": 0.01967513656616211,
|
| 178 |
+
"p99": 0.02197020652770996,
|
| 179 |
+
"values": [
|
| 180 |
+
0.02191564750671387,
|
| 181 |
+
0.022107135772705077,
|
| 182 |
+
0.022029312133789062,
|
| 183 |
+
0.021703680038452147,
|
| 184 |
+
0.01928704071044922,
|
| 185 |
+
0.01882316780090332,
|
| 186 |
+
0.01906585693359375,
|
| 187 |
+
0.018897920608520507,
|
| 188 |
+
0.018925567626953126,
|
| 189 |
+
0.018807807922363282,
|
| 190 |
+
0.0190248966217041,
|
| 191 |
+
0.019083295822143555,
|
| 192 |
+
0.018943967819213866,
|
| 193 |
+
0.019145727157592773,
|
| 194 |
+
0.01906483268737793,
|
| 195 |
+
0.019148799896240236,
|
| 196 |
+
0.019354623794555666,
|
| 197 |
+
0.019478527069091797,
|
| 198 |
+
0.019270687103271483,
|
| 199 |
+
0.01912112045288086,
|
| 200 |
+
0.01918976020812988,
|
| 201 |
+
0.01922559928894043,
|
| 202 |
+
0.01982156753540039,
|
| 203 |
+
0.01929113578796387,
|
| 204 |
+
0.019281919479370118,
|
| 205 |
+
0.01922969627380371,
|
| 206 |
+
0.019357696533203125,
|
| 207 |
+
0.01923993682861328,
|
| 208 |
+
0.01925529670715332,
|
| 209 |
+
0.01925017547607422,
|
| 210 |
+
0.01920102310180664,
|
| 211 |
+
0.019112960815429687,
|
| 212 |
+
0.01923788833618164,
|
| 213 |
+
0.019335168838500977,
|
| 214 |
+
0.019340288162231444,
|
| 215 |
+
0.019344383239746094,
|
| 216 |
+
0.01965875244140625,
|
| 217 |
+
0.01947648048400879,
|
| 218 |
+
0.0188723201751709,
|
| 219 |
+
0.019168256759643554,
|
| 220 |
+
0.018969600677490234,
|
| 221 |
+
0.019084287643432618,
|
| 222 |
+
0.01943449592590332,
|
| 223 |
+
0.01901055908203125,
|
| 224 |
+
0.018790399551391602,
|
| 225 |
+
0.01903513526916504,
|
| 226 |
+
0.01879654312133789,
|
| 227 |
+
0.01924198341369629,
|
| 228 |
+
0.01925836753845215,
|
| 229 |
+
0.01904435157775879,
|
| 230 |
+
0.01919385528564453,
|
| 231 |
+
0.019499008178710937,
|
| 232 |
+
0.019355648040771483,
|
| 233 |
+
0.019351551055908203,
|
| 234 |
+
0.01900032043457031,
|
| 235 |
+
0.018953216552734374,
|
| 236 |
+
0.018940927505493164,
|
| 237 |
+
0.01904025650024414,
|
| 238 |
+
0.019204095840454103,
|
| 239 |
+
0.01922662353515625,
|
| 240 |
+
0.019422208786010742,
|
| 241 |
+
0.018926591873168946,
|
| 242 |
+
0.01901568031311035,
|
| 243 |
+
0.019122175216674805,
|
| 244 |
+
0.018938880920410156,
|
| 245 |
+
0.018948095321655273,
|
| 246 |
+
0.018944000244140623,
|
| 247 |
+
0.018949119567871094,
|
| 248 |
+
0.01906585693359375,
|
| 249 |
+
0.019503103256225587,
|
| 250 |
+
0.019121152877807617,
|
| 251 |
+
0.01923276710510254,
|
| 252 |
+
0.018907136917114258,
|
| 253 |
+
0.018950143814086915,
|
| 254 |
+
0.01906175994873047,
|
| 255 |
+
0.01903923225402832,
|
| 256 |
+
0.018949119567871094,
|
| 257 |
+
0.01928704071044922,
|
| 258 |
+
0.018940927505493164,
|
| 259 |
+
0.01918569564819336,
|
| 260 |
+
0.019370975494384764,
|
| 261 |
+
0.019112960815429687,
|
| 262 |
+
0.018886655807495118,
|
| 263 |
+
0.019123199462890626,
|
| 264 |
+
0.018989055633544923,
|
| 265 |
+
0.01899519920349121,
|
| 266 |
+
0.019078144073486326,
|
| 267 |
+
0.018881536483764647,
|
| 268 |
+
0.01902899169921875,
|
| 269 |
+
0.01920204734802246,
|
| 270 |
+
0.018955263137817382,
|
| 271 |
+
0.018910207748413087,
|
| 272 |
+
0.019104768753051758,
|
| 273 |
+
0.01888768005371094,
|
| 274 |
+
0.0189040641784668,
|
| 275 |
+
0.018925567626953126,
|
| 276 |
+
0.018911231994628908,
|
| 277 |
+
0.018956287384033203,
|
| 278 |
+
0.018965503692626954,
|
| 279 |
+
0.01887846374511719,
|
| 280 |
+
0.019146751403808594,
|
| 281 |
+
0.019148799896240236,
|
| 282 |
+
0.018911231994628908,
|
| 283 |
+
0.01886310386657715,
|
| 284 |
+
0.019086336135864256,
|
| 285 |
+
0.018916351318359375,
|
| 286 |
+
0.018897920608520507,
|
| 287 |
+
0.018980863571166993,
|
| 288 |
+
0.018914304733276367,
|
| 289 |
+
0.018880512237548826,
|
| 290 |
+
0.01904435157775879,
|
| 291 |
+
0.018956287384033203,
|
| 292 |
+
0.018963455200195312,
|
| 293 |
+
0.01903001594543457,
|
| 294 |
+
0.018946048736572265,
|
| 295 |
+
0.018923519134521484,
|
| 296 |
+
0.01923481559753418,
|
| 297 |
+
0.019208192825317383,
|
| 298 |
+
0.019269632339477538,
|
| 299 |
+
0.01924505615234375,
|
| 300 |
+
0.018972671508789063,
|
| 301 |
+
0.019162111282348633,
|
| 302 |
+
0.018888704299926756,
|
| 303 |
+
0.018898944854736328,
|
| 304 |
+
0.019104768753051758,
|
| 305 |
+
0.01904947280883789,
|
| 306 |
+
0.03890585708618164,
|
| 307 |
+
0.018766847610473633,
|
| 308 |
+
0.018736127853393555,
|
| 309 |
+
0.01887027168273926,
|
| 310 |
+
0.018767871856689454,
|
| 311 |
+
0.01882009506225586,
|
| 312 |
+
0.01880473518371582,
|
| 313 |
+
0.01879756736755371,
|
| 314 |
+
0.018719743728637696,
|
| 315 |
+
0.01882624053955078,
|
| 316 |
+
0.018775039672851563,
|
| 317 |
+
0.018748479843139647,
|
| 318 |
+
0.01878828811645508,
|
| 319 |
+
0.018815999984741212,
|
| 320 |
+
0.018876415252685547,
|
| 321 |
+
0.01918979263305664,
|
| 322 |
+
0.018927583694458006,
|
| 323 |
+
0.01882931137084961,
|
| 324 |
+
0.019009536743164062,
|
| 325 |
+
0.01900339126586914,
|
| 326 |
+
0.01901568031311035,
|
| 327 |
+
0.01900032043457031,
|
| 328 |
+
0.018977792739868164,
|
| 329 |
+
0.018984960556030273,
|
| 330 |
+
0.018968576431274413,
|
| 331 |
+
0.018890752792358398,
|
| 332 |
+
0.019169279098510742,
|
| 333 |
+
0.020189184188842774,
|
| 334 |
+
0.01944576072692871,
|
| 335 |
+
0.01901260757446289,
|
| 336 |
+
0.019500032424926757,
|
| 337 |
+
0.019194879531860352,
|
| 338 |
+
0.01879756736755371,
|
| 339 |
+
0.018946048736572265,
|
| 340 |
+
0.018926591873168946,
|
| 341 |
+
0.018807807922363282,
|
| 342 |
+
0.019042303085327148,
|
| 343 |
+
0.019054592132568358,
|
| 344 |
+
0.01885798454284668,
|
| 345 |
+
0.018808832168579103,
|
| 346 |
+
0.01887027168273926,
|
| 347 |
+
0.01883443260192871,
|
| 348 |
+
0.018963455200195312,
|
| 349 |
+
0.018815999984741212,
|
| 350 |
+
0.018988031387329102,
|
| 351 |
+
0.019215360641479492,
|
| 352 |
+
0.018998271942138673,
|
| 353 |
+
0.019390464782714844,
|
| 354 |
+
0.019503103256225587,
|
| 355 |
+
0.01904947280883789,
|
| 356 |
+
0.019386367797851564,
|
| 357 |
+
0.01904435157775879,
|
| 358 |
+
0.019102720260620116,
|
| 359 |
+
0.018963455200195312,
|
| 360 |
+
0.01880575942993164,
|
| 361 |
+
0.018900991439819336,
|
| 362 |
+
0.01921331214904785,
|
| 363 |
+
0.019300352096557616,
|
| 364 |
+
0.019203071594238282,
|
| 365 |
+
0.019346431732177736,
|
| 366 |
+
0.018941951751708985,
|
| 367 |
+
0.01923583984375,
|
| 368 |
+
0.01988096046447754,
|
| 369 |
+
0.019552255630493166,
|
| 370 |
+
0.019094528198242186,
|
| 371 |
+
0.019408895492553712,
|
| 372 |
+
0.019117055892944337,
|
| 373 |
+
0.019009536743164062,
|
| 374 |
+
0.01923174476623535,
|
| 375 |
+
0.019137535095214844,
|
| 376 |
+
0.019136512756347656,
|
| 377 |
+
0.0194467830657959,
|
| 378 |
+
0.01925836753845215,
|
| 379 |
+
0.019307519912719725,
|
| 380 |
+
0.01948569679260254,
|
| 381 |
+
0.01906380844116211,
|
| 382 |
+
0.019264511108398438,
|
| 383 |
+
0.019100671768188478,
|
| 384 |
+
0.01908121681213379,
|
| 385 |
+
0.019536895751953123,
|
| 386 |
+
0.01922662353515625,
|
| 387 |
+
0.019066879272460938,
|
| 388 |
+
0.018910207748413087,
|
| 389 |
+
0.019312639236450196,
|
| 390 |
+
0.018892799377441406,
|
| 391 |
+
0.01887027168273926,
|
| 392 |
+
0.019280895233154297,
|
| 393 |
+
0.02001919937133789,
|
| 394 |
+
0.020281343460083007,
|
| 395 |
+
0.019587072372436523,
|
| 396 |
+
0.0196997127532959,
|
| 397 |
+
0.019619840621948242,
|
| 398 |
+
0.019168256759643554,
|
| 399 |
+
0.01965670394897461,
|
| 400 |
+
0.01944268798828125,
|
| 401 |
+
0.019104768753051758,
|
| 402 |
+
0.019803136825561524,
|
| 403 |
+
0.01944883155822754,
|
| 404 |
+
0.019103744506835937,
|
| 405 |
+
0.019396608352661132,
|
| 406 |
+
0.01983283233642578,
|
| 407 |
+
0.019080192565917968,
|
| 408 |
+
0.019176448822021484,
|
| 409 |
+
0.019509248733520508,
|
| 410 |
+
0.01924198341369629,
|
| 411 |
+
0.018942975997924806,
|
| 412 |
+
0.019176448822021484,
|
| 413 |
+
0.018963455200195312,
|
| 414 |
+
0.018881536483764647,
|
| 415 |
+
0.019212287902832033,
|
| 416 |
+
0.018896896362304686,
|
| 417 |
+
0.018965503692626954,
|
| 418 |
+
0.019358720779418945,
|
| 419 |
+
0.01940787124633789,
|
| 420 |
+
0.01922969627380371,
|
| 421 |
+
0.019195903778076173,
|
| 422 |
+
0.019095552444458007,
|
| 423 |
+
0.019178495407104493,
|
| 424 |
+
0.01947750473022461,
|
| 425 |
+
0.019122175216674805,
|
| 426 |
+
0.01909760093688965,
|
| 427 |
+
0.018921472549438476,
|
| 428 |
+
0.01903206443786621,
|
| 429 |
+
0.019474431991577147,
|
| 430 |
+
0.01920614433288574,
|
| 431 |
+
0.01921331214904785,
|
| 432 |
+
0.019524608612060547
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 51.952743764020816
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.04137660789489746,
|
| 15 |
+
"mean": 0.02068830394744873,
|
| 16 |
+
"stdev": 0.000961264610290528,
|
| 17 |
+
"p50": 0.02068830394744873,
|
| 18 |
+
"p90": 0.021457315635681155,
|
| 19 |
+
"p95": 0.021553442096710205,
|
| 20 |
+
"p99": 0.02163034326553345,
|
| 21 |
+
"values": [
|
| 22 |
+
0.02164956855773926,
|
| 23 |
+
0.019727039337158202
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 338.35543105809967
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1720.471552,
|
| 37 |
+
"max_global_vram": 6795.296768,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 6148.849664,
|
| 40 |
+
"max_allocated": 5034.577408
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 4.871063720703125,
|
| 46 |
+
"mean": 2.4355318603515625,
|
| 47 |
+
"stdev": 0.003218872070312351,
|
| 48 |
+
"p50": 2.4355318603515625,
|
| 49 |
+
"p90": 2.4381069580078125,
|
| 50 |
+
"p95": 2.4384288452148435,
|
| 51 |
+
"p99": 2.4386863549804687,
|
| 52 |
+
"values": [
|
| 53 |
+
2.438750732421875,
|
| 54 |
+
2.43231298828125
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 52.1446678926499
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 4.869810171127319,
|
| 70 |
+
"mean": 0.019248261545957785,
|
| 71 |
+
"stdev": 0.0013118284299616808,
|
| 72 |
+
"p50": 0.019086336135864256,
|
| 73 |
+
"p90": 0.01948426284790039,
|
| 74 |
+
"p95": 0.01967513656616211,
|
| 75 |
+
"p99": 0.02197020652770996,
|
| 76 |
+
"values": [
|
| 77 |
+
0.02191564750671387,
|
| 78 |
+
0.022107135772705077,
|
| 79 |
+
0.022029312133789062,
|
| 80 |
+
0.021703680038452147,
|
| 81 |
+
0.01928704071044922,
|
| 82 |
+
0.01882316780090332,
|
| 83 |
+
0.01906585693359375,
|
| 84 |
+
0.018897920608520507,
|
| 85 |
+
0.018925567626953126,
|
| 86 |
+
0.018807807922363282,
|
| 87 |
+
0.0190248966217041,
|
| 88 |
+
0.019083295822143555,
|
| 89 |
+
0.018943967819213866,
|
| 90 |
+
0.019145727157592773,
|
| 91 |
+
0.01906483268737793,
|
| 92 |
+
0.019148799896240236,
|
| 93 |
+
0.019354623794555666,
|
| 94 |
+
0.019478527069091797,
|
| 95 |
+
0.019270687103271483,
|
| 96 |
+
0.01912112045288086,
|
| 97 |
+
0.01918976020812988,
|
| 98 |
+
0.01922559928894043,
|
| 99 |
+
0.01982156753540039,
|
| 100 |
+
0.01929113578796387,
|
| 101 |
+
0.019281919479370118,
|
| 102 |
+
0.01922969627380371,
|
| 103 |
+
0.019357696533203125,
|
| 104 |
+
0.01923993682861328,
|
| 105 |
+
0.01925529670715332,
|
| 106 |
+
0.01925017547607422,
|
| 107 |
+
0.01920102310180664,
|
| 108 |
+
0.019112960815429687,
|
| 109 |
+
0.01923788833618164,
|
| 110 |
+
0.019335168838500977,
|
| 111 |
+
0.019340288162231444,
|
| 112 |
+
0.019344383239746094,
|
| 113 |
+
0.01965875244140625,
|
| 114 |
+
0.01947648048400879,
|
| 115 |
+
0.0188723201751709,
|
| 116 |
+
0.019168256759643554,
|
| 117 |
+
0.018969600677490234,
|
| 118 |
+
0.019084287643432618,
|
| 119 |
+
0.01943449592590332,
|
| 120 |
+
0.01901055908203125,
|
| 121 |
+
0.018790399551391602,
|
| 122 |
+
0.01903513526916504,
|
| 123 |
+
0.01879654312133789,
|
| 124 |
+
0.01924198341369629,
|
| 125 |
+
0.01925836753845215,
|
| 126 |
+
0.01904435157775879,
|
| 127 |
+
0.01919385528564453,
|
| 128 |
+
0.019499008178710937,
|
| 129 |
+
0.019355648040771483,
|
| 130 |
+
0.019351551055908203,
|
| 131 |
+
0.01900032043457031,
|
| 132 |
+
0.018953216552734374,
|
| 133 |
+
0.018940927505493164,
|
| 134 |
+
0.01904025650024414,
|
| 135 |
+
0.019204095840454103,
|
| 136 |
+
0.01922662353515625,
|
| 137 |
+
0.019422208786010742,
|
| 138 |
+
0.018926591873168946,
|
| 139 |
+
0.01901568031311035,
|
| 140 |
+
0.019122175216674805,
|
| 141 |
+
0.018938880920410156,
|
| 142 |
+
0.018948095321655273,
|
| 143 |
+
0.018944000244140623,
|
| 144 |
+
0.018949119567871094,
|
| 145 |
+
0.01906585693359375,
|
| 146 |
+
0.019503103256225587,
|
| 147 |
+
0.019121152877807617,
|
| 148 |
+
0.01923276710510254,
|
| 149 |
+
0.018907136917114258,
|
| 150 |
+
0.018950143814086915,
|
| 151 |
+
0.01906175994873047,
|
| 152 |
+
0.01903923225402832,
|
| 153 |
+
0.018949119567871094,
|
| 154 |
+
0.01928704071044922,
|
| 155 |
+
0.018940927505493164,
|
| 156 |
+
0.01918569564819336,
|
| 157 |
+
0.019370975494384764,
|
| 158 |
+
0.019112960815429687,
|
| 159 |
+
0.018886655807495118,
|
| 160 |
+
0.019123199462890626,
|
| 161 |
+
0.018989055633544923,
|
| 162 |
+
0.01899519920349121,
|
| 163 |
+
0.019078144073486326,
|
| 164 |
+
0.018881536483764647,
|
| 165 |
+
0.01902899169921875,
|
| 166 |
+
0.01920204734802246,
|
| 167 |
+
0.018955263137817382,
|
| 168 |
+
0.018910207748413087,
|
| 169 |
+
0.019104768753051758,
|
| 170 |
+
0.01888768005371094,
|
| 171 |
+
0.0189040641784668,
|
| 172 |
+
0.018925567626953126,
|
| 173 |
+
0.018911231994628908,
|
| 174 |
+
0.018956287384033203,
|
| 175 |
+
0.018965503692626954,
|
| 176 |
+
0.01887846374511719,
|
| 177 |
+
0.019146751403808594,
|
| 178 |
+
0.019148799896240236,
|
| 179 |
+
0.018911231994628908,
|
| 180 |
+
0.01886310386657715,
|
| 181 |
+
0.019086336135864256,
|
| 182 |
+
0.018916351318359375,
|
| 183 |
+
0.018897920608520507,
|
| 184 |
+
0.018980863571166993,
|
| 185 |
+
0.018914304733276367,
|
| 186 |
+
0.018880512237548826,
|
| 187 |
+
0.01904435157775879,
|
| 188 |
+
0.018956287384033203,
|
| 189 |
+
0.018963455200195312,
|
| 190 |
+
0.01903001594543457,
|
| 191 |
+
0.018946048736572265,
|
| 192 |
+
0.018923519134521484,
|
| 193 |
+
0.01923481559753418,
|
| 194 |
+
0.019208192825317383,
|
| 195 |
+
0.019269632339477538,
|
| 196 |
+
0.01924505615234375,
|
| 197 |
+
0.018972671508789063,
|
| 198 |
+
0.019162111282348633,
|
| 199 |
+
0.018888704299926756,
|
| 200 |
+
0.018898944854736328,
|
| 201 |
+
0.019104768753051758,
|
| 202 |
+
0.01904947280883789,
|
| 203 |
+
0.03890585708618164,
|
| 204 |
+
0.018766847610473633,
|
| 205 |
+
0.018736127853393555,
|
| 206 |
+
0.01887027168273926,
|
| 207 |
+
0.018767871856689454,
|
| 208 |
+
0.01882009506225586,
|
| 209 |
+
0.01880473518371582,
|
| 210 |
+
0.01879756736755371,
|
| 211 |
+
0.018719743728637696,
|
| 212 |
+
0.01882624053955078,
|
| 213 |
+
0.018775039672851563,
|
| 214 |
+
0.018748479843139647,
|
| 215 |
+
0.01878828811645508,
|
| 216 |
+
0.018815999984741212,
|
| 217 |
+
0.018876415252685547,
|
| 218 |
+
0.01918979263305664,
|
| 219 |
+
0.018927583694458006,
|
| 220 |
+
0.01882931137084961,
|
| 221 |
+
0.019009536743164062,
|
| 222 |
+
0.01900339126586914,
|
| 223 |
+
0.01901568031311035,
|
| 224 |
+
0.01900032043457031,
|
| 225 |
+
0.018977792739868164,
|
| 226 |
+
0.018984960556030273,
|
| 227 |
+
0.018968576431274413,
|
| 228 |
+
0.018890752792358398,
|
| 229 |
+
0.019169279098510742,
|
| 230 |
+
0.020189184188842774,
|
| 231 |
+
0.01944576072692871,
|
| 232 |
+
0.01901260757446289,
|
| 233 |
+
0.019500032424926757,
|
| 234 |
+
0.019194879531860352,
|
| 235 |
+
0.01879756736755371,
|
| 236 |
+
0.018946048736572265,
|
| 237 |
+
0.018926591873168946,
|
| 238 |
+
0.018807807922363282,
|
| 239 |
+
0.019042303085327148,
|
| 240 |
+
0.019054592132568358,
|
| 241 |
+
0.01885798454284668,
|
| 242 |
+
0.018808832168579103,
|
| 243 |
+
0.01887027168273926,
|
| 244 |
+
0.01883443260192871,
|
| 245 |
+
0.018963455200195312,
|
| 246 |
+
0.018815999984741212,
|
| 247 |
+
0.018988031387329102,
|
| 248 |
+
0.019215360641479492,
|
| 249 |
+
0.018998271942138673,
|
| 250 |
+
0.019390464782714844,
|
| 251 |
+
0.019503103256225587,
|
| 252 |
+
0.01904947280883789,
|
| 253 |
+
0.019386367797851564,
|
| 254 |
+
0.01904435157775879,
|
| 255 |
+
0.019102720260620116,
|
| 256 |
+
0.018963455200195312,
|
| 257 |
+
0.01880575942993164,
|
| 258 |
+
0.018900991439819336,
|
| 259 |
+
0.01921331214904785,
|
| 260 |
+
0.019300352096557616,
|
| 261 |
+
0.019203071594238282,
|
| 262 |
+
0.019346431732177736,
|
| 263 |
+
0.018941951751708985,
|
| 264 |
+
0.01923583984375,
|
| 265 |
+
0.01988096046447754,
|
| 266 |
+
0.019552255630493166,
|
| 267 |
+
0.019094528198242186,
|
| 268 |
+
0.019408895492553712,
|
| 269 |
+
0.019117055892944337,
|
| 270 |
+
0.019009536743164062,
|
| 271 |
+
0.01923174476623535,
|
| 272 |
+
0.019137535095214844,
|
| 273 |
+
0.019136512756347656,
|
| 274 |
+
0.0194467830657959,
|
| 275 |
+
0.01925836753845215,
|
| 276 |
+
0.019307519912719725,
|
| 277 |
+
0.01948569679260254,
|
| 278 |
+
0.01906380844116211,
|
| 279 |
+
0.019264511108398438,
|
| 280 |
+
0.019100671768188478,
|
| 281 |
+
0.01908121681213379,
|
| 282 |
+
0.019536895751953123,
|
| 283 |
+
0.01922662353515625,
|
| 284 |
+
0.019066879272460938,
|
| 285 |
+
0.018910207748413087,
|
| 286 |
+
0.019312639236450196,
|
| 287 |
+
0.018892799377441406,
|
| 288 |
+
0.01887027168273926,
|
| 289 |
+
0.019280895233154297,
|
| 290 |
+
0.02001919937133789,
|
| 291 |
+
0.020281343460083007,
|
| 292 |
+
0.019587072372436523,
|
| 293 |
+
0.0196997127532959,
|
| 294 |
+
0.019619840621948242,
|
| 295 |
+
0.019168256759643554,
|
| 296 |
+
0.01965670394897461,
|
| 297 |
+
0.01944268798828125,
|
| 298 |
+
0.019104768753051758,
|
| 299 |
+
0.019803136825561524,
|
| 300 |
+
0.01944883155822754,
|
| 301 |
+
0.019103744506835937,
|
| 302 |
+
0.019396608352661132,
|
| 303 |
+
0.01983283233642578,
|
| 304 |
+
0.019080192565917968,
|
| 305 |
+
0.019176448822021484,
|
| 306 |
+
0.019509248733520508,
|
| 307 |
+
0.01924198341369629,
|
| 308 |
+
0.018942975997924806,
|
| 309 |
+
0.019176448822021484,
|
| 310 |
+
0.018963455200195312,
|
| 311 |
+
0.018881536483764647,
|
| 312 |
+
0.019212287902832033,
|
| 313 |
+
0.018896896362304686,
|
| 314 |
+
0.018965503692626954,
|
| 315 |
+
0.019358720779418945,
|
| 316 |
+
0.01940787124633789,
|
| 317 |
+
0.01922969627380371,
|
| 318 |
+
0.019195903778076173,
|
| 319 |
+
0.019095552444458007,
|
| 320 |
+
0.019178495407104493,
|
| 321 |
+
0.01947750473022461,
|
| 322 |
+
0.019122175216674805,
|
| 323 |
+
0.01909760093688965,
|
| 324 |
+
0.018921472549438476,
|
| 325 |
+
0.01903206443786621,
|
| 326 |
+
0.019474431991577147,
|
| 327 |
+
0.01920614433288574,
|
| 328 |
+
0.01921331214904785,
|
| 329 |
+
0.019524608612060547
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 51.952743764020816
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/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": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 4 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02068830394744873,
|
| 7 |
+
"prefill.throughput.value": 338.35543105809967,
|
| 8 |
+
"decode.latency.mean": 2.4355318603515625,
|
| 9 |
+
"decode.throughput.value": 52.1446678926499,
|
| 10 |
+
"per_token.latency.mean": 0.019248261545957785,
|
| 11 |
+
"per_token.throughput.value": 51.952743764020816
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: null
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 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/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=null
|
| 3 |
+
- backend.torch_compile=True
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[ISOLATED-PROCESS][[36m2024-06-19 02:34:57,630[0m][[34mprocess[0m][[31mERROR[0m] - + Sending traceback to main process[0m
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": null,
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: false
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.11.2.dev0
|
| 91 |
+
peft_commit: null
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,back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 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 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/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=False
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1753.98912,
|
| 109 |
+
"max_global_vram": 6793.199616,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 6146.752512,
|
| 112 |
+
"max_allocated": 5036.936192
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.051860095977783204,
|
| 118 |
+
"mean": 0.025930047988891602,
|
| 119 |
+
"stdev": 0.003861440658569335,
|
| 120 |
+
"p50": 0.025930047988891602,
|
| 121 |
+
"p90": 0.02901920051574707,
|
| 122 |
+
"p95": 0.029405344581604004,
|
| 123 |
+
"p99": 0.02971425983428955,
|
| 124 |
+
"values": [
|
| 125 |
+
0.029791488647460937,
|
| 126 |
+
0.022068607330322267
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 269.95707848280074
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 1754.001408,
|
| 140 |
+
"max_global_vram": 6793.199616,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 6146.752512,
|
| 143 |
+
"max_allocated": 5036.936704
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 5.20590576171875,
|
| 149 |
+
"mean": 2.602952880859375,
|
| 150 |
+
"stdev": 0.022719726562499876,
|
| 151 |
+
"p50": 2.602952880859375,
|
| 152 |
+
"p90": 2.621128662109375,
|
| 153 |
+
"p95": 2.6234006347656247,
|
| 154 |
+
"p99": 2.625218212890625,
|
| 155 |
+
"values": [
|
| 156 |
+
2.625672607421875,
|
| 157 |
+
2.580233154296875
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 48.79074105946569
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 5.205692440032958,
|
| 173 |
+
"mean": 0.020575859446770588,
|
| 174 |
+
"stdev": 0.0015052639092512589,
|
| 175 |
+
"p50": 0.020297727584838866,
|
| 176 |
+
"p90": 0.021364122009277346,
|
| 177 |
+
"p95": 0.021879602813720703,
|
| 178 |
+
"p99": 0.02286710784912108,
|
| 179 |
+
"values": [
|
| 180 |
+
0.023555072784423828,
|
| 181 |
+
0.022115327835083007,
|
| 182 |
+
0.021965824127197265,
|
| 183 |
+
0.02192793655395508,
|
| 184 |
+
0.021755903244018555,
|
| 185 |
+
0.021876735687255858,
|
| 186 |
+
0.021615615844726564,
|
| 187 |
+
0.021736448287963867,
|
| 188 |
+
0.021910528182983398,
|
| 189 |
+
0.022040576934814454,
|
| 190 |
+
0.02188390350341797,
|
| 191 |
+
0.021884927749633788,
|
| 192 |
+
0.021164031982421876,
|
| 193 |
+
0.021154815673828126,
|
| 194 |
+
0.020999168395996092,
|
| 195 |
+
0.02089472007751465,
|
| 196 |
+
0.020786176681518553,
|
| 197 |
+
0.021013504028320314,
|
| 198 |
+
0.020700159072875975,
|
| 199 |
+
0.02068889617919922,
|
| 200 |
+
0.02086092758178711,
|
| 201 |
+
0.02164121627807617,
|
| 202 |
+
0.021696512222290038,
|
| 203 |
+
0.021708799362182618,
|
| 204 |
+
0.022232063293457033,
|
| 205 |
+
0.0221265926361084,
|
| 206 |
+
0.022041599273681642,
|
| 207 |
+
0.020962303161621093,
|
| 208 |
+
0.020975616455078124,
|
| 209 |
+
0.020715520858764647,
|
| 210 |
+
0.020956159591674805,
|
| 211 |
+
0.020922367095947265,
|
| 212 |
+
0.02106265640258789,
|
| 213 |
+
0.02067967987060547,
|
| 214 |
+
0.02088652801513672,
|
| 215 |
+
0.020802560806274413,
|
| 216 |
+
0.020757503509521484,
|
| 217 |
+
0.02065510368347168,
|
| 218 |
+
0.020738048553466795,
|
| 219 |
+
0.02070528030395508,
|
| 220 |
+
0.020602880477905275,
|
| 221 |
+
0.02068377685546875,
|
| 222 |
+
0.021164031982421876,
|
| 223 |
+
0.024213504791259766,
|
| 224 |
+
0.02149478340148926,
|
| 225 |
+
0.020566015243530272,
|
| 226 |
+
0.020513792037963868,
|
| 227 |
+
0.021328895568847657,
|
| 228 |
+
0.021816320419311523,
|
| 229 |
+
0.021372928619384765,
|
| 230 |
+
0.021223424911499023,
|
| 231 |
+
0.021246976852416992,
|
| 232 |
+
0.020215808868408205,
|
| 233 |
+
0.020075519561767577,
|
| 234 |
+
0.02006937599182129,
|
| 235 |
+
0.0202926082611084,
|
| 236 |
+
0.02029363250732422,
|
| 237 |
+
0.02023321533203125,
|
| 238 |
+
0.020279296875,
|
| 239 |
+
0.020296703338623046,
|
| 240 |
+
0.020320255279541014,
|
| 241 |
+
0.02026905632019043,
|
| 242 |
+
0.020348928451538087,
|
| 243 |
+
0.020299776077270508,
|
| 244 |
+
0.020297727584838866,
|
| 245 |
+
0.02029465675354004,
|
| 246 |
+
0.020151296615600587,
|
| 247 |
+
0.02009600067138672,
|
| 248 |
+
0.020121599197387697,
|
| 249 |
+
0.0200949764251709,
|
| 250 |
+
0.02005401611328125,
|
| 251 |
+
0.02017791938781738,
|
| 252 |
+
0.020312063217163084,
|
| 253 |
+
0.020068351745605468,
|
| 254 |
+
0.020092927932739257,
|
| 255 |
+
0.02007961654663086,
|
| 256 |
+
0.020091903686523437,
|
| 257 |
+
0.020205568313598633,
|
| 258 |
+
0.020307968139648438,
|
| 259 |
+
0.020316160202026368,
|
| 260 |
+
0.020108287811279296,
|
| 261 |
+
0.02007347106933594,
|
| 262 |
+
0.020107263565063475,
|
| 263 |
+
0.02005299186706543,
|
| 264 |
+
0.020067327499389647,
|
| 265 |
+
0.02007961654663086,
|
| 266 |
+
0.020105215072631837,
|
| 267 |
+
0.02007347106933594,
|
| 268 |
+
0.020076543807983398,
|
| 269 |
+
0.02007859230041504,
|
| 270 |
+
0.02011955261230469,
|
| 271 |
+
0.02010419273376465,
|
| 272 |
+
0.020141056060791016,
|
| 273 |
+
0.020237312316894532,
|
| 274 |
+
0.02030182456970215,
|
| 275 |
+
0.020340736389160157,
|
| 276 |
+
0.02030080032348633,
|
| 277 |
+
0.02026905632019043,
|
| 278 |
+
0.02028339195251465,
|
| 279 |
+
0.020239360809326173,
|
| 280 |
+
0.020273151397705077,
|
| 281 |
+
0.02024448013305664,
|
| 282 |
+
0.02028544044494629,
|
| 283 |
+
0.020133888244628906,
|
| 284 |
+
0.02009702491760254,
|
| 285 |
+
0.020105215072631837,
|
| 286 |
+
0.020099071502685546,
|
| 287 |
+
0.020065280914306642,
|
| 288 |
+
0.02007040023803711,
|
| 289 |
+
0.020083711624145507,
|
| 290 |
+
0.0200898551940918,
|
| 291 |
+
0.020116479873657226,
|
| 292 |
+
0.020118528366088868,
|
| 293 |
+
0.02011136054992676,
|
| 294 |
+
0.02026188850402832,
|
| 295 |
+
0.020335615158081053,
|
| 296 |
+
0.020162559509277343,
|
| 297 |
+
0.020101119995117187,
|
| 298 |
+
0.020093952178955078,
|
| 299 |
+
0.020091903686523437,
|
| 300 |
+
0.02007244873046875,
|
| 301 |
+
0.02006630325317383,
|
| 302 |
+
0.020133888244628906,
|
| 303 |
+
0.020008960723876954,
|
| 304 |
+
0.02007244873046875,
|
| 305 |
+
0.020118528366088868,
|
| 306 |
+
0.042534912109375,
|
| 307 |
+
0.020374528884887694,
|
| 308 |
+
0.020324352264404297,
|
| 309 |
+
0.020324352264404297,
|
| 310 |
+
0.020322303771972656,
|
| 311 |
+
0.02032640075683594,
|
| 312 |
+
0.02029363250732422,
|
| 313 |
+
0.020306943893432617,
|
| 314 |
+
0.020328447341918944,
|
| 315 |
+
0.020340736389160157,
|
| 316 |
+
0.02026905632019043,
|
| 317 |
+
0.02029363250732422,
|
| 318 |
+
0.020313087463378905,
|
| 319 |
+
0.02029363250732422,
|
| 320 |
+
0.020395008087158203,
|
| 321 |
+
0.020329471588134765,
|
| 322 |
+
0.020323328018188477,
|
| 323 |
+
0.020298751831054687,
|
| 324 |
+
0.020343807220458983,
|
| 325 |
+
0.02026905632019043,
|
| 326 |
+
0.020937728881835937,
|
| 327 |
+
0.02128281593322754,
|
| 328 |
+
0.020931583404541015,
|
| 329 |
+
0.02079539108276367,
|
| 330 |
+
0.020143104553222657,
|
| 331 |
+
0.020102144241333008,
|
| 332 |
+
0.020126720428466797,
|
| 333 |
+
0.020206592559814454,
|
| 334 |
+
0.020306943893432617,
|
| 335 |
+
0.02024550437927246,
|
| 336 |
+
0.020307968139648438,
|
| 337 |
+
0.020248575210571287,
|
| 338 |
+
0.020308000564575195,
|
| 339 |
+
0.02031305694580078,
|
| 340 |
+
0.02028339195251465,
|
| 341 |
+
0.02030182456970215,
|
| 342 |
+
0.020130815505981444,
|
| 343 |
+
0.020092927932739257,
|
| 344 |
+
0.02022400093078613,
|
| 345 |
+
0.02007040023803711,
|
| 346 |
+
0.020155391693115234,
|
| 347 |
+
0.020074495315551756,
|
| 348 |
+
0.020101119995117187,
|
| 349 |
+
0.02007244873046875,
|
| 350 |
+
0.0201308479309082,
|
| 351 |
+
0.02012156867980957,
|
| 352 |
+
0.020108287811279296,
|
| 353 |
+
0.020207616806030275,
|
| 354 |
+
0.02030182456970215,
|
| 355 |
+
0.02025984001159668,
|
| 356 |
+
0.02011238479614258,
|
| 357 |
+
0.02009702491760254,
|
| 358 |
+
0.020098079681396486,
|
| 359 |
+
0.02006729507446289,
|
| 360 |
+
0.020107263565063475,
|
| 361 |
+
0.02008064079284668,
|
| 362 |
+
0.02008883285522461,
|
| 363 |
+
0.020109312057495117,
|
| 364 |
+
0.020092927932739257,
|
| 365 |
+
0.02007859230041504,
|
| 366 |
+
0.02004991912841797,
|
| 367 |
+
0.020063232421875,
|
| 368 |
+
0.02012057685852051,
|
| 369 |
+
0.020131839752197265,
|
| 370 |
+
0.02009702491760254,
|
| 371 |
+
0.020093984603881836,
|
| 372 |
+
0.02011952018737793,
|
| 373 |
+
0.020100095748901366,
|
| 374 |
+
0.020304895401000975,
|
| 375 |
+
0.020319232940673827,
|
| 376 |
+
0.020279296875,
|
| 377 |
+
0.020366336822509764,
|
| 378 |
+
0.020307968139648438,
|
| 379 |
+
0.020368383407592772,
|
| 380 |
+
0.020313087463378905,
|
| 381 |
+
0.020356128692626953,
|
| 382 |
+
0.02034787178039551,
|
| 383 |
+
0.020357120513916017,
|
| 384 |
+
0.020349952697753908,
|
| 385 |
+
0.020339712142944336,
|
| 386 |
+
0.02064793586730957,
|
| 387 |
+
0.020374528884887694,
|
| 388 |
+
0.020304895401000975,
|
| 389 |
+
0.020281343460083007,
|
| 390 |
+
0.020236352920532226,
|
| 391 |
+
0.02035500717163086,
|
| 392 |
+
0.02028646469116211,
|
| 393 |
+
0.020335615158081053,
|
| 394 |
+
0.02030182456970215,
|
| 395 |
+
0.020356096267700196,
|
| 396 |
+
0.02030182456970215,
|
| 397 |
+
0.02167296028137207,
|
| 398 |
+
0.021374975204467773,
|
| 399 |
+
0.02022400093078613,
|
| 400 |
+
0.020378623962402344,
|
| 401 |
+
0.020365312576293947,
|
| 402 |
+
0.020358144760131838,
|
| 403 |
+
0.020373504638671876,
|
| 404 |
+
0.020338687896728515,
|
| 405 |
+
0.020361215591430663,
|
| 406 |
+
0.020381696701049806,
|
| 407 |
+
0.020343807220458983,
|
| 408 |
+
0.02023628807067871,
|
| 409 |
+
0.020144128799438478,
|
| 410 |
+
0.02007347106933594,
|
| 411 |
+
0.020156415939331054,
|
| 412 |
+
0.020132863998413086,
|
| 413 |
+
0.020386816024780274,
|
| 414 |
+
0.020139007568359374,
|
| 415 |
+
0.020126720428466797,
|
| 416 |
+
0.020146175384521483,
|
| 417 |
+
0.020355072021484375,
|
| 418 |
+
0.020332544326782227,
|
| 419 |
+
0.02011238479614258,
|
| 420 |
+
0.0200949764251709,
|
| 421 |
+
0.02012876892089844,
|
| 422 |
+
0.020115455627441405,
|
| 423 |
+
0.020122623443603514,
|
| 424 |
+
0.02028441619873047,
|
| 425 |
+
0.021400575637817384,
|
| 426 |
+
0.021150720596313476,
|
| 427 |
+
0.021133312225341795,
|
| 428 |
+
0.021090303421020508,
|
| 429 |
+
0.020296703338623046,
|
| 430 |
+
0.020340736389160157,
|
| 431 |
+
0.020324352264404297,
|
| 432 |
+
0.020340736389160157
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 48.60064302961359
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log
ADDED
|
File without changes
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": false,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1753.98912,
|
| 6 |
+
"max_global_vram": 6793.199616,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 6146.752512,
|
| 9 |
+
"max_allocated": 5036.936192
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.051860095977783204,
|
| 15 |
+
"mean": 0.025930047988891602,
|
| 16 |
+
"stdev": 0.003861440658569335,
|
| 17 |
+
"p50": 0.025930047988891602,
|
| 18 |
+
"p90": 0.02901920051574707,
|
| 19 |
+
"p95": 0.029405344581604004,
|
| 20 |
+
"p99": 0.02971425983428955,
|
| 21 |
+
"values": [
|
| 22 |
+
0.029791488647460937,
|
| 23 |
+
0.022068607330322267
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 269.95707848280074
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 1754.001408,
|
| 37 |
+
"max_global_vram": 6793.199616,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 6146.752512,
|
| 40 |
+
"max_allocated": 5036.936704
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 5.20590576171875,
|
| 46 |
+
"mean": 2.602952880859375,
|
| 47 |
+
"stdev": 0.022719726562499876,
|
| 48 |
+
"p50": 2.602952880859375,
|
| 49 |
+
"p90": 2.621128662109375,
|
| 50 |
+
"p95": 2.6234006347656247,
|
| 51 |
+
"p99": 2.625218212890625,
|
| 52 |
+
"values": [
|
| 53 |
+
2.625672607421875,
|
| 54 |
+
2.580233154296875
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 48.79074105946569
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 5.205692440032958,
|
| 70 |
+
"mean": 0.020575859446770588,
|
| 71 |
+
"stdev": 0.0015052639092512589,
|
| 72 |
+
"p50": 0.020297727584838866,
|
| 73 |
+
"p90": 0.021364122009277346,
|
| 74 |
+
"p95": 0.021879602813720703,
|
| 75 |
+
"p99": 0.02286710784912108,
|
| 76 |
+
"values": [
|
| 77 |
+
0.023555072784423828,
|
| 78 |
+
0.022115327835083007,
|
| 79 |
+
0.021965824127197265,
|
| 80 |
+
0.02192793655395508,
|
| 81 |
+
0.021755903244018555,
|
| 82 |
+
0.021876735687255858,
|
| 83 |
+
0.021615615844726564,
|
| 84 |
+
0.021736448287963867,
|
| 85 |
+
0.021910528182983398,
|
| 86 |
+
0.022040576934814454,
|
| 87 |
+
0.02188390350341797,
|
| 88 |
+
0.021884927749633788,
|
| 89 |
+
0.021164031982421876,
|
| 90 |
+
0.021154815673828126,
|
| 91 |
+
0.020999168395996092,
|
| 92 |
+
0.02089472007751465,
|
| 93 |
+
0.020786176681518553,
|
| 94 |
+
0.021013504028320314,
|
| 95 |
+
0.020700159072875975,
|
| 96 |
+
0.02068889617919922,
|
| 97 |
+
0.02086092758178711,
|
| 98 |
+
0.02164121627807617,
|
| 99 |
+
0.021696512222290038,
|
| 100 |
+
0.021708799362182618,
|
| 101 |
+
0.022232063293457033,
|
| 102 |
+
0.0221265926361084,
|
| 103 |
+
0.022041599273681642,
|
| 104 |
+
0.020962303161621093,
|
| 105 |
+
0.020975616455078124,
|
| 106 |
+
0.020715520858764647,
|
| 107 |
+
0.020956159591674805,
|
| 108 |
+
0.020922367095947265,
|
| 109 |
+
0.02106265640258789,
|
| 110 |
+
0.02067967987060547,
|
| 111 |
+
0.02088652801513672,
|
| 112 |
+
0.020802560806274413,
|
| 113 |
+
0.020757503509521484,
|
| 114 |
+
0.02065510368347168,
|
| 115 |
+
0.020738048553466795,
|
| 116 |
+
0.02070528030395508,
|
| 117 |
+
0.020602880477905275,
|
| 118 |
+
0.02068377685546875,
|
| 119 |
+
0.021164031982421876,
|
| 120 |
+
0.024213504791259766,
|
| 121 |
+
0.02149478340148926,
|
| 122 |
+
0.020566015243530272,
|
| 123 |
+
0.020513792037963868,
|
| 124 |
+
0.021328895568847657,
|
| 125 |
+
0.021816320419311523,
|
| 126 |
+
0.021372928619384765,
|
| 127 |
+
0.021223424911499023,
|
| 128 |
+
0.021246976852416992,
|
| 129 |
+
0.020215808868408205,
|
| 130 |
+
0.020075519561767577,
|
| 131 |
+
0.02006937599182129,
|
| 132 |
+
0.0202926082611084,
|
| 133 |
+
0.02029363250732422,
|
| 134 |
+
0.02023321533203125,
|
| 135 |
+
0.020279296875,
|
| 136 |
+
0.020296703338623046,
|
| 137 |
+
0.020320255279541014,
|
| 138 |
+
0.02026905632019043,
|
| 139 |
+
0.020348928451538087,
|
| 140 |
+
0.020299776077270508,
|
| 141 |
+
0.020297727584838866,
|
| 142 |
+
0.02029465675354004,
|
| 143 |
+
0.020151296615600587,
|
| 144 |
+
0.02009600067138672,
|
| 145 |
+
0.020121599197387697,
|
| 146 |
+
0.0200949764251709,
|
| 147 |
+
0.02005401611328125,
|
| 148 |
+
0.02017791938781738,
|
| 149 |
+
0.020312063217163084,
|
| 150 |
+
0.020068351745605468,
|
| 151 |
+
0.020092927932739257,
|
| 152 |
+
0.02007961654663086,
|
| 153 |
+
0.020091903686523437,
|
| 154 |
+
0.020205568313598633,
|
| 155 |
+
0.020307968139648438,
|
| 156 |
+
0.020316160202026368,
|
| 157 |
+
0.020108287811279296,
|
| 158 |
+
0.02007347106933594,
|
| 159 |
+
0.020107263565063475,
|
| 160 |
+
0.02005299186706543,
|
| 161 |
+
0.020067327499389647,
|
| 162 |
+
0.02007961654663086,
|
| 163 |
+
0.020105215072631837,
|
| 164 |
+
0.02007347106933594,
|
| 165 |
+
0.020076543807983398,
|
| 166 |
+
0.02007859230041504,
|
| 167 |
+
0.02011955261230469,
|
| 168 |
+
0.02010419273376465,
|
| 169 |
+
0.020141056060791016,
|
| 170 |
+
0.020237312316894532,
|
| 171 |
+
0.02030182456970215,
|
| 172 |
+
0.020340736389160157,
|
| 173 |
+
0.02030080032348633,
|
| 174 |
+
0.02026905632019043,
|
| 175 |
+
0.02028339195251465,
|
| 176 |
+
0.020239360809326173,
|
| 177 |
+
0.020273151397705077,
|
| 178 |
+
0.02024448013305664,
|
| 179 |
+
0.02028544044494629,
|
| 180 |
+
0.020133888244628906,
|
| 181 |
+
0.02009702491760254,
|
| 182 |
+
0.020105215072631837,
|
| 183 |
+
0.020099071502685546,
|
| 184 |
+
0.020065280914306642,
|
| 185 |
+
0.02007040023803711,
|
| 186 |
+
0.020083711624145507,
|
| 187 |
+
0.0200898551940918,
|
| 188 |
+
0.020116479873657226,
|
| 189 |
+
0.020118528366088868,
|
| 190 |
+
0.02011136054992676,
|
| 191 |
+
0.02026188850402832,
|
| 192 |
+
0.020335615158081053,
|
| 193 |
+
0.020162559509277343,
|
| 194 |
+
0.020101119995117187,
|
| 195 |
+
0.020093952178955078,
|
| 196 |
+
0.020091903686523437,
|
| 197 |
+
0.02007244873046875,
|
| 198 |
+
0.02006630325317383,
|
| 199 |
+
0.020133888244628906,
|
| 200 |
+
0.020008960723876954,
|
| 201 |
+
0.02007244873046875,
|
| 202 |
+
0.020118528366088868,
|
| 203 |
+
0.042534912109375,
|
| 204 |
+
0.020374528884887694,
|
| 205 |
+
0.020324352264404297,
|
| 206 |
+
0.020324352264404297,
|
| 207 |
+
0.020322303771972656,
|
| 208 |
+
0.02032640075683594,
|
| 209 |
+
0.02029363250732422,
|
| 210 |
+
0.020306943893432617,
|
| 211 |
+
0.020328447341918944,
|
| 212 |
+
0.020340736389160157,
|
| 213 |
+
0.02026905632019043,
|
| 214 |
+
0.02029363250732422,
|
| 215 |
+
0.020313087463378905,
|
| 216 |
+
0.02029363250732422,
|
| 217 |
+
0.020395008087158203,
|
| 218 |
+
0.020329471588134765,
|
| 219 |
+
0.020323328018188477,
|
| 220 |
+
0.020298751831054687,
|
| 221 |
+
0.020343807220458983,
|
| 222 |
+
0.02026905632019043,
|
| 223 |
+
0.020937728881835937,
|
| 224 |
+
0.02128281593322754,
|
| 225 |
+
0.020931583404541015,
|
| 226 |
+
0.02079539108276367,
|
| 227 |
+
0.020143104553222657,
|
| 228 |
+
0.020102144241333008,
|
| 229 |
+
0.020126720428466797,
|
| 230 |
+
0.020206592559814454,
|
| 231 |
+
0.020306943893432617,
|
| 232 |
+
0.02024550437927246,
|
| 233 |
+
0.020307968139648438,
|
| 234 |
+
0.020248575210571287,
|
| 235 |
+
0.020308000564575195,
|
| 236 |
+
0.02031305694580078,
|
| 237 |
+
0.02028339195251465,
|
| 238 |
+
0.02030182456970215,
|
| 239 |
+
0.020130815505981444,
|
| 240 |
+
0.020092927932739257,
|
| 241 |
+
0.02022400093078613,
|
| 242 |
+
0.02007040023803711,
|
| 243 |
+
0.020155391693115234,
|
| 244 |
+
0.020074495315551756,
|
| 245 |
+
0.020101119995117187,
|
| 246 |
+
0.02007244873046875,
|
| 247 |
+
0.0201308479309082,
|
| 248 |
+
0.02012156867980957,
|
| 249 |
+
0.020108287811279296,
|
| 250 |
+
0.020207616806030275,
|
| 251 |
+
0.02030182456970215,
|
| 252 |
+
0.02025984001159668,
|
| 253 |
+
0.02011238479614258,
|
| 254 |
+
0.02009702491760254,
|
| 255 |
+
0.020098079681396486,
|
| 256 |
+
0.02006729507446289,
|
| 257 |
+
0.020107263565063475,
|
| 258 |
+
0.02008064079284668,
|
| 259 |
+
0.02008883285522461,
|
| 260 |
+
0.020109312057495117,
|
| 261 |
+
0.020092927932739257,
|
| 262 |
+
0.02007859230041504,
|
| 263 |
+
0.02004991912841797,
|
| 264 |
+
0.020063232421875,
|
| 265 |
+
0.02012057685852051,
|
| 266 |
+
0.020131839752197265,
|
| 267 |
+
0.02009702491760254,
|
| 268 |
+
0.020093984603881836,
|
| 269 |
+
0.02011952018737793,
|
| 270 |
+
0.020100095748901366,
|
| 271 |
+
0.020304895401000975,
|
| 272 |
+
0.020319232940673827,
|
| 273 |
+
0.020279296875,
|
| 274 |
+
0.020366336822509764,
|
| 275 |
+
0.020307968139648438,
|
| 276 |
+
0.020368383407592772,
|
| 277 |
+
0.020313087463378905,
|
| 278 |
+
0.020356128692626953,
|
| 279 |
+
0.02034787178039551,
|
| 280 |
+
0.020357120513916017,
|
| 281 |
+
0.020349952697753908,
|
| 282 |
+
0.020339712142944336,
|
| 283 |
+
0.02064793586730957,
|
| 284 |
+
0.020374528884887694,
|
| 285 |
+
0.020304895401000975,
|
| 286 |
+
0.020281343460083007,
|
| 287 |
+
0.020236352920532226,
|
| 288 |
+
0.02035500717163086,
|
| 289 |
+
0.02028646469116211,
|
| 290 |
+
0.020335615158081053,
|
| 291 |
+
0.02030182456970215,
|
| 292 |
+
0.020356096267700196,
|
| 293 |
+
0.02030182456970215,
|
| 294 |
+
0.02167296028137207,
|
| 295 |
+
0.021374975204467773,
|
| 296 |
+
0.02022400093078613,
|
| 297 |
+
0.020378623962402344,
|
| 298 |
+
0.020365312576293947,
|
| 299 |
+
0.020358144760131838,
|
| 300 |
+
0.020373504638671876,
|
| 301 |
+
0.020338687896728515,
|
| 302 |
+
0.020361215591430663,
|
| 303 |
+
0.020381696701049806,
|
| 304 |
+
0.020343807220458983,
|
| 305 |
+
0.02023628807067871,
|
| 306 |
+
0.020144128799438478,
|
| 307 |
+
0.02007347106933594,
|
| 308 |
+
0.020156415939331054,
|
| 309 |
+
0.020132863998413086,
|
| 310 |
+
0.020386816024780274,
|
| 311 |
+
0.020139007568359374,
|
| 312 |
+
0.020126720428466797,
|
| 313 |
+
0.020146175384521483,
|
| 314 |
+
0.020355072021484375,
|
| 315 |
+
0.020332544326782227,
|
| 316 |
+
0.02011238479614258,
|
| 317 |
+
0.0200949764251709,
|
| 318 |
+
0.02012876892089844,
|
| 319 |
+
0.020115455627441405,
|
| 320 |
+
0.020122623443603514,
|
| 321 |
+
0.02028441619873047,
|
| 322 |
+
0.021400575637817384,
|
| 323 |
+
0.021150720596313476,
|
| 324 |
+
0.021133312225341795,
|
| 325 |
+
0.021090303421020508,
|
| 326 |
+
0.020296703338623046,
|
| 327 |
+
0.020340736389160157,
|
| 328 |
+
0.020324352264404297,
|
| 329 |
+
0.020340736389160157
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 48.60064302961359
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/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": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.025930047988891602,
|
| 7 |
+
"prefill.throughput.value": 269.95707848280074,
|
| 8 |
+
"decode.latency.mean": 2.602952880859375,
|
| 9 |
+
"decode.throughput.value": 48.79074105946569,
|
| 10 |
+
"per_token.latency.mean": 0.020575859446770588,
|
| 11 |
+
"per_token.throughput.value": 48.60064302961359
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: pytorch_generate
|
| 2 |
+
backend:
|
| 3 |
+
name: pytorch
|
| 4 |
+
version: 2.3.0+cu121
|
| 5 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 6 |
+
task: null
|
| 7 |
+
library: null
|
| 8 |
+
model: google/gemma-2b
|
| 9 |
+
processor: null
|
| 10 |
+
device: cuda
|
| 11 |
+
device_ids: '0'
|
| 12 |
+
seed: 42
|
| 13 |
+
inter_op_num_threads: null
|
| 14 |
+
intra_op_num_threads: null
|
| 15 |
+
model_kwargs: {}
|
| 16 |
+
processor_kwargs: {}
|
| 17 |
+
hub_kwargs: {}
|
| 18 |
+
no_weights: true
|
| 19 |
+
device_map: null
|
| 20 |
+
torch_dtype: float16
|
| 21 |
+
eval_mode: true
|
| 22 |
+
to_bettertransformer: false
|
| 23 |
+
low_cpu_mem_usage: null
|
| 24 |
+
attn_implementation: null
|
| 25 |
+
cache_implementation: static
|
| 26 |
+
autocast_enabled: false
|
| 27 |
+
autocast_dtype: null
|
| 28 |
+
torch_compile: true
|
| 29 |
+
torch_compile_target: forward
|
| 30 |
+
torch_compile_config:
|
| 31 |
+
backend: inductor
|
| 32 |
+
mode: reduce-overhead
|
| 33 |
+
fullgraph: true
|
| 34 |
+
quantization_scheme: null
|
| 35 |
+
quantization_config: {}
|
| 36 |
+
deepspeed_inference: false
|
| 37 |
+
deepspeed_inference_config: {}
|
| 38 |
+
peft_type: null
|
| 39 |
+
peft_config: {}
|
| 40 |
+
scenario:
|
| 41 |
+
name: inference
|
| 42 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 43 |
+
iterations: 2
|
| 44 |
+
duration: 0
|
| 45 |
+
warmup_runs: 10
|
| 46 |
+
input_shapes:
|
| 47 |
+
batch_size: 1
|
| 48 |
+
sequence_length: 7
|
| 49 |
+
new_tokens: null
|
| 50 |
+
latency: true
|
| 51 |
+
memory: true
|
| 52 |
+
energy: false
|
| 53 |
+
forward_kwargs: {}
|
| 54 |
+
generate_kwargs:
|
| 55 |
+
max_new_tokens: 128
|
| 56 |
+
min_new_tokens: 128
|
| 57 |
+
do_sample: false
|
| 58 |
+
call_kwargs: {}
|
| 59 |
+
launcher:
|
| 60 |
+
name: process
|
| 61 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 62 |
+
device_isolation: true
|
| 63 |
+
device_isolation_action: warn
|
| 64 |
+
start_method: spawn
|
| 65 |
+
environment:
|
| 66 |
+
cpu: ' AMD EPYC 7R32'
|
| 67 |
+
cpu_count: 16
|
| 68 |
+
cpu_ram_mb: 66697.29792
|
| 69 |
+
system: Linux
|
| 70 |
+
machine: x86_64
|
| 71 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 72 |
+
processor: x86_64
|
| 73 |
+
python_version: 3.8.10
|
| 74 |
+
gpu:
|
| 75 |
+
- NVIDIA A10G
|
| 76 |
+
gpu_count: 1
|
| 77 |
+
gpu_vram_mb: 24146608128
|
| 78 |
+
optimum_benchmark_version: 0.2.1
|
| 79 |
+
optimum_benchmark_commit: null
|
| 80 |
+
transformers_version: 4.42.0.dev0
|
| 81 |
+
transformers_commit: 22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 82 |
+
accelerate_version: 0.32.0.dev0
|
| 83 |
+
accelerate_commit: null
|
| 84 |
+
diffusers_version: null
|
| 85 |
+
diffusers_commit: null
|
| 86 |
+
optimum_version: 1.21.0.dev0
|
| 87 |
+
optimum_commit: null
|
| 88 |
+
timm_version: 0.9.16
|
| 89 |
+
timm_commit: null
|
| 90 |
+
peft_version: 0.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| 3 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 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/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${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/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- backend.model=google/gemma-2b
|
| 2 |
+
- backend.cache_implementation=static
|
| 3 |
+
- backend.torch_compile=True
|
2024-06-19/commit=22b41b3f8a5cdb37e686d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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "pytorch_generate",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.0+cu121",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-generation",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model": "google/gemma-2b",
|
| 11 |
+
"processor": "google/gemma-2b",
|
| 12 |
+
"device": "cuda",
|
| 13 |
+
"device_ids": "0",
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": "static",
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": true,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {
|
| 33 |
+
"backend": "inductor",
|
| 34 |
+
"mode": "reduce-overhead",
|
| 35 |
+
"fullgraph": true
|
| 36 |
+
},
|
| 37 |
+
"quantization_scheme": null,
|
| 38 |
+
"quantization_config": {},
|
| 39 |
+
"deepspeed_inference": false,
|
| 40 |
+
"deepspeed_inference_config": {},
|
| 41 |
+
"peft_type": null,
|
| 42 |
+
"peft_config": {}
|
| 43 |
+
},
|
| 44 |
+
"scenario": {
|
| 45 |
+
"name": "inference",
|
| 46 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 47 |
+
"iterations": 2,
|
| 48 |
+
"duration": 0,
|
| 49 |
+
"warmup_runs": 10,
|
| 50 |
+
"input_shapes": {
|
| 51 |
+
"batch_size": 1,
|
| 52 |
+
"num_choices": 2,
|
| 53 |
+
"sequence_length": 7
|
| 54 |
+
},
|
| 55 |
+
"new_tokens": null,
|
| 56 |
+
"latency": true,
|
| 57 |
+
"memory": true,
|
| 58 |
+
"energy": false,
|
| 59 |
+
"forward_kwargs": {},
|
| 60 |
+
"generate_kwargs": {
|
| 61 |
+
"max_new_tokens": 128,
|
| 62 |
+
"min_new_tokens": 128,
|
| 63 |
+
"do_sample": false
|
| 64 |
+
},
|
| 65 |
+
"call_kwargs": {}
|
| 66 |
+
},
|
| 67 |
+
"launcher": {
|
| 68 |
+
"name": "process",
|
| 69 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 70 |
+
"device_isolation": true,
|
| 71 |
+
"device_isolation_action": "warn",
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R32",
|
| 76 |
+
"cpu_count": 16,
|
| 77 |
+
"cpu_ram_mb": 66697.29792,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 81 |
+
"processor": "x86_64",
|
| 82 |
+
"python_version": "3.8.10",
|
| 83 |
+
"gpu": [
|
| 84 |
+
"NVIDIA A10G"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 1,
|
| 87 |
+
"gpu_vram_mb": 24146608128,
|
| 88 |
+
"optimum_benchmark_version": "0.2.1",
|
| 89 |
+
"optimum_benchmark_commit": null,
|
| 90 |
+
"transformers_version": "4.42.0.dev0",
|
| 91 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 92 |
+
"accelerate_version": "0.32.0.dev0",
|
| 93 |
+
"accelerate_commit": null,
|
| 94 |
+
"diffusers_version": null,
|
| 95 |
+
"diffusers_commit": null,
|
| 96 |
+
"optimum_version": "1.21.0.dev0",
|
| 97 |
+
"optimum_commit": null,
|
| 98 |
+
"timm_version": "0.9.16",
|
| 99 |
+
"timm_commit": null,
|
| 100 |
+
"peft_version": "0.11.2.dev0",
|
| 101 |
+
"peft_commit": null
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"report": {
|
| 105 |
+
"prefill": {
|
| 106 |
+
"memory": {
|
| 107 |
+
"unit": "MB",
|
| 108 |
+
"max_ram": 1918.640128,
|
| 109 |
+
"max_global_vram": 6094.848,
|
| 110 |
+
"max_process_vram": 0.0,
|
| 111 |
+
"max_reserved": 5379.19488,
|
| 112 |
+
"max_allocated": 5021.251584
|
| 113 |
+
},
|
| 114 |
+
"latency": {
|
| 115 |
+
"unit": "s",
|
| 116 |
+
"count": 2,
|
| 117 |
+
"total": 0.028458623886108397,
|
| 118 |
+
"mean": 0.014229311943054199,
|
| 119 |
+
"stdev": 0.0002845439910888672,
|
| 120 |
+
"p50": 0.014229311943054199,
|
| 121 |
+
"p90": 0.014456947135925293,
|
| 122 |
+
"p95": 0.014485401535034179,
|
| 123 |
+
"p99": 0.014508165054321289,
|
| 124 |
+
"values": [
|
| 125 |
+
0.014513855934143066,
|
| 126 |
+
0.013944767951965331
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
"throughput": {
|
| 130 |
+
"unit": "tokens/s",
|
| 131 |
+
"value": 491.9422687487664
|
| 132 |
+
},
|
| 133 |
+
"energy": null,
|
| 134 |
+
"efficiency": null
|
| 135 |
+
},
|
| 136 |
+
"decode": {
|
| 137 |
+
"memory": {
|
| 138 |
+
"unit": "MB",
|
| 139 |
+
"max_ram": 2262.540288,
|
| 140 |
+
"max_global_vram": 8907.128832,
|
| 141 |
+
"max_process_vram": 0.0,
|
| 142 |
+
"max_reserved": 5379.19488,
|
| 143 |
+
"max_allocated": 5027.089408
|
| 144 |
+
},
|
| 145 |
+
"latency": {
|
| 146 |
+
"unit": "s",
|
| 147 |
+
"count": 2,
|
| 148 |
+
"total": 3.1481312255859377,
|
| 149 |
+
"mean": 1.5740656127929689,
|
| 150 |
+
"stdev": 0.01655999755859383,
|
| 151 |
+
"p50": 1.5740656127929689,
|
| 152 |
+
"p90": 1.5873136108398438,
|
| 153 |
+
"p95": 1.5889696105957032,
|
| 154 |
+
"p99": 1.5902944104003907,
|
| 155 |
+
"values": [
|
| 156 |
+
1.5906256103515626,
|
| 157 |
+
1.557505615234375
|
| 158 |
+
]
|
| 159 |
+
},
|
| 160 |
+
"throughput": {
|
| 161 |
+
"unit": "tokens/s",
|
| 162 |
+
"value": 80.68278664359835
|
| 163 |
+
},
|
| 164 |
+
"energy": null,
|
| 165 |
+
"efficiency": null
|
| 166 |
+
},
|
| 167 |
+
"per_token": {
|
| 168 |
+
"memory": null,
|
| 169 |
+
"latency": {
|
| 170 |
+
"unit": "s",
|
| 171 |
+
"count": 253,
|
| 172 |
+
"total": 3.1491850204467755,
|
| 173 |
+
"mean": 0.01244737162231928,
|
| 174 |
+
"stdev": 0.0009020253063466917,
|
| 175 |
+
"p50": 0.01227673625946045,
|
| 176 |
+
"p90": 0.012713574028015137,
|
| 177 |
+
"p95": 0.01273016300201416,
|
| 178 |
+
"p99": 0.012817694702148438,
|
| 179 |
+
"values": [
|
| 180 |
+
0.012660736083984376,
|
| 181 |
+
0.012681216239929198,
|
| 182 |
+
0.01278771209716797,
|
| 183 |
+
0.012776448249816894,
|
| 184 |
+
0.012670975685119629,
|
| 185 |
+
0.012741632461547851,
|
| 186 |
+
0.012703743934631348,
|
| 187 |
+
0.012752896308898925,
|
| 188 |
+
0.01268838405609131,
|
| 189 |
+
0.012711935997009278,
|
| 190 |
+
0.012669952392578124,
|
| 191 |
+
0.012719103813171387,
|
| 192 |
+
0.012658687591552734,
|
| 193 |
+
0.012703743934631348,
|
| 194 |
+
0.012679167747497559,
|
| 195 |
+
0.012724224090576173,
|
| 196 |
+
0.012707839965820313,
|
| 197 |
+
0.012722175598144531,
|
| 198 |
+
0.012702719688415527,
|
| 199 |
+
0.012727295875549317,
|
| 200 |
+
0.01265664005279541,
|
| 201 |
+
0.012709888458251953,
|
| 202 |
+
0.01268019199371338,
|
| 203 |
+
0.012725248336791992,
|
| 204 |
+
0.012722175598144531,
|
| 205 |
+
0.012708864212036132,
|
| 206 |
+
0.01266380786895752,
|
| 207 |
+
0.012724224090576173,
|
| 208 |
+
0.012669952392578124,
|
| 209 |
+
0.01274060821533203,
|
| 210 |
+
0.012692480087280274,
|
| 211 |
+
0.012713983535766601,
|
| 212 |
+
0.012667903900146485,
|
| 213 |
+
0.012689408302307128,
|
| 214 |
+
0.012637184143066407,
|
| 215 |
+
0.0126310396194458,
|
| 216 |
+
0.012660736083984376,
|
| 217 |
+
0.012701696395874023,
|
| 218 |
+
0.012645376205444337,
|
| 219 |
+
0.012701696395874023,
|
| 220 |
+
0.01262284755706787,
|
| 221 |
+
0.012734463691711426,
|
| 222 |
+
0.012722175598144531,
|
| 223 |
+
0.012725248336791992,
|
| 224 |
+
0.012696576118469239,
|
| 225 |
+
0.012724224090576173,
|
| 226 |
+
0.012646400451660156,
|
| 227 |
+
0.0127457275390625,
|
| 228 |
+
0.012710911750793457,
|
| 229 |
+
0.012735487937927246,
|
| 230 |
+
0.01265664005279541,
|
| 231 |
+
0.012710911750793457,
|
| 232 |
+
0.012675071716308594,
|
| 233 |
+
0.012735487937927246,
|
| 234 |
+
0.012658687591552734,
|
| 235 |
+
0.012723199844360352,
|
| 236 |
+
0.012678144454956054,
|
| 237 |
+
0.012751872062683106,
|
| 238 |
+
0.012682239532470703,
|
| 239 |
+
0.012726271629333496,
|
| 240 |
+
0.01267199993133545,
|
| 241 |
+
0.012700672149658204,
|
| 242 |
+
0.012660736083984376,
|
| 243 |
+
0.012699647903442383,
|
| 244 |
+
0.012592127799987793,
|
| 245 |
+
0.012612607955932617,
|
| 246 |
+
0.012456959724426269,
|
| 247 |
+
0.012705792427062988,
|
| 248 |
+
0.012298239707946777,
|
| 249 |
+
0.012421119689941406,
|
| 250 |
+
0.012484607696533203,
|
| 251 |
+
0.012527615547180175,
|
| 252 |
+
0.012682239532470703,
|
| 253 |
+
0.01285632038116455,
|
| 254 |
+
0.012585984230041505,
|
| 255 |
+
0.012495871543884277,
|
| 256 |
+
0.01264742374420166,
|
| 257 |
+
0.012443648338317872,
|
| 258 |
+
0.012412927627563476,
|
| 259 |
+
0.012309503555297852,
|
| 260 |
+
0.012279808044433594,
|
| 261 |
+
0.012313599586486817,
|
| 262 |
+
0.01225830364227295,
|
| 263 |
+
0.012279808044433594,
|
| 264 |
+
0.01225216007232666,
|
| 265 |
+
0.012262399673461915,
|
| 266 |
+
0.012231679916381836,
|
| 267 |
+
0.012278783798217773,
|
| 268 |
+
0.01222758388519287,
|
| 269 |
+
0.012285951614379884,
|
| 270 |
+
0.012226559638977052,
|
| 271 |
+
0.012270591735839843,
|
| 272 |
+
0.012224512100219726,
|
| 273 |
+
0.012285951614379884,
|
| 274 |
+
0.01222758388519287,
|
| 275 |
+
0.012280832290649414,
|
| 276 |
+
0.012259327888488769,
|
| 277 |
+
0.012301312446594239,
|
| 278 |
+
0.012223551750183106,
|
| 279 |
+
0.012269503593444824,
|
| 280 |
+
0.012232704162597656,
|
| 281 |
+
0.012267519950866699,
|
| 282 |
+
0.012232704162597656,
|
| 283 |
+
0.012272640228271485,
|
| 284 |
+
0.012226559638977052,
|
| 285 |
+
0.012263423919677734,
|
| 286 |
+
0.012232704162597656,
|
| 287 |
+
0.012285951614379884,
|
| 288 |
+
0.0122357759475708,
|
| 289 |
+
0.012267583847045899,
|
| 290 |
+
0.012242879867553711,
|
| 291 |
+
0.012336128234863282,
|
| 292 |
+
0.012477439880371094,
|
| 293 |
+
0.012446720123291016,
|
| 294 |
+
0.01226854419708252,
|
| 295 |
+
0.012278783798217773,
|
| 296 |
+
0.01225011157989502,
|
| 297 |
+
0.012273664474487305,
|
| 298 |
+
0.012244992256164551,
|
| 299 |
+
0.012278783798217773,
|
| 300 |
+
0.012239871978759765,
|
| 301 |
+
0.01226854419708252,
|
| 302 |
+
0.012257280349731446,
|
| 303 |
+
0.012297216415405274,
|
| 304 |
+
0.012230655670166016,
|
| 305 |
+
0.012292096138000488,
|
| 306 |
+
0.026411008834838868,
|
| 307 |
+
0.01224396800994873,
|
| 308 |
+
0.012285951614379884,
|
| 309 |
+
0.01223475170135498,
|
| 310 |
+
0.012279808044433594,
|
| 311 |
+
0.012228608131408691,
|
| 312 |
+
0.012303359985351562,
|
| 313 |
+
0.012239871978759765,
|
| 314 |
+
0.012270591735839843,
|
| 315 |
+
0.012241920471191407,
|
| 316 |
+
0.012275712013244629,
|
| 317 |
+
0.012228608131408691,
|
| 318 |
+
0.01227673625946045,
|
| 319 |
+
0.01223475170135498,
|
| 320 |
+
0.012271615982055664,
|
| 321 |
+
0.012225536346435547,
|
| 322 |
+
0.012271615982055664,
|
| 323 |
+
0.012247103691101074,
|
| 324 |
+
0.012271552085876465,
|
| 325 |
+
0.012236800193786621,
|
| 326 |
+
0.012274687767028808,
|
| 327 |
+
0.012244992256164551,
|
| 328 |
+
0.012309503555297852,
|
| 329 |
+
0.012229632377624512,
|
| 330 |
+
0.012270591735839843,
|
| 331 |
+
0.012246015548706055,
|
| 332 |
+
0.012275712013244629,
|
| 333 |
+
0.012238847732543945,
|
| 334 |
+
0.012270591735839843,
|
| 335 |
+
0.012225536346435547,
|
| 336 |
+
0.012272640228271485,
|
| 337 |
+
0.012264448165893555,
|
| 338 |
+
0.012292096138000488,
|
| 339 |
+
0.012230655670166016,
|
| 340 |
+
0.012274687767028808,
|
| 341 |
+
0.012224543571472167,
|
| 342 |
+
0.012283871650695801,
|
| 343 |
+
0.01224294376373291,
|
| 344 |
+
0.01226956844329834,
|
| 345 |
+
0.012220416069030762,
|
| 346 |
+
0.012267519950866699,
|
| 347 |
+
0.01224396800994873,
|
| 348 |
+
0.012281855583190919,
|
| 349 |
+
0.012231679916381836,
|
| 350 |
+
0.012263423919677734,
|
| 351 |
+
0.012226559638977052,
|
| 352 |
+
0.012277759552001954,
|
| 353 |
+
0.012222463607788087,
|
| 354 |
+
0.01227673625946045,
|
| 355 |
+
0.012217344284057617,
|
| 356 |
+
0.012271615982055664,
|
| 357 |
+
0.012221440315246582,
|
| 358 |
+
0.012291071891784668,
|
| 359 |
+
0.012241920471191407,
|
| 360 |
+
0.01226956844329834,
|
| 361 |
+
0.012229632377624512,
|
| 362 |
+
0.012272640228271485,
|
| 363 |
+
0.012233728408813477,
|
| 364 |
+
0.012278783798217773,
|
| 365 |
+
0.012216320037841797,
|
| 366 |
+
0.012265472412109376,
|
| 367 |
+
0.012223487854003906,
|
| 368 |
+
0.012275712013244629,
|
| 369 |
+
0.012232704162597656,
|
| 370 |
+
0.012279808044433594,
|
| 371 |
+
0.01223475170135498,
|
| 372 |
+
0.01226956844329834,
|
| 373 |
+
0.012220416069030762,
|
| 374 |
+
0.012291071891784668,
|
| 375 |
+
0.012237824440002442,
|
| 376 |
+
0.012280832290649414,
|
| 377 |
+
0.012231679916381836,
|
| 378 |
+
0.012271615982055664,
|
| 379 |
+
0.012236800193786621,
|
| 380 |
+
0.012266495704650878,
|
| 381 |
+
0.012214271545410157,
|
| 382 |
+
0.012272640228271485,
|
| 383 |
+
0.01221939182281494,
|
| 384 |
+
0.012288000106811523,
|
| 385 |
+
0.012237824440002442,
|
| 386 |
+
0.012347392082214356,
|
| 387 |
+
0.01233510398864746,
|
| 388 |
+
0.012850175857543946,
|
| 389 |
+
0.012255231857299804,
|
| 390 |
+
0.012300288200378418,
|
| 391 |
+
0.012240896224975586,
|
| 392 |
+
0.01228492832183838,
|
| 393 |
+
0.012236800193786621,
|
| 394 |
+
0.012275712013244629,
|
| 395 |
+
0.012231679916381836,
|
| 396 |
+
0.012289024353027344,
|
| 397 |
+
0.012221440315246582,
|
| 398 |
+
0.012283904075622559,
|
| 399 |
+
0.012230655670166016,
|
| 400 |
+
0.012281855583190919,
|
| 401 |
+
0.012236800193786621,
|
| 402 |
+
0.012283904075622559,
|
| 403 |
+
0.012257280349731446,
|
| 404 |
+
0.012272640228271485,
|
| 405 |
+
0.012225536346435547,
|
| 406 |
+
0.012286975860595703,
|
| 407 |
+
0.0122357759475708,
|
| 408 |
+
0.012266495704650878,
|
| 409 |
+
0.012216320037841797,
|
| 410 |
+
0.012274687767028808,
|
| 411 |
+
0.01225011157989502,
|
| 412 |
+
0.012266495704650878,
|
| 413 |
+
0.012232704162597656,
|
| 414 |
+
0.012271615982055664,
|
| 415 |
+
0.012228608131408691,
|
| 416 |
+
0.012271615982055664,
|
| 417 |
+
0.012248064041137695,
|
| 418 |
+
0.012321791648864745,
|
| 419 |
+
0.012278783798217773,
|
| 420 |
+
0.01227673625946045,
|
| 421 |
+
0.012236800193786621,
|
| 422 |
+
0.012290047645568849,
|
| 423 |
+
0.012233728408813477,
|
| 424 |
+
0.012274687767028808,
|
| 425 |
+
0.012231679916381836,
|
| 426 |
+
0.012273664474487305,
|
| 427 |
+
0.012232704162597656,
|
| 428 |
+
0.012298239707946777,
|
| 429 |
+
0.01222867202758789,
|
| 430 |
+
0.012271552085876465,
|
| 431 |
+
0.01223475170135498,
|
| 432 |
+
0.012278783798217773
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
"throughput": {
|
| 436 |
+
"unit": "tokens/s",
|
| 437 |
+
"value": 80.33824572304952
|
| 438 |
+
},
|
| 439 |
+
"energy": null,
|
| 440 |
+
"efficiency": null
|
| 441 |
+
}
|
| 442 |
+
}
|
| 443 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log
ADDED
|
File without changes
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "pytorch_generate",
|
| 3 |
+
"backend": {
|
| 4 |
+
"name": "pytorch",
|
| 5 |
+
"version": "2.3.0+cu121",
|
| 6 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 7 |
+
"task": "text-generation",
|
| 8 |
+
"library": "transformers",
|
| 9 |
+
"model": "google/gemma-2b",
|
| 10 |
+
"processor": "google/gemma-2b",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"model_kwargs": {},
|
| 17 |
+
"processor_kwargs": {},
|
| 18 |
+
"hub_kwargs": {},
|
| 19 |
+
"no_weights": true,
|
| 20 |
+
"device_map": null,
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"eval_mode": true,
|
| 23 |
+
"to_bettertransformer": false,
|
| 24 |
+
"low_cpu_mem_usage": null,
|
| 25 |
+
"attn_implementation": null,
|
| 26 |
+
"cache_implementation": "static",
|
| 27 |
+
"autocast_enabled": false,
|
| 28 |
+
"autocast_dtype": null,
|
| 29 |
+
"torch_compile": true,
|
| 30 |
+
"torch_compile_target": "forward",
|
| 31 |
+
"torch_compile_config": {
|
| 32 |
+
"backend": "inductor",
|
| 33 |
+
"mode": "reduce-overhead",
|
| 34 |
+
"fullgraph": true
|
| 35 |
+
},
|
| 36 |
+
"quantization_scheme": null,
|
| 37 |
+
"quantization_config": {},
|
| 38 |
+
"deepspeed_inference": false,
|
| 39 |
+
"deepspeed_inference_config": {},
|
| 40 |
+
"peft_type": null,
|
| 41 |
+
"peft_config": {}
|
| 42 |
+
},
|
| 43 |
+
"scenario": {
|
| 44 |
+
"name": "inference",
|
| 45 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 46 |
+
"iterations": 2,
|
| 47 |
+
"duration": 0,
|
| 48 |
+
"warmup_runs": 10,
|
| 49 |
+
"input_shapes": {
|
| 50 |
+
"batch_size": 1,
|
| 51 |
+
"num_choices": 2,
|
| 52 |
+
"sequence_length": 7
|
| 53 |
+
},
|
| 54 |
+
"new_tokens": null,
|
| 55 |
+
"latency": true,
|
| 56 |
+
"memory": true,
|
| 57 |
+
"energy": false,
|
| 58 |
+
"forward_kwargs": {},
|
| 59 |
+
"generate_kwargs": {
|
| 60 |
+
"max_new_tokens": 128,
|
| 61 |
+
"min_new_tokens": 128,
|
| 62 |
+
"do_sample": false
|
| 63 |
+
},
|
| 64 |
+
"call_kwargs": {}
|
| 65 |
+
},
|
| 66 |
+
"launcher": {
|
| 67 |
+
"name": "process",
|
| 68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 69 |
+
"device_isolation": true,
|
| 70 |
+
"device_isolation_action": "warn",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.8.10",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.1",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.42.0.dev0",
|
| 90 |
+
"transformers_commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 91 |
+
"accelerate_version": "0.32.0.dev0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": null,
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": "1.21.0.dev0",
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": "0.11.2.dev0",
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prefill": {
|
| 3 |
+
"memory": {
|
| 4 |
+
"unit": "MB",
|
| 5 |
+
"max_ram": 1918.640128,
|
| 6 |
+
"max_global_vram": 6094.848,
|
| 7 |
+
"max_process_vram": 0.0,
|
| 8 |
+
"max_reserved": 5379.19488,
|
| 9 |
+
"max_allocated": 5021.251584
|
| 10 |
+
},
|
| 11 |
+
"latency": {
|
| 12 |
+
"unit": "s",
|
| 13 |
+
"count": 2,
|
| 14 |
+
"total": 0.028458623886108397,
|
| 15 |
+
"mean": 0.014229311943054199,
|
| 16 |
+
"stdev": 0.0002845439910888672,
|
| 17 |
+
"p50": 0.014229311943054199,
|
| 18 |
+
"p90": 0.014456947135925293,
|
| 19 |
+
"p95": 0.014485401535034179,
|
| 20 |
+
"p99": 0.014508165054321289,
|
| 21 |
+
"values": [
|
| 22 |
+
0.014513855934143066,
|
| 23 |
+
0.013944767951965331
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"throughput": {
|
| 27 |
+
"unit": "tokens/s",
|
| 28 |
+
"value": 491.9422687487664
|
| 29 |
+
},
|
| 30 |
+
"energy": null,
|
| 31 |
+
"efficiency": null
|
| 32 |
+
},
|
| 33 |
+
"decode": {
|
| 34 |
+
"memory": {
|
| 35 |
+
"unit": "MB",
|
| 36 |
+
"max_ram": 2262.540288,
|
| 37 |
+
"max_global_vram": 8907.128832,
|
| 38 |
+
"max_process_vram": 0.0,
|
| 39 |
+
"max_reserved": 5379.19488,
|
| 40 |
+
"max_allocated": 5027.089408
|
| 41 |
+
},
|
| 42 |
+
"latency": {
|
| 43 |
+
"unit": "s",
|
| 44 |
+
"count": 2,
|
| 45 |
+
"total": 3.1481312255859377,
|
| 46 |
+
"mean": 1.5740656127929689,
|
| 47 |
+
"stdev": 0.01655999755859383,
|
| 48 |
+
"p50": 1.5740656127929689,
|
| 49 |
+
"p90": 1.5873136108398438,
|
| 50 |
+
"p95": 1.5889696105957032,
|
| 51 |
+
"p99": 1.5902944104003907,
|
| 52 |
+
"values": [
|
| 53 |
+
1.5906256103515626,
|
| 54 |
+
1.557505615234375
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
"throughput": {
|
| 58 |
+
"unit": "tokens/s",
|
| 59 |
+
"value": 80.68278664359835
|
| 60 |
+
},
|
| 61 |
+
"energy": null,
|
| 62 |
+
"efficiency": null
|
| 63 |
+
},
|
| 64 |
+
"per_token": {
|
| 65 |
+
"memory": null,
|
| 66 |
+
"latency": {
|
| 67 |
+
"unit": "s",
|
| 68 |
+
"count": 253,
|
| 69 |
+
"total": 3.1491850204467755,
|
| 70 |
+
"mean": 0.01244737162231928,
|
| 71 |
+
"stdev": 0.0009020253063466917,
|
| 72 |
+
"p50": 0.01227673625946045,
|
| 73 |
+
"p90": 0.012713574028015137,
|
| 74 |
+
"p95": 0.01273016300201416,
|
| 75 |
+
"p99": 0.012817694702148438,
|
| 76 |
+
"values": [
|
| 77 |
+
0.012660736083984376,
|
| 78 |
+
0.012681216239929198,
|
| 79 |
+
0.01278771209716797,
|
| 80 |
+
0.012776448249816894,
|
| 81 |
+
0.012670975685119629,
|
| 82 |
+
0.012741632461547851,
|
| 83 |
+
0.012703743934631348,
|
| 84 |
+
0.012752896308898925,
|
| 85 |
+
0.01268838405609131,
|
| 86 |
+
0.012711935997009278,
|
| 87 |
+
0.012669952392578124,
|
| 88 |
+
0.012719103813171387,
|
| 89 |
+
0.012658687591552734,
|
| 90 |
+
0.012703743934631348,
|
| 91 |
+
0.012679167747497559,
|
| 92 |
+
0.012724224090576173,
|
| 93 |
+
0.012707839965820313,
|
| 94 |
+
0.012722175598144531,
|
| 95 |
+
0.012702719688415527,
|
| 96 |
+
0.012727295875549317,
|
| 97 |
+
0.01265664005279541,
|
| 98 |
+
0.012709888458251953,
|
| 99 |
+
0.01268019199371338,
|
| 100 |
+
0.012725248336791992,
|
| 101 |
+
0.012722175598144531,
|
| 102 |
+
0.012708864212036132,
|
| 103 |
+
0.01266380786895752,
|
| 104 |
+
0.012724224090576173,
|
| 105 |
+
0.012669952392578124,
|
| 106 |
+
0.01274060821533203,
|
| 107 |
+
0.012692480087280274,
|
| 108 |
+
0.012713983535766601,
|
| 109 |
+
0.012667903900146485,
|
| 110 |
+
0.012689408302307128,
|
| 111 |
+
0.012637184143066407,
|
| 112 |
+
0.0126310396194458,
|
| 113 |
+
0.012660736083984376,
|
| 114 |
+
0.012701696395874023,
|
| 115 |
+
0.012645376205444337,
|
| 116 |
+
0.012701696395874023,
|
| 117 |
+
0.01262284755706787,
|
| 118 |
+
0.012734463691711426,
|
| 119 |
+
0.012722175598144531,
|
| 120 |
+
0.012725248336791992,
|
| 121 |
+
0.012696576118469239,
|
| 122 |
+
0.012724224090576173,
|
| 123 |
+
0.012646400451660156,
|
| 124 |
+
0.0127457275390625,
|
| 125 |
+
0.012710911750793457,
|
| 126 |
+
0.012735487937927246,
|
| 127 |
+
0.01265664005279541,
|
| 128 |
+
0.012710911750793457,
|
| 129 |
+
0.012675071716308594,
|
| 130 |
+
0.012735487937927246,
|
| 131 |
+
0.012658687591552734,
|
| 132 |
+
0.012723199844360352,
|
| 133 |
+
0.012678144454956054,
|
| 134 |
+
0.012751872062683106,
|
| 135 |
+
0.012682239532470703,
|
| 136 |
+
0.012726271629333496,
|
| 137 |
+
0.01267199993133545,
|
| 138 |
+
0.012700672149658204,
|
| 139 |
+
0.012660736083984376,
|
| 140 |
+
0.012699647903442383,
|
| 141 |
+
0.012592127799987793,
|
| 142 |
+
0.012612607955932617,
|
| 143 |
+
0.012456959724426269,
|
| 144 |
+
0.012705792427062988,
|
| 145 |
+
0.012298239707946777,
|
| 146 |
+
0.012421119689941406,
|
| 147 |
+
0.012484607696533203,
|
| 148 |
+
0.012527615547180175,
|
| 149 |
+
0.012682239532470703,
|
| 150 |
+
0.01285632038116455,
|
| 151 |
+
0.012585984230041505,
|
| 152 |
+
0.012495871543884277,
|
| 153 |
+
0.01264742374420166,
|
| 154 |
+
0.012443648338317872,
|
| 155 |
+
0.012412927627563476,
|
| 156 |
+
0.012309503555297852,
|
| 157 |
+
0.012279808044433594,
|
| 158 |
+
0.012313599586486817,
|
| 159 |
+
0.01225830364227295,
|
| 160 |
+
0.012279808044433594,
|
| 161 |
+
0.01225216007232666,
|
| 162 |
+
0.012262399673461915,
|
| 163 |
+
0.012231679916381836,
|
| 164 |
+
0.012278783798217773,
|
| 165 |
+
0.01222758388519287,
|
| 166 |
+
0.012285951614379884,
|
| 167 |
+
0.012226559638977052,
|
| 168 |
+
0.012270591735839843,
|
| 169 |
+
0.012224512100219726,
|
| 170 |
+
0.012285951614379884,
|
| 171 |
+
0.01222758388519287,
|
| 172 |
+
0.012280832290649414,
|
| 173 |
+
0.012259327888488769,
|
| 174 |
+
0.012301312446594239,
|
| 175 |
+
0.012223551750183106,
|
| 176 |
+
0.012269503593444824,
|
| 177 |
+
0.012232704162597656,
|
| 178 |
+
0.012267519950866699,
|
| 179 |
+
0.012232704162597656,
|
| 180 |
+
0.012272640228271485,
|
| 181 |
+
0.012226559638977052,
|
| 182 |
+
0.012263423919677734,
|
| 183 |
+
0.012232704162597656,
|
| 184 |
+
0.012285951614379884,
|
| 185 |
+
0.0122357759475708,
|
| 186 |
+
0.012267583847045899,
|
| 187 |
+
0.012242879867553711,
|
| 188 |
+
0.012336128234863282,
|
| 189 |
+
0.012477439880371094,
|
| 190 |
+
0.012446720123291016,
|
| 191 |
+
0.01226854419708252,
|
| 192 |
+
0.012278783798217773,
|
| 193 |
+
0.01225011157989502,
|
| 194 |
+
0.012273664474487305,
|
| 195 |
+
0.012244992256164551,
|
| 196 |
+
0.012278783798217773,
|
| 197 |
+
0.012239871978759765,
|
| 198 |
+
0.01226854419708252,
|
| 199 |
+
0.012257280349731446,
|
| 200 |
+
0.012297216415405274,
|
| 201 |
+
0.012230655670166016,
|
| 202 |
+
0.012292096138000488,
|
| 203 |
+
0.026411008834838868,
|
| 204 |
+
0.01224396800994873,
|
| 205 |
+
0.012285951614379884,
|
| 206 |
+
0.01223475170135498,
|
| 207 |
+
0.012279808044433594,
|
| 208 |
+
0.012228608131408691,
|
| 209 |
+
0.012303359985351562,
|
| 210 |
+
0.012239871978759765,
|
| 211 |
+
0.012270591735839843,
|
| 212 |
+
0.012241920471191407,
|
| 213 |
+
0.012275712013244629,
|
| 214 |
+
0.012228608131408691,
|
| 215 |
+
0.01227673625946045,
|
| 216 |
+
0.01223475170135498,
|
| 217 |
+
0.012271615982055664,
|
| 218 |
+
0.012225536346435547,
|
| 219 |
+
0.012271615982055664,
|
| 220 |
+
0.012247103691101074,
|
| 221 |
+
0.012271552085876465,
|
| 222 |
+
0.012236800193786621,
|
| 223 |
+
0.012274687767028808,
|
| 224 |
+
0.012244992256164551,
|
| 225 |
+
0.012309503555297852,
|
| 226 |
+
0.012229632377624512,
|
| 227 |
+
0.012270591735839843,
|
| 228 |
+
0.012246015548706055,
|
| 229 |
+
0.012275712013244629,
|
| 230 |
+
0.012238847732543945,
|
| 231 |
+
0.012270591735839843,
|
| 232 |
+
0.012225536346435547,
|
| 233 |
+
0.012272640228271485,
|
| 234 |
+
0.012264448165893555,
|
| 235 |
+
0.012292096138000488,
|
| 236 |
+
0.012230655670166016,
|
| 237 |
+
0.012274687767028808,
|
| 238 |
+
0.012224543571472167,
|
| 239 |
+
0.012283871650695801,
|
| 240 |
+
0.01224294376373291,
|
| 241 |
+
0.01226956844329834,
|
| 242 |
+
0.012220416069030762,
|
| 243 |
+
0.012267519950866699,
|
| 244 |
+
0.01224396800994873,
|
| 245 |
+
0.012281855583190919,
|
| 246 |
+
0.012231679916381836,
|
| 247 |
+
0.012263423919677734,
|
| 248 |
+
0.012226559638977052,
|
| 249 |
+
0.012277759552001954,
|
| 250 |
+
0.012222463607788087,
|
| 251 |
+
0.01227673625946045,
|
| 252 |
+
0.012217344284057617,
|
| 253 |
+
0.012271615982055664,
|
| 254 |
+
0.012221440315246582,
|
| 255 |
+
0.012291071891784668,
|
| 256 |
+
0.012241920471191407,
|
| 257 |
+
0.01226956844329834,
|
| 258 |
+
0.012229632377624512,
|
| 259 |
+
0.012272640228271485,
|
| 260 |
+
0.012233728408813477,
|
| 261 |
+
0.012278783798217773,
|
| 262 |
+
0.012216320037841797,
|
| 263 |
+
0.012265472412109376,
|
| 264 |
+
0.012223487854003906,
|
| 265 |
+
0.012275712013244629,
|
| 266 |
+
0.012232704162597656,
|
| 267 |
+
0.012279808044433594,
|
| 268 |
+
0.01223475170135498,
|
| 269 |
+
0.01226956844329834,
|
| 270 |
+
0.012220416069030762,
|
| 271 |
+
0.012291071891784668,
|
| 272 |
+
0.012237824440002442,
|
| 273 |
+
0.012280832290649414,
|
| 274 |
+
0.012231679916381836,
|
| 275 |
+
0.012271615982055664,
|
| 276 |
+
0.012236800193786621,
|
| 277 |
+
0.012266495704650878,
|
| 278 |
+
0.012214271545410157,
|
| 279 |
+
0.012272640228271485,
|
| 280 |
+
0.01221939182281494,
|
| 281 |
+
0.012288000106811523,
|
| 282 |
+
0.012237824440002442,
|
| 283 |
+
0.012347392082214356,
|
| 284 |
+
0.01233510398864746,
|
| 285 |
+
0.012850175857543946,
|
| 286 |
+
0.012255231857299804,
|
| 287 |
+
0.012300288200378418,
|
| 288 |
+
0.012240896224975586,
|
| 289 |
+
0.01228492832183838,
|
| 290 |
+
0.012236800193786621,
|
| 291 |
+
0.012275712013244629,
|
| 292 |
+
0.012231679916381836,
|
| 293 |
+
0.012289024353027344,
|
| 294 |
+
0.012221440315246582,
|
| 295 |
+
0.012283904075622559,
|
| 296 |
+
0.012230655670166016,
|
| 297 |
+
0.012281855583190919,
|
| 298 |
+
0.012236800193786621,
|
| 299 |
+
0.012283904075622559,
|
| 300 |
+
0.012257280349731446,
|
| 301 |
+
0.012272640228271485,
|
| 302 |
+
0.012225536346435547,
|
| 303 |
+
0.012286975860595703,
|
| 304 |
+
0.0122357759475708,
|
| 305 |
+
0.012266495704650878,
|
| 306 |
+
0.012216320037841797,
|
| 307 |
+
0.012274687767028808,
|
| 308 |
+
0.01225011157989502,
|
| 309 |
+
0.012266495704650878,
|
| 310 |
+
0.012232704162597656,
|
| 311 |
+
0.012271615982055664,
|
| 312 |
+
0.012228608131408691,
|
| 313 |
+
0.012271615982055664,
|
| 314 |
+
0.012248064041137695,
|
| 315 |
+
0.012321791648864745,
|
| 316 |
+
0.012278783798217773,
|
| 317 |
+
0.01227673625946045,
|
| 318 |
+
0.012236800193786621,
|
| 319 |
+
0.012290047645568849,
|
| 320 |
+
0.012233728408813477,
|
| 321 |
+
0.012274687767028808,
|
| 322 |
+
0.012231679916381836,
|
| 323 |
+
0.012273664474487305,
|
| 324 |
+
0.012232704162597656,
|
| 325 |
+
0.012298239707946777,
|
| 326 |
+
0.01222867202758789,
|
| 327 |
+
0.012271552085876465,
|
| 328 |
+
0.01223475170135498,
|
| 329 |
+
0.012278783798217773
|
| 330 |
+
]
|
| 331 |
+
},
|
| 332 |
+
"throughput": {
|
| 333 |
+
"unit": "tokens/s",
|
| 334 |
+
"value": 80.33824572304952
|
| 335 |
+
},
|
| 336 |
+
"energy": null,
|
| 337 |
+
"efficiency": null
|
| 338 |
+
}
|
| 339 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/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": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 4 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.014229311943054199,
|
| 7 |
+
"prefill.throughput.value": 491.9422687487664,
|
| 8 |
+
"decode.latency.mean": 1.5740656127929689,
|
| 9 |
+
"decode.throughput.value": 80.68278664359835,
|
| 10 |
+
"per_token.latency.mean": 0.01244737162231928,
|
| 11 |
+
"per_token.throughput.value": 80.33824572304952
|
| 12 |
+
}
|
| 13 |
+
}
|
2024-06-19/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/multirun.yaml
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${hydra.job.override_dirname}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: _benchmark/tmp6fuewu1s/commit=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 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/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 88 |
+
- hydra.run.dir=_benchmark/tmp6fuewu1s/commit\=22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec/${hydra.job.override_dirname}
|
| 89 |
+
- hydra.mode=MULTIRUN
|
| 90 |
+
task:
|
| 91 |
+
- backend.model=google/gemma-2b
|
| 92 |
+
- backend.cache_implementation=null,static
|
| 93 |
+
- backend.torch_compile=false,true
|
| 94 |
+
job:
|
| 95 |
+
name: cli
|
| 96 |
+
chdir: true
|
| 97 |
+
override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
|
| 98 |
+
id: ???
|
| 99 |
+
num: ???
|
| 100 |
+
config_name: generation
|
| 101 |
+
env_set:
|
| 102 |
+
OVERRIDE_BENCHMARKS: '1'
|
| 103 |
+
LOG_LEVEL: WARN
|
| 104 |
+
env_copy: []
|
| 105 |
+
config:
|
| 106 |
+
override_dirname:
|
| 107 |
+
kv_sep: '='
|
| 108 |
+
item_sep: ','
|
| 109 |
+
exclude_keys: []
|
| 110 |
+
runtime:
|
| 111 |
+
version: 1.3.2
|
| 112 |
+
version_base: '1.3'
|
| 113 |
+
cwd: /transformers
|
| 114 |
+
config_sources:
|
| 115 |
+
- path: hydra.conf
|
| 116 |
+
schema: pkg
|
| 117 |
+
provider: hydra
|
| 118 |
+
- path: optimum_benchmark
|
| 119 |
+
schema: pkg
|
| 120 |
+
provider: main
|
| 121 |
+
- path: /transformers/benchmark/config
|
| 122 |
+
schema: file
|
| 123 |
+
provider: command-line
|
| 124 |
+
- path: ''
|
| 125 |
+
schema: structured
|
| 126 |
+
provider: schema
|
| 127 |
+
output_dir: ???
|
| 128 |
+
choices:
|
| 129 |
+
backend: pytorch
|
| 130 |
+
launcher: process
|
| 131 |
+
scenario: inference
|
| 132 |
+
hydra/env: default
|
| 133 |
+
hydra/callbacks: null
|
| 134 |
+
hydra/job_logging: disabled
|
| 135 |
+
hydra/hydra_logging: disabled
|
| 136 |
+
hydra/hydra_help: default
|
| 137 |
+
hydra/help: default
|
| 138 |
+
hydra/sweeper: basic
|
| 139 |
+
hydra/launcher: basic
|
| 140 |
+
hydra/output: default
|
| 141 |
+
verbose: false
|
| 142 |
+
name: pytorch_generate
|
| 143 |
+
backend:
|
| 144 |
+
name: pytorch
|
| 145 |
+
version: 2.3.0+cu121
|
| 146 |
+
_target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
|
| 147 |
+
task: null
|
| 148 |
+
library: null
|
| 149 |
+
model: google/gemma-2b
|
| 150 |
+
processor: null
|
| 151 |
+
device: cuda
|
| 152 |
+
device_ids: '0'
|
| 153 |
+
seed: 42
|
| 154 |
+
inter_op_num_threads: null
|
| 155 |
+
intra_op_num_threads: null
|
| 156 |
+
model_kwargs: {}
|
| 157 |
+
processor_kwargs: {}
|
| 158 |
+
hub_kwargs: {}
|
| 159 |
+
no_weights: true
|
| 160 |
+
device_map: null
|
| 161 |
+
torch_dtype: float16
|
| 162 |
+
eval_mode: true
|
| 163 |
+
to_bettertransformer: false
|
| 164 |
+
low_cpu_mem_usage: null
|
| 165 |
+
attn_implementation: null
|
| 166 |
+
cache_implementation: static
|
| 167 |
+
autocast_enabled: false
|
| 168 |
+
autocast_dtype: null
|
| 169 |
+
torch_compile: true
|
| 170 |
+
torch_compile_target: forward
|
| 171 |
+
torch_compile_config:
|
| 172 |
+
backend: inductor
|
| 173 |
+
mode: reduce-overhead
|
| 174 |
+
fullgraph: true
|
| 175 |
+
quantization_scheme: null
|
| 176 |
+
quantization_config: {}
|
| 177 |
+
deepspeed_inference: false
|
| 178 |
+
deepspeed_inference_config: {}
|
| 179 |
+
peft_type: null
|
| 180 |
+
peft_config: {}
|
| 181 |
+
scenario:
|
| 182 |
+
name: inference
|
| 183 |
+
_target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
|
| 184 |
+
iterations: 2
|
| 185 |
+
duration: 0
|
| 186 |
+
warmup_runs: 10
|
| 187 |
+
input_shapes:
|
| 188 |
+
batch_size: 1
|
| 189 |
+
sequence_length: 7
|
| 190 |
+
new_tokens: null
|
| 191 |
+
latency: true
|
| 192 |
+
memory: true
|
| 193 |
+
energy: false
|
| 194 |
+
forward_kwargs: {}
|
| 195 |
+
generate_kwargs:
|
| 196 |
+
max_new_tokens: 128
|
| 197 |
+
min_new_tokens: 128
|
| 198 |
+
do_sample: false
|
| 199 |
+
call_kwargs: {}
|
| 200 |
+
launcher:
|
| 201 |
+
name: process
|
| 202 |
+
_target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
|
| 203 |
+
device_isolation: true
|
| 204 |
+
device_isolation_action: warn
|
| 205 |
+
start_method: spawn
|
| 206 |
+
environment:
|
| 207 |
+
cpu: ' AMD EPYC 7R32'
|
| 208 |
+
cpu_count: 16
|
| 209 |
+
cpu_ram_mb: 66697.29792
|
| 210 |
+
system: Linux
|
| 211 |
+
machine: x86_64
|
| 212 |
+
platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
|
| 213 |
+
processor: x86_64
|
| 214 |
+
python_version: 3.8.10
|
| 215 |
+
gpu:
|
| 216 |
+
- NVIDIA A10G
|
| 217 |
+
gpu_count: 1
|
| 218 |
+
gpu_vram_mb: 24146608128
|
| 219 |
+
optimum_benchmark_version: 0.2.1
|
| 220 |
+
optimum_benchmark_commit: null
|
| 221 |
+
transformers_version: 4.42.0.dev0
|
| 222 |
+
transformers_commit: 22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec
|
| 223 |
+
accelerate_version: 0.32.0.dev0
|
| 224 |
+
accelerate_commit: null
|
| 225 |
+
diffusers_version: null
|
| 226 |
+
diffusers_commit: null
|
| 227 |
+
optimum_version: 1.21.0.dev0
|
| 228 |
+
optimum_commit: null
|
| 229 |
+
timm_version: 0.9.16
|
| 230 |
+
timm_commit: null
|
| 231 |
+
peft_version: 0.11.2.dev0
|
| 232 |
+
peft_commit: null
|
2024-06-19/summaries.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"model": "google/gemma-2b",
|
| 4 |
+
"commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 5 |
+
"config": "backend.cache_implementation=null,backend.torch_compile=False",
|
| 6 |
+
"metrics": {
|
| 7 |
+
"prefill.latency.mean": 0.02068830394744873,
|
| 8 |
+
"prefill.throughput.value": 338.35543105809967,
|
| 9 |
+
"decode.latency.mean": 2.4355318603515625,
|
| 10 |
+
"decode.throughput.value": 52.1446678926499,
|
| 11 |
+
"per_token.latency.mean": 0.019248261545957785,
|
| 12 |
+
"per_token.throughput.value": 51.952743764020816
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"model": "google/gemma-2b",
|
| 17 |
+
"commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 18 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=False",
|
| 19 |
+
"metrics": {
|
| 20 |
+
"prefill.latency.mean": 0.025930047988891602,
|
| 21 |
+
"prefill.throughput.value": 269.95707848280074,
|
| 22 |
+
"decode.latency.mean": 2.602952880859375,
|
| 23 |
+
"decode.throughput.value": 48.79074105946569,
|
| 24 |
+
"per_token.latency.mean": 0.020575859446770588,
|
| 25 |
+
"per_token.throughput.value": 48.60064302961359
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"model": "google/gemma-2b",
|
| 30 |
+
"commit": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
|
| 31 |
+
"config": "backend.cache_implementation=static,backend.torch_compile=True",
|
| 32 |
+
"metrics": {
|
| 33 |
+
"prefill.latency.mean": 0.014229311943054199,
|
| 34 |
+
"prefill.throughput.value": 491.9422687487664,
|
| 35 |
+
"decode.latency.mean": 1.5740656127929689,
|
| 36 |
+
"decode.throughput.value": 80.68278664359835,
|
| 37 |
+
"per_token.latency.mean": 0.01244737162231928,
|
| 38 |
+
"per_token.throughput.value": 80.33824572304952
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
]
|
2024-06-19/summary.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"google/gemma-2b": {
|
| 3 |
+
"backend.cache_implementation=null,backend.torch_compile=False": {
|
| 4 |
+
"22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec": {
|
| 5 |
+
"metrics": {
|
| 6 |
+
"prefill.latency.mean": 0.02068830394744873,
|
| 7 |
+
"prefill.throughput.value": 338.35543105809967,
|
| 8 |
+
"decode.latency.mean": 2.4355318603515625,
|
| 9 |
+
"decode.throughput.value": 52.1446678926499,
|
| 10 |
+
"per_token.latency.mean": 0.019248261545957785,
|
| 11 |
+
"per_token.throughput.value": 51.952743764020816
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"backend.cache_implementation=static,backend.torch_compile=False": {
|
| 16 |
+
"22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec": {
|
| 17 |
+
"metrics": {
|
| 18 |
+
"prefill.latency.mean": 0.025930047988891602,
|
| 19 |
+
"prefill.throughput.value": 269.95707848280074,
|
| 20 |
+
"decode.latency.mean": 2.602952880859375,
|
| 21 |
+
"decode.throughput.value": 48.79074105946569,
|
| 22 |
+
"per_token.latency.mean": 0.020575859446770588,
|
| 23 |
+
"per_token.throughput.value": 48.60064302961359
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"backend.cache_implementation=static,backend.torch_compile=True": {
|
| 28 |
+
"22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec": {
|
| 29 |
+
"metrics": {
|
| 30 |
+
"prefill.latency.mean": 0.014229311943054199,
|
| 31 |
+
"prefill.throughput.value": 491.9422687487664,
|
| 32 |
+
"decode.latency.mean": 1.5740656127929689,
|
| 33 |
+
"decode.throughput.value": 80.68278664359835,
|
| 34 |
+
"per_token.latency.mean": 0.01244737162231928,
|
| 35 |
+
"per_token.throughput.value": 80.33824572304952
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|