
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
be75dab
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.289728, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 945.815552, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 0.9979043202400208, | |
"mean": 0.0054530290723498395, | |
"stdev": 0.000337655907937133, | |
"p50": 0.005492735862731934, | |
"p90": 0.005807718276977539, | |
"p95": 0.005873459100723267, | |
"p99": 0.006367068309783936, | |
"values": [ | |
0.005985280036926269, | |
0.005593088150024414, | |
0.005673984050750733, | |
0.005654528141021729, | |
0.005690368175506591, | |
0.005595071792602539, | |
0.005720064163208007, | |
0.005637119770050049, | |
0.005612544059753418, | |
0.005638144016265869, | |
0.005492735862731934, | |
0.0055131840705871585, | |
0.005527584075927734, | |
0.0054620480537414555, | |
0.005526527881622314, | |
0.005503007888793945, | |
0.005417984008789062, | |
0.00535756778717041, | |
0.005385216236114502, | |
0.005453824043273926, | |
0.005445631980895996, | |
0.005493760108947754, | |
0.0055848960876464845, | |
0.005534656047821045, | |
0.005824512004852295, | |
0.005765120029449463, | |
0.005758975982666016, | |
0.00570470380783081, | |
0.005633088111877441, | |
0.0058716158866882326, | |
0.00576313591003418, | |
0.005796864032745362, | |
0.005567488193511963, | |
0.005577727794647217, | |
0.005532671928405761, | |
0.005478400230407715, | |
0.005505055904388428, | |
0.005500927925109863, | |
0.005538815975189209, | |
0.005537792205810547, | |
0.005504000186920166, | |
0.005393407821655274, | |
0.0053606400489807126, | |
0.005345280170440674, | |
0.005478400230407715, | |
0.005440512180328369, | |
0.005391359806060791, | |
0.005436416149139404, | |
0.005464064121246338, | |
0.005513216018676758, | |
0.005476352214813233, | |
0.00567193603515625, | |
0.006067168235778808, | |
0.005873663902282715, | |
0.005831679821014404, | |
0.0057118721008300784, | |
0.005758975982666016, | |
0.005673984050750733, | |
0.005746687889099121, | |
0.005791744232177734, | |
0.005794816017150879, | |
0.005763072013854981, | |
0.005731328010559082, | |
0.005806079864501953, | |
0.005650432109832764, | |
0.00561356782913208, | |
0.005978047847747803, | |
0.005773312091827393, | |
0.005753856182098388, | |
0.005808127880096436, | |
0.005836800098419189, | |
0.0056555838584899905, | |
0.005699584007263184, | |
0.005708799839019775, | |
0.005705728054046631, | |
0.005736447811126709, | |
0.005720064163208007, | |
0.005705728054046631, | |
0.0057272958755493165, | |
0.005702655792236328, | |
0.005724160194396972, | |
0.005856256008148194, | |
0.005798912048339844, | |
0.005877696037292481, | |
0.005835775852203369, | |
0.005819392204284668, | |
0.005804031848907471, | |
0.005791744232177734, | |
0.005806079864501953, | |
0.005694464206695556, | |
0.005819392204284668, | |
0.005793791770935058, | |
0.0057794561386108395, | |
0.00571289587020874, | |
0.005677055835723877, | |
0.005403647899627686, | |
0.005575679779052735, | |
0.005708799839019775, | |
0.005431295871734619, | |
0.0053647360801696775, | |
0.005391359806060791, | |
0.005377024173736572, | |
0.005426176071166992, | |
0.005647359848022461, | |
0.005619711875915527, | |
0.005578752040863037, | |
0.005713920116424561, | |
0.005731328010559082, | |
0.005765120029449463, | |
0.006440959930419922, | |
0.0063498239517211915, | |
0.0063508481979370115, | |
0.006714367866516113, | |
0.0054906878471374515, | |
0.005964799880981446, | |
0.005235648155212403, | |
0.00511078405380249, | |
0.0053002238273620605, | |
0.005126143932342529, | |
0.005054463863372802, | |
0.005079040050506592, | |
0.005074944019317627, | |
0.005049344062805176, | |
0.0050728960037231445, | |
0.0050841598510742185, | |
0.0050657281875610355, | |
0.005048319816589355, | |
0.005059584140777588, | |
0.005087232112884522, | |
0.00506879997253418, | |
0.005066751956939697, | |
0.005049344062805176, | |
0.005054463863372802, | |
0.005053440093994141, | |
0.005045248031616211, | |
0.005075903892517089, | |
0.005198847770690918, | |
0.005045248031616211, | |
0.0050800638198852536, | |
0.005056511878967285, | |
0.005047296047210693, | |
0.005091328144073487, | |
0.0050954241752624516, | |
0.005112832069396973, | |
0.0050657281875610355, | |
0.005047296047210693, | |
0.005083136081695557, | |
0.0050462718009948735, | |
0.005055488109588623, | |
0.005079040050506592, | |
0.005135359764099121, | |
0.005111807823181152, | |
0.005063680171966553, | |
0.0050503678321838375, | |
0.005048319816589355, | |
0.005043263912200928, | |
0.005049344062805176, | |
0.005085184097290039, | |
0.005058527946472168, | |
0.0050432000160217285, | |
0.0050421757698059086, | |
0.005123072147369385, | |
0.005085184097290039, | |
0.005038080215454102, | |
0.0050769920349121095, | |
0.005051392078399658, | |
0.005045248031616211, | |
0.005044223785400391, | |
0.005074944019317627, | |
0.005033984184265137, | |
0.005048319816589355, | |
0.005024767875671386, | |
0.005067776203155518, | |
0.005054463863372802, | |
0.005023744106292725, | |
0.005078015804290771, | |
0.00537395191192627, | |
0.005079040050506592, | |
0.005032959938049316, | |
0.00506982421875, | |
0.005047296047210693, | |
0.0050360321998596195, | |
0.0052008957862854 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.38431479681736 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.398814039545375e-08, | |
"ram": 3.498440376715284e-08, | |
"gpu": 1.274460479027028e-07, | |
"total": 2.264185920653094e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4416598.437780033 | |
} | |
} | |
} | |
} |