Upload cpu_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
Browse files
cpu_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "cpu_inference_timm_image-classification_timm/resnet50.a1_in1k",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.1+cpu",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "image-classification",
|
| 9 |
+
"library": "timm",
|
| 10 |
+
"model_type": "resnet50",
|
| 11 |
+
"model": "timm/resnet50.a1_in1k",
|
| 12 |
+
"processor": "timm/resnet50.a1_in1k",
|
| 13 |
+
"device": "cpu",
|
| 14 |
+
"device_ids": null,
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": false,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": null,
|
| 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 |
+
"quantization_scheme": null,
|
| 34 |
+
"quantization_config": {},
|
| 35 |
+
"deepspeed_inference": false,
|
| 36 |
+
"deepspeed_inference_config": {},
|
| 37 |
+
"peft_type": null,
|
| 38 |
+
"peft_config": {}
|
| 39 |
+
},
|
| 40 |
+
"scenario": {
|
| 41 |
+
"name": "inference",
|
| 42 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 43 |
+
"iterations": 1,
|
| 44 |
+
"duration": 1,
|
| 45 |
+
"warmup_runs": 1,
|
| 46 |
+
"input_shapes": {
|
| 47 |
+
"batch_size": 1,
|
| 48 |
+
"num_choices": 2,
|
| 49 |
+
"sequence_length": 2
|
| 50 |
+
},
|
| 51 |
+
"new_tokens": null,
|
| 52 |
+
"memory": true,
|
| 53 |
+
"latency": true,
|
| 54 |
+
"energy": true,
|
| 55 |
+
"forward_kwargs": {},
|
| 56 |
+
"generate_kwargs": {
|
| 57 |
+
"max_new_tokens": 2,
|
| 58 |
+
"min_new_tokens": 2
|
| 59 |
+
},
|
| 60 |
+
"call_kwargs": {
|
| 61 |
+
"num_inference_steps": 2
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"launcher": {
|
| 65 |
+
"name": "process",
|
| 66 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 67 |
+
"device_isolation": false,
|
| 68 |
+
"device_isolation_action": "error",
|
| 69 |
+
"numactl": false,
|
| 70 |
+
"numactl_kwargs": {},
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7742 64-Core Processor",
|
| 75 |
+
"cpu_count": 128,
|
| 76 |
+
"cpu_ram_mb": 540671.660032,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.10.12",
|
| 82 |
+
"optimum_benchmark_version": "0.4.0",
|
| 83 |
+
"optimum_benchmark_commit": null,
|
| 84 |
+
"transformers_version": "4.44.0",
|
| 85 |
+
"transformers_commit": null,
|
| 86 |
+
"accelerate_version": "0.33.0",
|
| 87 |
+
"accelerate_commit": null,
|
| 88 |
+
"diffusers_version": "0.30.0",
|
| 89 |
+
"diffusers_commit": null,
|
| 90 |
+
"optimum_version": null,
|
| 91 |
+
"optimum_commit": null,
|
| 92 |
+
"timm_version": "1.0.8",
|
| 93 |
+
"timm_commit": null,
|
| 94 |
+
"peft_version": "0.12.0",
|
| 95 |
+
"peft_commit": null
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"report": {
|
| 99 |
+
"load": {
|
| 100 |
+
"memory": {
|
| 101 |
+
"unit": "MB",
|
| 102 |
+
"max_ram": 514.101248,
|
| 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": 1,
|
| 111 |
+
"total": 3.6092490013688803,
|
| 112 |
+
"mean": 3.6092490013688803,
|
| 113 |
+
"stdev": 0.0,
|
| 114 |
+
"p50": 3.6092490013688803,
|
| 115 |
+
"p90": 3.6092490013688803,
|
| 116 |
+
"p95": 3.6092490013688803,
|
| 117 |
+
"p99": 3.6092490013688803,
|
| 118 |
+
"values": [
|
| 119 |
+
3.6092490013688803
|
| 120 |
+
]
|
| 121 |
+
},
|
| 122 |
+
"throughput": null,
|
| 123 |
+
"energy": {
|
| 124 |
+
"unit": "kWh",
|
| 125 |
+
"cpu": 1.01609299890697e-05,
|
| 126 |
+
"ram": 1.704176819682147e-05,
|
| 127 |
+
"gpu": 0,
|
| 128 |
+
"total": 2.720269818589117e-05
|
| 129 |
+
},
|
| 130 |
+
"efficiency": null
|
| 131 |
+
},
|
| 132 |
+
"forward": {
|
| 133 |
+
"memory": {
|
| 134 |
+
"unit": "MB",
|
| 135 |
+
"max_ram": 540.184576,
|
| 136 |
+
"max_global_vram": null,
|
| 137 |
+
"max_process_vram": null,
|
| 138 |
+
"max_reserved": null,
|
| 139 |
+
"max_allocated": null
|
| 140 |
+
},
|
| 141 |
+
"latency": {
|
| 142 |
+
"unit": "s",
|
| 143 |
+
"count": 24,
|
| 144 |
+
"total": 1.0279600350186229,
|
| 145 |
+
"mean": 0.042831668125775955,
|
| 146 |
+
"stdev": 0.006807150910405146,
|
| 147 |
+
"p50": 0.04062348837032914,
|
| 148 |
+
"p90": 0.04574225023388862,
|
| 149 |
+
"p95": 0.05375844095833598,
|
| 150 |
+
"p99": 0.06789818187244236,
|
| 151 |
+
"values": [
|
| 152 |
+
0.03998136334121227,
|
| 153 |
+
0.04736588802188635,
|
| 154 |
+
0.071784776635468,
|
| 155 |
+
0.04066585749387741,
|
| 156 |
+
0.0404370678588748,
|
| 157 |
+
0.040040566585958004,
|
| 158 |
+
0.03993535693734884,
|
| 159 |
+
0.03991301544010639,
|
| 160 |
+
0.04023147281259298,
|
| 161 |
+
0.040125735104084015,
|
| 162 |
+
0.04007053095847368,
|
| 163 |
+
0.04025846440345049,
|
| 164 |
+
0.040250759571790695,
|
| 165 |
+
0.04038771614432335,
|
| 166 |
+
0.04078354872763157,
|
| 167 |
+
0.04069906938821077,
|
| 168 |
+
0.04195376206189394,
|
| 169 |
+
0.041218903847038746,
|
| 170 |
+
0.05488653853535652,
|
| 171 |
+
0.04058111924678087,
|
| 172 |
+
0.04168987646698952,
|
| 173 |
+
0.041786267422139645,
|
| 174 |
+
0.041883399710059166,
|
| 175 |
+
0.04102897830307484
|
| 176 |
+
]
|
| 177 |
+
},
|
| 178 |
+
"throughput": {
|
| 179 |
+
"unit": "samples/s",
|
| 180 |
+
"value": 23.3472111584233
|
| 181 |
+
},
|
| 182 |
+
"energy": {
|
| 183 |
+
"unit": "kWh",
|
| 184 |
+
"cpu": 1.3285753144979631e-06,
|
| 185 |
+
"ram": 2.229280504180828e-06,
|
| 186 |
+
"gpu": 0.0,
|
| 187 |
+
"total": 3.557855818678791e-06
|
| 188 |
+
},
|
| 189 |
+
"efficiency": {
|
| 190 |
+
"unit": "samples/kWh",
|
| 191 |
+
"value": 281068.16323190683
|
| 192 |
+
}
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
}
|