hf-transformers-bot commited on
Commit
5745c6e
1 Parent(s): 9e9713d

Upload folder using huggingface_hub

Browse files
Files changed (32) hide show
  1. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  2. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  3. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  4. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  5. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  6. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  7. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  8. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  9. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  10. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  11. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  12. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
  13. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  14. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  15. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  16. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  17. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  18. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  19. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  20. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  21. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  22. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  23. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  24. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  25. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
  26. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
  27. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  28. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
  29. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
  30. 2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml +232 -0
  31. 2024-06-30/summaries.json +41 -0
  32. 2024-06-30/summary.json +40 -0
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.219-208.866.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.43.0.dev0
81
+ transformers_commit: e65502951593a76844e872fee9c56b805598538a
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-30/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a
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/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a
88
+ - hydra.run.dir=_benchmark/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.293824,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
91
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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": 1715.412992,
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.04029376029968262,
118
+ "mean": 0.02014688014984131,
119
+ "stdev": 0.0003953275680541983,
120
+ "p50": 0.02014688014984131,
121
+ "p90": 0.020463142204284666,
122
+ "p95": 0.020502674961090088,
123
+ "p99": 0.020534301166534423,
124
+ "values": [
125
+ 0.020542207717895507,
126
+ 0.01975155258178711
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 347.44833681135174
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1715.503104,
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.8722958984375,
149
+ "mean": 2.43614794921875,
150
+ "stdev": 0.02306835937500007,
151
+ "p50": 2.43614794921875,
152
+ "p90": 2.45460263671875,
153
+ "p95": 2.45690947265625,
154
+ "p99": 2.45875494140625,
155
+ "values": [
156
+ 2.45921630859375,
157
+ 2.41307958984375
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 52.1314807833111
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.872116155624389,
173
+ "mean": 0.01925737610918731,
174
+ "stdev": 0.001290441125465919,
175
+ "p50": 0.01902284812927246,
176
+ "p90": 0.01986088943481445,
177
+ "p95": 0.020006502151489258,
178
+ "p99": 0.020401203155517578,
179
+ "values": [
180
+ 0.020478912353515625,
181
+ 0.020585472106933594,
182
+ 0.02003763198852539,
183
+ 0.019964927673339843,
184
+ 0.020123647689819335,
185
+ 0.019861503601074217,
186
+ 0.019954687118530275,
187
+ 0.019768320083618163,
188
+ 0.020197376251220703,
189
+ 0.019773439407348634,
190
+ 0.019947519302368166,
191
+ 0.019998720169067383,
192
+ 0.019924991607666014,
193
+ 0.01983283233642578,
194
+ 0.02016972732543945,
195
+ 0.02009600067138672,
196
+ 0.02001817512512207,
197
+ 0.019803136825561524,
198
+ 0.01981644821166992,
199
+ 0.01994553565979004,
200
+ 0.019880895614624024,
201
+ 0.019726335525512697,
202
+ 0.019615743637084963,
203
+ 0.01985843276977539,
204
+ 0.019741695404052736,
205
+ 0.01967411231994629,
206
+ 0.0196495361328125,
207
+ 0.019744768142700195,
208
+ 0.02007142448425293,
209
+ 0.020148223876953125,
210
+ 0.019983360290527344,
211
+ 0.019977216720581056,
212
+ 0.019976192474365235,
213
+ 0.019922943115234376,
214
+ 0.019870719909667968,
215
+ 0.01982771110534668,
216
+ 0.020214784622192384,
217
+ 0.01965260887145996,
218
+ 0.019748863220214845,
219
+ 0.019749887466430666,
220
+ 0.01982156753540039,
221
+ 0.01983180809020996,
222
+ 0.019664896011352538,
223
+ 0.019619840621948242,
224
+ 0.019755008697509766,
225
+ 0.019487743377685548,
226
+ 0.01965260887145996,
227
+ 0.01960550308227539,
228
+ 0.019596288681030274,
229
+ 0.019169279098510742,
230
+ 0.01887846374511719,
231
+ 0.01882521629333496,
232
+ 0.018920448303222655,
233
+ 0.018885631561279297,
234
+ 0.01883750343322754,
235
+ 0.01884774398803711,
236
+ 0.019094528198242186,
237
+ 0.019084287643432618,
238
+ 0.01905766487121582,
239
+ 0.0190699520111084,
240
+ 0.01901875114440918,
241
+ 0.01903104019165039,
242
+ 0.019122175216674805,
243
+ 0.019006464004516603,
244
+ 0.01906380844116211,
245
+ 0.019054592132568358,
246
+ 0.01906073570251465,
247
+ 0.019054592132568358,
248
+ 0.01902694320678711,
249
+ 0.01906175994873047,
250
+ 0.018983936309814452,
251
+ 0.01903411293029785,
252
+ 0.019017728805541992,
253
+ 0.01902387237548828,
254
+ 0.018983936309814452,
255
+ 0.019151872634887695,
256
+ 0.01901875114440918,
257
+ 0.01900441551208496,
258
+ 0.019005439758300782,
259
+ 0.018967552185058592,
260
+ 0.01901055908203125,
261
+ 0.018939903259277344,
262
+ 0.018989055633544923,
263
+ 0.01921433639526367,
264
+ 0.019014656066894533,
265
+ 0.019145727157592773,
266
+ 0.0190382080078125,
267
+ 0.018951168060302736,
268
+ 0.018977792739868164,
269
+ 0.019058687210083008,
270
+ 0.019062784194946288,
271
+ 0.01903615951538086,
272
+ 0.01908940887451172,
273
+ 0.019304447174072266,
274
+ 0.01906790351867676,
275
+ 0.019017728805541992,
276
+ 0.018966527938842775,
277
+ 0.018961408615112304,
278
+ 0.01903308868408203,
279
+ 0.018998271942138673,
280
+ 0.01902284812927246,
281
+ 0.01907711982727051,
282
+ 0.019009536743164062,
283
+ 0.0191016960144043,
284
+ 0.01903615951538086,
285
+ 0.019207168579101562,
286
+ 0.01904128074645996,
287
+ 0.01907711982727051,
288
+ 0.018985984802246093,
289
+ 0.018962432861328125,
290
+ 0.019083263397216797,
291
+ 0.019106815338134766,
292
+ 0.01900851249694824,
293
+ 0.01899622344970703,
294
+ 0.018982912063598634,
295
+ 0.019005439758300782,
296
+ 0.019009536743164062,
297
+ 0.018956287384033203,
298
+ 0.0190699520111084,
299
+ 0.019040319442749025,
300
+ 0.01895417594909668,
301
+ 0.01901158332824707,
302
+ 0.018965503692626954,
303
+ 0.018975744247436522,
304
+ 0.018945024490356444,
305
+ 0.019006464004516603,
306
+ 0.038831104278564454,
307
+ 0.018914304733276367,
308
+ 0.0188538875579834,
309
+ 0.018869247436523438,
310
+ 0.01883545684814453,
311
+ 0.018860063552856444,
312
+ 0.0188702392578125,
313
+ 0.01887948799133301,
314
+ 0.01883443260192871,
315
+ 0.018917375564575196,
316
+ 0.01904742431640625,
317
+ 0.018956287384033203,
318
+ 0.01903001594543457,
319
+ 0.018937856674194335,
320
+ 0.018894847869873048,
321
+ 0.018918399810791017,
322
+ 0.018889728546142577,
323
+ 0.01883545684814453,
324
+ 0.018940927505493164,
325
+ 0.018911231994628908,
326
+ 0.01884671974182129,
327
+ 0.01899212837219238,
328
+ 0.0190382080078125,
329
+ 0.018876415252685547,
330
+ 0.01883647918701172,
331
+ 0.018856960296630858,
332
+ 0.018817024230957033,
333
+ 0.018840576171875,
334
+ 0.018883583068847656,
335
+ 0.01900748825073242,
336
+ 0.01887539291381836,
337
+ 0.018900991439819336,
338
+ 0.01883647918701172,
339
+ 0.01898700714111328,
340
+ 0.018963455200195312,
341
+ 0.0188723201751709,
342
+ 0.018916351318359375,
343
+ 0.018945024490356444,
344
+ 0.01887027168273926,
345
+ 0.019062784194946288,
346
+ 0.020329471588134765,
347
+ 0.019212287902832033,
348
+ 0.01902899169921875,
349
+ 0.018865152359008788,
350
+ 0.01881497573852539,
351
+ 0.01878937530517578,
352
+ 0.018896896362304686,
353
+ 0.018902015686035157,
354
+ 0.01887846374511719,
355
+ 0.018934783935546876,
356
+ 0.01881497573852539,
357
+ 0.018868223190307617,
358
+ 0.018951168060302736,
359
+ 0.018985984802246093,
360
+ 0.01903001594543457,
361
+ 0.01900748825073242,
362
+ 0.018888704299926756,
363
+ 0.01900032043457031,
364
+ 0.019017728805541992,
365
+ 0.019100671768188478,
366
+ 0.01900851249694824,
367
+ 0.019019775390625,
368
+ 0.01922047996520996,
369
+ 0.019297279357910157,
370
+ 0.01903308868408203,
371
+ 0.019021823883056642,
372
+ 0.018997247695922852,
373
+ 0.019021823883056642,
374
+ 0.019092479705810548,
375
+ 0.019056640625,
376
+ 0.0190699520111084,
377
+ 0.01967001533508301,
378
+ 0.019288063049316406,
379
+ 0.01908940887451172,
380
+ 0.018969600677490234,
381
+ 0.018967552185058592,
382
+ 0.019005439758300782,
383
+ 0.01903308868408203,
384
+ 0.018990079879760743,
385
+ 0.01904128074645996,
386
+ 0.018961408615112304,
387
+ 0.018988031387329102,
388
+ 0.01904947280883789,
389
+ 0.018988031387329102,
390
+ 0.018959360122680666,
391
+ 0.01904947280883789,
392
+ 0.01903104019165039,
393
+ 0.019074047088623047,
394
+ 0.019292160034179686,
395
+ 0.019115007400512696,
396
+ 0.019013631820678712,
397
+ 0.01900032043457031,
398
+ 0.01903206443786621,
399
+ 0.018981887817382814,
400
+ 0.01905971145629883,
401
+ 0.01904537582397461,
402
+ 0.01905561637878418,
403
+ 0.01901670455932617,
404
+ 0.018967552185058592,
405
+ 0.01899519920349121,
406
+ 0.01904742431640625,
407
+ 0.018937856674194335,
408
+ 0.01923174476623535,
409
+ 0.019082239151000976,
410
+ 0.018966527938842775,
411
+ 0.01903308868408203,
412
+ 0.01904332733154297,
413
+ 0.01900441551208496,
414
+ 0.01903206443786621,
415
+ 0.018958335876464845,
416
+ 0.018982912063598634,
417
+ 0.018968576431274413,
418
+ 0.01926655960083008,
419
+ 0.019006464004516603,
420
+ 0.01920102310180664,
421
+ 0.018964479446411133,
422
+ 0.018938880920410156,
423
+ 0.01899929618835449,
424
+ 0.018998271942138673,
425
+ 0.01901055908203125,
426
+ 0.0190515193939209,
427
+ 0.01900851249694824,
428
+ 0.018968576431274413,
429
+ 0.018985984802246093,
430
+ 0.019072000503540038,
431
+ 0.018988031387329102,
432
+ 0.018976768493652343
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 51.92815440328446
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
90
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prefill": {
3
+ "memory": {
4
+ "unit": "MB",
5
+ "max_ram": 1715.412992,
6
+ "max_global_vram": 6793.199616,
7
+ "max_process_vram": 0.0,
8
+ "max_reserved": 6146.752512,
9
+ "max_allocated": 5034.576896
10
+ },
11
+ "latency": {
12
+ "unit": "s",
13
+ "count": 2,
14
+ "total": 0.04029376029968262,
15
+ "mean": 0.02014688014984131,
16
+ "stdev": 0.0003953275680541983,
17
+ "p50": 0.02014688014984131,
18
+ "p90": 0.020463142204284666,
19
+ "p95": 0.020502674961090088,
20
+ "p99": 0.020534301166534423,
21
+ "values": [
22
+ 0.020542207717895507,
23
+ 0.01975155258178711
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 347.44833681135174
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1715.503104,
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.8722958984375,
46
+ "mean": 2.43614794921875,
47
+ "stdev": 0.02306835937500007,
48
+ "p50": 2.43614794921875,
49
+ "p90": 2.45460263671875,
50
+ "p95": 2.45690947265625,
51
+ "p99": 2.45875494140625,
52
+ "values": [
53
+ 2.45921630859375,
54
+ 2.41307958984375
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 52.1314807833111
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.872116155624389,
70
+ "mean": 0.01925737610918731,
71
+ "stdev": 0.001290441125465919,
72
+ "p50": 0.01902284812927246,
73
+ "p90": 0.01986088943481445,
74
+ "p95": 0.020006502151489258,
75
+ "p99": 0.020401203155517578,
76
+ "values": [
77
+ 0.020478912353515625,
78
+ 0.020585472106933594,
79
+ 0.02003763198852539,
80
+ 0.019964927673339843,
81
+ 0.020123647689819335,
82
+ 0.019861503601074217,
83
+ 0.019954687118530275,
84
+ 0.019768320083618163,
85
+ 0.020197376251220703,
86
+ 0.019773439407348634,
87
+ 0.019947519302368166,
88
+ 0.019998720169067383,
89
+ 0.019924991607666014,
90
+ 0.01983283233642578,
91
+ 0.02016972732543945,
92
+ 0.02009600067138672,
93
+ 0.02001817512512207,
94
+ 0.019803136825561524,
95
+ 0.01981644821166992,
96
+ 0.01994553565979004,
97
+ 0.019880895614624024,
98
+ 0.019726335525512697,
99
+ 0.019615743637084963,
100
+ 0.01985843276977539,
101
+ 0.019741695404052736,
102
+ 0.01967411231994629,
103
+ 0.0196495361328125,
104
+ 0.019744768142700195,
105
+ 0.02007142448425293,
106
+ 0.020148223876953125,
107
+ 0.019983360290527344,
108
+ 0.019977216720581056,
109
+ 0.019976192474365235,
110
+ 0.019922943115234376,
111
+ 0.019870719909667968,
112
+ 0.01982771110534668,
113
+ 0.020214784622192384,
114
+ 0.01965260887145996,
115
+ 0.019748863220214845,
116
+ 0.019749887466430666,
117
+ 0.01982156753540039,
118
+ 0.01983180809020996,
119
+ 0.019664896011352538,
120
+ 0.019619840621948242,
121
+ 0.019755008697509766,
122
+ 0.019487743377685548,
123
+ 0.01965260887145996,
124
+ 0.01960550308227539,
125
+ 0.019596288681030274,
126
+ 0.019169279098510742,
127
+ 0.01887846374511719,
128
+ 0.01882521629333496,
129
+ 0.018920448303222655,
130
+ 0.018885631561279297,
131
+ 0.01883750343322754,
132
+ 0.01884774398803711,
133
+ 0.019094528198242186,
134
+ 0.019084287643432618,
135
+ 0.01905766487121582,
136
+ 0.0190699520111084,
137
+ 0.01901875114440918,
138
+ 0.01903104019165039,
139
+ 0.019122175216674805,
140
+ 0.019006464004516603,
141
+ 0.01906380844116211,
142
+ 0.019054592132568358,
143
+ 0.01906073570251465,
144
+ 0.019054592132568358,
145
+ 0.01902694320678711,
146
+ 0.01906175994873047,
147
+ 0.018983936309814452,
148
+ 0.01903411293029785,
149
+ 0.019017728805541992,
150
+ 0.01902387237548828,
151
+ 0.018983936309814452,
152
+ 0.019151872634887695,
153
+ 0.01901875114440918,
154
+ 0.01900441551208496,
155
+ 0.019005439758300782,
156
+ 0.018967552185058592,
157
+ 0.01901055908203125,
158
+ 0.018939903259277344,
159
+ 0.018989055633544923,
160
+ 0.01921433639526367,
161
+ 0.019014656066894533,
162
+ 0.019145727157592773,
163
+ 0.0190382080078125,
164
+ 0.018951168060302736,
165
+ 0.018977792739868164,
166
+ 0.019058687210083008,
167
+ 0.019062784194946288,
168
+ 0.01903615951538086,
169
+ 0.01908940887451172,
170
+ 0.019304447174072266,
171
+ 0.01906790351867676,
172
+ 0.019017728805541992,
173
+ 0.018966527938842775,
174
+ 0.018961408615112304,
175
+ 0.01903308868408203,
176
+ 0.018998271942138673,
177
+ 0.01902284812927246,
178
+ 0.01907711982727051,
179
+ 0.019009536743164062,
180
+ 0.0191016960144043,
181
+ 0.01903615951538086,
182
+ 0.019207168579101562,
183
+ 0.01904128074645996,
184
+ 0.01907711982727051,
185
+ 0.018985984802246093,
186
+ 0.018962432861328125,
187
+ 0.019083263397216797,
188
+ 0.019106815338134766,
189
+ 0.01900851249694824,
190
+ 0.01899622344970703,
191
+ 0.018982912063598634,
192
+ 0.019005439758300782,
193
+ 0.019009536743164062,
194
+ 0.018956287384033203,
195
+ 0.0190699520111084,
196
+ 0.019040319442749025,
197
+ 0.01895417594909668,
198
+ 0.01901158332824707,
199
+ 0.018965503692626954,
200
+ 0.018975744247436522,
201
+ 0.018945024490356444,
202
+ 0.019006464004516603,
203
+ 0.038831104278564454,
204
+ 0.018914304733276367,
205
+ 0.0188538875579834,
206
+ 0.018869247436523438,
207
+ 0.01883545684814453,
208
+ 0.018860063552856444,
209
+ 0.0188702392578125,
210
+ 0.01887948799133301,
211
+ 0.01883443260192871,
212
+ 0.018917375564575196,
213
+ 0.01904742431640625,
214
+ 0.018956287384033203,
215
+ 0.01903001594543457,
216
+ 0.018937856674194335,
217
+ 0.018894847869873048,
218
+ 0.018918399810791017,
219
+ 0.018889728546142577,
220
+ 0.01883545684814453,
221
+ 0.018940927505493164,
222
+ 0.018911231994628908,
223
+ 0.01884671974182129,
224
+ 0.01899212837219238,
225
+ 0.0190382080078125,
226
+ 0.018876415252685547,
227
+ 0.01883647918701172,
228
+ 0.018856960296630858,
229
+ 0.018817024230957033,
230
+ 0.018840576171875,
231
+ 0.018883583068847656,
232
+ 0.01900748825073242,
233
+ 0.01887539291381836,
234
+ 0.018900991439819336,
235
+ 0.01883647918701172,
236
+ 0.01898700714111328,
237
+ 0.018963455200195312,
238
+ 0.0188723201751709,
239
+ 0.018916351318359375,
240
+ 0.018945024490356444,
241
+ 0.01887027168273926,
242
+ 0.019062784194946288,
243
+ 0.020329471588134765,
244
+ 0.019212287902832033,
245
+ 0.01902899169921875,
246
+ 0.018865152359008788,
247
+ 0.01881497573852539,
248
+ 0.01878937530517578,
249
+ 0.018896896362304686,
250
+ 0.018902015686035157,
251
+ 0.01887846374511719,
252
+ 0.018934783935546876,
253
+ 0.01881497573852539,
254
+ 0.018868223190307617,
255
+ 0.018951168060302736,
256
+ 0.018985984802246093,
257
+ 0.01903001594543457,
258
+ 0.01900748825073242,
259
+ 0.018888704299926756,
260
+ 0.01900032043457031,
261
+ 0.019017728805541992,
262
+ 0.019100671768188478,
263
+ 0.01900851249694824,
264
+ 0.019019775390625,
265
+ 0.01922047996520996,
266
+ 0.019297279357910157,
267
+ 0.01903308868408203,
268
+ 0.019021823883056642,
269
+ 0.018997247695922852,
270
+ 0.019021823883056642,
271
+ 0.019092479705810548,
272
+ 0.019056640625,
273
+ 0.0190699520111084,
274
+ 0.01967001533508301,
275
+ 0.019288063049316406,
276
+ 0.01908940887451172,
277
+ 0.018969600677490234,
278
+ 0.018967552185058592,
279
+ 0.019005439758300782,
280
+ 0.01903308868408203,
281
+ 0.018990079879760743,
282
+ 0.01904128074645996,
283
+ 0.018961408615112304,
284
+ 0.018988031387329102,
285
+ 0.01904947280883789,
286
+ 0.018988031387329102,
287
+ 0.018959360122680666,
288
+ 0.01904947280883789,
289
+ 0.01903104019165039,
290
+ 0.019074047088623047,
291
+ 0.019292160034179686,
292
+ 0.019115007400512696,
293
+ 0.019013631820678712,
294
+ 0.01900032043457031,
295
+ 0.01903206443786621,
296
+ 0.018981887817382814,
297
+ 0.01905971145629883,
298
+ 0.01904537582397461,
299
+ 0.01905561637878418,
300
+ 0.01901670455932617,
301
+ 0.018967552185058592,
302
+ 0.01899519920349121,
303
+ 0.01904742431640625,
304
+ 0.018937856674194335,
305
+ 0.01923174476623535,
306
+ 0.019082239151000976,
307
+ 0.018966527938842775,
308
+ 0.01903308868408203,
309
+ 0.01904332733154297,
310
+ 0.01900441551208496,
311
+ 0.01903206443786621,
312
+ 0.018958335876464845,
313
+ 0.018982912063598634,
314
+ 0.018968576431274413,
315
+ 0.01926655960083008,
316
+ 0.019006464004516603,
317
+ 0.01920102310180664,
318
+ 0.018964479446411133,
319
+ 0.018938880920410156,
320
+ 0.01899929618835449,
321
+ 0.018998271942138673,
322
+ 0.01901055908203125,
323
+ 0.0190515193939209,
324
+ 0.01900851249694824,
325
+ 0.018968576431274413,
326
+ 0.018985984802246093,
327
+ 0.019072000503540038,
328
+ 0.018988031387329102,
329
+ 0.018976768493652343
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 51.92815440328446
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
4
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.02014688014984131,
7
+ "prefill.throughput.value": 347.44833681135174,
8
+ "decode.latency.mean": 2.43614794921875,
9
+ "decode.throughput.value": 52.1314807833111,
10
+ "per_token.latency.mean": 0.01925737610918731,
11
+ "per_token.throughput.value": 51.92815440328446
12
+ }
13
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.219-208.866.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.43.0.dev0
81
+ transformers_commit: e65502951593a76844e872fee9c56b805598538a
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-30/commit=e65502951593a76844e872fee9c56b805598538a/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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a
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/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a
88
+ - hydra.run.dir=_benchmark/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
@@ -0,0 +1 @@
 
 
1
+ [ISOLATED-PROCESS][2024-06-30 02:35:34,056][process][ERROR] - + Sending traceback to main process
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
90
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.219-208.866.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.43.0.dev0
81
+ transformers_commit: e65502951593a76844e872fee9c56b805598538a
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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a
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/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a
88
+ - hydra.run.dir=_benchmark/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": "static",
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.293824,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
91
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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": 1761.304576,
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.0446639347076416,
118
+ "mean": 0.0223319673538208,
119
+ "stdev": 0.00039136028289794844,
120
+ "p50": 0.0223319673538208,
121
+ "p90": 0.02264505558013916,
122
+ "p95": 0.022684191608428952,
123
+ "p99": 0.02271550043106079,
124
+ "values": [
125
+ 0.02272332763671875,
126
+ 0.021940607070922852
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 313.4520075680821
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1761.386496,
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.168105224609375,
149
+ "mean": 2.5840526123046876,
150
+ "stdev": 0.012695922851562402,
151
+ "p50": 2.5840526123046876,
152
+ "p90": 2.5942093505859374,
153
+ "p95": 2.5954789428710936,
154
+ "p99": 2.5964946166992187,
155
+ "values": [
156
+ 2.59674853515625,
157
+ 2.571356689453125
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 49.14760612661447
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.169231868743895,
173
+ "mean": 0.020431746516774294,
174
+ "stdev": 0.0014154096794369102,
175
+ "p50": 0.02017791938781738,
176
+ "p90": 0.020888576507568358,
177
+ "p95": 0.021062041091918945,
178
+ "p99": 0.021587517700195312,
179
+ "values": [
180
+ 0.020855808258056642,
181
+ 0.020970495223999023,
182
+ 0.020955135345458984,
183
+ 0.02083839988708496,
184
+ 0.0208721923828125,
185
+ 0.020757503509521484,
186
+ 0.020839424133300782,
187
+ 0.020595712661743162,
188
+ 0.020686847686767578,
189
+ 0.020774911880493165,
190
+ 0.020884479522705078,
191
+ 0.02087014389038086,
192
+ 0.020747264862060546,
193
+ 0.021082111358642578,
194
+ 0.021008384704589843,
195
+ 0.021021696090698243,
196
+ 0.02083839988708496,
197
+ 0.020749311447143554,
198
+ 0.020909055709838868,
199
+ 0.02124083137512207,
200
+ 0.021817344665527344,
201
+ 0.02106879997253418,
202
+ 0.02123161506652832,
203
+ 0.02088960075378418,
204
+ 0.020558847427368163,
205
+ 0.020716543197631835,
206
+ 0.021120000839233398,
207
+ 0.02105753517150879,
208
+ 0.0208353271484375,
209
+ 0.020992000579833983,
210
+ 0.02083839988708496,
211
+ 0.020625408172607423,
212
+ 0.021214208602905273,
213
+ 0.021745664596557617,
214
+ 0.020733951568603515,
215
+ 0.020603904724121092,
216
+ 0.02065510368347168,
217
+ 0.02061414337158203,
218
+ 0.020692991256713866,
219
+ 0.02043391990661621,
220
+ 0.021441535949707033,
221
+ 0.020988927841186524,
222
+ 0.021102592468261717,
223
+ 0.020720640182495118,
224
+ 0.020562944412231447,
225
+ 0.02045747184753418,
226
+ 0.020471807479858398,
227
+ 0.020455423355102538,
228
+ 0.02031718444824219,
229
+ 0.020164608001708984,
230
+ 0.020145151138305666,
231
+ 0.020136959075927736,
232
+ 0.020151296615600587,
233
+ 0.02010419273376465,
234
+ 0.020173824310302735,
235
+ 0.020115455627441405,
236
+ 0.020159488677978517,
237
+ 0.020133888244628906,
238
+ 0.02016972732543945,
239
+ 0.020134912490844727,
240
+ 0.020123647689819335,
241
+ 0.020172800064086914,
242
+ 0.020185087203979494,
243
+ 0.020172800064086914,
244
+ 0.02020147132873535,
245
+ 0.020157440185546875,
246
+ 0.020304895401000975,
247
+ 0.02020966339111328,
248
+ 0.020196352005004883,
249
+ 0.020185087203979494,
250
+ 0.020153343200683595,
251
+ 0.020135936737060548,
252
+ 0.020158464431762696,
253
+ 0.020115455627441405,
254
+ 0.020157440185546875,
255
+ 0.020149248123168945,
256
+ 0.020133888244628906,
257
+ 0.020122623443603514,
258
+ 0.0200949764251709,
259
+ 0.020305919647216796,
260
+ 0.02009600067138672,
261
+ 0.020076543807983398,
262
+ 0.020143104553222657,
263
+ 0.020107263565063475,
264
+ 0.02007347106933594,
265
+ 0.02009702491760254,
266
+ 0.020123647689819335,
267
+ 0.020157440185546875,
268
+ 0.020144128799438478,
269
+ 0.020106239318847655,
270
+ 0.02131455993652344,
271
+ 0.020198400497436524,
272
+ 0.020230144500732423,
273
+ 0.020199424743652345,
274
+ 0.020198400497436524,
275
+ 0.020129791259765627,
276
+ 0.020131839752197265,
277
+ 0.020144128799438478,
278
+ 0.020122623443603514,
279
+ 0.02011955261230469,
280
+ 0.020139007568359374,
281
+ 0.02012876892089844,
282
+ 0.020389888763427736,
283
+ 0.020172800064086914,
284
+ 0.02017791938781738,
285
+ 0.020133888244628906,
286
+ 0.020132863998413086,
287
+ 0.020151296615600587,
288
+ 0.020134912490844727,
289
+ 0.020141056060791016,
290
+ 0.020146175384521483,
291
+ 0.020175872802734376,
292
+ 0.020200447082519533,
293
+ 0.020179967880249023,
294
+ 0.020197376251220703,
295
+ 0.020208639144897463,
296
+ 0.02021683120727539,
297
+ 0.02027008056640625,
298
+ 0.020179967880249023,
299
+ 0.020160512924194338,
300
+ 0.020152320861816408,
301
+ 0.020151296615600587,
302
+ 0.020117504119873047,
303
+ 0.020124671936035156,
304
+ 0.020189184188842774,
305
+ 0.020130815505981444,
306
+ 0.04225228881835937,
307
+ 0.020150272369384766,
308
+ 0.02020249557495117,
309
+ 0.020163583755493163,
310
+ 0.021106687545776368,
311
+ 0.02082918357849121,
312
+ 0.02081279945373535,
313
+ 0.020171775817871093,
314
+ 0.02021785545349121,
315
+ 0.020173824310302735,
316
+ 0.020172800064086914,
317
+ 0.02018611145019531,
318
+ 0.021005311965942384,
319
+ 0.020330495834350586,
320
+ 0.02008883285522461,
321
+ 0.020114431381225584,
322
+ 0.020145151138305666,
323
+ 0.020143104553222657,
324
+ 0.020163583755493163,
325
+ 0.020148223876953125,
326
+ 0.020182016372680665,
327
+ 0.020183040618896485,
328
+ 0.020168703079223634,
329
+ 0.0202106876373291,
330
+ 0.020145151138305666,
331
+ 0.020213760375976563,
332
+ 0.020157440185546875,
333
+ 0.020139007568359374,
334
+ 0.020187135696411132,
335
+ 0.020132863998413086,
336
+ 0.020135936737060548,
337
+ 0.020168703079223634,
338
+ 0.020157440185546875,
339
+ 0.020154367446899413,
340
+ 0.020528127670288086,
341
+ 0.020159488677978517,
342
+ 0.020131839752197265,
343
+ 0.020118528366088868,
344
+ 0.02024550437927246,
345
+ 0.020185087203979494,
346
+ 0.020151296615600587,
347
+ 0.020184064865112306,
348
+ 0.020162559509277343,
349
+ 0.020163583755493163,
350
+ 0.020162559509277343,
351
+ 0.02011238479614258,
352
+ 0.02025984001159668,
353
+ 0.020191232681274415,
354
+ 0.020195327758789062,
355
+ 0.020163583755493163,
356
+ 0.020125696182250977,
357
+ 0.02016972732543945,
358
+ 0.020184064865112306,
359
+ 0.020200447082519533,
360
+ 0.020166656494140626,
361
+ 0.020155391693115234,
362
+ 0.020165632247924805,
363
+ 0.020167680740356447,
364
+ 0.020141056060791016,
365
+ 0.020114431381225584,
366
+ 0.020131839752197265,
367
+ 0.020115455627441405,
368
+ 0.021019647598266602,
369
+ 0.020445184707641603,
370
+ 0.020779008865356444,
371
+ 0.02022707176208496,
372
+ 0.020107263565063475,
373
+ 0.020171775817871093,
374
+ 0.020156415939331054,
375
+ 0.020222976684570314,
376
+ 0.020173824310302735,
377
+ 0.020165632247924805,
378
+ 0.020117504119873047,
379
+ 0.02026700782775879,
380
+ 0.020151296615600587,
381
+ 0.02021887969970703,
382
+ 0.020242431640625,
383
+ 0.020179967880249023,
384
+ 0.020170751571655272,
385
+ 0.020166656494140626,
386
+ 0.020151296615600587,
387
+ 0.020279296875,
388
+ 0.020187135696411132,
389
+ 0.020158464431762696,
390
+ 0.020126720428466797,
391
+ 0.02019327926635742,
392
+ 0.020167680740356447,
393
+ 0.020157440185546875,
394
+ 0.0206878719329834,
395
+ 0.020200447082519533,
396
+ 0.020135936737060548,
397
+ 0.020207616806030275,
398
+ 0.020147199630737304,
399
+ 0.020151296615600587,
400
+ 0.020136959075927736,
401
+ 0.020106239318847655,
402
+ 0.020174848556518556,
403
+ 0.02023526382446289,
404
+ 0.020189184188842774,
405
+ 0.020140031814575195,
406
+ 0.020160512924194338,
407
+ 0.02021171188354492,
408
+ 0.020145151138305666,
409
+ 0.020983808517456053,
410
+ 0.020728832244873048,
411
+ 0.020173824310302735,
412
+ 0.020137983322143553,
413
+ 0.020157440185546875,
414
+ 0.020124671936035156,
415
+ 0.020179967880249023,
416
+ 0.02021683120727539,
417
+ 0.020973567962646485,
418
+ 0.020726783752441406,
419
+ 0.020179967880249023,
420
+ 0.020176895141601564,
421
+ 0.020189184188842774,
422
+ 0.02021990394592285,
423
+ 0.020237312316894532,
424
+ 0.020141056060791016,
425
+ 0.02017791938781738,
426
+ 0.020165632247924805,
427
+ 0.020802560806274413,
428
+ 0.020007936477661133,
429
+ 0.020051967620849608,
430
+ 0.020754432678222655,
431
+ 0.020257791519165038,
432
+ 0.020256767272949217
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 48.943441970514286
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
90
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prefill": {
3
+ "memory": {
4
+ "unit": "MB",
5
+ "max_ram": 1761.304576,
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.0446639347076416,
15
+ "mean": 0.0223319673538208,
16
+ "stdev": 0.00039136028289794844,
17
+ "p50": 0.0223319673538208,
18
+ "p90": 0.02264505558013916,
19
+ "p95": 0.022684191608428952,
20
+ "p99": 0.02271550043106079,
21
+ "values": [
22
+ 0.02272332763671875,
23
+ 0.021940607070922852
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 313.4520075680821
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1761.386496,
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.168105224609375,
46
+ "mean": 2.5840526123046876,
47
+ "stdev": 0.012695922851562402,
48
+ "p50": 2.5840526123046876,
49
+ "p90": 2.5942093505859374,
50
+ "p95": 2.5954789428710936,
51
+ "p99": 2.5964946166992187,
52
+ "values": [
53
+ 2.59674853515625,
54
+ 2.571356689453125
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 49.14760612661447
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.169231868743895,
70
+ "mean": 0.020431746516774294,
71
+ "stdev": 0.0014154096794369102,
72
+ "p50": 0.02017791938781738,
73
+ "p90": 0.020888576507568358,
74
+ "p95": 0.021062041091918945,
75
+ "p99": 0.021587517700195312,
76
+ "values": [
77
+ 0.020855808258056642,
78
+ 0.020970495223999023,
79
+ 0.020955135345458984,
80
+ 0.02083839988708496,
81
+ 0.0208721923828125,
82
+ 0.020757503509521484,
83
+ 0.020839424133300782,
84
+ 0.020595712661743162,
85
+ 0.020686847686767578,
86
+ 0.020774911880493165,
87
+ 0.020884479522705078,
88
+ 0.02087014389038086,
89
+ 0.020747264862060546,
90
+ 0.021082111358642578,
91
+ 0.021008384704589843,
92
+ 0.021021696090698243,
93
+ 0.02083839988708496,
94
+ 0.020749311447143554,
95
+ 0.020909055709838868,
96
+ 0.02124083137512207,
97
+ 0.021817344665527344,
98
+ 0.02106879997253418,
99
+ 0.02123161506652832,
100
+ 0.02088960075378418,
101
+ 0.020558847427368163,
102
+ 0.020716543197631835,
103
+ 0.021120000839233398,
104
+ 0.02105753517150879,
105
+ 0.0208353271484375,
106
+ 0.020992000579833983,
107
+ 0.02083839988708496,
108
+ 0.020625408172607423,
109
+ 0.021214208602905273,
110
+ 0.021745664596557617,
111
+ 0.020733951568603515,
112
+ 0.020603904724121092,
113
+ 0.02065510368347168,
114
+ 0.02061414337158203,
115
+ 0.020692991256713866,
116
+ 0.02043391990661621,
117
+ 0.021441535949707033,
118
+ 0.020988927841186524,
119
+ 0.021102592468261717,
120
+ 0.020720640182495118,
121
+ 0.020562944412231447,
122
+ 0.02045747184753418,
123
+ 0.020471807479858398,
124
+ 0.020455423355102538,
125
+ 0.02031718444824219,
126
+ 0.020164608001708984,
127
+ 0.020145151138305666,
128
+ 0.020136959075927736,
129
+ 0.020151296615600587,
130
+ 0.02010419273376465,
131
+ 0.020173824310302735,
132
+ 0.020115455627441405,
133
+ 0.020159488677978517,
134
+ 0.020133888244628906,
135
+ 0.02016972732543945,
136
+ 0.020134912490844727,
137
+ 0.020123647689819335,
138
+ 0.020172800064086914,
139
+ 0.020185087203979494,
140
+ 0.020172800064086914,
141
+ 0.02020147132873535,
142
+ 0.020157440185546875,
143
+ 0.020304895401000975,
144
+ 0.02020966339111328,
145
+ 0.020196352005004883,
146
+ 0.020185087203979494,
147
+ 0.020153343200683595,
148
+ 0.020135936737060548,
149
+ 0.020158464431762696,
150
+ 0.020115455627441405,
151
+ 0.020157440185546875,
152
+ 0.020149248123168945,
153
+ 0.020133888244628906,
154
+ 0.020122623443603514,
155
+ 0.0200949764251709,
156
+ 0.020305919647216796,
157
+ 0.02009600067138672,
158
+ 0.020076543807983398,
159
+ 0.020143104553222657,
160
+ 0.020107263565063475,
161
+ 0.02007347106933594,
162
+ 0.02009702491760254,
163
+ 0.020123647689819335,
164
+ 0.020157440185546875,
165
+ 0.020144128799438478,
166
+ 0.020106239318847655,
167
+ 0.02131455993652344,
168
+ 0.020198400497436524,
169
+ 0.020230144500732423,
170
+ 0.020199424743652345,
171
+ 0.020198400497436524,
172
+ 0.020129791259765627,
173
+ 0.020131839752197265,
174
+ 0.020144128799438478,
175
+ 0.020122623443603514,
176
+ 0.02011955261230469,
177
+ 0.020139007568359374,
178
+ 0.02012876892089844,
179
+ 0.020389888763427736,
180
+ 0.020172800064086914,
181
+ 0.02017791938781738,
182
+ 0.020133888244628906,
183
+ 0.020132863998413086,
184
+ 0.020151296615600587,
185
+ 0.020134912490844727,
186
+ 0.020141056060791016,
187
+ 0.020146175384521483,
188
+ 0.020175872802734376,
189
+ 0.020200447082519533,
190
+ 0.020179967880249023,
191
+ 0.020197376251220703,
192
+ 0.020208639144897463,
193
+ 0.02021683120727539,
194
+ 0.02027008056640625,
195
+ 0.020179967880249023,
196
+ 0.020160512924194338,
197
+ 0.020152320861816408,
198
+ 0.020151296615600587,
199
+ 0.020117504119873047,
200
+ 0.020124671936035156,
201
+ 0.020189184188842774,
202
+ 0.020130815505981444,
203
+ 0.04225228881835937,
204
+ 0.020150272369384766,
205
+ 0.02020249557495117,
206
+ 0.020163583755493163,
207
+ 0.021106687545776368,
208
+ 0.02082918357849121,
209
+ 0.02081279945373535,
210
+ 0.020171775817871093,
211
+ 0.02021785545349121,
212
+ 0.020173824310302735,
213
+ 0.020172800064086914,
214
+ 0.02018611145019531,
215
+ 0.021005311965942384,
216
+ 0.020330495834350586,
217
+ 0.02008883285522461,
218
+ 0.020114431381225584,
219
+ 0.020145151138305666,
220
+ 0.020143104553222657,
221
+ 0.020163583755493163,
222
+ 0.020148223876953125,
223
+ 0.020182016372680665,
224
+ 0.020183040618896485,
225
+ 0.020168703079223634,
226
+ 0.0202106876373291,
227
+ 0.020145151138305666,
228
+ 0.020213760375976563,
229
+ 0.020157440185546875,
230
+ 0.020139007568359374,
231
+ 0.020187135696411132,
232
+ 0.020132863998413086,
233
+ 0.020135936737060548,
234
+ 0.020168703079223634,
235
+ 0.020157440185546875,
236
+ 0.020154367446899413,
237
+ 0.020528127670288086,
238
+ 0.020159488677978517,
239
+ 0.020131839752197265,
240
+ 0.020118528366088868,
241
+ 0.02024550437927246,
242
+ 0.020185087203979494,
243
+ 0.020151296615600587,
244
+ 0.020184064865112306,
245
+ 0.020162559509277343,
246
+ 0.020163583755493163,
247
+ 0.020162559509277343,
248
+ 0.02011238479614258,
249
+ 0.02025984001159668,
250
+ 0.020191232681274415,
251
+ 0.020195327758789062,
252
+ 0.020163583755493163,
253
+ 0.020125696182250977,
254
+ 0.02016972732543945,
255
+ 0.020184064865112306,
256
+ 0.020200447082519533,
257
+ 0.020166656494140626,
258
+ 0.020155391693115234,
259
+ 0.020165632247924805,
260
+ 0.020167680740356447,
261
+ 0.020141056060791016,
262
+ 0.020114431381225584,
263
+ 0.020131839752197265,
264
+ 0.020115455627441405,
265
+ 0.021019647598266602,
266
+ 0.020445184707641603,
267
+ 0.020779008865356444,
268
+ 0.02022707176208496,
269
+ 0.020107263565063475,
270
+ 0.020171775817871093,
271
+ 0.020156415939331054,
272
+ 0.020222976684570314,
273
+ 0.020173824310302735,
274
+ 0.020165632247924805,
275
+ 0.020117504119873047,
276
+ 0.02026700782775879,
277
+ 0.020151296615600587,
278
+ 0.02021887969970703,
279
+ 0.020242431640625,
280
+ 0.020179967880249023,
281
+ 0.020170751571655272,
282
+ 0.020166656494140626,
283
+ 0.020151296615600587,
284
+ 0.020279296875,
285
+ 0.020187135696411132,
286
+ 0.020158464431762696,
287
+ 0.020126720428466797,
288
+ 0.02019327926635742,
289
+ 0.020167680740356447,
290
+ 0.020157440185546875,
291
+ 0.0206878719329834,
292
+ 0.020200447082519533,
293
+ 0.020135936737060548,
294
+ 0.020207616806030275,
295
+ 0.020147199630737304,
296
+ 0.020151296615600587,
297
+ 0.020136959075927736,
298
+ 0.020106239318847655,
299
+ 0.020174848556518556,
300
+ 0.02023526382446289,
301
+ 0.020189184188842774,
302
+ 0.020140031814575195,
303
+ 0.020160512924194338,
304
+ 0.02021171188354492,
305
+ 0.020145151138305666,
306
+ 0.020983808517456053,
307
+ 0.020728832244873048,
308
+ 0.020173824310302735,
309
+ 0.020137983322143553,
310
+ 0.020157440185546875,
311
+ 0.020124671936035156,
312
+ 0.020179967880249023,
313
+ 0.02021683120727539,
314
+ 0.020973567962646485,
315
+ 0.020726783752441406,
316
+ 0.020179967880249023,
317
+ 0.020176895141601564,
318
+ 0.020189184188842774,
319
+ 0.02021990394592285,
320
+ 0.020237312316894532,
321
+ 0.020141056060791016,
322
+ 0.02017791938781738,
323
+ 0.020165632247924805,
324
+ 0.020802560806274413,
325
+ 0.020007936477661133,
326
+ 0.020051967620849608,
327
+ 0.020754432678222655,
328
+ 0.020257791519165038,
329
+ 0.020256767272949217
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 48.943441970514286
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.0223319673538208,
7
+ "prefill.throughput.value": 313.4520075680821,
8
+ "decode.latency.mean": 2.5840526123046876,
9
+ "decode.throughput.value": 49.14760612661447,
10
+ "per_token.latency.mean": 0.020431746516774294,
11
+ "per_token.throughput.value": 48.943441970514286
12
+ }
13
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.219-208.866.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.43.0.dev0
81
+ transformers_commit: e65502951593a76844e872fee9c56b805598538a
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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a
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/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a
88
+ - hydra.run.dir=_benchmark/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a/${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/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": "static",
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": true,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.293824,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
91
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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": 1916.018688,
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.028205247879028318,
118
+ "mean": 0.014102623939514159,
119
+ "stdev": 9.753608703613314e-05,
120
+ "p50": 0.014102623939514159,
121
+ "p90": 0.014180652809143067,
122
+ "p95": 0.01419040641784668,
123
+ "p99": 0.01419820930480957,
124
+ "values": [
125
+ 0.014200160026550293,
126
+ 0.014005087852478027
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 496.36153030973844
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 2259.800064,
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.1236318359375,
149
+ "mean": 1.56181591796875,
150
+ "stdev": 0.0029029541015624938,
151
+ "p50": 1.56181591796875,
152
+ "p90": 1.56413828125,
153
+ "p95": 1.5644285766601562,
154
+ "p99": 1.5646608129882813,
155
+ "values": [
156
+ 1.5647188720703125,
157
+ 1.5589129638671875
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 81.31560098655692
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.124745247840881,
173
+ "mean": 0.01235077173059637,
174
+ "stdev": 0.0008964232877992926,
175
+ "p50": 0.012283904075622559,
176
+ "p90": 0.012317490959167482,
177
+ "p95": 0.012416614532470702,
178
+ "p99": 0.012777021827697752,
179
+ "values": [
180
+ 0.012670975685119629,
181
+ 0.012729344367980957,
182
+ 0.012684288024902344,
183
+ 0.012828672409057617,
184
+ 0.012890111923217774,
185
+ 0.01248256015777588,
186
+ 0.012270591735839843,
187
+ 0.012304384231567383,
188
+ 0.01225830364227295,
189
+ 0.012302335739135742,
190
+ 0.012277759552001954,
191
+ 0.012328960418701173,
192
+ 0.01226854419708252,
193
+ 0.012302335739135742,
194
+ 0.012281855583190919,
195
+ 0.012310527801513671,
196
+ 0.012246015548706055,
197
+ 0.012302335739135742,
198
+ 0.012508159637451171,
199
+ 0.012558336257934571,
200
+ 0.012332032203674317,
201
+ 0.012315648078918457,
202
+ 0.012283904075622559,
203
+ 0.012316672325134278,
204
+ 0.012310527801513671,
205
+ 0.012722175598144531,
206
+ 0.012285951614379884,
207
+ 0.012454912185668946,
208
+ 0.012271615982055664,
209
+ 0.012302335739135742,
210
+ 0.01225011157989502,
211
+ 0.012313599586486817,
212
+ 0.01227673625946045,
213
+ 0.012300288200378418,
214
+ 0.01226854419708252,
215
+ 0.012288000106811523,
216
+ 0.01224396800994873,
217
+ 0.012298239707946777,
218
+ 0.012270591735839843,
219
+ 0.01227673625946045,
220
+ 0.01226137638092041,
221
+ 0.012302335739135742,
222
+ 0.012249088287353516,
223
+ 0.012292096138000488,
224
+ 0.01225216007232666,
225
+ 0.012278783798217773,
226
+ 0.01224396800994873,
227
+ 0.012297216415405274,
228
+ 0.012262399673461915,
229
+ 0.012336128234863282,
230
+ 0.012257280349731446,
231
+ 0.012309503555297852,
232
+ 0.012298239707946777,
233
+ 0.012308480262756348,
234
+ 0.012244992256164551,
235
+ 0.012278783798217773,
236
+ 0.01225216007232666,
237
+ 0.012302335739135742,
238
+ 0.012256256103515625,
239
+ 0.01228492832183838,
240
+ 0.012240896224975586,
241
+ 0.012295167922973632,
242
+ 0.01226035213470459,
243
+ 0.012300288200378418,
244
+ 0.01224294376373291,
245
+ 0.012292096138000488,
246
+ 0.0122357759475708,
247
+ 0.012313599586486817,
248
+ 0.01225011157989502,
249
+ 0.01227673625946045,
250
+ 0.012238847732543945,
251
+ 0.012299263954162597,
252
+ 0.012264448165893555,
253
+ 0.012286975860595703,
254
+ 0.012257280349731446,
255
+ 0.012294143676757812,
256
+ 0.01225830364227295,
257
+ 0.012299263954162597,
258
+ 0.01225830364227295,
259
+ 0.012286975860595703,
260
+ 0.012298239707946777,
261
+ 0.01239244842529297,
262
+ 0.012355584144592285,
263
+ 0.012388352394104005,
264
+ 0.012338175773620605,
265
+ 0.012454912185668946,
266
+ 0.012278783798217773,
267
+ 0.012319744110107422,
268
+ 0.012256256103515625,
269
+ 0.012307456016540527,
270
+ 0.01227673625946045,
271
+ 0.012298239707946777,
272
+ 0.012256256103515625,
273
+ 0.012304384231567383,
274
+ 0.012270591735839843,
275
+ 0.012289024353027344,
276
+ 0.01224294376373291,
277
+ 0.012283904075622559,
278
+ 0.012248064041137695,
279
+ 0.012288000106811523,
280
+ 0.012239871978759765,
281
+ 0.012283904075622559,
282
+ 0.01225113582611084,
283
+ 0.012290047645568849,
284
+ 0.012365823745727538,
285
+ 0.012273664474487305,
286
+ 0.01225011157989502,
287
+ 0.012280832290649414,
288
+ 0.01226854419708252,
289
+ 0.012298239707946777,
290
+ 0.012241920471191407,
291
+ 0.012283904075622559,
292
+ 0.012240896224975586,
293
+ 0.012286975860595703,
294
+ 0.01225830364227295,
295
+ 0.012289024353027344,
296
+ 0.012240896224975586,
297
+ 0.01226956844329834,
298
+ 0.012237824440002442,
299
+ 0.012357631683349609,
300
+ 0.012257280349731446,
301
+ 0.012291071891784668,
302
+ 0.012299263954162597,
303
+ 0.012452863693237304,
304
+ 0.012309503555297852,
305
+ 0.012320768356323243,
306
+ 0.02651852798461914,
307
+ 0.01225113582611084,
308
+ 0.012333056449890138,
309
+ 0.01226956844329834,
310
+ 0.012281855583190919,
311
+ 0.012255231857299804,
312
+ 0.012305407524108887,
313
+ 0.01226854419708252,
314
+ 0.012289024353027344,
315
+ 0.01225113582611084,
316
+ 0.012288000106811523,
317
+ 0.012259327888488769,
318
+ 0.012291071891784668,
319
+ 0.012274687767028808,
320
+ 0.012295167922973632,
321
+ 0.012238847732543945,
322
+ 0.012302335739135742,
323
+ 0.012274687767028808,
324
+ 0.012297216415405274,
325
+ 0.01225113582611084,
326
+ 0.012299263954162597,
327
+ 0.01225113582611084,
328
+ 0.012289024353027344,
329
+ 0.012246015548706055,
330
+ 0.012301312446594239,
331
+ 0.012246015548706055,
332
+ 0.012277759552001954,
333
+ 0.012265472412109376,
334
+ 0.012299263954162597,
335
+ 0.012254207611083985,
336
+ 0.012295167922973632,
337
+ 0.012292096138000488,
338
+ 0.012291071891784668,
339
+ 0.012241920471191407,
340
+ 0.012301312446594239,
341
+ 0.012253184318542481,
342
+ 0.012294143676757812,
343
+ 0.012256256103515625,
344
+ 0.012289024353027344,
345
+ 0.012263423919677734,
346
+ 0.012292096138000488,
347
+ 0.012264448165893555,
348
+ 0.012302335739135742,
349
+ 0.012259327888488769,
350
+ 0.012288000106811523,
351
+ 0.012292096138000488,
352
+ 0.012316672325134278,
353
+ 0.012254207611083985,
354
+ 0.012294143676757812,
355
+ 0.01225011157989502,
356
+ 0.012292096138000488,
357
+ 0.012249088287353516,
358
+ 0.012278783798217773,
359
+ 0.012248064041137695,
360
+ 0.012301312446594239,
361
+ 0.012253184318542481,
362
+ 0.012295167922973632,
363
+ 0.012253184318542481,
364
+ 0.012286975860595703,
365
+ 0.012240896224975586,
366
+ 0.012317695617675782,
367
+ 0.012253184318542481,
368
+ 0.01229312038421631,
369
+ 0.012253184318542481,
370
+ 0.012291071891784668,
371
+ 0.012255231857299804,
372
+ 0.012301312446594239,
373
+ 0.01224396800994873,
374
+ 0.012297216415405274,
375
+ 0.01225830364227295,
376
+ 0.012301312446594239,
377
+ 0.012255231857299804,
378
+ 0.012290047645568849,
379
+ 0.012257280349731446,
380
+ 0.012314623832702636,
381
+ 0.012297216415405274,
382
+ 0.012291071891784668,
383
+ 0.012247039794921874,
384
+ 0.012288000106811523,
385
+ 0.012248064041137695,
386
+ 0.01229312038421631,
387
+ 0.01226137638092041,
388
+ 0.012297216415405274,
389
+ 0.012254207611083985,
390
+ 0.012297216415405274,
391
+ 0.01226956844329834,
392
+ 0.012285951614379884,
393
+ 0.012247039794921874,
394
+ 0.01228492832183838,
395
+ 0.012270591735839843,
396
+ 0.012299263954162597,
397
+ 0.012248064041137695,
398
+ 0.012296192169189453,
399
+ 0.012240896224975586,
400
+ 0.012289024353027344,
401
+ 0.0122357759475708,
402
+ 0.012290047645568849,
403
+ 0.012238847732543945,
404
+ 0.012286975860595703,
405
+ 0.012248064041137695,
406
+ 0.012282879829406738,
407
+ 0.012231679916381836,
408
+ 0.012283904075622559,
409
+ 0.012238880157470704,
410
+ 0.01231049633026123,
411
+ 0.012241920471191407,
412
+ 0.01228492832183838,
413
+ 0.012236800193786621,
414
+ 0.01228492832183838,
415
+ 0.0122357759475708,
416
+ 0.012290047645568849,
417
+ 0.012244992256164551,
418
+ 0.012290047645568849,
419
+ 0.01223475170135498,
420
+ 0.012288000106811523,
421
+ 0.01225216007232666,
422
+ 0.012277759552001954,
423
+ 0.012247039794921874,
424
+ 0.012279808044433594,
425
+ 0.012246015548706055,
426
+ 0.012286975860595703,
427
+ 0.012246015548706055,
428
+ 0.012281855583190919,
429
+ 0.012246015548706055,
430
+ 0.012281855583190919,
431
+ 0.012239871978759765,
432
+ 0.012278816223144532
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 80.96660045321022
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
File without changes
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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.293824,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.219-208.866.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.43.0.dev0",
90
+ "transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
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-30/commit=e65502951593a76844e872fee9c56b805598538a/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prefill": {
3
+ "memory": {
4
+ "unit": "MB",
5
+ "max_ram": 1916.018688,
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.028205247879028318,
15
+ "mean": 0.014102623939514159,
16
+ "stdev": 9.753608703613314e-05,
17
+ "p50": 0.014102623939514159,
18
+ "p90": 0.014180652809143067,
19
+ "p95": 0.01419040641784668,
20
+ "p99": 0.01419820930480957,
21
+ "values": [
22
+ 0.014200160026550293,
23
+ 0.014005087852478027
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 496.36153030973844
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 2259.800064,
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.1236318359375,
46
+ "mean": 1.56181591796875,
47
+ "stdev": 0.0029029541015624938,
48
+ "p50": 1.56181591796875,
49
+ "p90": 1.56413828125,
50
+ "p95": 1.5644285766601562,
51
+ "p99": 1.5646608129882813,
52
+ "values": [
53
+ 1.5647188720703125,
54
+ 1.5589129638671875
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 81.31560098655692
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.124745247840881,
70
+ "mean": 0.01235077173059637,
71
+ "stdev": 0.0008964232877992926,
72
+ "p50": 0.012283904075622559,
73
+ "p90": 0.012317490959167482,
74
+ "p95": 0.012416614532470702,
75
+ "p99": 0.012777021827697752,
76
+ "values": [
77
+ 0.012670975685119629,
78
+ 0.012729344367980957,
79
+ 0.012684288024902344,
80
+ 0.012828672409057617,
81
+ 0.012890111923217774,
82
+ 0.01248256015777588,
83
+ 0.012270591735839843,
84
+ 0.012304384231567383,
85
+ 0.01225830364227295,
86
+ 0.012302335739135742,
87
+ 0.012277759552001954,
88
+ 0.012328960418701173,
89
+ 0.01226854419708252,
90
+ 0.012302335739135742,
91
+ 0.012281855583190919,
92
+ 0.012310527801513671,
93
+ 0.012246015548706055,
94
+ 0.012302335739135742,
95
+ 0.012508159637451171,
96
+ 0.012558336257934571,
97
+ 0.012332032203674317,
98
+ 0.012315648078918457,
99
+ 0.012283904075622559,
100
+ 0.012316672325134278,
101
+ 0.012310527801513671,
102
+ 0.012722175598144531,
103
+ 0.012285951614379884,
104
+ 0.012454912185668946,
105
+ 0.012271615982055664,
106
+ 0.012302335739135742,
107
+ 0.01225011157989502,
108
+ 0.012313599586486817,
109
+ 0.01227673625946045,
110
+ 0.012300288200378418,
111
+ 0.01226854419708252,
112
+ 0.012288000106811523,
113
+ 0.01224396800994873,
114
+ 0.012298239707946777,
115
+ 0.012270591735839843,
116
+ 0.01227673625946045,
117
+ 0.01226137638092041,
118
+ 0.012302335739135742,
119
+ 0.012249088287353516,
120
+ 0.012292096138000488,
121
+ 0.01225216007232666,
122
+ 0.012278783798217773,
123
+ 0.01224396800994873,
124
+ 0.012297216415405274,
125
+ 0.012262399673461915,
126
+ 0.012336128234863282,
127
+ 0.012257280349731446,
128
+ 0.012309503555297852,
129
+ 0.012298239707946777,
130
+ 0.012308480262756348,
131
+ 0.012244992256164551,
132
+ 0.012278783798217773,
133
+ 0.01225216007232666,
134
+ 0.012302335739135742,
135
+ 0.012256256103515625,
136
+ 0.01228492832183838,
137
+ 0.012240896224975586,
138
+ 0.012295167922973632,
139
+ 0.01226035213470459,
140
+ 0.012300288200378418,
141
+ 0.01224294376373291,
142
+ 0.012292096138000488,
143
+ 0.0122357759475708,
144
+ 0.012313599586486817,
145
+ 0.01225011157989502,
146
+ 0.01227673625946045,
147
+ 0.012238847732543945,
148
+ 0.012299263954162597,
149
+ 0.012264448165893555,
150
+ 0.012286975860595703,
151
+ 0.012257280349731446,
152
+ 0.012294143676757812,
153
+ 0.01225830364227295,
154
+ 0.012299263954162597,
155
+ 0.01225830364227295,
156
+ 0.012286975860595703,
157
+ 0.012298239707946777,
158
+ 0.01239244842529297,
159
+ 0.012355584144592285,
160
+ 0.012388352394104005,
161
+ 0.012338175773620605,
162
+ 0.012454912185668946,
163
+ 0.012278783798217773,
164
+ 0.012319744110107422,
165
+ 0.012256256103515625,
166
+ 0.012307456016540527,
167
+ 0.01227673625946045,
168
+ 0.012298239707946777,
169
+ 0.012256256103515625,
170
+ 0.012304384231567383,
171
+ 0.012270591735839843,
172
+ 0.012289024353027344,
173
+ 0.01224294376373291,
174
+ 0.012283904075622559,
175
+ 0.012248064041137695,
176
+ 0.012288000106811523,
177
+ 0.012239871978759765,
178
+ 0.012283904075622559,
179
+ 0.01225113582611084,
180
+ 0.012290047645568849,
181
+ 0.012365823745727538,
182
+ 0.012273664474487305,
183
+ 0.01225011157989502,
184
+ 0.012280832290649414,
185
+ 0.01226854419708252,
186
+ 0.012298239707946777,
187
+ 0.012241920471191407,
188
+ 0.012283904075622559,
189
+ 0.012240896224975586,
190
+ 0.012286975860595703,
191
+ 0.01225830364227295,
192
+ 0.012289024353027344,
193
+ 0.012240896224975586,
194
+ 0.01226956844329834,
195
+ 0.012237824440002442,
196
+ 0.012357631683349609,
197
+ 0.012257280349731446,
198
+ 0.012291071891784668,
199
+ 0.012299263954162597,
200
+ 0.012452863693237304,
201
+ 0.012309503555297852,
202
+ 0.012320768356323243,
203
+ 0.02651852798461914,
204
+ 0.01225113582611084,
205
+ 0.012333056449890138,
206
+ 0.01226956844329834,
207
+ 0.012281855583190919,
208
+ 0.012255231857299804,
209
+ 0.012305407524108887,
210
+ 0.01226854419708252,
211
+ 0.012289024353027344,
212
+ 0.01225113582611084,
213
+ 0.012288000106811523,
214
+ 0.012259327888488769,
215
+ 0.012291071891784668,
216
+ 0.012274687767028808,
217
+ 0.012295167922973632,
218
+ 0.012238847732543945,
219
+ 0.012302335739135742,
220
+ 0.012274687767028808,
221
+ 0.012297216415405274,
222
+ 0.01225113582611084,
223
+ 0.012299263954162597,
224
+ 0.01225113582611084,
225
+ 0.012289024353027344,
226
+ 0.012246015548706055,
227
+ 0.012301312446594239,
228
+ 0.012246015548706055,
229
+ 0.012277759552001954,
230
+ 0.012265472412109376,
231
+ 0.012299263954162597,
232
+ 0.012254207611083985,
233
+ 0.012295167922973632,
234
+ 0.012292096138000488,
235
+ 0.012291071891784668,
236
+ 0.012241920471191407,
237
+ 0.012301312446594239,
238
+ 0.012253184318542481,
239
+ 0.012294143676757812,
240
+ 0.012256256103515625,
241
+ 0.012289024353027344,
242
+ 0.012263423919677734,
243
+ 0.012292096138000488,
244
+ 0.012264448165893555,
245
+ 0.012302335739135742,
246
+ 0.012259327888488769,
247
+ 0.012288000106811523,
248
+ 0.012292096138000488,
249
+ 0.012316672325134278,
250
+ 0.012254207611083985,
251
+ 0.012294143676757812,
252
+ 0.01225011157989502,
253
+ 0.012292096138000488,
254
+ 0.012249088287353516,
255
+ 0.012278783798217773,
256
+ 0.012248064041137695,
257
+ 0.012301312446594239,
258
+ 0.012253184318542481,
259
+ 0.012295167922973632,
260
+ 0.012253184318542481,
261
+ 0.012286975860595703,
262
+ 0.012240896224975586,
263
+ 0.012317695617675782,
264
+ 0.012253184318542481,
265
+ 0.01229312038421631,
266
+ 0.012253184318542481,
267
+ 0.012291071891784668,
268
+ 0.012255231857299804,
269
+ 0.012301312446594239,
270
+ 0.01224396800994873,
271
+ 0.012297216415405274,
272
+ 0.01225830364227295,
273
+ 0.012301312446594239,
274
+ 0.012255231857299804,
275
+ 0.012290047645568849,
276
+ 0.012257280349731446,
277
+ 0.012314623832702636,
278
+ 0.012297216415405274,
279
+ 0.012291071891784668,
280
+ 0.012247039794921874,
281
+ 0.012288000106811523,
282
+ 0.012248064041137695,
283
+ 0.01229312038421631,
284
+ 0.01226137638092041,
285
+ 0.012297216415405274,
286
+ 0.012254207611083985,
287
+ 0.012297216415405274,
288
+ 0.01226956844329834,
289
+ 0.012285951614379884,
290
+ 0.012247039794921874,
291
+ 0.01228492832183838,
292
+ 0.012270591735839843,
293
+ 0.012299263954162597,
294
+ 0.012248064041137695,
295
+ 0.012296192169189453,
296
+ 0.012240896224975586,
297
+ 0.012289024353027344,
298
+ 0.0122357759475708,
299
+ 0.012290047645568849,
300
+ 0.012238847732543945,
301
+ 0.012286975860595703,
302
+ 0.012248064041137695,
303
+ 0.012282879829406738,
304
+ 0.012231679916381836,
305
+ 0.012283904075622559,
306
+ 0.012238880157470704,
307
+ 0.01231049633026123,
308
+ 0.012241920471191407,
309
+ 0.01228492832183838,
310
+ 0.012236800193786621,
311
+ 0.01228492832183838,
312
+ 0.0122357759475708,
313
+ 0.012290047645568849,
314
+ 0.012244992256164551,
315
+ 0.012290047645568849,
316
+ 0.01223475170135498,
317
+ 0.012288000106811523,
318
+ 0.01225216007232666,
319
+ 0.012277759552001954,
320
+ 0.012247039794921874,
321
+ 0.012279808044433594,
322
+ 0.012246015548706055,
323
+ 0.012286975860595703,
324
+ 0.012246015548706055,
325
+ 0.012281855583190919,
326
+ 0.012246015548706055,
327
+ 0.012281855583190919,
328
+ 0.012239871978759765,
329
+ 0.012278816223144532
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 80.96660045321022
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/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": "e65502951593a76844e872fee9c56b805598538a",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.014102623939514159,
7
+ "prefill.throughput.value": 496.36153030973844,
8
+ "decode.latency.mean": 1.56181591796875,
9
+ "decode.throughput.value": 81.31560098655692,
10
+ "per_token.latency.mean": 0.01235077173059637,
11
+ "per_token.throughput.value": 80.96660045321022
12
+ }
13
+ }
2024-06-30/commit=e65502951593a76844e872fee9c56b805598538a/multirun.yaml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqgvzj7u9/commit=e65502951593a76844e872fee9c56b805598538a
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/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a
88
+ - hydra.run.dir=_benchmark/tmpqgvzj7u9/commit\=e65502951593a76844e872fee9c56b805598538a/${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.293824
210
+ system: Linux
211
+ machine: x86_64
212
+ platform: Linux-5.10.219-208.866.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.43.0.dev0
222
+ transformers_commit: e65502951593a76844e872fee9c56b805598538a
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-30/summaries.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "model": "google/gemma-2b",
4
+ "commit": "e65502951593a76844e872fee9c56b805598538a",
5
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
6
+ "metrics": {
7
+ "prefill.latency.mean": 0.02014688014984131,
8
+ "prefill.throughput.value": 347.44833681135174,
9
+ "decode.latency.mean": 2.43614794921875,
10
+ "decode.throughput.value": 52.1314807833111,
11
+ "per_token.latency.mean": 0.01925737610918731,
12
+ "per_token.throughput.value": 51.92815440328446
13
+ }
14
+ },
15
+ {
16
+ "model": "google/gemma-2b",
17
+ "commit": "e65502951593a76844e872fee9c56b805598538a",
18
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
19
+ "metrics": {
20
+ "prefill.latency.mean": 0.0223319673538208,
21
+ "prefill.throughput.value": 313.4520075680821,
22
+ "decode.latency.mean": 2.5840526123046876,
23
+ "decode.throughput.value": 49.14760612661447,
24
+ "per_token.latency.mean": 0.020431746516774294,
25
+ "per_token.throughput.value": 48.943441970514286
26
+ }
27
+ },
28
+ {
29
+ "model": "google/gemma-2b",
30
+ "commit": "e65502951593a76844e872fee9c56b805598538a",
31
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
32
+ "metrics": {
33
+ "prefill.latency.mean": 0.014102623939514159,
34
+ "prefill.throughput.value": 496.36153030973844,
35
+ "decode.latency.mean": 1.56181591796875,
36
+ "decode.throughput.value": 81.31560098655692,
37
+ "per_token.latency.mean": 0.01235077173059637,
38
+ "per_token.throughput.value": 80.96660045321022
39
+ }
40
+ }
41
+ ]
2024-06-30/summary.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "google/gemma-2b": {
3
+ "backend.cache_implementation=null,backend.torch_compile=False": {
4
+ "e65502951593a76844e872fee9c56b805598538a": {
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.02014688014984131,
7
+ "prefill.throughput.value": 347.44833681135174,
8
+ "decode.latency.mean": 2.43614794921875,
9
+ "decode.throughput.value": 52.1314807833111,
10
+ "per_token.latency.mean": 0.01925737610918731,
11
+ "per_token.throughput.value": 51.92815440328446
12
+ }
13
+ }
14
+ },
15
+ "backend.cache_implementation=static,backend.torch_compile=False": {
16
+ "e65502951593a76844e872fee9c56b805598538a": {
17
+ "metrics": {
18
+ "prefill.latency.mean": 0.0223319673538208,
19
+ "prefill.throughput.value": 313.4520075680821,
20
+ "decode.latency.mean": 2.5840526123046876,
21
+ "decode.throughput.value": 49.14760612661447,
22
+ "per_token.latency.mean": 0.020431746516774294,
23
+ "per_token.throughput.value": 48.943441970514286
24
+ }
25
+ }
26
+ },
27
+ "backend.cache_implementation=static,backend.torch_compile=True": {
28
+ "e65502951593a76844e872fee9c56b805598538a": {
29
+ "metrics": {
30
+ "prefill.latency.mean": 0.014102623939514159,
31
+ "prefill.throughput.value": 496.36153030973844,
32
+ "decode.latency.mean": 1.56181591796875,
33
+ "decode.throughput.value": 81.31560098655692,
34
+ "per_token.latency.mean": 0.01235077173059637,
35
+ "per_token.throughput.value": 80.96660045321022
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }