
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
743dc1e
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.29792, | |
"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.0", | |
"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": 946.139136, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 189, | |
"total": 0.9951875820159912, | |
"mean": 0.005265542761989372, | |
"stdev": 0.00017791048691492866, | |
"p50": 0.005214208126068115, | |
"p90": 0.005360844802856445, | |
"p95": 0.005745664024353027, | |
"p99": 0.0058924646377563495, | |
"values": [ | |
0.006188032150268555, | |
0.005753856182098388, | |
0.005835775852203369, | |
0.0058091521263122555, | |
0.0058122239112854005, | |
0.005772287845611572, | |
0.005852159976959229, | |
0.005735424041748047, | |
0.005768191814422607, | |
0.005742591857910156, | |
0.005747712135314941, | |
0.0057292799949646, | |
0.0063539199829101565, | |
0.0052070398330688475, | |
0.005007359981536865, | |
0.005064703941345215, | |
0.005244927883148193, | |
0.005192704200744629, | |
0.005203968048095703, | |
0.00520908784866333, | |
0.005201920032501221, | |
0.00522649621963501, | |
0.005254144191741943, | |
0.005264383792877197, | |
0.005264448165893555, | |
0.005345280170440674, | |
0.005258240222930908, | |
0.0052306241989135745, | |
0.005258240222930908, | |
0.005265408039093018, | |
0.005242879867553711, | |
0.005266335964202881, | |
0.005258240222930908, | |
0.005237760066986084, | |
0.005495808124542236, | |
0.005455872058868408, | |
0.005281792163848877, | |
0.005298175811767578, | |
0.00526643180847168, | |
0.0052070398330688475, | |
0.0052111358642578124, | |
0.005249023914337158, | |
0.005213183879852295, | |
0.005361663818359375, | |
0.0052705278396606445, | |
0.005196832180023194, | |
0.005203968048095703, | |
0.005283840179443359, | |
0.005210207939147949, | |
0.005215231895446777, | |
0.00522441577911377, | |
0.005186560153961181, | |
0.005185535907745361, | |
0.005277696132659912, | |
0.005195775985717774, | |
0.005154751777648926, | |
0.005247935771942138, | |
0.005203968048095703, | |
0.0051773757934570315, | |
0.005178368091583252, | |
0.005208064079284668, | |
0.00517632007598877, | |
0.005268415927886963, | |
0.005231584072113037, | |
0.005241856098175048, | |
0.005272607803344726, | |
0.005280799865722656, | |
0.005258240222930908, | |
0.005245952129364013, | |
0.005279776096343994, | |
0.005221375942230225, | |
0.005194752216339111, | |
0.0052295680046081545, | |
0.005191679954528809, | |
0.00516812801361084, | |
0.005208064079284668, | |
0.005183487892150879, | |
0.005180416107177735, | |
0.0051968002319335935, | |
0.00526643180847168, | |
0.005252096176147461, | |
0.005305344104766845, | |
0.0052111358642578124, | |
0.005169151782989502, | |
0.005184512138366699, | |
0.005203968048095703, | |
0.005198847770690918, | |
0.005154751777648926, | |
0.005181407928466797, | |
0.005214208126068115, | |
0.0053606400489807126, | |
0.005187583923339844, | |
0.0052008957862854, | |
0.0051363840103149415, | |
0.005158912181854248, | |
0.005175295829772949, | |
0.005187583923339844, | |
0.005155839920043945, | |
0.005155839920043945, | |
0.005186560153961181, | |
0.005252096176147461, | |
0.0051773438453674315, | |
0.005198847770690918, | |
0.005138495922088623, | |
0.005114880084991455, | |
0.00515993595123291, | |
0.0051701760292053225, | |
0.005163008213043213, | |
0.005167103767395019, | |
0.005242879867553711, | |
0.005161983966827393, | |
0.005190591812133789, | |
0.005173247814178467, | |
0.005145599842071533, | |
0.005139455795288086, | |
0.00515993595123291, | |
0.005184512138366699, | |
0.00515993595123291, | |
0.005161983966827393, | |
0.00526643180847168, | |
0.005159999847412109, | |
0.005178368091583252, | |
0.005174272060394287, | |
0.005171199798583984, | |
0.005234687805175781, | |
0.005285888195037842, | |
0.005323775768280029, | |
0.005251071929931641, | |
0.0053606400489807126, | |
0.005262335777282715, | |
0.005251071929931641, | |
0.005305344104766845, | |
0.0052070398330688475, | |
0.005161983966827393, | |
0.00537395191192627, | |
0.0052674560546875, | |
0.005185535907745361, | |
0.005274623870849609, | |
0.005178368091583252, | |
0.005204991817474365, | |
0.005173247814178467, | |
0.005193727970123291, | |
0.0053637118339538575, | |
0.005212160110473632, | |
0.005242879867553711, | |
0.005185535907745361, | |
0.005166016101837158, | |
0.005276671886444092, | |
0.0051528000831604, | |
0.005187583923339844, | |
0.005194752216339111, | |
0.00520908784866333, | |
0.005156864166259765, | |
0.005252096176147461, | |
0.005180416107177735, | |
0.00515174388885498, | |
0.005256192207336426, | |
0.00522547197341919, | |
0.005210112094879151, | |
0.005178368091583252, | |
0.0051660799980163576, | |
0.005185535907745361, | |
0.005228544235229492, | |
0.005248000144958496, | |
0.00526639986038208, | |
0.005280767917633057, | |
0.005286911964416504, | |
0.005242879867553711, | |
0.005239808082580567, | |
0.005277696132659912, | |
0.005271615982055664, | |
0.005258240222930908, | |
0.0052674560546875, | |
0.00520908784866333, | |
0.0051773438453674315, | |
0.005268479824066162, | |
0.005180384159088135, | |
0.005214208126068115, | |
0.005241856098175048, | |
0.0052367358207702636, | |
0.005222400188446045, | |
0.005494783878326416, | |
0.005257215976715088, | |
0.005256192207336426, | |
0.005237760066986084, | |
0.005179391860961914, | |
0.005182400226593018, | |
0.005164031982421875, | |
0.005191679954528809 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.91394528570697 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.139217760621918e-08, | |
"ram": 3.356103035365744e-08, | |
"gpu": 1.3043188327461932e-07, | |
"total": 2.2538509123449595e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4436850.700828195 | |
} | |
} | |
} | |
} |