
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b5fcfdb
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": false, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 867.078144, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.241814453125, | |
"mean": 8.241814453125, | |
"stdev": 0.0, | |
"p50": 8.241814453125, | |
"p90": 8.241814453125, | |
"p95": 8.241814453125, | |
"p99": 8.241814453125, | |
"values": [ | |
8.241814453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.760682179860805e-06, | |
"ram": 3.1377784474499326e-06, | |
"gpu": 8.601673548000151e-06, | |
"total": 1.750013417531089e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.337792, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9980743045806889, | |
"mean": 0.0073931429968939885, | |
"stdev": 0.00022970347966312158, | |
"p50": 0.007494688034057617, | |
"p90": 0.0076306432723999024, | |
"p95": 0.007646105575561523, | |
"p99": 0.007734128484725953, | |
"values": [ | |
0.0075970239639282225, | |
0.0077199358940124516, | |
0.007320576190948487, | |
0.007741439819335938, | |
0.007704576015472412, | |
0.007699456214904785, | |
0.007642111778259277, | |
0.007576576232910156, | |
0.007634943962097168, | |
0.007591936111450195, | |
0.007559167861938477, | |
0.007608384132385254, | |
0.00753868818283081, | |
0.007244800090789795, | |
0.007461919784545899, | |
0.007473152160644531, | |
0.007583744049072265, | |
0.00757862377166748, | |
0.007677951812744141, | |
0.0075939841270446775, | |
0.007565311908721924, | |
0.007514111995697022, | |
0.007290880203247071, | |
0.007472127914428711, | |
0.00760319995880127, | |
0.007620607852935791, | |
0.007599167823791504, | |
0.007632895946502686, | |
0.007989247798919678, | |
0.007526336193084716, | |
0.007574528217315674, | |
0.007579648017883301, | |
0.0074035201072692874, | |
0.007508992195129394, | |
0.0074403839111328125, | |
0.007449632167816162, | |
0.007478271961212158, | |
0.007478271961212158, | |
0.007512063980102539, | |
0.0074997758865356446, | |
0.007518208026885987, | |
0.007494592189788819, | |
0.00749567985534668, | |
0.007591936111450195, | |
0.007643136024475097, | |
0.007614463806152344, | |
0.007617536067962646, | |
0.007580671787261963, | |
0.0075304961204528805, | |
0.007527423858642578, | |
0.0075970559120178225, | |
0.007587776184082031, | |
0.007562240123748779, | |
0.00764518404006958, | |
0.007648255825042725, | |
0.007494688034057617, | |
0.007447519779205322, | |
0.007502848148345947, | |
0.007497727870941162, | |
0.007591936111450195, | |
0.007520256042480469, | |
0.007408639907836914, | |
0.0075131840705871585, | |
0.007560192108154297, | |
0.007550975799560547, | |
0.007536640167236328, | |
0.007515135765075683, | |
0.0075673599243164065, | |
0.007622655868530274, | |
0.007628799915313721, | |
0.007617536067962646, | |
0.007573472023010254, | |
0.007633920192718506, | |
0.007525375843048096, | |
0.007631872177124023, | |
0.007566336154937744, | |
0.0074700798988342285, | |
0.007548927783966064, | |
0.007528448104858398, | |
0.007544832229614258, | |
0.007417856216430664, | |
0.007266304016113281, | |
0.007622655868530274, | |
0.007570432186126709, | |
0.00728985595703125, | |
0.007163904190063477, | |
0.00714137601852417, | |
0.007301119804382325, | |
0.007359488010406494, | |
0.00728166389465332, | |
0.0073810238838195805, | |
0.007451648235321045, | |
0.007523327827453613, | |
0.007172095775604248, | |
0.0070860800743103025, | |
0.00709939193725586, | |
0.007116799831390381, | |
0.00713318395614624, | |
0.007074816226959229, | |
0.007096320152282715, | |
0.0071413121223449704, | |
0.007120863914489746, | |
0.007065599918365479, | |
0.0070594558715820314, | |
0.00710041618347168, | |
0.007073791980743408, | |
0.007068672180175781, | |
0.007027711868286133, | |
0.007108607769012451, | |
0.0071075520515441895, | |
0.007155680179595948, | |
0.007093247890472412, | |
0.007108607769012451, | |
0.007150591850280762, | |
0.0071157760620117185, | |
0.007136256217956543, | |
0.0070778560638427735, | |
0.007131135940551757, | |
0.00709119987487793, | |
0.007054399967193603, | |
0.00710041618347168, | |
0.007020544052124023, | |
0.007076863765716553, | |
0.007081024169921875, | |
0.007068672180175781, | |
0.00704307222366333, | |
0.007069695949554444, | |
0.007095232009887696, | |
0.007062528133392334, | |
0.007058432102203369, | |
0.007051263809204102, | |
0.007065599918365479, | |
0.0070860800743103025, | |
0.00707583999633789, | |
0.007038976192474365 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.2604704683949 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.023856020082345e-08, | |
"ram": 4.383988218893354e-08, | |
"gpu": 1.731307691351348e-07, | |
"total": 2.9720921152489175e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3364633.2658039047 | |
} | |
} | |
} | |
} |