hf-transformers-bot commited on
Commit
2e8d53c
1 Parent(s): e45cbb2

Upload folder using huggingface_hub

Browse files
Files changed (32) hide show
  1. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  2. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  3. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  4. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  5. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  6. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  7. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  8. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  9. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  10. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  11. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  12. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +1 -0
  13. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  14. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml +91 -0
  15. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/hydra.yaml +141 -0
  16. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/overrides.yaml +3 -0
  17. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.json +443 -0
  18. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log +0 -0
  19. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json +102 -0
  20. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_report.json +339 -0
  21. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/summary.json +13 -0
  22. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml +91 -0
  23. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/hydra.yaml +141 -0
  24. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/overrides.yaml +3 -0
  25. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.json +443 -0
  26. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log +0 -0
  27. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json +102 -0
  28. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_report.json +339 -0
  29. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/summary.json +13 -0
  30. 2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/multirun.yaml +232 -0
  31. 2024-06-20/summaries.json +41 -0
  32. 2024-06-20/summary.json +40 -0
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: null
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: false
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
88
+ - hydra.run.dir=_benchmark/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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": 1708.326912,
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.03926543998718262,
118
+ "mean": 0.01963271999359131,
119
+ "stdev": 0.0005087194442749028,
120
+ "p50": 0.01963271999359131,
121
+ "p90": 0.020039695549011232,
122
+ "p95": 0.02009056749343872,
123
+ "p99": 0.020131265048980714,
124
+ "values": [
125
+ 0.020141439437866213,
126
+ 0.019124000549316407
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 356.54764099345397
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1708.40064,
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.689177001953125,
149
+ "mean": 2.3445885009765624,
150
+ "stdev": 0.010478149414062443,
151
+ "p50": 2.3445885009765624,
152
+ "p90": 2.3529710205078125,
153
+ "p95": 2.3540188354492186,
154
+ "p99": 2.3548570874023436,
155
+ "values": [
156
+ 2.355066650390625,
157
+ 2.3341103515625
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 54.16728775522966
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.68916942024231,
173
+ "mean": 0.01853426648317118,
174
+ "stdev": 0.0012692450445622333,
175
+ "p50": 0.018335744857788085,
176
+ "p90": 0.019147596740722656,
177
+ "p95": 0.019481190490722656,
178
+ "p99": 0.019787325820922852,
179
+ "values": [
180
+ 0.01946009635925293,
181
+ 0.019739648818969727,
182
+ 0.01983897590637207,
183
+ 0.019528703689575197,
184
+ 0.019710975646972655,
185
+ 0.019612672805786133,
186
+ 0.01861222457885742,
187
+ 0.01821183967590332,
188
+ 0.01824358367919922,
189
+ 0.01841152000427246,
190
+ 0.018721792221069337,
191
+ 0.018892799377441406,
192
+ 0.018497535705566406,
193
+ 0.018299903869628906,
194
+ 0.018135040283203126,
195
+ 0.018108415603637695,
196
+ 0.018354175567626953,
197
+ 0.01815449523925781,
198
+ 0.018242559432983398,
199
+ 0.018198528289794923,
200
+ 0.01803775978088379,
201
+ 0.01828556823730469,
202
+ 0.018257919311523436,
203
+ 0.018136064529418947,
204
+ 0.01803059196472168,
205
+ 0.017957887649536132,
206
+ 0.01800396728515625,
207
+ 0.01802956771850586,
208
+ 0.018283519744873047,
209
+ 0.01804697608947754,
210
+ 0.018342912673950194,
211
+ 0.018059263229370116,
212
+ 0.017937408447265626,
213
+ 0.018713600158691408,
214
+ 0.018386943817138672,
215
+ 0.018373632431030275,
216
+ 0.018473983764648438,
217
+ 0.018167808532714845,
218
+ 0.01847500801086426,
219
+ 0.01820364761352539,
220
+ 0.018440191268920898,
221
+ 0.018330623626708984,
222
+ 0.018148416519165038,
223
+ 0.018210752487182617,
224
+ 0.018231296539306642,
225
+ 0.01843097686767578,
226
+ 0.01862553596496582,
227
+ 0.01838387107849121,
228
+ 0.018339839935302735,
229
+ 0.018372608184814454,
230
+ 0.018358272552490236,
231
+ 0.018357248306274415,
232
+ 0.018321407318115233,
233
+ 0.01859174346923828,
234
+ 0.01859174346923828,
235
+ 0.018732032775878905,
236
+ 0.019372032165527343,
237
+ 0.019527679443359376,
238
+ 0.01843916893005371,
239
+ 0.018568191528320312,
240
+ 0.01843302345275879,
241
+ 0.01843097686767578,
242
+ 0.018531328201293946,
243
+ 0.018404352188110353,
244
+ 0.018495487213134765,
245
+ 0.01822719955444336,
246
+ 0.018331647872924805,
247
+ 0.018552831649780274,
248
+ 0.018509824752807616,
249
+ 0.018381824493408205,
250
+ 0.018525184631347655,
251
+ 0.018408447265625,
252
+ 0.018231296539306642,
253
+ 0.018489343643188477,
254
+ 0.018451616287231444,
255
+ 0.01834582328796387,
256
+ 0.018335775375366212,
257
+ 0.018428895950317385,
258
+ 0.01842278480529785,
259
+ 0.018380800247192384,
260
+ 0.02051481628417969,
261
+ 0.019514368057250975,
262
+ 0.019304447174072266,
263
+ 0.019526655197143555,
264
+ 0.018280448913574218,
265
+ 0.018405376434326173,
266
+ 0.018109439849853515,
267
+ 0.01807257652282715,
268
+ 0.018669567108154296,
269
+ 0.018519039154052733,
270
+ 0.018528255462646484,
271
+ 0.01866854476928711,
272
+ 0.018490432739257812,
273
+ 0.01820460891723633,
274
+ 0.01803980827331543,
275
+ 0.01808076858520508,
276
+ 0.018165760040283203,
277
+ 0.01817804718017578,
278
+ 0.018172927856445312,
279
+ 0.018077695846557617,
280
+ 0.018273279190063475,
281
+ 0.01827020835876465,
282
+ 0.018239488601684572,
283
+ 0.01823641586303711,
284
+ 0.01820876884460449,
285
+ 0.01883443260192871,
286
+ 0.019412992477416992,
287
+ 0.019272703170776367,
288
+ 0.01946112060546875,
289
+ 0.019148799896240236,
290
+ 0.019171327590942384,
291
+ 0.01946112060546875,
292
+ 0.01947750473022461,
293
+ 0.019586048126220702,
294
+ 0.019207168579101562,
295
+ 0.01902079963684082,
296
+ 0.01825279998779297,
297
+ 0.018214912414550782,
298
+ 0.018543615341186523,
299
+ 0.018507776260375978,
300
+ 0.018371583938598633,
301
+ 0.018274303436279296,
302
+ 0.01820057678222656,
303
+ 0.018229248046875,
304
+ 0.01824051284790039,
305
+ 0.018396160125732423,
306
+ 0.03759308624267578,
307
+ 0.018299903869628906,
308
+ 0.01824870491027832,
309
+ 0.018372608184814454,
310
+ 0.018330623626708984,
311
+ 0.018152448654174806,
312
+ 0.018428928375244142,
313
+ 0.018324480056762696,
314
+ 0.0182108154296875,
315
+ 0.018241535186767577,
316
+ 0.018168832778930662,
317
+ 0.018120704650878908,
318
+ 0.01843302345275879,
319
+ 0.01830297660827637,
320
+ 0.018541568756103514,
321
+ 0.018552831649780274,
322
+ 0.018148351669311523,
323
+ 0.018112512588500978,
324
+ 0.01815449523925781,
325
+ 0.018142208099365235,
326
+ 0.018291744232177734,
327
+ 0.01809916877746582,
328
+ 0.018268159866333008,
329
+ 0.018274303436279296,
330
+ 0.01816166305541992,
331
+ 0.018076671600341796,
332
+ 0.01820467185974121,
333
+ 0.018274400711059572,
334
+ 0.018233247756958008,
335
+ 0.018486272811889647,
336
+ 0.018306047439575195,
337
+ 0.018142208099365235,
338
+ 0.018258943557739257,
339
+ 0.018185216903686522,
340
+ 0.01818726348876953,
341
+ 0.018300928115844727,
342
+ 0.018335744857788085,
343
+ 0.018347007751464844,
344
+ 0.018157567977905274,
345
+ 0.018168832778930662,
346
+ 0.01798860740661621,
347
+ 0.018136064529418947,
348
+ 0.01820057678222656,
349
+ 0.018759679794311524,
350
+ 0.018800640106201173,
351
+ 0.019127296447753905,
352
+ 0.019204095840454103,
353
+ 0.018190336227416993,
354
+ 0.018486272811889647,
355
+ 0.018397184371948243,
356
+ 0.01847603225708008,
357
+ 0.018299903869628906,
358
+ 0.018198528289794923,
359
+ 0.018211999893188478,
360
+ 0.018141151428222656,
361
+ 0.018199424743652343,
362
+ 0.018469888687133788,
363
+ 0.018311168670654295,
364
+ 0.018336767196655272,
365
+ 0.019356672286987304,
366
+ 0.018765823364257812,
367
+ 0.01845145606994629,
368
+ 0.018329599380493163,
369
+ 0.01823641586303711,
370
+ 0.018257919311523436,
371
+ 0.01884774398803711,
372
+ 0.018264064788818358,
373
+ 0.018386943817138672,
374
+ 0.018465791702270508,
375
+ 0.018326528549194337,
376
+ 0.01848422431945801,
377
+ 0.018533376693725585,
378
+ 0.018473983764648438,
379
+ 0.01824460792541504,
380
+ 0.018241600036621095,
381
+ 0.018298816680908204,
382
+ 0.01823232078552246,
383
+ 0.01838489532470703,
384
+ 0.018358272552490236,
385
+ 0.018480127334594726,
386
+ 0.018496511459350586,
387
+ 0.01860915184020996,
388
+ 0.018506752014160157,
389
+ 0.018496511459350586,
390
+ 0.018350080490112306,
391
+ 0.018912256240844725,
392
+ 0.018318336486816408,
393
+ 0.018249727249145507,
394
+ 0.018317312240600587,
395
+ 0.01821183967590332,
396
+ 0.018362367630004883,
397
+ 0.018076671600341796,
398
+ 0.018126848220825196,
399
+ 0.018367488861083983,
400
+ 0.01823846435546875,
401
+ 0.01860403251647949,
402
+ 0.019486719131469727,
403
+ 0.018938880920410156,
404
+ 0.01884671974182129,
405
+ 0.018721792221069337,
406
+ 0.018304000854492186,
407
+ 0.018447359085083007,
408
+ 0.01843097686767578,
409
+ 0.01832467269897461,
410
+ 0.01815839958190918,
411
+ 0.018305023193359374,
412
+ 0.018324480056762696,
413
+ 0.018453504562377928,
414
+ 0.018299903869628906,
415
+ 0.018206720352172853,
416
+ 0.01842995262145996,
417
+ 0.018295808792114256,
418
+ 0.018177024841308592,
419
+ 0.01797222328186035,
420
+ 0.01805619239807129,
421
+ 0.018041856765747072,
422
+ 0.017958911895751953,
423
+ 0.01815769577026367,
424
+ 0.017997695922851564,
425
+ 0.0179814395904541,
426
+ 0.018223104476928712,
427
+ 0.018231296539306642,
428
+ 0.019142784118652344,
429
+ 0.018554752349853515,
430
+ 0.019607551574707033,
431
+ 0.018931711196899414,
432
+ 0.019009536743164062
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 53.954117952711215
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": null,
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": false,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": 1708.326912,
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.03926543998718262,
15
+ "mean": 0.01963271999359131,
16
+ "stdev": 0.0005087194442749028,
17
+ "p50": 0.01963271999359131,
18
+ "p90": 0.020039695549011232,
19
+ "p95": 0.02009056749343872,
20
+ "p99": 0.020131265048980714,
21
+ "values": [
22
+ 0.020141439437866213,
23
+ 0.019124000549316407
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 356.54764099345397
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1708.40064,
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.689177001953125,
46
+ "mean": 2.3445885009765624,
47
+ "stdev": 0.010478149414062443,
48
+ "p50": 2.3445885009765624,
49
+ "p90": 2.3529710205078125,
50
+ "p95": 2.3540188354492186,
51
+ "p99": 2.3548570874023436,
52
+ "values": [
53
+ 2.355066650390625,
54
+ 2.3341103515625
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 54.16728775522966
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.68916942024231,
70
+ "mean": 0.01853426648317118,
71
+ "stdev": 0.0012692450445622333,
72
+ "p50": 0.018335744857788085,
73
+ "p90": 0.019147596740722656,
74
+ "p95": 0.019481190490722656,
75
+ "p99": 0.019787325820922852,
76
+ "values": [
77
+ 0.01946009635925293,
78
+ 0.019739648818969727,
79
+ 0.01983897590637207,
80
+ 0.019528703689575197,
81
+ 0.019710975646972655,
82
+ 0.019612672805786133,
83
+ 0.01861222457885742,
84
+ 0.01821183967590332,
85
+ 0.01824358367919922,
86
+ 0.01841152000427246,
87
+ 0.018721792221069337,
88
+ 0.018892799377441406,
89
+ 0.018497535705566406,
90
+ 0.018299903869628906,
91
+ 0.018135040283203126,
92
+ 0.018108415603637695,
93
+ 0.018354175567626953,
94
+ 0.01815449523925781,
95
+ 0.018242559432983398,
96
+ 0.018198528289794923,
97
+ 0.01803775978088379,
98
+ 0.01828556823730469,
99
+ 0.018257919311523436,
100
+ 0.018136064529418947,
101
+ 0.01803059196472168,
102
+ 0.017957887649536132,
103
+ 0.01800396728515625,
104
+ 0.01802956771850586,
105
+ 0.018283519744873047,
106
+ 0.01804697608947754,
107
+ 0.018342912673950194,
108
+ 0.018059263229370116,
109
+ 0.017937408447265626,
110
+ 0.018713600158691408,
111
+ 0.018386943817138672,
112
+ 0.018373632431030275,
113
+ 0.018473983764648438,
114
+ 0.018167808532714845,
115
+ 0.01847500801086426,
116
+ 0.01820364761352539,
117
+ 0.018440191268920898,
118
+ 0.018330623626708984,
119
+ 0.018148416519165038,
120
+ 0.018210752487182617,
121
+ 0.018231296539306642,
122
+ 0.01843097686767578,
123
+ 0.01862553596496582,
124
+ 0.01838387107849121,
125
+ 0.018339839935302735,
126
+ 0.018372608184814454,
127
+ 0.018358272552490236,
128
+ 0.018357248306274415,
129
+ 0.018321407318115233,
130
+ 0.01859174346923828,
131
+ 0.01859174346923828,
132
+ 0.018732032775878905,
133
+ 0.019372032165527343,
134
+ 0.019527679443359376,
135
+ 0.01843916893005371,
136
+ 0.018568191528320312,
137
+ 0.01843302345275879,
138
+ 0.01843097686767578,
139
+ 0.018531328201293946,
140
+ 0.018404352188110353,
141
+ 0.018495487213134765,
142
+ 0.01822719955444336,
143
+ 0.018331647872924805,
144
+ 0.018552831649780274,
145
+ 0.018509824752807616,
146
+ 0.018381824493408205,
147
+ 0.018525184631347655,
148
+ 0.018408447265625,
149
+ 0.018231296539306642,
150
+ 0.018489343643188477,
151
+ 0.018451616287231444,
152
+ 0.01834582328796387,
153
+ 0.018335775375366212,
154
+ 0.018428895950317385,
155
+ 0.01842278480529785,
156
+ 0.018380800247192384,
157
+ 0.02051481628417969,
158
+ 0.019514368057250975,
159
+ 0.019304447174072266,
160
+ 0.019526655197143555,
161
+ 0.018280448913574218,
162
+ 0.018405376434326173,
163
+ 0.018109439849853515,
164
+ 0.01807257652282715,
165
+ 0.018669567108154296,
166
+ 0.018519039154052733,
167
+ 0.018528255462646484,
168
+ 0.01866854476928711,
169
+ 0.018490432739257812,
170
+ 0.01820460891723633,
171
+ 0.01803980827331543,
172
+ 0.01808076858520508,
173
+ 0.018165760040283203,
174
+ 0.01817804718017578,
175
+ 0.018172927856445312,
176
+ 0.018077695846557617,
177
+ 0.018273279190063475,
178
+ 0.01827020835876465,
179
+ 0.018239488601684572,
180
+ 0.01823641586303711,
181
+ 0.01820876884460449,
182
+ 0.01883443260192871,
183
+ 0.019412992477416992,
184
+ 0.019272703170776367,
185
+ 0.01946112060546875,
186
+ 0.019148799896240236,
187
+ 0.019171327590942384,
188
+ 0.01946112060546875,
189
+ 0.01947750473022461,
190
+ 0.019586048126220702,
191
+ 0.019207168579101562,
192
+ 0.01902079963684082,
193
+ 0.01825279998779297,
194
+ 0.018214912414550782,
195
+ 0.018543615341186523,
196
+ 0.018507776260375978,
197
+ 0.018371583938598633,
198
+ 0.018274303436279296,
199
+ 0.01820057678222656,
200
+ 0.018229248046875,
201
+ 0.01824051284790039,
202
+ 0.018396160125732423,
203
+ 0.03759308624267578,
204
+ 0.018299903869628906,
205
+ 0.01824870491027832,
206
+ 0.018372608184814454,
207
+ 0.018330623626708984,
208
+ 0.018152448654174806,
209
+ 0.018428928375244142,
210
+ 0.018324480056762696,
211
+ 0.0182108154296875,
212
+ 0.018241535186767577,
213
+ 0.018168832778930662,
214
+ 0.018120704650878908,
215
+ 0.01843302345275879,
216
+ 0.01830297660827637,
217
+ 0.018541568756103514,
218
+ 0.018552831649780274,
219
+ 0.018148351669311523,
220
+ 0.018112512588500978,
221
+ 0.01815449523925781,
222
+ 0.018142208099365235,
223
+ 0.018291744232177734,
224
+ 0.01809916877746582,
225
+ 0.018268159866333008,
226
+ 0.018274303436279296,
227
+ 0.01816166305541992,
228
+ 0.018076671600341796,
229
+ 0.01820467185974121,
230
+ 0.018274400711059572,
231
+ 0.018233247756958008,
232
+ 0.018486272811889647,
233
+ 0.018306047439575195,
234
+ 0.018142208099365235,
235
+ 0.018258943557739257,
236
+ 0.018185216903686522,
237
+ 0.01818726348876953,
238
+ 0.018300928115844727,
239
+ 0.018335744857788085,
240
+ 0.018347007751464844,
241
+ 0.018157567977905274,
242
+ 0.018168832778930662,
243
+ 0.01798860740661621,
244
+ 0.018136064529418947,
245
+ 0.01820057678222656,
246
+ 0.018759679794311524,
247
+ 0.018800640106201173,
248
+ 0.019127296447753905,
249
+ 0.019204095840454103,
250
+ 0.018190336227416993,
251
+ 0.018486272811889647,
252
+ 0.018397184371948243,
253
+ 0.01847603225708008,
254
+ 0.018299903869628906,
255
+ 0.018198528289794923,
256
+ 0.018211999893188478,
257
+ 0.018141151428222656,
258
+ 0.018199424743652343,
259
+ 0.018469888687133788,
260
+ 0.018311168670654295,
261
+ 0.018336767196655272,
262
+ 0.019356672286987304,
263
+ 0.018765823364257812,
264
+ 0.01845145606994629,
265
+ 0.018329599380493163,
266
+ 0.01823641586303711,
267
+ 0.018257919311523436,
268
+ 0.01884774398803711,
269
+ 0.018264064788818358,
270
+ 0.018386943817138672,
271
+ 0.018465791702270508,
272
+ 0.018326528549194337,
273
+ 0.01848422431945801,
274
+ 0.018533376693725585,
275
+ 0.018473983764648438,
276
+ 0.01824460792541504,
277
+ 0.018241600036621095,
278
+ 0.018298816680908204,
279
+ 0.01823232078552246,
280
+ 0.01838489532470703,
281
+ 0.018358272552490236,
282
+ 0.018480127334594726,
283
+ 0.018496511459350586,
284
+ 0.01860915184020996,
285
+ 0.018506752014160157,
286
+ 0.018496511459350586,
287
+ 0.018350080490112306,
288
+ 0.018912256240844725,
289
+ 0.018318336486816408,
290
+ 0.018249727249145507,
291
+ 0.018317312240600587,
292
+ 0.01821183967590332,
293
+ 0.018362367630004883,
294
+ 0.018076671600341796,
295
+ 0.018126848220825196,
296
+ 0.018367488861083983,
297
+ 0.01823846435546875,
298
+ 0.01860403251647949,
299
+ 0.019486719131469727,
300
+ 0.018938880920410156,
301
+ 0.01884671974182129,
302
+ 0.018721792221069337,
303
+ 0.018304000854492186,
304
+ 0.018447359085083007,
305
+ 0.01843097686767578,
306
+ 0.01832467269897461,
307
+ 0.01815839958190918,
308
+ 0.018305023193359374,
309
+ 0.018324480056762696,
310
+ 0.018453504562377928,
311
+ 0.018299903869628906,
312
+ 0.018206720352172853,
313
+ 0.01842995262145996,
314
+ 0.018295808792114256,
315
+ 0.018177024841308592,
316
+ 0.01797222328186035,
317
+ 0.01805619239807129,
318
+ 0.018041856765747072,
319
+ 0.017958911895751953,
320
+ 0.01815769577026367,
321
+ 0.017997695922851564,
322
+ 0.0179814395904541,
323
+ 0.018223104476928712,
324
+ 0.018231296539306642,
325
+ 0.019142784118652344,
326
+ 0.018554752349853515,
327
+ 0.019607551574707033,
328
+ 0.018931711196899414,
329
+ 0.019009536743164062
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 53.954117952711215
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
4
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.01963271999359131,
7
+ "prefill.throughput.value": 356.54764099345397,
8
+ "decode.latency.mean": 2.3445885009765624,
9
+ "decode.throughput.value": 54.16728775522966,
10
+ "per_token.latency.mean": 0.01853426648317118,
11
+ "per_token.throughput.value": 53.954117952711215
12
+ }
13
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: null
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: true
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
88
+ - hydra.run.dir=_benchmark/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
@@ -0,0 +1 @@
 
 
1
+ [ISOLATED-PROCESS][2024-06-20 02:34:39,196][process][ERROR] - + Sending traceback to main process
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=null,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": null,
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": true,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: static
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: false
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
88
+ - hydra.run.dir=_benchmark/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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": 1750.564864,
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.043825569152832033,
118
+ "mean": 0.021912784576416017,
119
+ "stdev": 9.732818603515672e-05,
120
+ "p50": 0.021912784576416017,
121
+ "p90": 0.021990647125244144,
122
+ "p95": 0.022000379943847657,
123
+ "p99": 0.02200816619873047,
124
+ "values": [
125
+ 0.02181545639038086,
126
+ 0.022010112762451173
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 319.44821871401325
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 1750.581248,
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.082213623046875,
149
+ "mean": 2.5411068115234374,
150
+ "stdev": 0.002622680664062571,
151
+ "p50": 2.5411068115234374,
152
+ "p90": 2.5432049560546877,
153
+ "p95": 2.543467224121094,
154
+ "p99": 2.5436770385742187,
155
+ "values": [
156
+ 2.538484130859375,
157
+ 2.5437294921875
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 49.97822186146568
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.083170820236204,
173
+ "mean": 0.020091584269708324,
174
+ "stdev": 0.0015193376725360361,
175
+ "p50": 0.020007936477661133,
176
+ "p90": 0.020599193572998047,
177
+ "p95": 0.02069422073364258,
178
+ "p99": 0.021532016448974612,
179
+ "values": [
180
+ 0.0215285758972168,
181
+ 0.020007936477661133,
182
+ 0.020134912490844727,
183
+ 0.020129791259765627,
184
+ 0.020324352264404297,
185
+ 0.01982771110534668,
186
+ 0.020195327758789062,
187
+ 0.020702207565307617,
188
+ 0.020941823959350587,
189
+ 0.021171199798583985,
190
+ 0.02083737564086914,
191
+ 0.020682752609252928,
192
+ 0.020405248641967775,
193
+ 0.020831232070922853,
194
+ 0.021198848724365234,
195
+ 0.021535743713378908,
196
+ 0.02003865623474121,
197
+ 0.02028441619873047,
198
+ 0.019927040100097656,
199
+ 0.020106239318847655,
200
+ 0.019912704467773438,
201
+ 0.02002943992614746,
202
+ 0.020009983062744142,
203
+ 0.01987993621826172,
204
+ 0.019769344329833984,
205
+ 0.019771392822265626,
206
+ 0.01987276840209961,
207
+ 0.02046771240234375,
208
+ 0.02046156883239746,
209
+ 0.02021785545349121,
210
+ 0.02028544044494629,
211
+ 0.019987455368041994,
212
+ 0.020162559509277343,
213
+ 0.020091903686523437,
214
+ 0.01999667167663574,
215
+ 0.020309024810791016,
216
+ 0.019935199737548828,
217
+ 0.02003558349609375,
218
+ 0.020147199630737304,
219
+ 0.020000768661499024,
220
+ 0.020204544067382812,
221
+ 0.019862527847290038,
222
+ 0.020005952835083007,
223
+ 0.0197774715423584,
224
+ 0.01964543914794922,
225
+ 0.019944448471069336,
226
+ 0.020015104293823242,
227
+ 0.019786752700805665,
228
+ 0.0195020809173584,
229
+ 0.019552255630493166,
230
+ 0.019486719131469727,
231
+ 0.019378175735473634,
232
+ 0.019549184799194336,
233
+ 0.01947648048400879,
234
+ 0.01940377616882324,
235
+ 0.019348480224609374,
236
+ 0.019302400588989257,
237
+ 0.019276800155639647,
238
+ 0.019308544158935546,
239
+ 0.019358720779418945,
240
+ 0.01947648048400879,
241
+ 0.019538944244384765,
242
+ 0.01946112060546875,
243
+ 0.019577856063842772,
244
+ 0.019408895492553712,
245
+ 0.01965260887145996,
246
+ 0.01960140800476074,
247
+ 0.01940275192260742,
248
+ 0.019288063049316406,
249
+ 0.019375104904174805,
250
+ 0.01940275192260742,
251
+ 0.019319807052612305,
252
+ 0.019397632598876953,
253
+ 0.01967513656616211,
254
+ 0.019778560638427735,
255
+ 0.01943654441833496,
256
+ 0.01945599937438965,
257
+ 0.01947648048400879,
258
+ 0.019296255111694336,
259
+ 0.019506175994873046,
260
+ 0.019365888595581054,
261
+ 0.019914751052856446,
262
+ 0.020617216110229493,
263
+ 0.020501504898071288,
264
+ 0.02049945640563965,
265
+ 0.020494335174560546,
266
+ 0.020570112228393556,
267
+ 0.020504575729370117,
268
+ 0.0196997127532959,
269
+ 0.02004991912841797,
270
+ 0.020321279525756835,
271
+ 0.019357696533203125,
272
+ 0.019397632598876953,
273
+ 0.01927884864807129,
274
+ 0.0192542724609375,
275
+ 0.019377151489257814,
276
+ 0.019562496185302734,
277
+ 0.01983897590637207,
278
+ 0.020336639404296874,
279
+ 0.019323904037475585,
280
+ 0.019293184280395507,
281
+ 0.019542015075683594,
282
+ 0.019483648300170898,
283
+ 0.019570688247680663,
284
+ 0.019352575302124024,
285
+ 0.020333568572998048,
286
+ 0.020402175903320312,
287
+ 0.020487167358398437,
288
+ 0.02042572784423828,
289
+ 0.020249599456787108,
290
+ 0.02051584053039551,
291
+ 0.020321279525756835,
292
+ 0.0204902400970459,
293
+ 0.02027212715148926,
294
+ 0.02047590446472168,
295
+ 0.02042470359802246,
296
+ 0.020340736389160157,
297
+ 0.020419584274291993,
298
+ 0.020517887115478514,
299
+ 0.0206059513092041,
300
+ 0.02068889617919922,
301
+ 0.020339712142944336,
302
+ 0.019949567794799804,
303
+ 0.019968000411987305,
304
+ 0.020366336822509764,
305
+ 0.02042163276672363,
306
+ 0.04270284652709961,
307
+ 0.02051481628417969,
308
+ 0.020262912750244142,
309
+ 0.020406272888183592,
310
+ 0.020530176162719727,
311
+ 0.020776960372924806,
312
+ 0.02048419189453125,
313
+ 0.020624351501464844,
314
+ 0.02058950424194336,
315
+ 0.020493312835693358,
316
+ 0.020596736907958983,
317
+ 0.020372480392456056,
318
+ 0.019483648300170898,
319
+ 0.019309568405151366,
320
+ 0.019520511627197267,
321
+ 0.02065407943725586,
322
+ 0.020668415069580077,
323
+ 0.020617216110229493,
324
+ 0.02049945640563965,
325
+ 0.02028646469116211,
326
+ 0.020561920166015626,
327
+ 0.02051584053039551,
328
+ 0.020634624481201173,
329
+ 0.020501504898071288,
330
+ 0.01943244743347168,
331
+ 0.019544063568115236,
332
+ 0.019619840621948242,
333
+ 0.019384319305419923,
334
+ 0.0194467830657959,
335
+ 0.01939455986022949,
336
+ 0.019583999633789064,
337
+ 0.020545536041259766,
338
+ 0.020560895919799805,
339
+ 0.02044927978515625,
340
+ 0.020403200149536133,
341
+ 0.020447231292724608,
342
+ 0.020307968139648438,
343
+ 0.02048102378845215,
344
+ 0.02045849609375,
345
+ 0.020518911361694335,
346
+ 0.020754432678222655,
347
+ 0.02027008056640625,
348
+ 0.02025267219543457,
349
+ 0.020426752090454102,
350
+ 0.020496383666992187,
351
+ 0.020568063735961914,
352
+ 0.02027622413635254,
353
+ 0.020314111709594726,
354
+ 0.02029363250732422,
355
+ 0.020337663650512695,
356
+ 0.022024192810058595,
357
+ 0.02123263931274414,
358
+ 0.020685823440551757,
359
+ 0.02043391990661621,
360
+ 0.020618240356445314,
361
+ 0.020538368225097657,
362
+ 0.02049228858947754,
363
+ 0.0206376953125,
364
+ 0.02029363250732422,
365
+ 0.020306943893432617,
366
+ 0.020338687896728515,
367
+ 0.020388864517211915,
368
+ 0.020381696701049806,
369
+ 0.020305919647216796,
370
+ 0.020599807739257812,
371
+ 0.020553728103637696,
372
+ 0.020519935607910156,
373
+ 0.020331520080566406,
374
+ 0.020248575210571287,
375
+ 0.020488191604614257,
376
+ 0.020447231292724608,
377
+ 0.02048409652709961,
378
+ 0.02026803207397461,
379
+ 0.0204902400970459,
380
+ 0.020547584533691408,
381
+ 0.02049126434326172,
382
+ 0.02049945640563965,
383
+ 0.020412416458129884,
384
+ 0.019534847259521485,
385
+ 0.01947238349914551,
386
+ 0.019542015075683594,
387
+ 0.019560447692871095,
388
+ 0.019555328369140625,
389
+ 0.019343360900878907,
390
+ 0.019680255889892577,
391
+ 0.0194969596862793,
392
+ 0.0192675838470459,
393
+ 0.019414016723632813,
394
+ 0.0194467830657959,
395
+ 0.019482624053955077,
396
+ 0.01941196823120117,
397
+ 0.01940275192260742,
398
+ 0.019489791870117186,
399
+ 0.019540031433105468,
400
+ 0.01960441589355469,
401
+ 0.019588096618652344,
402
+ 0.019567615509033204,
403
+ 0.01939558410644531,
404
+ 0.019378175735473634,
405
+ 0.01947238349914551,
406
+ 0.019358720779418945,
407
+ 0.01967820739746094,
408
+ 0.01927065658569336,
409
+ 0.019334144592285156,
410
+ 0.019294208526611328,
411
+ 0.01946419143676758,
412
+ 0.019599359512329103,
413
+ 0.019598335266113282,
414
+ 0.0194334716796875,
415
+ 0.019314687728881837,
416
+ 0.01943756866455078,
417
+ 0.01960550308227539,
418
+ 0.01945599937438965,
419
+ 0.019417087554931642,
420
+ 0.019499008178710937,
421
+ 0.01965875244140625,
422
+ 0.0194201602935791,
423
+ 0.01942937660217285,
424
+ 0.019527679443359376,
425
+ 0.019631103515625,
426
+ 0.01960038375854492,
427
+ 0.019333120346069335,
428
+ 0.019466239929199217,
429
+ 0.019503103256225587,
430
+ 0.019563520431518554,
431
+ 0.01946009635925293,
432
+ 0.019535871505737306
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 49.77208300630029
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark.log ADDED
File without changes
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=False/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": "static",
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": false,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": 1750.564864,
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.043825569152832033,
15
+ "mean": 0.021912784576416017,
16
+ "stdev": 9.732818603515672e-05,
17
+ "p50": 0.021912784576416017,
18
+ "p90": 0.021990647125244144,
19
+ "p95": 0.022000379943847657,
20
+ "p99": 0.02200816619873047,
21
+ "values": [
22
+ 0.02181545639038086,
23
+ 0.022010112762451173
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 319.44821871401325
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 1750.581248,
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.082213623046875,
46
+ "mean": 2.5411068115234374,
47
+ "stdev": 0.002622680664062571,
48
+ "p50": 2.5411068115234374,
49
+ "p90": 2.5432049560546877,
50
+ "p95": 2.543467224121094,
51
+ "p99": 2.5436770385742187,
52
+ "values": [
53
+ 2.538484130859375,
54
+ 2.5437294921875
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 49.97822186146568
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.083170820236204,
70
+ "mean": 0.020091584269708324,
71
+ "stdev": 0.0015193376725360361,
72
+ "p50": 0.020007936477661133,
73
+ "p90": 0.020599193572998047,
74
+ "p95": 0.02069422073364258,
75
+ "p99": 0.021532016448974612,
76
+ "values": [
77
+ 0.0215285758972168,
78
+ 0.020007936477661133,
79
+ 0.020134912490844727,
80
+ 0.020129791259765627,
81
+ 0.020324352264404297,
82
+ 0.01982771110534668,
83
+ 0.020195327758789062,
84
+ 0.020702207565307617,
85
+ 0.020941823959350587,
86
+ 0.021171199798583985,
87
+ 0.02083737564086914,
88
+ 0.020682752609252928,
89
+ 0.020405248641967775,
90
+ 0.020831232070922853,
91
+ 0.021198848724365234,
92
+ 0.021535743713378908,
93
+ 0.02003865623474121,
94
+ 0.02028441619873047,
95
+ 0.019927040100097656,
96
+ 0.020106239318847655,
97
+ 0.019912704467773438,
98
+ 0.02002943992614746,
99
+ 0.020009983062744142,
100
+ 0.01987993621826172,
101
+ 0.019769344329833984,
102
+ 0.019771392822265626,
103
+ 0.01987276840209961,
104
+ 0.02046771240234375,
105
+ 0.02046156883239746,
106
+ 0.02021785545349121,
107
+ 0.02028544044494629,
108
+ 0.019987455368041994,
109
+ 0.020162559509277343,
110
+ 0.020091903686523437,
111
+ 0.01999667167663574,
112
+ 0.020309024810791016,
113
+ 0.019935199737548828,
114
+ 0.02003558349609375,
115
+ 0.020147199630737304,
116
+ 0.020000768661499024,
117
+ 0.020204544067382812,
118
+ 0.019862527847290038,
119
+ 0.020005952835083007,
120
+ 0.0197774715423584,
121
+ 0.01964543914794922,
122
+ 0.019944448471069336,
123
+ 0.020015104293823242,
124
+ 0.019786752700805665,
125
+ 0.0195020809173584,
126
+ 0.019552255630493166,
127
+ 0.019486719131469727,
128
+ 0.019378175735473634,
129
+ 0.019549184799194336,
130
+ 0.01947648048400879,
131
+ 0.01940377616882324,
132
+ 0.019348480224609374,
133
+ 0.019302400588989257,
134
+ 0.019276800155639647,
135
+ 0.019308544158935546,
136
+ 0.019358720779418945,
137
+ 0.01947648048400879,
138
+ 0.019538944244384765,
139
+ 0.01946112060546875,
140
+ 0.019577856063842772,
141
+ 0.019408895492553712,
142
+ 0.01965260887145996,
143
+ 0.01960140800476074,
144
+ 0.01940275192260742,
145
+ 0.019288063049316406,
146
+ 0.019375104904174805,
147
+ 0.01940275192260742,
148
+ 0.019319807052612305,
149
+ 0.019397632598876953,
150
+ 0.01967513656616211,
151
+ 0.019778560638427735,
152
+ 0.01943654441833496,
153
+ 0.01945599937438965,
154
+ 0.01947648048400879,
155
+ 0.019296255111694336,
156
+ 0.019506175994873046,
157
+ 0.019365888595581054,
158
+ 0.019914751052856446,
159
+ 0.020617216110229493,
160
+ 0.020501504898071288,
161
+ 0.02049945640563965,
162
+ 0.020494335174560546,
163
+ 0.020570112228393556,
164
+ 0.020504575729370117,
165
+ 0.0196997127532959,
166
+ 0.02004991912841797,
167
+ 0.020321279525756835,
168
+ 0.019357696533203125,
169
+ 0.019397632598876953,
170
+ 0.01927884864807129,
171
+ 0.0192542724609375,
172
+ 0.019377151489257814,
173
+ 0.019562496185302734,
174
+ 0.01983897590637207,
175
+ 0.020336639404296874,
176
+ 0.019323904037475585,
177
+ 0.019293184280395507,
178
+ 0.019542015075683594,
179
+ 0.019483648300170898,
180
+ 0.019570688247680663,
181
+ 0.019352575302124024,
182
+ 0.020333568572998048,
183
+ 0.020402175903320312,
184
+ 0.020487167358398437,
185
+ 0.02042572784423828,
186
+ 0.020249599456787108,
187
+ 0.02051584053039551,
188
+ 0.020321279525756835,
189
+ 0.0204902400970459,
190
+ 0.02027212715148926,
191
+ 0.02047590446472168,
192
+ 0.02042470359802246,
193
+ 0.020340736389160157,
194
+ 0.020419584274291993,
195
+ 0.020517887115478514,
196
+ 0.0206059513092041,
197
+ 0.02068889617919922,
198
+ 0.020339712142944336,
199
+ 0.019949567794799804,
200
+ 0.019968000411987305,
201
+ 0.020366336822509764,
202
+ 0.02042163276672363,
203
+ 0.04270284652709961,
204
+ 0.02051481628417969,
205
+ 0.020262912750244142,
206
+ 0.020406272888183592,
207
+ 0.020530176162719727,
208
+ 0.020776960372924806,
209
+ 0.02048419189453125,
210
+ 0.020624351501464844,
211
+ 0.02058950424194336,
212
+ 0.020493312835693358,
213
+ 0.020596736907958983,
214
+ 0.020372480392456056,
215
+ 0.019483648300170898,
216
+ 0.019309568405151366,
217
+ 0.019520511627197267,
218
+ 0.02065407943725586,
219
+ 0.020668415069580077,
220
+ 0.020617216110229493,
221
+ 0.02049945640563965,
222
+ 0.02028646469116211,
223
+ 0.020561920166015626,
224
+ 0.02051584053039551,
225
+ 0.020634624481201173,
226
+ 0.020501504898071288,
227
+ 0.01943244743347168,
228
+ 0.019544063568115236,
229
+ 0.019619840621948242,
230
+ 0.019384319305419923,
231
+ 0.0194467830657959,
232
+ 0.01939455986022949,
233
+ 0.019583999633789064,
234
+ 0.020545536041259766,
235
+ 0.020560895919799805,
236
+ 0.02044927978515625,
237
+ 0.020403200149536133,
238
+ 0.020447231292724608,
239
+ 0.020307968139648438,
240
+ 0.02048102378845215,
241
+ 0.02045849609375,
242
+ 0.020518911361694335,
243
+ 0.020754432678222655,
244
+ 0.02027008056640625,
245
+ 0.02025267219543457,
246
+ 0.020426752090454102,
247
+ 0.020496383666992187,
248
+ 0.020568063735961914,
249
+ 0.02027622413635254,
250
+ 0.020314111709594726,
251
+ 0.02029363250732422,
252
+ 0.020337663650512695,
253
+ 0.022024192810058595,
254
+ 0.02123263931274414,
255
+ 0.020685823440551757,
256
+ 0.02043391990661621,
257
+ 0.020618240356445314,
258
+ 0.020538368225097657,
259
+ 0.02049228858947754,
260
+ 0.0206376953125,
261
+ 0.02029363250732422,
262
+ 0.020306943893432617,
263
+ 0.020338687896728515,
264
+ 0.020388864517211915,
265
+ 0.020381696701049806,
266
+ 0.020305919647216796,
267
+ 0.020599807739257812,
268
+ 0.020553728103637696,
269
+ 0.020519935607910156,
270
+ 0.020331520080566406,
271
+ 0.020248575210571287,
272
+ 0.020488191604614257,
273
+ 0.020447231292724608,
274
+ 0.02048409652709961,
275
+ 0.02026803207397461,
276
+ 0.0204902400970459,
277
+ 0.020547584533691408,
278
+ 0.02049126434326172,
279
+ 0.02049945640563965,
280
+ 0.020412416458129884,
281
+ 0.019534847259521485,
282
+ 0.01947238349914551,
283
+ 0.019542015075683594,
284
+ 0.019560447692871095,
285
+ 0.019555328369140625,
286
+ 0.019343360900878907,
287
+ 0.019680255889892577,
288
+ 0.0194969596862793,
289
+ 0.0192675838470459,
290
+ 0.019414016723632813,
291
+ 0.0194467830657959,
292
+ 0.019482624053955077,
293
+ 0.01941196823120117,
294
+ 0.01940275192260742,
295
+ 0.019489791870117186,
296
+ 0.019540031433105468,
297
+ 0.01960441589355469,
298
+ 0.019588096618652344,
299
+ 0.019567615509033204,
300
+ 0.01939558410644531,
301
+ 0.019378175735473634,
302
+ 0.01947238349914551,
303
+ 0.019358720779418945,
304
+ 0.01967820739746094,
305
+ 0.01927065658569336,
306
+ 0.019334144592285156,
307
+ 0.019294208526611328,
308
+ 0.01946419143676758,
309
+ 0.019599359512329103,
310
+ 0.019598335266113282,
311
+ 0.0194334716796875,
312
+ 0.019314687728881837,
313
+ 0.01943756866455078,
314
+ 0.01960550308227539,
315
+ 0.01945599937438965,
316
+ 0.019417087554931642,
317
+ 0.019499008178710937,
318
+ 0.01965875244140625,
319
+ 0.0194201602935791,
320
+ 0.01942937660217285,
321
+ 0.019527679443359376,
322
+ 0.019631103515625,
323
+ 0.01960038375854492,
324
+ 0.019333120346069335,
325
+ 0.019466239929199217,
326
+ 0.019503103256225587,
327
+ 0.019563520431518554,
328
+ 0.01946009635925293,
329
+ 0.019535871505737306
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 49.77208300630029
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.021912784576416017,
7
+ "prefill.throughput.value": 319.44821871401325,
8
+ "decode.latency.mean": 2.5411068115234374,
9
+ "decode.throughput.value": 49.97822186146568,
10
+ "per_token.latency.mean": 0.020091584269708324,
11
+ "per_token.throughput.value": 49.77208300630029
12
+ }
13
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/.hydra/config.yaml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pytorch_generate
2
+ backend:
3
+ name: pytorch
4
+ version: 2.3.0+cu121
5
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
6
+ task: null
7
+ library: null
8
+ model: google/gemma-2b
9
+ processor: null
10
+ device: cuda
11
+ device_ids: '0'
12
+ seed: 42
13
+ inter_op_num_threads: null
14
+ intra_op_num_threads: null
15
+ model_kwargs: {}
16
+ processor_kwargs: {}
17
+ hub_kwargs: {}
18
+ no_weights: true
19
+ device_map: null
20
+ torch_dtype: float16
21
+ eval_mode: true
22
+ to_bettertransformer: false
23
+ low_cpu_mem_usage: null
24
+ attn_implementation: null
25
+ cache_implementation: static
26
+ autocast_enabled: false
27
+ autocast_dtype: null
28
+ torch_compile: true
29
+ torch_compile_target: forward
30
+ torch_compile_config:
31
+ backend: inductor
32
+ mode: reduce-overhead
33
+ fullgraph: true
34
+ quantization_scheme: null
35
+ quantization_config: {}
36
+ deepspeed_inference: false
37
+ deepspeed_inference_config: {}
38
+ peft_type: null
39
+ peft_config: {}
40
+ scenario:
41
+ name: inference
42
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
43
+ iterations: 2
44
+ duration: 0
45
+ warmup_runs: 10
46
+ input_shapes:
47
+ batch_size: 1
48
+ sequence_length: 7
49
+ new_tokens: null
50
+ latency: true
51
+ memory: true
52
+ energy: false
53
+ forward_kwargs: {}
54
+ generate_kwargs:
55
+ max_new_tokens: 128
56
+ min_new_tokens: 128
57
+ do_sample: false
58
+ call_kwargs: {}
59
+ launcher:
60
+ name: process
61
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
62
+ device_isolation: true
63
+ device_isolation_action: warn
64
+ start_method: spawn
65
+ environment:
66
+ cpu: ' AMD EPYC 7R32'
67
+ cpu_count: 16
68
+ cpu_ram_mb: 66697.29792
69
+ system: Linux
70
+ machine: x86_64
71
+ platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
72
+ processor: x86_64
73
+ python_version: 3.8.10
74
+ gpu:
75
+ - NVIDIA A10G
76
+ gpu_count: 1
77
+ gpu_vram_mb: 24146608128
78
+ optimum_benchmark_version: 0.2.1
79
+ optimum_benchmark_commit: null
80
+ transformers_version: 4.42.0.dev0
81
+ transformers_commit: 0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
88
+ - hydra.run.dir=_benchmark/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${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/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
81
+ "processor": "x86_64",
82
+ "python_version": "3.8.10",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.2.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.0.dev0",
91
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
92
+ "accelerate_version": "0.32.0.dev0",
93
+ "accelerate_commit": null,
94
+ "diffusers_version": null,
95
+ "diffusers_commit": null,
96
+ "optimum_version": "1.21.0.dev0",
97
+ "optimum_commit": null,
98
+ "timm_version": "0.9.16",
99
+ "timm_commit": null,
100
+ "peft_version": "0.11.2.dev0",
101
+ "peft_commit": null
102
+ }
103
+ },
104
+ "report": {
105
+ "prefill": {
106
+ "memory": {
107
+ "unit": "MB",
108
+ "max_ram": 1918.73024,
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.02811414337158203,
118
+ "mean": 0.014057071685791015,
119
+ "stdev": 0.00011211204528808593,
120
+ "p50": 0.014057071685791015,
121
+ "p90": 0.014146761322021485,
122
+ "p95": 0.014157972526550293,
123
+ "p99": 0.01416694149017334,
124
+ "values": [
125
+ 0.014169183731079102,
126
+ 0.01394495964050293
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "tokens/s",
131
+ "value": 497.9700008982417
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "decode": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 2262.626304,
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.119857177734375,
149
+ "mean": 1.5599285888671874,
150
+ "stdev": 0.002008789062500016,
151
+ "p50": 1.5599285888671874,
152
+ "p90": 1.5615356201171875,
153
+ "p95": 1.5617364990234375,
154
+ "p99": 1.5618972021484374,
155
+ "values": [
156
+ 1.5619373779296875,
157
+ 1.5579197998046874
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "tokens/s",
162
+ "value": 81.4139832466477
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.120935903549194,
173
+ "mean": 0.012335715033791281,
174
+ "stdev": 0.0008908268452837478,
175
+ "p50": 0.01226956844329834,
176
+ "p90": 0.012312985229492188,
177
+ "p95": 0.012379021072387695,
178
+ "p99": 0.012768485221862793,
179
+ "values": [
180
+ 0.012762080192565918,
181
+ 0.012826623916625977,
182
+ 0.012775424003601075,
183
+ 0.01233407974243164,
184
+ 0.01226035213470459,
185
+ 0.012302335739135742,
186
+ 0.012254207611083985,
187
+ 0.012295167922973632,
188
+ 0.0122357759475708,
189
+ 0.012402688026428223,
190
+ 0.012288000106811523,
191
+ 0.012620800018310547,
192
+ 0.012277759552001954,
193
+ 0.012588031768798828,
194
+ 0.012307456016540527,
195
+ 0.012303520202636718,
196
+ 0.01222435188293457,
197
+ 0.012279808044433594,
198
+ 0.012240896224975586,
199
+ 0.012360704421997071,
200
+ 0.012445695877075195,
201
+ 0.012297216415405274,
202
+ 0.01225331211090088,
203
+ 0.012295040130615234,
204
+ 0.01225011157989502,
205
+ 0.012288031578063964,
206
+ 0.012254176139831542,
207
+ 0.012310527801513671,
208
+ 0.01225216007232666,
209
+ 0.01227673625946045,
210
+ 0.012232704162597656,
211
+ 0.012281855583190919,
212
+ 0.0122357759475708,
213
+ 0.01226956844329834,
214
+ 0.012239871978759765,
215
+ 0.012285951614379884,
216
+ 0.012249088287353516,
217
+ 0.012273664474487305,
218
+ 0.01224294376373291,
219
+ 0.012283904075622559,
220
+ 0.01223788833618164,
221
+ 0.012301247596740722,
222
+ 0.01225113582611084,
223
+ 0.012300288200378418,
224
+ 0.012237824440002442,
225
+ 0.012279808044433594,
226
+ 0.012239871978759765,
227
+ 0.012277759552001954,
228
+ 0.012246015548706055,
229
+ 0.012282048225402832,
230
+ 0.012378944396972656,
231
+ 0.012282879829406738,
232
+ 0.01244057559967041,
233
+ 0.012298239707946777,
234
+ 0.01224396800994873,
235
+ 0.01229312038421631,
236
+ 0.012299263954162597,
237
+ 0.012285951614379884,
238
+ 0.012248064041137695,
239
+ 0.01226956844329834,
240
+ 0.012236800193786621,
241
+ 0.012307456016540527,
242
+ 0.012266495704650878,
243
+ 0.012288000106811523,
244
+ 0.012241920471191407,
245
+ 0.01226956844329834,
246
+ 0.012230655670166016,
247
+ 0.012259327888488769,
248
+ 0.012225536346435547,
249
+ 0.012281855583190919,
250
+ 0.01225113582611084,
251
+ 0.012299263954162597,
252
+ 0.012253184318542481,
253
+ 0.012290047645568849,
254
+ 0.01224294376373291,
255
+ 0.012262399673461915,
256
+ 0.012225536346435547,
257
+ 0.012279808044433594,
258
+ 0.012240896224975586,
259
+ 0.012286975860595703,
260
+ 0.012379136085510254,
261
+ 0.012290047645568849,
262
+ 0.012410880088806153,
263
+ 0.012296192169189453,
264
+ 0.01226854419708252,
265
+ 0.01232588768005371,
266
+ 0.012333056449890138,
267
+ 0.012282879829406738,
268
+ 0.012238847732543945,
269
+ 0.01227673625946045,
270
+ 0.012229632377624512,
271
+ 0.012295167922973632,
272
+ 0.012237824440002442,
273
+ 0.012283904075622559,
274
+ 0.012244992256164551,
275
+ 0.012281855583190919,
276
+ 0.012233728408813477,
277
+ 0.012275712013244629,
278
+ 0.012274687767028808,
279
+ 0.012289024353027344,
280
+ 0.012253184318542481,
281
+ 0.012292096138000488,
282
+ 0.012246015548706055,
283
+ 0.012283967971801759,
284
+ 0.012245951652526855,
285
+ 0.012275712013244629,
286
+ 0.012236800193786621,
287
+ 0.012266495704650878,
288
+ 0.012229632377624512,
289
+ 0.012273664474487305,
290
+ 0.01222758388519287,
291
+ 0.012270591735839843,
292
+ 0.012248064041137695,
293
+ 0.012294143676757812,
294
+ 0.012232704162597656,
295
+ 0.012295167922973632,
296
+ 0.012240896224975586,
297
+ 0.012267519950866699,
298
+ 0.01223475170135498,
299
+ 0.012265472412109376,
300
+ 0.012237824440002442,
301
+ 0.012292096138000488,
302
+ 0.012247039794921874,
303
+ 0.012280832290649414,
304
+ 0.012379136085510254,
305
+ 0.01228492832183838,
306
+ 0.026429439544677736,
307
+ 0.01225113582611084,
308
+ 0.012290047645568849,
309
+ 0.012233728408813477,
310
+ 0.012275775909423829,
311
+ 0.012219327926635742,
312
+ 0.012278783798217773,
313
+ 0.012319744110107422,
314
+ 0.012277759552001954,
315
+ 0.012244992256164551,
316
+ 0.01228492832183838,
317
+ 0.01225216007232666,
318
+ 0.01226854419708252,
319
+ 0.01224396800994873,
320
+ 0.012277759552001954,
321
+ 0.012247039794921874,
322
+ 0.012321791648864745,
323
+ 0.012349439620971679,
324
+ 0.012281855583190919,
325
+ 0.01224294376373291,
326
+ 0.012298239707946777,
327
+ 0.012246015548706055,
328
+ 0.012283904075622559,
329
+ 0.01225113582611084,
330
+ 0.012281855583190919,
331
+ 0.012253184318542481,
332
+ 0.01229312038421631,
333
+ 0.012237824440002442,
334
+ 0.012273664474487305,
335
+ 0.012232704162597656,
336
+ 0.01226956844329834,
337
+ 0.0122357759475708,
338
+ 0.012288000106811523,
339
+ 0.012239871978759765,
340
+ 0.012280832290649414,
341
+ 0.012230688095092774,
342
+ 0.012264415740966797,
343
+ 0.012225536346435547,
344
+ 0.01226854419708252,
345
+ 0.01224294376373291,
346
+ 0.012267519950866699,
347
+ 0.012248064041137695,
348
+ 0.012282879829406738,
349
+ 0.012352512359619141,
350
+ 0.012295167922973632,
351
+ 0.012266495704650878,
352
+ 0.012272640228271485,
353
+ 0.012242079734802246,
354
+ 0.012274527549743652,
355
+ 0.012254207611083985,
356
+ 0.012267519950866699,
357
+ 0.01226137638092041,
358
+ 0.012285951614379884,
359
+ 0.0122357759475708,
360
+ 0.012304384231567383,
361
+ 0.01225216007232666,
362
+ 0.012361727714538574,
363
+ 0.012244992256164551,
364
+ 0.012278783798217773,
365
+ 0.012229791641235352,
366
+ 0.012272480010986329,
367
+ 0.012231679916381836,
368
+ 0.012256256103515625,
369
+ 0.0122357759475708,
370
+ 0.012281855583190919,
371
+ 0.012228608131408691,
372
+ 0.012286975860595703,
373
+ 0.012406784057617188,
374
+ 0.01227673625946045,
375
+ 0.012239871978759765,
376
+ 0.012280832290649414,
377
+ 0.01224396800994873,
378
+ 0.012273664474487305,
379
+ 0.012232704162597656,
380
+ 0.012262399673461915,
381
+ 0.012232704162597656,
382
+ 0.012282879829406738,
383
+ 0.012244992256164551,
384
+ 0.01227673625946045,
385
+ 0.012230655670166016,
386
+ 0.012283904075622559,
387
+ 0.012237824440002442,
388
+ 0.012271615982055664,
389
+ 0.012226559638977052,
390
+ 0.012298239707946777,
391
+ 0.01235865592956543,
392
+ 0.01227683162689209,
393
+ 0.012246944427490235,
394
+ 0.012282879829406738,
395
+ 0.012232768058776855,
396
+ 0.012269503593444824,
397
+ 0.012231679916381836,
398
+ 0.012265472412109376,
399
+ 0.012232704162597656,
400
+ 0.012296192169189453,
401
+ 0.012230655670166016,
402
+ 0.012281855583190919,
403
+ 0.012225536346435547,
404
+ 0.012313599586486817,
405
+ 0.012253184318542481,
406
+ 0.012329119682312012,
407
+ 0.012243807792663574,
408
+ 0.012266495704650878,
409
+ 0.01223475170135498,
410
+ 0.012272640228271485,
411
+ 0.012237824440002442,
412
+ 0.012271615982055664,
413
+ 0.012222463607788087,
414
+ 0.012253184318542481,
415
+ 0.012231679916381836,
416
+ 0.012267519950866699,
417
+ 0.012227680206298828,
418
+ 0.012264479637145996,
419
+ 0.012239744186401367,
420
+ 0.01228492832183838,
421
+ 0.012295167922973632,
422
+ 0.012290047645568849,
423
+ 0.012241920471191407,
424
+ 0.012277759552001954,
425
+ 0.012224512100219726,
426
+ 0.012278783798217773,
427
+ 0.012256256103515625,
428
+ 0.012279808044433594,
429
+ 0.012259327888488769,
430
+ 0.01226137638092041,
431
+ 0.012236800193786621,
432
+ 0.012279808044433594
433
+ ]
434
+ },
435
+ "throughput": {
436
+ "unit": "tokens/s",
437
+ "value": 81.06542646783713
438
+ },
439
+ "energy": null,
440
+ "efficiency": null
441
+ }
442
+ }
443
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark.log ADDED
File without changes
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/backend.cache_implementation=static,backend.model=google/gemma-2b,backend.torch_compile=True/benchmark_config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pytorch_generate",
3
+ "backend": {
4
+ "name": "pytorch",
5
+ "version": "2.3.0+cu121",
6
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
7
+ "task": "text-generation",
8
+ "library": "transformers",
9
+ "model": "google/gemma-2b",
10
+ "processor": "google/gemma-2b",
11
+ "device": "cuda",
12
+ "device_ids": "0",
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "model_kwargs": {},
17
+ "processor_kwargs": {},
18
+ "hub_kwargs": {},
19
+ "no_weights": true,
20
+ "device_map": null,
21
+ "torch_dtype": "float16",
22
+ "eval_mode": true,
23
+ "to_bettertransformer": false,
24
+ "low_cpu_mem_usage": null,
25
+ "attn_implementation": null,
26
+ "cache_implementation": "static",
27
+ "autocast_enabled": false,
28
+ "autocast_dtype": null,
29
+ "torch_compile": true,
30
+ "torch_compile_target": "forward",
31
+ "torch_compile_config": {
32
+ "backend": "inductor",
33
+ "mode": "reduce-overhead",
34
+ "fullgraph": true
35
+ },
36
+ "quantization_scheme": null,
37
+ "quantization_config": {},
38
+ "deepspeed_inference": false,
39
+ "deepspeed_inference_config": {},
40
+ "peft_type": null,
41
+ "peft_config": {}
42
+ },
43
+ "scenario": {
44
+ "name": "inference",
45
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
46
+ "iterations": 2,
47
+ "duration": 0,
48
+ "warmup_runs": 10,
49
+ "input_shapes": {
50
+ "batch_size": 1,
51
+ "num_choices": 2,
52
+ "sequence_length": 7
53
+ },
54
+ "new_tokens": null,
55
+ "latency": true,
56
+ "memory": true,
57
+ "energy": false,
58
+ "forward_kwargs": {},
59
+ "generate_kwargs": {
60
+ "max_new_tokens": 128,
61
+ "min_new_tokens": 128,
62
+ "do_sample": false
63
+ },
64
+ "call_kwargs": {}
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "warn",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7R32",
75
+ "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.29792,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29",
80
+ "processor": "x86_64",
81
+ "python_version": "3.8.10",
82
+ "gpu": [
83
+ "NVIDIA A10G"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 24146608128,
87
+ "optimum_benchmark_version": "0.2.1",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.0.dev0",
90
+ "transformers_commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
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-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": 1918.73024,
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.02811414337158203,
15
+ "mean": 0.014057071685791015,
16
+ "stdev": 0.00011211204528808593,
17
+ "p50": 0.014057071685791015,
18
+ "p90": 0.014146761322021485,
19
+ "p95": 0.014157972526550293,
20
+ "p99": 0.01416694149017334,
21
+ "values": [
22
+ 0.014169183731079102,
23
+ 0.01394495964050293
24
+ ]
25
+ },
26
+ "throughput": {
27
+ "unit": "tokens/s",
28
+ "value": 497.9700008982417
29
+ },
30
+ "energy": null,
31
+ "efficiency": null
32
+ },
33
+ "decode": {
34
+ "memory": {
35
+ "unit": "MB",
36
+ "max_ram": 2262.626304,
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.119857177734375,
46
+ "mean": 1.5599285888671874,
47
+ "stdev": 0.002008789062500016,
48
+ "p50": 1.5599285888671874,
49
+ "p90": 1.5615356201171875,
50
+ "p95": 1.5617364990234375,
51
+ "p99": 1.5618972021484374,
52
+ "values": [
53
+ 1.5619373779296875,
54
+ 1.5579197998046874
55
+ ]
56
+ },
57
+ "throughput": {
58
+ "unit": "tokens/s",
59
+ "value": 81.4139832466477
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.120935903549194,
70
+ "mean": 0.012335715033791281,
71
+ "stdev": 0.0008908268452837478,
72
+ "p50": 0.01226956844329834,
73
+ "p90": 0.012312985229492188,
74
+ "p95": 0.012379021072387695,
75
+ "p99": 0.012768485221862793,
76
+ "values": [
77
+ 0.012762080192565918,
78
+ 0.012826623916625977,
79
+ 0.012775424003601075,
80
+ 0.01233407974243164,
81
+ 0.01226035213470459,
82
+ 0.012302335739135742,
83
+ 0.012254207611083985,
84
+ 0.012295167922973632,
85
+ 0.0122357759475708,
86
+ 0.012402688026428223,
87
+ 0.012288000106811523,
88
+ 0.012620800018310547,
89
+ 0.012277759552001954,
90
+ 0.012588031768798828,
91
+ 0.012307456016540527,
92
+ 0.012303520202636718,
93
+ 0.01222435188293457,
94
+ 0.012279808044433594,
95
+ 0.012240896224975586,
96
+ 0.012360704421997071,
97
+ 0.012445695877075195,
98
+ 0.012297216415405274,
99
+ 0.01225331211090088,
100
+ 0.012295040130615234,
101
+ 0.01225011157989502,
102
+ 0.012288031578063964,
103
+ 0.012254176139831542,
104
+ 0.012310527801513671,
105
+ 0.01225216007232666,
106
+ 0.01227673625946045,
107
+ 0.012232704162597656,
108
+ 0.012281855583190919,
109
+ 0.0122357759475708,
110
+ 0.01226956844329834,
111
+ 0.012239871978759765,
112
+ 0.012285951614379884,
113
+ 0.012249088287353516,
114
+ 0.012273664474487305,
115
+ 0.01224294376373291,
116
+ 0.012283904075622559,
117
+ 0.01223788833618164,
118
+ 0.012301247596740722,
119
+ 0.01225113582611084,
120
+ 0.012300288200378418,
121
+ 0.012237824440002442,
122
+ 0.012279808044433594,
123
+ 0.012239871978759765,
124
+ 0.012277759552001954,
125
+ 0.012246015548706055,
126
+ 0.012282048225402832,
127
+ 0.012378944396972656,
128
+ 0.012282879829406738,
129
+ 0.01244057559967041,
130
+ 0.012298239707946777,
131
+ 0.01224396800994873,
132
+ 0.01229312038421631,
133
+ 0.012299263954162597,
134
+ 0.012285951614379884,
135
+ 0.012248064041137695,
136
+ 0.01226956844329834,
137
+ 0.012236800193786621,
138
+ 0.012307456016540527,
139
+ 0.012266495704650878,
140
+ 0.012288000106811523,
141
+ 0.012241920471191407,
142
+ 0.01226956844329834,
143
+ 0.012230655670166016,
144
+ 0.012259327888488769,
145
+ 0.012225536346435547,
146
+ 0.012281855583190919,
147
+ 0.01225113582611084,
148
+ 0.012299263954162597,
149
+ 0.012253184318542481,
150
+ 0.012290047645568849,
151
+ 0.01224294376373291,
152
+ 0.012262399673461915,
153
+ 0.012225536346435547,
154
+ 0.012279808044433594,
155
+ 0.012240896224975586,
156
+ 0.012286975860595703,
157
+ 0.012379136085510254,
158
+ 0.012290047645568849,
159
+ 0.012410880088806153,
160
+ 0.012296192169189453,
161
+ 0.01226854419708252,
162
+ 0.01232588768005371,
163
+ 0.012333056449890138,
164
+ 0.012282879829406738,
165
+ 0.012238847732543945,
166
+ 0.01227673625946045,
167
+ 0.012229632377624512,
168
+ 0.012295167922973632,
169
+ 0.012237824440002442,
170
+ 0.012283904075622559,
171
+ 0.012244992256164551,
172
+ 0.012281855583190919,
173
+ 0.012233728408813477,
174
+ 0.012275712013244629,
175
+ 0.012274687767028808,
176
+ 0.012289024353027344,
177
+ 0.012253184318542481,
178
+ 0.012292096138000488,
179
+ 0.012246015548706055,
180
+ 0.012283967971801759,
181
+ 0.012245951652526855,
182
+ 0.012275712013244629,
183
+ 0.012236800193786621,
184
+ 0.012266495704650878,
185
+ 0.012229632377624512,
186
+ 0.012273664474487305,
187
+ 0.01222758388519287,
188
+ 0.012270591735839843,
189
+ 0.012248064041137695,
190
+ 0.012294143676757812,
191
+ 0.012232704162597656,
192
+ 0.012295167922973632,
193
+ 0.012240896224975586,
194
+ 0.012267519950866699,
195
+ 0.01223475170135498,
196
+ 0.012265472412109376,
197
+ 0.012237824440002442,
198
+ 0.012292096138000488,
199
+ 0.012247039794921874,
200
+ 0.012280832290649414,
201
+ 0.012379136085510254,
202
+ 0.01228492832183838,
203
+ 0.026429439544677736,
204
+ 0.01225113582611084,
205
+ 0.012290047645568849,
206
+ 0.012233728408813477,
207
+ 0.012275775909423829,
208
+ 0.012219327926635742,
209
+ 0.012278783798217773,
210
+ 0.012319744110107422,
211
+ 0.012277759552001954,
212
+ 0.012244992256164551,
213
+ 0.01228492832183838,
214
+ 0.01225216007232666,
215
+ 0.01226854419708252,
216
+ 0.01224396800994873,
217
+ 0.012277759552001954,
218
+ 0.012247039794921874,
219
+ 0.012321791648864745,
220
+ 0.012349439620971679,
221
+ 0.012281855583190919,
222
+ 0.01224294376373291,
223
+ 0.012298239707946777,
224
+ 0.012246015548706055,
225
+ 0.012283904075622559,
226
+ 0.01225113582611084,
227
+ 0.012281855583190919,
228
+ 0.012253184318542481,
229
+ 0.01229312038421631,
230
+ 0.012237824440002442,
231
+ 0.012273664474487305,
232
+ 0.012232704162597656,
233
+ 0.01226956844329834,
234
+ 0.0122357759475708,
235
+ 0.012288000106811523,
236
+ 0.012239871978759765,
237
+ 0.012280832290649414,
238
+ 0.012230688095092774,
239
+ 0.012264415740966797,
240
+ 0.012225536346435547,
241
+ 0.01226854419708252,
242
+ 0.01224294376373291,
243
+ 0.012267519950866699,
244
+ 0.012248064041137695,
245
+ 0.012282879829406738,
246
+ 0.012352512359619141,
247
+ 0.012295167922973632,
248
+ 0.012266495704650878,
249
+ 0.012272640228271485,
250
+ 0.012242079734802246,
251
+ 0.012274527549743652,
252
+ 0.012254207611083985,
253
+ 0.012267519950866699,
254
+ 0.01226137638092041,
255
+ 0.012285951614379884,
256
+ 0.0122357759475708,
257
+ 0.012304384231567383,
258
+ 0.01225216007232666,
259
+ 0.012361727714538574,
260
+ 0.012244992256164551,
261
+ 0.012278783798217773,
262
+ 0.012229791641235352,
263
+ 0.012272480010986329,
264
+ 0.012231679916381836,
265
+ 0.012256256103515625,
266
+ 0.0122357759475708,
267
+ 0.012281855583190919,
268
+ 0.012228608131408691,
269
+ 0.012286975860595703,
270
+ 0.012406784057617188,
271
+ 0.01227673625946045,
272
+ 0.012239871978759765,
273
+ 0.012280832290649414,
274
+ 0.01224396800994873,
275
+ 0.012273664474487305,
276
+ 0.012232704162597656,
277
+ 0.012262399673461915,
278
+ 0.012232704162597656,
279
+ 0.012282879829406738,
280
+ 0.012244992256164551,
281
+ 0.01227673625946045,
282
+ 0.012230655670166016,
283
+ 0.012283904075622559,
284
+ 0.012237824440002442,
285
+ 0.012271615982055664,
286
+ 0.012226559638977052,
287
+ 0.012298239707946777,
288
+ 0.01235865592956543,
289
+ 0.01227683162689209,
290
+ 0.012246944427490235,
291
+ 0.012282879829406738,
292
+ 0.012232768058776855,
293
+ 0.012269503593444824,
294
+ 0.012231679916381836,
295
+ 0.012265472412109376,
296
+ 0.012232704162597656,
297
+ 0.012296192169189453,
298
+ 0.012230655670166016,
299
+ 0.012281855583190919,
300
+ 0.012225536346435547,
301
+ 0.012313599586486817,
302
+ 0.012253184318542481,
303
+ 0.012329119682312012,
304
+ 0.012243807792663574,
305
+ 0.012266495704650878,
306
+ 0.01223475170135498,
307
+ 0.012272640228271485,
308
+ 0.012237824440002442,
309
+ 0.012271615982055664,
310
+ 0.012222463607788087,
311
+ 0.012253184318542481,
312
+ 0.012231679916381836,
313
+ 0.012267519950866699,
314
+ 0.012227680206298828,
315
+ 0.012264479637145996,
316
+ 0.012239744186401367,
317
+ 0.01228492832183838,
318
+ 0.012295167922973632,
319
+ 0.012290047645568849,
320
+ 0.012241920471191407,
321
+ 0.012277759552001954,
322
+ 0.012224512100219726,
323
+ 0.012278783798217773,
324
+ 0.012256256103515625,
325
+ 0.012279808044433594,
326
+ 0.012259327888488769,
327
+ 0.01226137638092041,
328
+ 0.012236800193786621,
329
+ 0.012279808044433594
330
+ ]
331
+ },
332
+ "throughput": {
333
+ "unit": "tokens/s",
334
+ "value": 81.06542646783713
335
+ },
336
+ "energy": null,
337
+ "efficiency": null
338
+ }
339
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/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": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
4
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.014057071685791015,
7
+ "prefill.throughput.value": 497.9700008982417,
8
+ "decode.latency.mean": 1.5599285888671874,
9
+ "decode.throughput.value": 81.4139832466477,
10
+ "per_token.latency.mean": 0.012335715033791281,
11
+ "per_token.throughput.value": 81.06542646783713
12
+ }
13
+ }
2024-06-20/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/multirun.yaml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
4
+ sweep:
5
+ dir: _benchmark/tmpoh31cxsk/commit=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142
88
+ - hydra.run.dir=_benchmark/tmpoh31cxsk/commit\=0ed3ffcb4461a244b87781a24e5ebd0a78f98142/${hydra.job.override_dirname}
89
+ - hydra.mode=MULTIRUN
90
+ task:
91
+ - backend.model=google/gemma-2b
92
+ - backend.cache_implementation=null,static
93
+ - backend.torch_compile=false,true
94
+ job:
95
+ name: cli
96
+ chdir: true
97
+ override_dirname: backend.cache_implementation=null,static,backend.model=google/gemma-2b,backend.torch_compile=false,true
98
+ id: ???
99
+ num: ???
100
+ config_name: generation
101
+ env_set:
102
+ OVERRIDE_BENCHMARKS: '1'
103
+ LOG_LEVEL: WARN
104
+ env_copy: []
105
+ config:
106
+ override_dirname:
107
+ kv_sep: '='
108
+ item_sep: ','
109
+ exclude_keys: []
110
+ runtime:
111
+ version: 1.3.2
112
+ version_base: '1.3'
113
+ cwd: /transformers
114
+ config_sources:
115
+ - path: hydra.conf
116
+ schema: pkg
117
+ provider: hydra
118
+ - path: optimum_benchmark
119
+ schema: pkg
120
+ provider: main
121
+ - path: /transformers/benchmark/config
122
+ schema: file
123
+ provider: command-line
124
+ - path: ''
125
+ schema: structured
126
+ provider: schema
127
+ output_dir: ???
128
+ choices:
129
+ backend: pytorch
130
+ launcher: process
131
+ scenario: inference
132
+ hydra/env: default
133
+ hydra/callbacks: null
134
+ hydra/job_logging: disabled
135
+ hydra/hydra_logging: disabled
136
+ hydra/hydra_help: default
137
+ hydra/help: default
138
+ hydra/sweeper: basic
139
+ hydra/launcher: basic
140
+ hydra/output: default
141
+ verbose: false
142
+ name: pytorch_generate
143
+ backend:
144
+ name: pytorch
145
+ version: 2.3.0+cu121
146
+ _target_: optimum_benchmark.backends.pytorch.backend.PyTorchBackend
147
+ task: null
148
+ library: null
149
+ model: google/gemma-2b
150
+ processor: null
151
+ device: cuda
152
+ device_ids: '0'
153
+ seed: 42
154
+ inter_op_num_threads: null
155
+ intra_op_num_threads: null
156
+ model_kwargs: {}
157
+ processor_kwargs: {}
158
+ hub_kwargs: {}
159
+ no_weights: true
160
+ device_map: null
161
+ torch_dtype: float16
162
+ eval_mode: true
163
+ to_bettertransformer: false
164
+ low_cpu_mem_usage: null
165
+ attn_implementation: null
166
+ cache_implementation: static
167
+ autocast_enabled: false
168
+ autocast_dtype: null
169
+ torch_compile: true
170
+ torch_compile_target: forward
171
+ torch_compile_config:
172
+ backend: inductor
173
+ mode: reduce-overhead
174
+ fullgraph: true
175
+ quantization_scheme: null
176
+ quantization_config: {}
177
+ deepspeed_inference: false
178
+ deepspeed_inference_config: {}
179
+ peft_type: null
180
+ peft_config: {}
181
+ scenario:
182
+ name: inference
183
+ _target_: optimum_benchmark.scenarios.inference.scenario.InferenceScenario
184
+ iterations: 2
185
+ duration: 0
186
+ warmup_runs: 10
187
+ input_shapes:
188
+ batch_size: 1
189
+ sequence_length: 7
190
+ new_tokens: null
191
+ latency: true
192
+ memory: true
193
+ energy: false
194
+ forward_kwargs: {}
195
+ generate_kwargs:
196
+ max_new_tokens: 128
197
+ min_new_tokens: 128
198
+ do_sample: false
199
+ call_kwargs: {}
200
+ launcher:
201
+ name: process
202
+ _target_: optimum_benchmark.launchers.process.launcher.ProcessLauncher
203
+ device_isolation: true
204
+ device_isolation_action: warn
205
+ start_method: spawn
206
+ environment:
207
+ cpu: ' AMD EPYC 7R32'
208
+ cpu_count: 16
209
+ cpu_ram_mb: 66697.29792
210
+ system: Linux
211
+ machine: x86_64
212
+ platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.29
213
+ processor: x86_64
214
+ python_version: 3.8.10
215
+ gpu:
216
+ - NVIDIA A10G
217
+ gpu_count: 1
218
+ gpu_vram_mb: 24146608128
219
+ optimum_benchmark_version: 0.2.1
220
+ optimum_benchmark_commit: null
221
+ transformers_version: 4.42.0.dev0
222
+ transformers_commit: 0ed3ffcb4461a244b87781a24e5ebd0a78f98142
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-20/summaries.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "model": "google/gemma-2b",
4
+ "commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
5
+ "config": "backend.cache_implementation=null,backend.torch_compile=False",
6
+ "metrics": {
7
+ "prefill.latency.mean": 0.01963271999359131,
8
+ "prefill.throughput.value": 356.54764099345397,
9
+ "decode.latency.mean": 2.3445885009765624,
10
+ "decode.throughput.value": 54.16728775522966,
11
+ "per_token.latency.mean": 0.01853426648317118,
12
+ "per_token.throughput.value": 53.954117952711215
13
+ }
14
+ },
15
+ {
16
+ "model": "google/gemma-2b",
17
+ "commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
18
+ "config": "backend.cache_implementation=static,backend.torch_compile=False",
19
+ "metrics": {
20
+ "prefill.latency.mean": 0.021912784576416017,
21
+ "prefill.throughput.value": 319.44821871401325,
22
+ "decode.latency.mean": 2.5411068115234374,
23
+ "decode.throughput.value": 49.97822186146568,
24
+ "per_token.latency.mean": 0.020091584269708324,
25
+ "per_token.throughput.value": 49.77208300630029
26
+ }
27
+ },
28
+ {
29
+ "model": "google/gemma-2b",
30
+ "commit": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
31
+ "config": "backend.cache_implementation=static,backend.torch_compile=True",
32
+ "metrics": {
33
+ "prefill.latency.mean": 0.014057071685791015,
34
+ "prefill.throughput.value": 497.9700008982417,
35
+ "decode.latency.mean": 1.5599285888671874,
36
+ "decode.throughput.value": 81.4139832466477,
37
+ "per_token.latency.mean": 0.012335715033791281,
38
+ "per_token.throughput.value": 81.06542646783713
39
+ }
40
+ }
41
+ ]
2024-06-20/summary.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "google/gemma-2b": {
3
+ "backend.cache_implementation=null,backend.torch_compile=False": {
4
+ "0ed3ffcb4461a244b87781a24e5ebd0a78f98142": {
5
+ "metrics": {
6
+ "prefill.latency.mean": 0.01963271999359131,
7
+ "prefill.throughput.value": 356.54764099345397,
8
+ "decode.latency.mean": 2.3445885009765624,
9
+ "decode.throughput.value": 54.16728775522966,
10
+ "per_token.latency.mean": 0.01853426648317118,
11
+ "per_token.throughput.value": 53.954117952711215
12
+ }
13
+ }
14
+ },
15
+ "backend.cache_implementation=static,backend.torch_compile=False": {
16
+ "0ed3ffcb4461a244b87781a24e5ebd0a78f98142": {
17
+ "metrics": {
18
+ "prefill.latency.mean": 0.021912784576416017,
19
+ "prefill.throughput.value": 319.44821871401325,
20
+ "decode.latency.mean": 2.5411068115234374,
21
+ "decode.throughput.value": 49.97822186146568,
22
+ "per_token.latency.mean": 0.020091584269708324,
23
+ "per_token.throughput.value": 49.77208300630029
24
+ }
25
+ }
26
+ },
27
+ "backend.cache_implementation=static,backend.torch_compile=True": {
28
+ "0ed3ffcb4461a244b87781a24e5ebd0a78f98142": {
29
+ "metrics": {
30
+ "prefill.latency.mean": 0.014057071685791015,
31
+ "prefill.throughput.value": 497.9700008982417,
32
+ "decode.latency.mean": 1.5599285888671874,
33
+ "decode.throughput.value": 81.4139832466477,
34
+ "per_token.latency.mean": 0.012335715033791281,
35
+ "per_token.throughput.value": 81.06542646783713
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }