hf-transformers-bot commited on
Commit
73258fa
1 Parent(s): 7337ad3

Upload folder using huggingface_hub

Browse files
Files changed (32) hide show
  1. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  2. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  3. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  4. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  5. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  6. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  7. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  8. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  9. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  10. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  11. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  12. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
  13. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  14. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  15. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  16. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  17. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  18. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  19. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  20. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  21. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  22. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  23. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  24. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  25. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
  26. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
  27. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  28. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
  29. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
  30. 2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/multirun.yaml +232 -0
  31. 2024-06-26/summaries.json +41 -0
  32. 2024-06-26/summary.json +40 -0
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: null
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: false
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
88
+ - hydra.run.dir=_benchmark/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.29792,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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": 1706.799104,
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.04012278366088867,
118
+ "mean": 0.020061391830444336,
119
+ "stdev": 0.0002659683227539053,
120
+ "p50": 0.020061391830444336,
121
+ "p90": 0.02027416648864746,
122
+ "p95": 0.02030076332092285,
123
+ "p99": 0.020322040786743163,
124
+ "values": [
125
+ 0.02032736015319824,
126
+ 0.01979542350769043
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 348.92893071242895
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1706.876928,
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.995753173828125,
149
+ "mean": 2.4978765869140624,
150
+ "stdev": 0.020227416992187663,
151
+ "p50": 2.4978765869140624,
152
+ "p90": 2.5140585205078128,
153
+ "p95": 2.5160812622070314,
154
+ "p99": 2.5176994555664063,
155
+ "values": [
156
+ 2.51810400390625,
157
+ 2.477649169921875
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 50.84318443326253
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.995960811614991,
173
+ "mean": 0.01974688067832012,
174
+ "stdev": 0.0012691176279561811,
175
+ "p50": 0.019752960205078125,
176
+ "p90": 0.02008409576416016,
177
+ "p95": 0.02027049026489258,
178
+ "p99": 0.020936662979125976,
179
+ "values": [
180
+ 0.019466239929199217,
181
+ 0.019583999633789064,
182
+ 0.01964236831665039,
183
+ 0.019574783325195313,
184
+ 0.019647487640380858,
185
+ 0.019497024536132813,
186
+ 0.019619775772094727,
187
+ 0.01943552017211914,
188
+ 0.01942118453979492,
189
+ 0.019516416549682617,
190
+ 0.020126720428466797,
191
+ 0.02091110420227051,
192
+ 0.020264959335327147,
193
+ 0.02041651153564453,
194
+ 0.019736576080322265,
195
+ 0.01982771110534668,
196
+ 0.02026188850402832,
197
+ 0.02026700782775879,
198
+ 0.020222976684570314,
199
+ 0.01962393569946289,
200
+ 0.0194969596862793,
201
+ 0.020006912231445313,
202
+ 0.020090879440307616,
203
+ 0.02015132713317871,
204
+ 0.020171743392944336,
205
+ 0.020214784622192384,
206
+ 0.020362239837646484,
207
+ 0.02079641532897949,
208
+ 0.02067251205444336,
209
+ 0.021175296783447265,
210
+ 0.020964351654052735,
211
+ 0.020372480392456056,
212
+ 0.020271104812622072,
213
+ 0.019512319564819337,
214
+ 0.020578304290771485,
215
+ 0.019781631469726564,
216
+ 0.01938643264770508,
217
+ 0.01952351951599121,
218
+ 0.01945907211303711,
219
+ 0.01945395278930664,
220
+ 0.02027008056640625,
221
+ 0.02002943992614746,
222
+ 0.020226079940795897,
223
+ 0.02008675193786621,
224
+ 0.020496383666992187,
225
+ 0.0200581111907959,
226
+ 0.02007347106933594,
227
+ 0.0196945915222168,
228
+ 0.019679231643676756,
229
+ 0.019664896011352538,
230
+ 0.01964236831665039,
231
+ 0.01964646339416504,
232
+ 0.0196495361328125,
233
+ 0.01964134407043457,
234
+ 0.01968435287475586,
235
+ 0.01967411231994629,
236
+ 0.019794944763183595,
237
+ 0.019767295837402343,
238
+ 0.019116031646728517,
239
+ 0.019138559341430664,
240
+ 0.019490816116333007,
241
+ 0.01983692741394043,
242
+ 0.019770368576049805,
243
+ 0.01979903984069824,
244
+ 0.01984716796875,
245
+ 0.01984102439880371,
246
+ 0.019894271850585937,
247
+ 0.01960758399963379,
248
+ 0.019394527435302733,
249
+ 0.019861503601074217,
250
+ 0.019805183410644533,
251
+ 0.019869695663452147,
252
+ 0.01984614372253418,
253
+ 0.0198287353515625,
254
+ 0.0198154239654541,
255
+ 0.019819520950317384,
256
+ 0.019893247604370116,
257
+ 0.019978239059448243,
258
+ 0.01982156753540039,
259
+ 0.01983897590637207,
260
+ 0.019812351226806642,
261
+ 0.019771392822265626,
262
+ 0.019791872024536132,
263
+ 0.01981439971923828,
264
+ 0.01980620765686035,
265
+ 0.01982259178161621,
266
+ 0.019793920516967774,
267
+ 0.019755008697509766,
268
+ 0.0198604793548584,
269
+ 0.01985536003112793,
270
+ 0.019809280395507813,
271
+ 0.019380224227905272,
272
+ 0.01985638427734375,
273
+ 0.019802112579345704,
274
+ 0.01991372871398926,
275
+ 0.01979801559448242,
276
+ 0.01986355209350586,
277
+ 0.019877887725830077,
278
+ 0.019781631469726564,
279
+ 0.019812351226806642,
280
+ 0.01985843276977539,
281
+ 0.019809280395507813,
282
+ 0.019773439407348634,
283
+ 0.019811328887939454,
284
+ 0.019783679962158202,
285
+ 0.019922943115234376,
286
+ 0.019833856582641602,
287
+ 0.019791872024536132,
288
+ 0.01987481689453125,
289
+ 0.019115007400512696,
290
+ 0.019137535095214844,
291
+ 0.01961369514465332,
292
+ 0.019896320343017578,
293
+ 0.01984819221496582,
294
+ 0.01985843276977539,
295
+ 0.019812351226806642,
296
+ 0.019783679962158202,
297
+ 0.01984409523010254,
298
+ 0.01984511947631836,
299
+ 0.0198287353515625,
300
+ 0.019750911712646483,
301
+ 0.019847200393676757,
302
+ 0.01912419128417969,
303
+ 0.019110912322998046,
304
+ 0.019131391525268555,
305
+ 0.019098623275756836,
306
+ 0.038902782440185545,
307
+ 0.018973695755004884,
308
+ 0.01900851249694824,
309
+ 0.01897881507873535,
310
+ 0.018957311630249024,
311
+ 0.01900851249694824,
312
+ 0.018975744247436522,
313
+ 0.019188735961914064,
314
+ 0.019021823883056642,
315
+ 0.01901260757446289,
316
+ 0.01904128074645996,
317
+ 0.019006464004516603,
318
+ 0.01901670455932617,
319
+ 0.01906175994873047,
320
+ 0.01901875114440918,
321
+ 0.01903615951538086,
322
+ 0.01902592086791992,
323
+ 0.018991104125976564,
324
+ 0.019773439407348634,
325
+ 0.019729408264160156,
326
+ 0.01969049644470215,
327
+ 0.019734527587890623,
328
+ 0.019723264694213868,
329
+ 0.019672063827514647,
330
+ 0.01963212776184082,
331
+ 0.01969049644470215,
332
+ 0.01966598320007324,
333
+ 0.01973753547668457,
334
+ 0.01970790481567383,
335
+ 0.01899519920349121,
336
+ 0.01903718376159668,
337
+ 0.019013631820678712,
338
+ 0.018966527938842775,
339
+ 0.01899929618835449,
340
+ 0.019084287643432618,
341
+ 0.01937919998168945,
342
+ 0.019614719390869142,
343
+ 0.01963007926940918,
344
+ 0.01963417625427246,
345
+ 0.019685375213623048,
346
+ 0.01964851188659668,
347
+ 0.01963827133178711,
348
+ 0.019713024139404296,
349
+ 0.01967001533508301,
350
+ 0.01965056037902832,
351
+ 0.01963929557800293,
352
+ 0.019729408264160156,
353
+ 0.01964134407043457,
354
+ 0.01967001533508301,
355
+ 0.019985408782958985,
356
+ 0.020560895919799805,
357
+ 0.019717119216918946,
358
+ 0.019490816116333007,
359
+ 0.019705856323242187,
360
+ 0.018969600677490234,
361
+ 0.018967552185058592,
362
+ 0.018968576431274413,
363
+ 0.019134464263916014,
364
+ 0.019169279098510742,
365
+ 0.019159040451049804,
366
+ 0.019138559341430664,
367
+ 0.019096576690673828,
368
+ 0.019130367279052735,
369
+ 0.019393535614013673,
370
+ 0.019729408264160156,
371
+ 0.02027008056640625,
372
+ 0.019589183807373046,
373
+ 0.01970476722717285,
374
+ 0.019805183410644533,
375
+ 0.019920896530151368,
376
+ 0.019813375473022463,
377
+ 0.019793920516967774,
378
+ 0.019891199111938478,
379
+ 0.019781631469726564,
380
+ 0.01984819221496582,
381
+ 0.019743743896484374,
382
+ 0.019744768142700195,
383
+ 0.019805183410644533,
384
+ 0.019766271591186522,
385
+ 0.019755008697509766,
386
+ 0.01987379264831543,
387
+ 0.019764223098754884,
388
+ 0.019752960205078125,
389
+ 0.01979801559448242,
390
+ 0.019792896270751953,
391
+ 0.019738624572753907,
392
+ 0.01984511947631836,
393
+ 0.01983692741394043,
394
+ 0.01983590316772461,
395
+ 0.019773439407348634,
396
+ 0.01984000015258789,
397
+ 0.01983180809020996,
398
+ 0.0198973445892334,
399
+ 0.019787776947021486,
400
+ 0.019834943771362305,
401
+ 0.01973855972290039,
402
+ 0.01983692741394043,
403
+ 0.019796991348266603,
404
+ 0.019761152267456054,
405
+ 0.019833856582641602,
406
+ 0.01978982353210449,
407
+ 0.019113983154296875,
408
+ 0.019203071594238282,
409
+ 0.019191808700561523,
410
+ 0.019042303085327148,
411
+ 0.019132415771484376,
412
+ 0.019107839584350587,
413
+ 0.019091455459594727,
414
+ 0.01909760093688965,
415
+ 0.0191016960144043,
416
+ 0.019111936569213867,
417
+ 0.019174400329589843,
418
+ 0.01984409523010254,
419
+ 0.019728384017944335,
420
+ 0.019800064086914062,
421
+ 0.019813375473022463,
422
+ 0.019737600326538086,
423
+ 0.019710975646972655,
424
+ 0.019752960205078125,
425
+ 0.019744768142700195,
426
+ 0.019819520950317384,
427
+ 0.019975168228149414,
428
+ 0.019805183410644533,
429
+ 0.01979801559448242,
430
+ 0.019764223098754884,
431
+ 0.019133440017700197,
432
+ 0.019143680572509765
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 50.64090963480064
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": null,
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": false,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": 1706.799104,
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.04012278366088867,
15
+ "mean": 0.020061391830444336,
16
+ "stdev": 0.0002659683227539053,
17
+ "p50": 0.020061391830444336,
18
+ "p90": 0.02027416648864746,
19
+ "p95": 0.02030076332092285,
20
+ "p99": 0.020322040786743163,
21
+ "values": [
22
+ 0.02032736015319824,
23
+ 0.01979542350769043
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 348.92893071242895
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1706.876928,
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.995753173828125,
46
+ "mean": 2.4978765869140624,
47
+ "stdev": 0.020227416992187663,
48
+ "p50": 2.4978765869140624,
49
+ "p90": 2.5140585205078128,
50
+ "p95": 2.5160812622070314,
51
+ "p99": 2.5176994555664063,
52
+ "values": [
53
+ 2.51810400390625,
54
+ 2.477649169921875
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 50.84318443326253
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.995960811614991,
70
+ "mean": 0.01974688067832012,
71
+ "stdev": 0.0012691176279561811,
72
+ "p50": 0.019752960205078125,
73
+ "p90": 0.02008409576416016,
74
+ "p95": 0.02027049026489258,
75
+ "p99": 0.020936662979125976,
76
+ "values": [
77
+ 0.019466239929199217,
78
+ 0.019583999633789064,
79
+ 0.01964236831665039,
80
+ 0.019574783325195313,
81
+ 0.019647487640380858,
82
+ 0.019497024536132813,
83
+ 0.019619775772094727,
84
+ 0.01943552017211914,
85
+ 0.01942118453979492,
86
+ 0.019516416549682617,
87
+ 0.020126720428466797,
88
+ 0.02091110420227051,
89
+ 0.020264959335327147,
90
+ 0.02041651153564453,
91
+ 0.019736576080322265,
92
+ 0.01982771110534668,
93
+ 0.02026188850402832,
94
+ 0.02026700782775879,
95
+ 0.020222976684570314,
96
+ 0.01962393569946289,
97
+ 0.0194969596862793,
98
+ 0.020006912231445313,
99
+ 0.020090879440307616,
100
+ 0.02015132713317871,
101
+ 0.020171743392944336,
102
+ 0.020214784622192384,
103
+ 0.020362239837646484,
104
+ 0.02079641532897949,
105
+ 0.02067251205444336,
106
+ 0.021175296783447265,
107
+ 0.020964351654052735,
108
+ 0.020372480392456056,
109
+ 0.020271104812622072,
110
+ 0.019512319564819337,
111
+ 0.020578304290771485,
112
+ 0.019781631469726564,
113
+ 0.01938643264770508,
114
+ 0.01952351951599121,
115
+ 0.01945907211303711,
116
+ 0.01945395278930664,
117
+ 0.02027008056640625,
118
+ 0.02002943992614746,
119
+ 0.020226079940795897,
120
+ 0.02008675193786621,
121
+ 0.020496383666992187,
122
+ 0.0200581111907959,
123
+ 0.02007347106933594,
124
+ 0.0196945915222168,
125
+ 0.019679231643676756,
126
+ 0.019664896011352538,
127
+ 0.01964236831665039,
128
+ 0.01964646339416504,
129
+ 0.0196495361328125,
130
+ 0.01964134407043457,
131
+ 0.01968435287475586,
132
+ 0.01967411231994629,
133
+ 0.019794944763183595,
134
+ 0.019767295837402343,
135
+ 0.019116031646728517,
136
+ 0.019138559341430664,
137
+ 0.019490816116333007,
138
+ 0.01983692741394043,
139
+ 0.019770368576049805,
140
+ 0.01979903984069824,
141
+ 0.01984716796875,
142
+ 0.01984102439880371,
143
+ 0.019894271850585937,
144
+ 0.01960758399963379,
145
+ 0.019394527435302733,
146
+ 0.019861503601074217,
147
+ 0.019805183410644533,
148
+ 0.019869695663452147,
149
+ 0.01984614372253418,
150
+ 0.0198287353515625,
151
+ 0.0198154239654541,
152
+ 0.019819520950317384,
153
+ 0.019893247604370116,
154
+ 0.019978239059448243,
155
+ 0.01982156753540039,
156
+ 0.01983897590637207,
157
+ 0.019812351226806642,
158
+ 0.019771392822265626,
159
+ 0.019791872024536132,
160
+ 0.01981439971923828,
161
+ 0.01980620765686035,
162
+ 0.01982259178161621,
163
+ 0.019793920516967774,
164
+ 0.019755008697509766,
165
+ 0.0198604793548584,
166
+ 0.01985536003112793,
167
+ 0.019809280395507813,
168
+ 0.019380224227905272,
169
+ 0.01985638427734375,
170
+ 0.019802112579345704,
171
+ 0.01991372871398926,
172
+ 0.01979801559448242,
173
+ 0.01986355209350586,
174
+ 0.019877887725830077,
175
+ 0.019781631469726564,
176
+ 0.019812351226806642,
177
+ 0.01985843276977539,
178
+ 0.019809280395507813,
179
+ 0.019773439407348634,
180
+ 0.019811328887939454,
181
+ 0.019783679962158202,
182
+ 0.019922943115234376,
183
+ 0.019833856582641602,
184
+ 0.019791872024536132,
185
+ 0.01987481689453125,
186
+ 0.019115007400512696,
187
+ 0.019137535095214844,
188
+ 0.01961369514465332,
189
+ 0.019896320343017578,
190
+ 0.01984819221496582,
191
+ 0.01985843276977539,
192
+ 0.019812351226806642,
193
+ 0.019783679962158202,
194
+ 0.01984409523010254,
195
+ 0.01984511947631836,
196
+ 0.0198287353515625,
197
+ 0.019750911712646483,
198
+ 0.019847200393676757,
199
+ 0.01912419128417969,
200
+ 0.019110912322998046,
201
+ 0.019131391525268555,
202
+ 0.019098623275756836,
203
+ 0.038902782440185545,
204
+ 0.018973695755004884,
205
+ 0.01900851249694824,
206
+ 0.01897881507873535,
207
+ 0.018957311630249024,
208
+ 0.01900851249694824,
209
+ 0.018975744247436522,
210
+ 0.019188735961914064,
211
+ 0.019021823883056642,
212
+ 0.01901260757446289,
213
+ 0.01904128074645996,
214
+ 0.019006464004516603,
215
+ 0.01901670455932617,
216
+ 0.01906175994873047,
217
+ 0.01901875114440918,
218
+ 0.01903615951538086,
219
+ 0.01902592086791992,
220
+ 0.018991104125976564,
221
+ 0.019773439407348634,
222
+ 0.019729408264160156,
223
+ 0.01969049644470215,
224
+ 0.019734527587890623,
225
+ 0.019723264694213868,
226
+ 0.019672063827514647,
227
+ 0.01963212776184082,
228
+ 0.01969049644470215,
229
+ 0.01966598320007324,
230
+ 0.01973753547668457,
231
+ 0.01970790481567383,
232
+ 0.01899519920349121,
233
+ 0.01903718376159668,
234
+ 0.019013631820678712,
235
+ 0.018966527938842775,
236
+ 0.01899929618835449,
237
+ 0.019084287643432618,
238
+ 0.01937919998168945,
239
+ 0.019614719390869142,
240
+ 0.01963007926940918,
241
+ 0.01963417625427246,
242
+ 0.019685375213623048,
243
+ 0.01964851188659668,
244
+ 0.01963827133178711,
245
+ 0.019713024139404296,
246
+ 0.01967001533508301,
247
+ 0.01965056037902832,
248
+ 0.01963929557800293,
249
+ 0.019729408264160156,
250
+ 0.01964134407043457,
251
+ 0.01967001533508301,
252
+ 0.019985408782958985,
253
+ 0.020560895919799805,
254
+ 0.019717119216918946,
255
+ 0.019490816116333007,
256
+ 0.019705856323242187,
257
+ 0.018969600677490234,
258
+ 0.018967552185058592,
259
+ 0.018968576431274413,
260
+ 0.019134464263916014,
261
+ 0.019169279098510742,
262
+ 0.019159040451049804,
263
+ 0.019138559341430664,
264
+ 0.019096576690673828,
265
+ 0.019130367279052735,
266
+ 0.019393535614013673,
267
+ 0.019729408264160156,
268
+ 0.02027008056640625,
269
+ 0.019589183807373046,
270
+ 0.01970476722717285,
271
+ 0.019805183410644533,
272
+ 0.019920896530151368,
273
+ 0.019813375473022463,
274
+ 0.019793920516967774,
275
+ 0.019891199111938478,
276
+ 0.019781631469726564,
277
+ 0.01984819221496582,
278
+ 0.019743743896484374,
279
+ 0.019744768142700195,
280
+ 0.019805183410644533,
281
+ 0.019766271591186522,
282
+ 0.019755008697509766,
283
+ 0.01987379264831543,
284
+ 0.019764223098754884,
285
+ 0.019752960205078125,
286
+ 0.01979801559448242,
287
+ 0.019792896270751953,
288
+ 0.019738624572753907,
289
+ 0.01984511947631836,
290
+ 0.01983692741394043,
291
+ 0.01983590316772461,
292
+ 0.019773439407348634,
293
+ 0.01984000015258789,
294
+ 0.01983180809020996,
295
+ 0.0198973445892334,
296
+ 0.019787776947021486,
297
+ 0.019834943771362305,
298
+ 0.01973855972290039,
299
+ 0.01983692741394043,
300
+ 0.019796991348266603,
301
+ 0.019761152267456054,
302
+ 0.019833856582641602,
303
+ 0.01978982353210449,
304
+ 0.019113983154296875,
305
+ 0.019203071594238282,
306
+ 0.019191808700561523,
307
+ 0.019042303085327148,
308
+ 0.019132415771484376,
309
+ 0.019107839584350587,
310
+ 0.019091455459594727,
311
+ 0.01909760093688965,
312
+ 0.0191016960144043,
313
+ 0.019111936569213867,
314
+ 0.019174400329589843,
315
+ 0.01984409523010254,
316
+ 0.019728384017944335,
317
+ 0.019800064086914062,
318
+ 0.019813375473022463,
319
+ 0.019737600326538086,
320
+ 0.019710975646972655,
321
+ 0.019752960205078125,
322
+ 0.019744768142700195,
323
+ 0.019819520950317384,
324
+ 0.019975168228149414,
325
+ 0.019805183410644533,
326
+ 0.01979801559448242,
327
+ 0.019764223098754884,
328
+ 0.019133440017700197,
329
+ 0.019143680572509765
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 50.64090963480064
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
4
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.020061391830444336,
7
+ "prefill.throughput.value": 348.92893071242895,
8
+ "decode.latency.mean": 2.4978765869140624,
9
+ "decode.throughput.value": 50.84318443326253,
10
+ "per_token.latency.mean": 0.01974688067832012,
11
+ "per_token.throughput.value": 50.64090963480064
12
+ }
13
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: null
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: true
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
88
+ - hydra.run.dir=_benchmark/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
@@ -0,0 +1 @@
 
 
1
+ [ISOLATED-PROCESS][2024-06-26 13:59:09,667][process][ERROR] - + Sending traceback to main process
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": null,
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": true,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: static
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: false
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
88
+ - hydra.run.dir=_benchmark/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": "static",
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.29792,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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": 1786.150912,
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.04584147262573242,
118
+ "mean": 0.02292073631286621,
119
+ "stdev": 0.0005940475463867192,
120
+ "p50": 0.02292073631286621,
121
+ "p90": 0.023395974349975587,
122
+ "p95": 0.023455379104614257,
123
+ "p99": 0.023502902908325195,
124
+ "values": [
125
+ 0.02351478385925293,
126
+ 0.022326688766479492
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 305.40031107424136
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1786.1632,
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.2684609375,
149
+ "mean": 2.63423046875,
150
+ "stdev": 0.021039062500000094,
151
+ "p50": 2.63423046875,
152
+ "p90": 2.6510617187500003,
153
+ "p95": 2.653165625,
154
+ "p99": 2.65484875,
155
+ "values": [
156
+ 2.65526953125,
157
+ 2.61319140625
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 48.21142322458379
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.2690083808898915,
173
+ "mean": 0.020826120082568747,
174
+ "stdev": 0.0014869531949830228,
175
+ "p50": 0.020468736648559572,
176
+ "p90": 0.021576306533813476,
177
+ "p95": 0.022023782348632812,
178
+ "p99": 0.02229014549255371,
179
+ "values": [
180
+ 0.022984703063964843,
181
+ 0.021550079345703126,
182
+ 0.02224844741821289,
183
+ 0.022026239395141603,
184
+ 0.021798912048339843,
185
+ 0.02207846450805664,
186
+ 0.021580799102783203,
187
+ 0.02088755226135254,
188
+ 0.021836799621582033,
189
+ 0.022212608337402344,
190
+ 0.02213580894470215,
191
+ 0.02155833625793457,
192
+ 0.022110143661499024,
193
+ 0.022026239395141603,
194
+ 0.021971967697143553,
195
+ 0.02170572853088379,
196
+ 0.021081087112426757,
197
+ 0.02152038383483887,
198
+ 0.02167091178894043,
199
+ 0.020817920684814452,
200
+ 0.020963327407836914,
201
+ 0.020948991775512696,
202
+ 0.02145894432067871,
203
+ 0.02129100799560547,
204
+ 0.021296127319335938,
205
+ 0.021350400924682617,
206
+ 0.022214656829833986,
207
+ 0.02185420799255371,
208
+ 0.0223242244720459,
209
+ 0.0217262077331543,
210
+ 0.02106777572631836,
211
+ 0.02169036865234375,
212
+ 0.021329919815063478,
213
+ 0.02125823974609375,
214
+ 0.02173030471801758,
215
+ 0.020908031463623047,
216
+ 0.020916223526000977,
217
+ 0.020995071411132812,
218
+ 0.020779008865356444,
219
+ 0.020966400146484376,
220
+ 0.020816896438598635,
221
+ 0.021202943801879884,
222
+ 0.020950016021728517,
223
+ 0.020658176422119142,
224
+ 0.020460544586181642,
225
+ 0.0204400634765625,
226
+ 0.021243904113769533,
227
+ 0.021223424911499023,
228
+ 0.02044108772277832,
229
+ 0.02040934371948242,
230
+ 0.020904960632324218,
231
+ 0.021098495483398438,
232
+ 0.021178367614746094,
233
+ 0.02039091110229492,
234
+ 0.02039910316467285,
235
+ 0.020880384445190428,
236
+ 0.0211015682220459,
237
+ 0.021132287979125978,
238
+ 0.021111808776855468,
239
+ 0.020395008087158203,
240
+ 0.02042572784423828,
241
+ 0.02040934371948242,
242
+ 0.020249599456787108,
243
+ 0.02021785545349121,
244
+ 0.020237312316894532,
245
+ 0.02021171188354492,
246
+ 0.020306943893432617,
247
+ 0.02089574432373047,
248
+ 0.020578304290771485,
249
+ 0.02043289566040039,
250
+ 0.020479999542236327,
251
+ 0.020426752090454102,
252
+ 0.020501504898071288,
253
+ 0.020426752090454102,
254
+ 0.020488191604614257,
255
+ 0.02040934371948242,
256
+ 0.02042982482910156,
257
+ 0.02045644760131836,
258
+ 0.020496383666992187,
259
+ 0.020395008087158203,
260
+ 0.02045747184753418,
261
+ 0.020384767532348632,
262
+ 0.02047590446472168,
263
+ 0.02040729522705078,
264
+ 0.02042678451538086,
265
+ 0.020403167724609376,
266
+ 0.02042572784423828,
267
+ 0.02040729522705078,
268
+ 0.020468736648559572,
269
+ 0.020403200149536133,
270
+ 0.02045952033996582,
271
+ 0.02044825553894043,
272
+ 0.020504575729370117,
273
+ 0.02040012741088867,
274
+ 0.021189632415771483,
275
+ 0.02045644760131836,
276
+ 0.020511743545532226,
277
+ 0.020455423355102538,
278
+ 0.020487167358398437,
279
+ 0.020436992645263673,
280
+ 0.020468736648559572,
281
+ 0.020389888763427736,
282
+ 0.02046566390991211,
283
+ 0.020413440704345705,
284
+ 0.02042982482910156,
285
+ 0.0204083194732666,
286
+ 0.02045132827758789,
287
+ 0.02043084716796875,
288
+ 0.02045952033996582,
289
+ 0.020434944152832032,
290
+ 0.020497407913208008,
291
+ 0.020402175903320312,
292
+ 0.02043187141418457,
293
+ 0.02044825553894043,
294
+ 0.020442176818847656,
295
+ 0.020423616409301758,
296
+ 0.022202367782592772,
297
+ 0.021614591598510743,
298
+ 0.021358591079711914,
299
+ 0.021098495483398438,
300
+ 0.020523008346557618,
301
+ 0.020477951049804686,
302
+ 0.020454399108886717,
303
+ 0.02048307228088379,
304
+ 0.020396032333374024,
305
+ 0.02044211196899414,
306
+ 0.04295270538330078,
307
+ 0.020497407913208008,
308
+ 0.020495359420776366,
309
+ 0.02051584053039551,
310
+ 0.0204400634765625,
311
+ 0.02045337677001953,
312
+ 0.02041651153564453,
313
+ 0.02045030403137207,
314
+ 0.020379648208618165,
315
+ 0.020485120773315428,
316
+ 0.02045337677001953,
317
+ 0.02045952033996582,
318
+ 0.020392959594726562,
319
+ 0.02044825553894043,
320
+ 0.02038374328613281,
321
+ 0.020434944152832032,
322
+ 0.020371456146240235,
323
+ 0.020380672454833985,
324
+ 0.020395008087158203,
325
+ 0.02043187141418457,
326
+ 0.020404224395751954,
327
+ 0.020486143112182616,
328
+ 0.02043289566040039,
329
+ 0.02047590446472168,
330
+ 0.0204083194732666,
331
+ 0.020462591171264647,
332
+ 0.02043801689147949,
333
+ 0.020460544586181642,
334
+ 0.02047488021850586,
335
+ 0.020526079177856444,
336
+ 0.020434944152832032,
337
+ 0.020420608520507814,
338
+ 0.020412416458129884,
339
+ 0.020486143112182616,
340
+ 0.020427776336669923,
341
+ 0.02046566390991211,
342
+ 0.020445184707641603,
343
+ 0.020495359420776366,
344
+ 0.020434944152832032,
345
+ 0.02045952033996582,
346
+ 0.02043084716796875,
347
+ 0.02042982482910156,
348
+ 0.020402175903320312,
349
+ 0.02042265510559082,
350
+ 0.020395008087158203,
351
+ 0.02045337677001953,
352
+ 0.02043084716796875,
353
+ 0.02044313621520996,
354
+ 0.020596736907958983,
355
+ 0.02109337615966797,
356
+ 0.020396032333374024,
357
+ 0.02043903923034668,
358
+ 0.020439136505126954,
359
+ 0.020474784851074217,
360
+ 0.02046566390991211,
361
+ 0.02045849609375,
362
+ 0.0204400634765625,
363
+ 0.02047283172607422,
364
+ 0.02043903923034668,
365
+ 0.02045132827758789,
366
+ 0.02043391990661621,
367
+ 0.020405248641967775,
368
+ 0.0204769287109375,
369
+ 0.02046668815612793,
370
+ 0.020397056579589845,
371
+ 0.020446207046508787,
372
+ 0.020388864517211915,
373
+ 0.020420608520507814,
374
+ 0.020414464950561522,
375
+ 0.020428800582885744,
376
+ 0.020496383666992187,
377
+ 0.02046566390991211,
378
+ 0.02043187141418457,
379
+ 0.020478975296020507,
380
+ 0.020471807479858398,
381
+ 0.02029465675354004,
382
+ 0.02021785545349121,
383
+ 0.020397056579589845,
384
+ 0.02045952033996582,
385
+ 0.02046668815612793,
386
+ 0.02043801689147949,
387
+ 0.020542463302612304,
388
+ 0.02049228858947754,
389
+ 0.02048204803466797,
390
+ 0.020488191604614257,
391
+ 0.020495359420776366,
392
+ 0.020426752090454102,
393
+ 0.021008384704589843,
394
+ 0.02106675148010254,
395
+ 0.021142528533935546,
396
+ 0.020413440704345705,
397
+ 0.020513792037963868,
398
+ 0.020460544586181642,
399
+ 0.02044211196899414,
400
+ 0.02047488021850586,
401
+ 0.020519935607910156,
402
+ 0.020477951049804686,
403
+ 0.02050662422180176,
404
+ 0.020478975296020507,
405
+ 0.02047590446472168,
406
+ 0.02045644760131836,
407
+ 0.02045644760131836,
408
+ 0.02122547149658203,
409
+ 0.02225868797302246,
410
+ 0.021352447509765626,
411
+ 0.021242879867553712,
412
+ 0.02048204803466797,
413
+ 0.020496383666992187,
414
+ 0.020412416458129884,
415
+ 0.020539392471313478,
416
+ 0.021098495483398438,
417
+ 0.021122047424316406,
418
+ 0.02036735916137695,
419
+ 0.020365312576293947,
420
+ 0.020397056579589845,
421
+ 0.020996095657348633,
422
+ 0.022022144317626953,
423
+ 0.021963840484619142,
424
+ 0.021284799575805664,
425
+ 0.02129715156555176,
426
+ 0.020571136474609376,
427
+ 0.02025369644165039,
428
+ 0.021201919555664063,
429
+ 0.021132287979125978,
430
+ 0.0208353271484375,
431
+ 0.020989952087402345,
432
+ 0.02106982421875
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 48.01662508596548
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": "static",
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": false,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": 1786.150912,
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.04584147262573242,
15
+ "mean": 0.02292073631286621,
16
+ "stdev": 0.0005940475463867192,
17
+ "p50": 0.02292073631286621,
18
+ "p90": 0.023395974349975587,
19
+ "p95": 0.023455379104614257,
20
+ "p99": 0.023502902908325195,
21
+ "values": [
22
+ 0.02351478385925293,
23
+ 0.022326688766479492
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 305.40031107424136
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1786.1632,
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.2684609375,
46
+ "mean": 2.63423046875,
47
+ "stdev": 0.021039062500000094,
48
+ "p50": 2.63423046875,
49
+ "p90": 2.6510617187500003,
50
+ "p95": 2.653165625,
51
+ "p99": 2.65484875,
52
+ "values": [
53
+ 2.65526953125,
54
+ 2.61319140625
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 48.21142322458379
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.2690083808898915,
70
+ "mean": 0.020826120082568747,
71
+ "stdev": 0.0014869531949830228,
72
+ "p50": 0.020468736648559572,
73
+ "p90": 0.021576306533813476,
74
+ "p95": 0.022023782348632812,
75
+ "p99": 0.02229014549255371,
76
+ "values": [
77
+ 0.022984703063964843,
78
+ 0.021550079345703126,
79
+ 0.02224844741821289,
80
+ 0.022026239395141603,
81
+ 0.021798912048339843,
82
+ 0.02207846450805664,
83
+ 0.021580799102783203,
84
+ 0.02088755226135254,
85
+ 0.021836799621582033,
86
+ 0.022212608337402344,
87
+ 0.02213580894470215,
88
+ 0.02155833625793457,
89
+ 0.022110143661499024,
90
+ 0.022026239395141603,
91
+ 0.021971967697143553,
92
+ 0.02170572853088379,
93
+ 0.021081087112426757,
94
+ 0.02152038383483887,
95
+ 0.02167091178894043,
96
+ 0.020817920684814452,
97
+ 0.020963327407836914,
98
+ 0.020948991775512696,
99
+ 0.02145894432067871,
100
+ 0.02129100799560547,
101
+ 0.021296127319335938,
102
+ 0.021350400924682617,
103
+ 0.022214656829833986,
104
+ 0.02185420799255371,
105
+ 0.0223242244720459,
106
+ 0.0217262077331543,
107
+ 0.02106777572631836,
108
+ 0.02169036865234375,
109
+ 0.021329919815063478,
110
+ 0.02125823974609375,
111
+ 0.02173030471801758,
112
+ 0.020908031463623047,
113
+ 0.020916223526000977,
114
+ 0.020995071411132812,
115
+ 0.020779008865356444,
116
+ 0.020966400146484376,
117
+ 0.020816896438598635,
118
+ 0.021202943801879884,
119
+ 0.020950016021728517,
120
+ 0.020658176422119142,
121
+ 0.020460544586181642,
122
+ 0.0204400634765625,
123
+ 0.021243904113769533,
124
+ 0.021223424911499023,
125
+ 0.02044108772277832,
126
+ 0.02040934371948242,
127
+ 0.020904960632324218,
128
+ 0.021098495483398438,
129
+ 0.021178367614746094,
130
+ 0.02039091110229492,
131
+ 0.02039910316467285,
132
+ 0.020880384445190428,
133
+ 0.0211015682220459,
134
+ 0.021132287979125978,
135
+ 0.021111808776855468,
136
+ 0.020395008087158203,
137
+ 0.02042572784423828,
138
+ 0.02040934371948242,
139
+ 0.020249599456787108,
140
+ 0.02021785545349121,
141
+ 0.020237312316894532,
142
+ 0.02021171188354492,
143
+ 0.020306943893432617,
144
+ 0.02089574432373047,
145
+ 0.020578304290771485,
146
+ 0.02043289566040039,
147
+ 0.020479999542236327,
148
+ 0.020426752090454102,
149
+ 0.020501504898071288,
150
+ 0.020426752090454102,
151
+ 0.020488191604614257,
152
+ 0.02040934371948242,
153
+ 0.02042982482910156,
154
+ 0.02045644760131836,
155
+ 0.020496383666992187,
156
+ 0.020395008087158203,
157
+ 0.02045747184753418,
158
+ 0.020384767532348632,
159
+ 0.02047590446472168,
160
+ 0.02040729522705078,
161
+ 0.02042678451538086,
162
+ 0.020403167724609376,
163
+ 0.02042572784423828,
164
+ 0.02040729522705078,
165
+ 0.020468736648559572,
166
+ 0.020403200149536133,
167
+ 0.02045952033996582,
168
+ 0.02044825553894043,
169
+ 0.020504575729370117,
170
+ 0.02040012741088867,
171
+ 0.021189632415771483,
172
+ 0.02045644760131836,
173
+ 0.020511743545532226,
174
+ 0.020455423355102538,
175
+ 0.020487167358398437,
176
+ 0.020436992645263673,
177
+ 0.020468736648559572,
178
+ 0.020389888763427736,
179
+ 0.02046566390991211,
180
+ 0.020413440704345705,
181
+ 0.02042982482910156,
182
+ 0.0204083194732666,
183
+ 0.02045132827758789,
184
+ 0.02043084716796875,
185
+ 0.02045952033996582,
186
+ 0.020434944152832032,
187
+ 0.020497407913208008,
188
+ 0.020402175903320312,
189
+ 0.02043187141418457,
190
+ 0.02044825553894043,
191
+ 0.020442176818847656,
192
+ 0.020423616409301758,
193
+ 0.022202367782592772,
194
+ 0.021614591598510743,
195
+ 0.021358591079711914,
196
+ 0.021098495483398438,
197
+ 0.020523008346557618,
198
+ 0.020477951049804686,
199
+ 0.020454399108886717,
200
+ 0.02048307228088379,
201
+ 0.020396032333374024,
202
+ 0.02044211196899414,
203
+ 0.04295270538330078,
204
+ 0.020497407913208008,
205
+ 0.020495359420776366,
206
+ 0.02051584053039551,
207
+ 0.0204400634765625,
208
+ 0.02045337677001953,
209
+ 0.02041651153564453,
210
+ 0.02045030403137207,
211
+ 0.020379648208618165,
212
+ 0.020485120773315428,
213
+ 0.02045337677001953,
214
+ 0.02045952033996582,
215
+ 0.020392959594726562,
216
+ 0.02044825553894043,
217
+ 0.02038374328613281,
218
+ 0.020434944152832032,
219
+ 0.020371456146240235,
220
+ 0.020380672454833985,
221
+ 0.020395008087158203,
222
+ 0.02043187141418457,
223
+ 0.020404224395751954,
224
+ 0.020486143112182616,
225
+ 0.02043289566040039,
226
+ 0.02047590446472168,
227
+ 0.0204083194732666,
228
+ 0.020462591171264647,
229
+ 0.02043801689147949,
230
+ 0.020460544586181642,
231
+ 0.02047488021850586,
232
+ 0.020526079177856444,
233
+ 0.020434944152832032,
234
+ 0.020420608520507814,
235
+ 0.020412416458129884,
236
+ 0.020486143112182616,
237
+ 0.020427776336669923,
238
+ 0.02046566390991211,
239
+ 0.020445184707641603,
240
+ 0.020495359420776366,
241
+ 0.020434944152832032,
242
+ 0.02045952033996582,
243
+ 0.02043084716796875,
244
+ 0.02042982482910156,
245
+ 0.020402175903320312,
246
+ 0.02042265510559082,
247
+ 0.020395008087158203,
248
+ 0.02045337677001953,
249
+ 0.02043084716796875,
250
+ 0.02044313621520996,
251
+ 0.020596736907958983,
252
+ 0.02109337615966797,
253
+ 0.020396032333374024,
254
+ 0.02043903923034668,
255
+ 0.020439136505126954,
256
+ 0.020474784851074217,
257
+ 0.02046566390991211,
258
+ 0.02045849609375,
259
+ 0.0204400634765625,
260
+ 0.02047283172607422,
261
+ 0.02043903923034668,
262
+ 0.02045132827758789,
263
+ 0.02043391990661621,
264
+ 0.020405248641967775,
265
+ 0.0204769287109375,
266
+ 0.02046668815612793,
267
+ 0.020397056579589845,
268
+ 0.020446207046508787,
269
+ 0.020388864517211915,
270
+ 0.020420608520507814,
271
+ 0.020414464950561522,
272
+ 0.020428800582885744,
273
+ 0.020496383666992187,
274
+ 0.02046566390991211,
275
+ 0.02043187141418457,
276
+ 0.020478975296020507,
277
+ 0.020471807479858398,
278
+ 0.02029465675354004,
279
+ 0.02021785545349121,
280
+ 0.020397056579589845,
281
+ 0.02045952033996582,
282
+ 0.02046668815612793,
283
+ 0.02043801689147949,
284
+ 0.020542463302612304,
285
+ 0.02049228858947754,
286
+ 0.02048204803466797,
287
+ 0.020488191604614257,
288
+ 0.020495359420776366,
289
+ 0.020426752090454102,
290
+ 0.021008384704589843,
291
+ 0.02106675148010254,
292
+ 0.021142528533935546,
293
+ 0.020413440704345705,
294
+ 0.020513792037963868,
295
+ 0.020460544586181642,
296
+ 0.02044211196899414,
297
+ 0.02047488021850586,
298
+ 0.020519935607910156,
299
+ 0.020477951049804686,
300
+ 0.02050662422180176,
301
+ 0.020478975296020507,
302
+ 0.02047590446472168,
303
+ 0.02045644760131836,
304
+ 0.02045644760131836,
305
+ 0.02122547149658203,
306
+ 0.02225868797302246,
307
+ 0.021352447509765626,
308
+ 0.021242879867553712,
309
+ 0.02048204803466797,
310
+ 0.020496383666992187,
311
+ 0.020412416458129884,
312
+ 0.020539392471313478,
313
+ 0.021098495483398438,
314
+ 0.021122047424316406,
315
+ 0.02036735916137695,
316
+ 0.020365312576293947,
317
+ 0.020397056579589845,
318
+ 0.020996095657348633,
319
+ 0.022022144317626953,
320
+ 0.021963840484619142,
321
+ 0.021284799575805664,
322
+ 0.02129715156555176,
323
+ 0.020571136474609376,
324
+ 0.02025369644165039,
325
+ 0.021201919555664063,
326
+ 0.021132287979125978,
327
+ 0.0208353271484375,
328
+ 0.020989952087402345,
329
+ 0.02106982421875
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 48.01662508596548
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.02292073631286621,
7
+ "prefill.throughput.value": 305.40031107424136,
8
+ "decode.latency.mean": 2.63423046875,
9
+ "decode.throughput.value": 48.21142322458379,
10
+ "per_token.latency.mean": 0.020826120082568747,
11
+ "per_token.throughput.value": 48.01662508596548
12
+ }
13
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: static
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: true
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
88
+ - hydra.run.dir=_benchmark/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${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/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "pytorch_generate",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model": "google/gemma-2b",
11
+ "processor": "google/gemma-2b",
12
+ "device": "cuda",
13
+ "device_ids": "0",
14
+ "seed": 42,
15
+ "inter_op_num_threads": null,
16
+ "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": "float16",
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": "static",
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": true,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {
33
+ "backend": "inductor",
34
+ "mode": "reduce-overhead",
35
+ "fullgraph": true
36
+ },
37
+ "quantization_scheme": null,
38
+ "quantization_config": {},
39
+ "deepspeed_inference": false,
40
+ "deepspeed_inference_config": {},
41
+ "peft_type": null,
42
+ "peft_config": {}
43
+ },
44
+ "scenario": {
45
+ "name": "inference",
46
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
47
+ "iterations": 2,
48
+ "duration": 0,
49
+ "warmup_runs": 10,
50
+ "input_shapes": {
51
+ "batch_size": 1,
52
+ "num_choices": 2,
53
+ "sequence_length": 7
54
+ },
55
+ "new_tokens": null,
56
+ "latency": true,
57
+ "memory": true,
58
+ "energy": false,
59
+ "forward_kwargs": {},
60
+ "generate_kwargs": {
61
+ "max_new_tokens": 128,
62
+ "min_new_tokens": 128,
63
+ "do_sample": false
64
+ },
65
+ "call_kwargs": {}
66
+ },
67
+ "launcher": {
68
+ "name": "process",
69
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
70
+ "device_isolation": true,
71
+ "device_isolation_action": "warn",
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.29792,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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": 1913.643008,
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.028166272163391112,
118
+ "mean": 0.014083136081695556,
119
+ "stdev": 7.267236709594758e-05,
120
+ "p50": 0.014083136081695556,
121
+ "p90": 0.014141273975372315,
122
+ "p95": 0.01414854121208191,
123
+ "p99": 0.014154355001449586,
124
+ "values": [
125
+ 0.014155808448791505,
126
+ 0.01401046371459961
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 497.0483817946057
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 2257.399808,
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.1239969482421874,
149
+ "mean": 1.5619984741210937,
150
+ "stdev": 0.001771301269531289,
151
+ "p50": 1.5619984741210937,
152
+ "p90": 1.5634155151367188,
153
+ "p95": 1.563592645263672,
154
+ "p99": 1.5637343493652345,
155
+ "values": [
156
+ 1.563769775390625,
157
+ 1.5602271728515624
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 81.30609735163821
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.125140475273133,
173
+ "mean": 0.012352333894360206,
174
+ "stdev": 0.0008941349793315786,
175
+ "p50": 0.012288000106811523,
176
+ "p90": 0.012323635292053223,
177
+ "p95": 0.012344319915771484,
178
+ "p99": 0.012764446640014648,
179
+ "values": [
180
+ 0.012699647903442383,
181
+ 0.012783616065979005,
182
+ 0.012694527626037597,
183
+ 0.012784640312194824,
184
+ 0.01274675178527832,
185
+ 0.012338175773620605,
186
+ 0.012277759552001954,
187
+ 0.012347392082214356,
188
+ 0.012304384231567383,
189
+ 0.012329983711242675,
190
+ 0.012265472412109376,
191
+ 0.012309503555297852,
192
+ 0.012274687767028808,
193
+ 0.012311552047729492,
194
+ 0.012271615982055664,
195
+ 0.012311552047729492,
196
+ 0.012263423919677734,
197
+ 0.012327936172485352,
198
+ 0.012281855583190919,
199
+ 0.012308480262756348,
200
+ 0.012256256103515625,
201
+ 0.012353535652160644,
202
+ 0.012395520210266114,
203
+ 0.012305407524108887,
204
+ 0.012264448165893555,
205
+ 0.012304384231567383,
206
+ 0.012266495704650878,
207
+ 0.012304384231567383,
208
+ 0.012253184318542481,
209
+ 0.012301312446594239,
210
+ 0.012254207611083985,
211
+ 0.012289024353027344,
212
+ 0.012262399673461915,
213
+ 0.012295167922973632,
214
+ 0.012263423919677734,
215
+ 0.012338175773620605,
216
+ 0.012273664474487305,
217
+ 0.012299263954162597,
218
+ 0.01226956844329834,
219
+ 0.012308480262756348,
220
+ 0.012253184318542481,
221
+ 0.012296192169189453,
222
+ 0.01225830364227295,
223
+ 0.012310527801513671,
224
+ 0.012315648078918457,
225
+ 0.012304384231567383,
226
+ 0.01225011157989502,
227
+ 0.012321791648864745,
228
+ 0.012286975860595703,
229
+ 0.012371968269348145,
230
+ 0.012265472412109376,
231
+ 0.012292096138000488,
232
+ 0.012284992218017578,
233
+ 0.012318655967712403,
234
+ 0.01226035213470459,
235
+ 0.012305407524108887,
236
+ 0.012265472412109376,
237
+ 0.012311552047729492,
238
+ 0.012256256103515625,
239
+ 0.012300288200378418,
240
+ 0.012272640228271485,
241
+ 0.012313599586486817,
242
+ 0.012278783798217773,
243
+ 0.012323840141296387,
244
+ 0.012244992256164551,
245
+ 0.012298239707946777,
246
+ 0.01225113582611084,
247
+ 0.012300288200378418,
248
+ 0.01227673625946045,
249
+ 0.012313599586486817,
250
+ 0.012270591735839843,
251
+ 0.012304384231567383,
252
+ 0.01225113582611084,
253
+ 0.012320768356323243,
254
+ 0.012249088287353516,
255
+ 0.012305407524108887,
256
+ 0.012289024353027344,
257
+ 0.01234227180480957,
258
+ 0.012259327888488769,
259
+ 0.012305407524108887,
260
+ 0.012244992256164551,
261
+ 0.012319744110107422,
262
+ 0.012265472412109376,
263
+ 0.012303359985351562,
264
+ 0.01226854419708252,
265
+ 0.012322815895080566,
266
+ 0.012312576293945313,
267
+ 0.012319744110107422,
268
+ 0.01226035213470459,
269
+ 0.01237606430053711,
270
+ 0.012292096138000488,
271
+ 0.012299263954162597,
272
+ 0.012257280349731446,
273
+ 0.01229312038421631,
274
+ 0.012239871978759765,
275
+ 0.012294143676757812,
276
+ 0.01223475170135498,
277
+ 0.012286975860595703,
278
+ 0.012267519950866699,
279
+ 0.012310527801513671,
280
+ 0.01225011157989502,
281
+ 0.012291071891784668,
282
+ 0.012241920471191407,
283
+ 0.012278783798217773,
284
+ 0.01226035213470459,
285
+ 0.012322815895080566,
286
+ 0.012247039794921874,
287
+ 0.012285951614379884,
288
+ 0.01225113582611084,
289
+ 0.012298239707946777,
290
+ 0.012244992256164551,
291
+ 0.012282879829406738,
292
+ 0.012253184318542481,
293
+ 0.01228492832183838,
294
+ 0.012240896224975586,
295
+ 0.012283904075622559,
296
+ 0.012336128234863282,
297
+ 0.012447744369506837,
298
+ 0.012291071891784668,
299
+ 0.01234227180480957,
300
+ 0.012257280349731446,
301
+ 0.012282879829406738,
302
+ 0.012247039794921874,
303
+ 0.012299263954162597,
304
+ 0.012274687767028808,
305
+ 0.012316672325134278,
306
+ 0.02650214385986328,
307
+ 0.01226035213470459,
308
+ 0.012307456016540527,
309
+ 0.01225830364227295,
310
+ 0.012312576293945313,
311
+ 0.012259327888488769,
312
+ 0.012311552047729492,
313
+ 0.012262399673461915,
314
+ 0.012288000106811523,
315
+ 0.012259327888488769,
316
+ 0.012383232116699219,
317
+ 0.012266528129577637,
318
+ 0.012319711685180664,
319
+ 0.012266495704650878,
320
+ 0.012292096138000488,
321
+ 0.012244992256164551,
322
+ 0.012298239707946777,
323
+ 0.012259327888488769,
324
+ 0.012295167922973632,
325
+ 0.012255231857299804,
326
+ 0.012302335739135742,
327
+ 0.01226956844329834,
328
+ 0.012298239707946777,
329
+ 0.012247039794921874,
330
+ 0.012312576293945313,
331
+ 0.012288000106811523,
332
+ 0.012332032203674317,
333
+ 0.01226854419708252,
334
+ 0.012294143676757812,
335
+ 0.01226035213470459,
336
+ 0.012307456016540527,
337
+ 0.012254207611083985,
338
+ 0.012309503555297852,
339
+ 0.01226854419708252,
340
+ 0.012308480262756348,
341
+ 0.012275712013244629,
342
+ 0.012291071891784668,
343
+ 0.01226956844329834,
344
+ 0.012312576293945313,
345
+ 0.012244992256164551,
346
+ 0.012318719863891601,
347
+ 0.012290047645568849,
348
+ 0.012300288200378418,
349
+ 0.01227673625946045,
350
+ 0.012311552047729492,
351
+ 0.012257280349731446,
352
+ 0.012310527801513671,
353
+ 0.012248064041137695,
354
+ 0.012302335739135742,
355
+ 0.01225216007232666,
356
+ 0.012307456016540527,
357
+ 0.012240896224975586,
358
+ 0.012300288200378418,
359
+ 0.012279808044433594,
360
+ 0.012328960418701173,
361
+ 0.012266495704650878,
362
+ 0.012321791648864745,
363
+ 0.012241920471191407,
364
+ 0.012309503555297852,
365
+ 0.012256256103515625,
366
+ 0.012281855583190919,
367
+ 0.012254207611083985,
368
+ 0.012315648078918457,
369
+ 0.012255231857299804,
370
+ 0.012307456016540527,
371
+ 0.012256256103515625,
372
+ 0.012303359985351562,
373
+ 0.01225011157989502,
374
+ 0.012309503555297852,
375
+ 0.012275712013244629,
376
+ 0.012316672325134278,
377
+ 0.01225216007232666,
378
+ 0.012297216415405274,
379
+ 0.012263423919677734,
380
+ 0.012306431770324706,
381
+ 0.012255231857299804,
382
+ 0.012296192169189453,
383
+ 0.012256256103515625,
384
+ 0.012313599586486817,
385
+ 0.012274687767028808,
386
+ 0.012318719863891601,
387
+ 0.012264448165893555,
388
+ 0.012321791648864745,
389
+ 0.012279808044433594,
390
+ 0.012326911926269531,
391
+ 0.012262399673461915,
392
+ 0.01229312038421631,
393
+ 0.01226854419708252,
394
+ 0.012294143676757812,
395
+ 0.012249088287353516,
396
+ 0.012303359985351562,
397
+ 0.012274687767028808,
398
+ 0.012300288200378418,
399
+ 0.012254207611083985,
400
+ 0.012300288200378418,
401
+ 0.012264448165893555,
402
+ 0.012305407524108887,
403
+ 0.012281855583190919,
404
+ 0.012309503555297852,
405
+ 0.012247039794921874,
406
+ 0.012279808044433594,
407
+ 0.012238847732543945,
408
+ 0.012282879829406738,
409
+ 0.012321791648864745,
410
+ 0.012281855583190919,
411
+ 0.012256256103515625,
412
+ 0.012294143676757812,
413
+ 0.012253184318542481,
414
+ 0.012281855583190919,
415
+ 0.01224294376373291,
416
+ 0.012282879829406738,
417
+ 0.012263423919677734,
418
+ 0.012303359985351562,
419
+ 0.012254207611083985,
420
+ 0.012324864387512208,
421
+ 0.01225830364227295,
422
+ 0.012299263954162597,
423
+ 0.012267519950866699,
424
+ 0.012296192169189453,
425
+ 0.012267519950866699,
426
+ 0.012299263954162597,
427
+ 0.01225216007232666,
428
+ 0.012309503555297852,
429
+ 0.01225830364227295,
430
+ 0.01229312038421631,
431
+ 0.01226854419708252,
432
+ 0.01233407974243164
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 80.95636084259164
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
File without changes
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": "static",
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": true,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
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-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": 1913.643008,
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.028166272163391112,
15
+ "mean": 0.014083136081695556,
16
+ "stdev": 7.267236709594758e-05,
17
+ "p50": 0.014083136081695556,
18
+ "p90": 0.014141273975372315,
19
+ "p95": 0.01414854121208191,
20
+ "p99": 0.014154355001449586,
21
+ "values": [
22
+ 0.014155808448791505,
23
+ 0.01401046371459961
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 497.0483817946057
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 2257.399808,
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.1239969482421874,
46
+ "mean": 1.5619984741210937,
47
+ "stdev": 0.001771301269531289,
48
+ "p50": 1.5619984741210937,
49
+ "p90": 1.5634155151367188,
50
+ "p95": 1.563592645263672,
51
+ "p99": 1.5637343493652345,
52
+ "values": [
53
+ 1.563769775390625,
54
+ 1.5602271728515624
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 81.30609735163821
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.125140475273133,
70
+ "mean": 0.012352333894360206,
71
+ "stdev": 0.0008941349793315786,
72
+ "p50": 0.012288000106811523,
73
+ "p90": 0.012323635292053223,
74
+ "p95": 0.012344319915771484,
75
+ "p99": 0.012764446640014648,
76
+ "values": [
77
+ 0.012699647903442383,
78
+ 0.012783616065979005,
79
+ 0.012694527626037597,
80
+ 0.012784640312194824,
81
+ 0.01274675178527832,
82
+ 0.012338175773620605,
83
+ 0.012277759552001954,
84
+ 0.012347392082214356,
85
+ 0.012304384231567383,
86
+ 0.012329983711242675,
87
+ 0.012265472412109376,
88
+ 0.012309503555297852,
89
+ 0.012274687767028808,
90
+ 0.012311552047729492,
91
+ 0.012271615982055664,
92
+ 0.012311552047729492,
93
+ 0.012263423919677734,
94
+ 0.012327936172485352,
95
+ 0.012281855583190919,
96
+ 0.012308480262756348,
97
+ 0.012256256103515625,
98
+ 0.012353535652160644,
99
+ 0.012395520210266114,
100
+ 0.012305407524108887,
101
+ 0.012264448165893555,
102
+ 0.012304384231567383,
103
+ 0.012266495704650878,
104
+ 0.012304384231567383,
105
+ 0.012253184318542481,
106
+ 0.012301312446594239,
107
+ 0.012254207611083985,
108
+ 0.012289024353027344,
109
+ 0.012262399673461915,
110
+ 0.012295167922973632,
111
+ 0.012263423919677734,
112
+ 0.012338175773620605,
113
+ 0.012273664474487305,
114
+ 0.012299263954162597,
115
+ 0.01226956844329834,
116
+ 0.012308480262756348,
117
+ 0.012253184318542481,
118
+ 0.012296192169189453,
119
+ 0.01225830364227295,
120
+ 0.012310527801513671,
121
+ 0.012315648078918457,
122
+ 0.012304384231567383,
123
+ 0.01225011157989502,
124
+ 0.012321791648864745,
125
+ 0.012286975860595703,
126
+ 0.012371968269348145,
127
+ 0.012265472412109376,
128
+ 0.012292096138000488,
129
+ 0.012284992218017578,
130
+ 0.012318655967712403,
131
+ 0.01226035213470459,
132
+ 0.012305407524108887,
133
+ 0.012265472412109376,
134
+ 0.012311552047729492,
135
+ 0.012256256103515625,
136
+ 0.012300288200378418,
137
+ 0.012272640228271485,
138
+ 0.012313599586486817,
139
+ 0.012278783798217773,
140
+ 0.012323840141296387,
141
+ 0.012244992256164551,
142
+ 0.012298239707946777,
143
+ 0.01225113582611084,
144
+ 0.012300288200378418,
145
+ 0.01227673625946045,
146
+ 0.012313599586486817,
147
+ 0.012270591735839843,
148
+ 0.012304384231567383,
149
+ 0.01225113582611084,
150
+ 0.012320768356323243,
151
+ 0.012249088287353516,
152
+ 0.012305407524108887,
153
+ 0.012289024353027344,
154
+ 0.01234227180480957,
155
+ 0.012259327888488769,
156
+ 0.012305407524108887,
157
+ 0.012244992256164551,
158
+ 0.012319744110107422,
159
+ 0.012265472412109376,
160
+ 0.012303359985351562,
161
+ 0.01226854419708252,
162
+ 0.012322815895080566,
163
+ 0.012312576293945313,
164
+ 0.012319744110107422,
165
+ 0.01226035213470459,
166
+ 0.01237606430053711,
167
+ 0.012292096138000488,
168
+ 0.012299263954162597,
169
+ 0.012257280349731446,
170
+ 0.01229312038421631,
171
+ 0.012239871978759765,
172
+ 0.012294143676757812,
173
+ 0.01223475170135498,
174
+ 0.012286975860595703,
175
+ 0.012267519950866699,
176
+ 0.012310527801513671,
177
+ 0.01225011157989502,
178
+ 0.012291071891784668,
179
+ 0.012241920471191407,
180
+ 0.012278783798217773,
181
+ 0.01226035213470459,
182
+ 0.012322815895080566,
183
+ 0.012247039794921874,
184
+ 0.012285951614379884,
185
+ 0.01225113582611084,
186
+ 0.012298239707946777,
187
+ 0.012244992256164551,
188
+ 0.012282879829406738,
189
+ 0.012253184318542481,
190
+ 0.01228492832183838,
191
+ 0.012240896224975586,
192
+ 0.012283904075622559,
193
+ 0.012336128234863282,
194
+ 0.012447744369506837,
195
+ 0.012291071891784668,
196
+ 0.01234227180480957,
197
+ 0.012257280349731446,
198
+ 0.012282879829406738,
199
+ 0.012247039794921874,
200
+ 0.012299263954162597,
201
+ 0.012274687767028808,
202
+ 0.012316672325134278,
203
+ 0.02650214385986328,
204
+ 0.01226035213470459,
205
+ 0.012307456016540527,
206
+ 0.01225830364227295,
207
+ 0.012312576293945313,
208
+ 0.012259327888488769,
209
+ 0.012311552047729492,
210
+ 0.012262399673461915,
211
+ 0.012288000106811523,
212
+ 0.012259327888488769,
213
+ 0.012383232116699219,
214
+ 0.012266528129577637,
215
+ 0.012319711685180664,
216
+ 0.012266495704650878,
217
+ 0.012292096138000488,
218
+ 0.012244992256164551,
219
+ 0.012298239707946777,
220
+ 0.012259327888488769,
221
+ 0.012295167922973632,
222
+ 0.012255231857299804,
223
+ 0.012302335739135742,
224
+ 0.01226956844329834,
225
+ 0.012298239707946777,
226
+ 0.012247039794921874,
227
+ 0.012312576293945313,
228
+ 0.012288000106811523,
229
+ 0.012332032203674317,
230
+ 0.01226854419708252,
231
+ 0.012294143676757812,
232
+ 0.01226035213470459,
233
+ 0.012307456016540527,
234
+ 0.012254207611083985,
235
+ 0.012309503555297852,
236
+ 0.01226854419708252,
237
+ 0.012308480262756348,
238
+ 0.012275712013244629,
239
+ 0.012291071891784668,
240
+ 0.01226956844329834,
241
+ 0.012312576293945313,
242
+ 0.012244992256164551,
243
+ 0.012318719863891601,
244
+ 0.012290047645568849,
245
+ 0.012300288200378418,
246
+ 0.01227673625946045,
247
+ 0.012311552047729492,
248
+ 0.012257280349731446,
249
+ 0.012310527801513671,
250
+ 0.012248064041137695,
251
+ 0.012302335739135742,
252
+ 0.01225216007232666,
253
+ 0.012307456016540527,
254
+ 0.012240896224975586,
255
+ 0.012300288200378418,
256
+ 0.012279808044433594,
257
+ 0.012328960418701173,
258
+ 0.012266495704650878,
259
+ 0.012321791648864745,
260
+ 0.012241920471191407,
261
+ 0.012309503555297852,
262
+ 0.012256256103515625,
263
+ 0.012281855583190919,
264
+ 0.012254207611083985,
265
+ 0.012315648078918457,
266
+ 0.012255231857299804,
267
+ 0.012307456016540527,
268
+ 0.012256256103515625,
269
+ 0.012303359985351562,
270
+ 0.01225011157989502,
271
+ 0.012309503555297852,
272
+ 0.012275712013244629,
273
+ 0.012316672325134278,
274
+ 0.01225216007232666,
275
+ 0.012297216415405274,
276
+ 0.012263423919677734,
277
+ 0.012306431770324706,
278
+ 0.012255231857299804,
279
+ 0.012296192169189453,
280
+ 0.012256256103515625,
281
+ 0.012313599586486817,
282
+ 0.012274687767028808,
283
+ 0.012318719863891601,
284
+ 0.012264448165893555,
285
+ 0.012321791648864745,
286
+ 0.012279808044433594,
287
+ 0.012326911926269531,
288
+ 0.012262399673461915,
289
+ 0.01229312038421631,
290
+ 0.01226854419708252,
291
+ 0.012294143676757812,
292
+ 0.012249088287353516,
293
+ 0.012303359985351562,
294
+ 0.012274687767028808,
295
+ 0.012300288200378418,
296
+ 0.012254207611083985,
297
+ 0.012300288200378418,
298
+ 0.012264448165893555,
299
+ 0.012305407524108887,
300
+ 0.012281855583190919,
301
+ 0.012309503555297852,
302
+ 0.012247039794921874,
303
+ 0.012279808044433594,
304
+ 0.012238847732543945,
305
+ 0.012282879829406738,
306
+ 0.012321791648864745,
307
+ 0.012281855583190919,
308
+ 0.012256256103515625,
309
+ 0.012294143676757812,
310
+ 0.012253184318542481,
311
+ 0.012281855583190919,
312
+ 0.01224294376373291,
313
+ 0.012282879829406738,
314
+ 0.012263423919677734,
315
+ 0.012303359985351562,
316
+ 0.012254207611083985,
317
+ 0.012324864387512208,
318
+ 0.01225830364227295,
319
+ 0.012299263954162597,
320
+ 0.012267519950866699,
321
+ 0.012296192169189453,
322
+ 0.012267519950866699,
323
+ 0.012299263954162597,
324
+ 0.01225216007232666,
325
+ 0.012309503555297852,
326
+ 0.01225830364227295,
327
+ 0.01229312038421631,
328
+ 0.01226854419708252,
329
+ 0.01233407974243164
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 80.95636084259164
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/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": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.014083136081695556,
7
+ "prefill.throughput.value": 497.0483817946057,
8
+ "decode.latency.mean": 1.5619984741210937,
9
+ "decode.throughput.value": 81.30609735163821,
10
+ "per_token.latency.mean": 0.012352333894360206,
11
+ "per_token.throughput.value": 80.95636084259164
12
+ }
13
+ }
2024-06-26/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/multirun.yaml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpqjl6qjgc/commit=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc
88
+ - hydra.run.dir=_benchmark/tmpqjl6qjgc/commit\=3f93fd06949f9eae58e50fd0c9b8e60be82643bc/${hydra.job.override_dirname}
89
+ - hydra.mode=MULTIRUN
90
+ task:
91
+ - backend.model=google/gemma-2b
92
+ - backend.cache_implementation=null,static
93
+ - backend.torch_compile=false,true
94
+ job:
95
+ name: cli
96
+ chdir: true
97
+ override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
98
+ id: ???
99
+ num: ???
100
+ config_name: generation
101
+ env_set:
102
+ OVERRIDE_BENCHMARKS: '1'
103
+ LOG_LEVEL: WARN
104
+ env_copy: []
105
+ config:
106
+ override_dirname:
107
+ kv_sep: '='
108
+ item_sep: ','
109
+ exclude_keys: []
110
+ runtime:
111
+ version: 1.3.2
112
+ version_base: '1.3'
113
+ cwd: /transformers
114
+ config_sources:
115
+ - path: hydra.conf
116
+ schema: pkg
117
+ provider: hydra
118
+ - path: optimum_benchmark
119
+ schema: pkg
120
+ provider: main
121
+ - path: /transformers/benchmark/config
122
+ schema: file
123
+ provider: command-line
124
+ - path: ''
125
+ schema: structured
126
+ provider: schema
127
+ output_dir: ???
128
+ choices:
129
+ backend: pytorch
130
+ launcher: process
131
+ scenario: inference
132
+ hydra/env: default
133
+ hydra/callbacks: null
134
+ hydra/job_logging: disabled
135
+ hydra/hydra_logging: disabled
136
+ hydra/hydra_help: default
137
+ hydra/help: default
138
+ hydra/sweeper: basic
139
+ hydra/launcher: basic
140
+ hydra/output: default
141
+ verbose: false
142
+ name: pytorch_generate
143
+ backend:
144
+ name: pytorch
145
+ version: 2.3.0+cu121
146
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
147
+ task: null
148
+ library: null
149
+ model: google/gemma-2b
150
+ processor: null
151
+ device: cuda
152
+ device_ids: '0'
153
+ seed: 42
154
+ inter_op_num_threads: null
155
+ intra_op_num_threads: null
156
+ model_kwargs: {}
157
+ processor_kwargs: {}
158
+ hub_kwargs: {}
159
+ no_weights: true
160
+ device_map: null
161
+ torch_dtype: float16
162
+ eval_mode: true
163
+ to_bettertransformer: false
164
+ low_cpu_mem_usage: null
165
+ attn_implementation: null
166
+ cache_implementation: static
167
+ autocast_enabled: false
168
+ autocast_dtype: null
169
+ torch_compile: true
170
+ torch_compile_target: forward
171
+ torch_compile_config:
172
+ backend: inductor
173
+ mode: reduce-overhead
174
+ fullgraph: true
175
+ quantization_scheme: null
176
+ quantization_config: {}
177
+ deepspeed_inference: false
178
+ deepspeed_inference_config: {}
179
+ peft_type: null
180
+ peft_config: {}
181
+ scenario:
182
+ name: inference
183
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
184
+ iterations: 2
185
+ duration: 0
186
+ warmup_runs: 10
187
+ input_shapes:
188
+ batch_size: 1
189
+ sequence_length: 7
190
+ new_tokens: null
191
+ latency: true
192
+ memory: true
193
+ energy: false
194
+ forward_kwargs: {}
195
+ generate_kwargs:
196
+ max_new_tokens: 128
197
+ min_new_tokens: 128
198
+ do_sample: false
199
+ call_kwargs: {}
200
+ launcher:
201
+ name: process
202
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
203
+ device_isolation: true
204
+ device_isolation_action: warn
205
+ start_method: spawn
206
+ environment:
207
+ cpu: ' AMD EPYC 7R32'
208
+ cpu_count: 16
209
+ cpu_ram_mb: 66697.29792
210
+ system: Linux
211
+ machine: x86_64
212
+ platform: Linux-5.10.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29
213
+ processor: x86_64
214
+ python_version: 3.8.10
215
+ gpu:
216
+ - NVIDIA A10G
217
+ gpu_count: 1
218
+ gpu_vram_mb: 24146608128
219
+ optimum_benchmark_version: 0.2.1
220
+ optimum_benchmark_commit: null
221
+ transformers_version: 4.42.0.dev0
222
+ transformers_commit: 3f93fd06949f9eae58e50fd0c9b8e60be82643bc
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-26/summaries.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "model": "google/gemma-2b",
4
+ "commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
5
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
6
+ "metrics": {
7
+ "prefill.latency.mean": 0.020061391830444336,
8
+ "prefill.throughput.value": 348.92893071242895,
9
+ "decode.latency.mean": 2.4978765869140624,
10
+ "decode.throughput.value": 50.84318443326253,
11
+ "per_token.latency.mean": 0.01974688067832012,
12
+ "per_token.throughput.value": 50.64090963480064
13
+ }
14
+ },
15
+ {
16
+ "model": "google/gemma-2b",
17
+ "commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
18
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
19
+ "metrics": {
20
+ "prefill.latency.mean": 0.02292073631286621,
21
+ "prefill.throughput.value": 305.40031107424136,
22
+ "decode.latency.mean": 2.63423046875,
23
+ "decode.throughput.value": 48.21142322458379,
24
+ "per_token.latency.mean": 0.020826120082568747,
25
+ "per_token.throughput.value": 48.01662508596548
26
+ }
27
+ },
28
+ {
29
+ "model": "google/gemma-2b",
30
+ "commit": "3f93fd06949f9eae58e50fd0c9b8e60be82643bc",
31
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
32
+ "metrics": {
33
+ "prefill.latency.mean": 0.014083136081695556,
34
+ "prefill.throughput.value": 497.0483817946057,
35
+ "decode.latency.mean": 1.5619984741210937,
36
+ "decode.throughput.value": 81.30609735163821,
37
+ "per_token.latency.mean": 0.012352333894360206,
38
+ "per_token.throughput.value": 80.95636084259164
39
+ }
40
+ }
41
+ ]
2024-06-26/summary.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "google/gemma-2b": {
3
+ "backend.cache_implementation=null,backend.torch_compile=False": {
4
+ "3f93fd06949f9eae58e50fd0c9b8e60be82643bc": {
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.020061391830444336,
7
+ "prefill.throughput.value": 348.92893071242895,
8
+ "decode.latency.mean": 2.4978765869140624,
9
+ "decode.throughput.value": 50.84318443326253,
10
+ "per_token.latency.mean": 0.01974688067832012,
11
+ "per_token.throughput.value": 50.64090963480064
12
+ }
13
+ }
14
+ },
15
+ "backend.cache_implementation=static,backend.torch_compile=False": {
16
+ "3f93fd06949f9eae58e50fd0c9b8e60be82643bc": {
17
+ "metrics": {
18
+ "prefill.latency.mean": 0.02292073631286621,
19
+ "prefill.throughput.value": 305.40031107424136,
20
+ "decode.latency.mean": 2.63423046875,
21
+ "decode.throughput.value": 48.21142322458379,
22
+ "per_token.latency.mean": 0.020826120082568747,
23
+ "per_token.throughput.value": 48.01662508596548
24
+ }
25
+ }
26
+ },
27
+ "backend.cache_implementation=static,backend.torch_compile=True": {
28
+ "3f93fd06949f9eae58e50fd0c9b8e60be82643bc": {
29
+ "metrics": {
30
+ "prefill.latency.mean": 0.014083136081695556,
31
+ "prefill.throughput.value": 497.0483817946057,
32
+ "decode.latency.mean": 1.5619984741210937,
33
+ "decode.throughput.value": 81.30609735163821,
34
+ "per_token.latency.mean": 0.012352333894360206,
35
+ "per_token.throughput.value": 80.95636084259164
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }