Commit
•
d718cb9
1
Parent(s):
e09b92c
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/file.json with huggingface_hub
Browse files
cpu_inference_transformers_text-classification_FacebookAI/roberta-base/file.json
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cpu",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "text-classification",
|
9 |
+
"model": "FacebookAI/roberta-base",
|
10 |
+
"library": "transformers",
|
11 |
+
"device": "cpu",
|
12 |
+
"device_ids": null,
|
13 |
+
"seed": 42,
|
14 |
+
"inter_op_num_threads": null,
|
15 |
+
"intra_op_num_threads": null,
|
16 |
+
"hub_kwargs": {
|
17 |
+
"revision": "main",
|
18 |
+
"force_download": false,
|
19 |
+
"local_files_only": false,
|
20 |
+
"trust_remote_code": false
|
21 |
+
},
|
22 |
+
"no_weights": true,
|
23 |
+
"device_map": null,
|
24 |
+
"torch_dtype": null,
|
25 |
+
"eval_mode": true,
|
26 |
+
"to_bettertransformer": false,
|
27 |
+
"low_cpu_mem_usage": null,
|
28 |
+
"attn_implementation": null,
|
29 |
+
"cache_implementation": null,
|
30 |
+
"autocast_enabled": false,
|
31 |
+
"autocast_dtype": null,
|
32 |
+
"torch_compile": false,
|
33 |
+
"torch_compile_target": "forward",
|
34 |
+
"torch_compile_config": {},
|
35 |
+
"quantization_scheme": null,
|
36 |
+
"quantization_config": {},
|
37 |
+
"deepspeed_inference": false,
|
38 |
+
"deepspeed_inference_config": {},
|
39 |
+
"peft_type": null,
|
40 |
+
"peft_config": {}
|
41 |
+
},
|
42 |
+
"scenario": {
|
43 |
+
"name": "inference",
|
44 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
45 |
+
"iterations": 1,
|
46 |
+
"duration": 1,
|
47 |
+
"warmup_runs": 1,
|
48 |
+
"input_shapes": {
|
49 |
+
"batch_size": 1,
|
50 |
+
"num_choices": 2,
|
51 |
+
"sequence_length": 2
|
52 |
+
},
|
53 |
+
"new_tokens": null,
|
54 |
+
"latency": true,
|
55 |
+
"memory": true,
|
56 |
+
"energy": true,
|
57 |
+
"forward_kwargs": {},
|
58 |
+
"generate_kwargs": {
|
59 |
+
"max_new_tokens": 2,
|
60 |
+
"min_new_tokens": 2
|
61 |
+
},
|
62 |
+
"call_kwargs": {
|
63 |
+
"num_inference_steps": 2
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": false,
|
70 |
+
"device_isolation_action": "error",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
+
"cpu_count": 4,
|
76 |
+
"cpu_ram_mb": 16757.346304,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.10.14",
|
82 |
+
"optimum_benchmark_version": "0.2.0",
|
83 |
+
"optimum_benchmark_commit": "2e77e02d1fd3ab0d2e788c3d89c12299219a25e8",
|
84 |
+
"transformers_version": "4.40.2",
|
85 |
+
"transformers_commit": null,
|
86 |
+
"accelerate_version": "0.30.0",
|
87 |
+
"accelerate_commit": null,
|
88 |
+
"diffusers_version": "0.27.2",
|
89 |
+
"diffusers_commit": null,
|
90 |
+
"optimum_version": null,
|
91 |
+
"optimum_commit": null,
|
92 |
+
"timm_version": "0.9.16",
|
93 |
+
"timm_commit": null,
|
94 |
+
"peft_version": null,
|
95 |
+
"peft_commit": null
|
96 |
+
}
|
97 |
+
},
|
98 |
+
"report": {
|
99 |
+
"forward": {
|
100 |
+
"memory": {
|
101 |
+
"unit": "MB",
|
102 |
+
"max_ram": 939.39712,
|
103 |
+
"max_global_vram": null,
|
104 |
+
"max_process_vram": null,
|
105 |
+
"max_reserved": null,
|
106 |
+
"max_allocated": null
|
107 |
+
},
|
108 |
+
"latency": {
|
109 |
+
"unit": "s",
|
110 |
+
"count": 33,
|
111 |
+
"total": 1.0082548800001518,
|
112 |
+
"mean": 0.030553178181822783,
|
113 |
+
"stdev": 0.00175309056604995,
|
114 |
+
"p50": 0.029733420000013666,
|
115 |
+
"p90": 0.03370184000001473,
|
116 |
+
"p95": 0.03401826339999161,
|
117 |
+
"p99": 0.03441965515998618,
|
118 |
+
"values": [
|
119 |
+
0.034472210999979325,
|
120 |
+
0.033724815000027775,
|
121 |
+
0.033609939999962535,
|
122 |
+
0.03430797400000074,
|
123 |
+
0.033498162000000775,
|
124 |
+
0.033825122999985524,
|
125 |
+
0.031096044999969763,
|
126 |
+
0.029733420000013666,
|
127 |
+
0.02981750600002897,
|
128 |
+
0.03249516899995797,
|
129 |
+
0.030046884999990198,
|
130 |
+
0.0291586160000179,
|
131 |
+
0.029142075000038403,
|
132 |
+
0.029352648000042336,
|
133 |
+
0.030184923000035724,
|
134 |
+
0.029891866000014033,
|
135 |
+
0.02960390099997312,
|
136 |
+
0.02963804099999834,
|
137 |
+
0.029160449000016797,
|
138 |
+
0.029296944000009262,
|
139 |
+
0.02949319099997183,
|
140 |
+
0.02924647999998342,
|
141 |
+
0.029365111000004163,
|
142 |
+
0.0298047030000248,
|
143 |
+
0.02982126300003074,
|
144 |
+
0.029433700000026874,
|
145 |
+
0.029380349999996724,
|
146 |
+
0.02941878199999337,
|
147 |
+
0.029517145000056644,
|
148 |
+
0.029141724999988128,
|
149 |
+
0.02994289100001879,
|
150 |
+
0.03215953199998012,
|
151 |
+
0.029473294000013084
|
152 |
+
]
|
153 |
+
},
|
154 |
+
"throughput": {
|
155 |
+
"unit": "samples/s",
|
156 |
+
"value": 32.729819269503594
|
157 |
+
},
|
158 |
+
"energy": {
|
159 |
+
"unit": "kWh",
|
160 |
+
"cpu": 1.1300574408637152e-06,
|
161 |
+
"ram": 4.722718188192435e-08,
|
162 |
+
"gpu": 0.0,
|
163 |
+
"total": 1.1772846227456398e-06
|
164 |
+
},
|
165 |
+
"efficiency": {
|
166 |
+
"unit": "samples/kWh",
|
167 |
+
"value": 849412.266736161
|
168 |
+
}
|
169 |
+
}
|
170 |
+
}
|
171 |
+
}
|