
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6d6fceb
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.223-212.873.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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 854.114304, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.67223095703125, | |
"mean": 7.67223095703125, | |
"stdev": 0.0, | |
"p50": 7.67223095703125, | |
"p90": 7.67223095703125, | |
"p95": 7.67223095703125, | |
"p99": 7.67223095703125, | |
"values": [ | |
7.67223095703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.355777246528211e-06, | |
"ram": 2.3470897972575942e-06, | |
"gpu": 4.59333700799985e-06, | |
"total": 1.1296204051785656e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.599232, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9962720646858219, | |
"mean": 0.007325529887395746, | |
"stdev": 0.0002509463345744769, | |
"p50": 0.007263231992721558, | |
"p90": 0.007658496141433716, | |
"p95": 0.007720704078674316, | |
"p99": 0.007998145651817322, | |
"values": [ | |
0.007972832202911378, | |
0.007795648097991943, | |
0.007886847972869874, | |
0.008011775970458984, | |
0.0077506561279296875, | |
0.0076267518997192385, | |
0.007618559837341309, | |
0.00758784008026123, | |
0.007557119846343994, | |
0.007581696033477783, | |
0.007631872177124023, | |
0.007560192108154297, | |
0.00753868818283081, | |
0.007528448104858398, | |
0.00753766393661499, | |
0.007543807983398438, | |
0.007622655868530274, | |
0.007659520149230957, | |
0.00765337610244751, | |
0.007543839931488037, | |
0.0076902399063110355, | |
0.007677951812744141, | |
0.007646207809448242, | |
0.00766048002243042, | |
0.007648255825042725, | |
0.0076574721336364745, | |
0.007585855960845947, | |
0.007591936111450195, | |
0.007688223838806152, | |
0.007670815944671631, | |
0.0076277761459350585, | |
0.007519231796264648, | |
0.007482367992401123, | |
0.007568384170532226, | |
0.00724070405960083, | |
0.0072325119972229, | |
0.007236608028411865, | |
0.00723967981338501, | |
0.007274496078491211, | |
0.007318528175354004, | |
0.007378943920135498, | |
0.007288832187652588, | |
0.007333888053894043, | |
0.007285759925842285, | |
0.007236608028411865, | |
0.007511040210723877, | |
0.007710720062255859, | |
0.00729702377319336, | |
0.007236608028411865, | |
0.007302144050598145, | |
0.007296000003814697, | |
0.0072724480628967286, | |
0.007226367950439453, | |
0.007217152118682861, | |
0.007269375801086426, | |
0.007361536026000977, | |
0.007195648193359375, | |
0.007231488227844239, | |
0.00722438383102417, | |
0.007218175888061523, | |
0.007195648193359375, | |
0.007262207984924316, | |
0.0072724480628967286, | |
0.007314432144165039, | |
0.007370751857757568, | |
0.007307263851165771, | |
0.007286784172058106, | |
0.007328767776489258, | |
0.007448575973510742, | |
0.007383039951324463, | |
0.0072427520751953125, | |
0.007187456130981445, | |
0.007284736156463623, | |
0.007216127872467041, | |
0.007186431884765625, | |
0.007074816226959229, | |
0.007023615837097168, | |
0.007181312084197998, | |
0.007130112171173096, | |
0.006871039867401123, | |
0.006881279945373535, | |
0.006841375827789307, | |
0.007068672180175781, | |
0.007532544136047363, | |
0.007550975799560547, | |
0.007574528217315674, | |
0.008083423614501954, | |
0.007769087791442871, | |
0.007511007785797119, | |
0.007229440212249756, | |
0.007520224094390869, | |
0.007264256000518799, | |
0.007328767776489258, | |
0.007204864025115967, | |
0.007116799831390381, | |
0.0070594558715820314, | |
0.007077888011932373, | |
0.007096320152282715, | |
0.007126016139984131, | |
0.007066624164581299, | |
0.007145472049713135, | |
0.007245823860168457, | |
0.00727347183227539, | |
0.007126016139984131, | |
0.007102464199066162, | |
0.0075632638931274416, | |
0.007245823860168457, | |
0.007120895862579346, | |
0.007170048236846924, | |
0.007102464199066162, | |
0.007039999961853028, | |
0.007121920108795166, | |
0.0071526398658752445, | |
0.007214079856872559, | |
0.0070563840866088865, | |
0.007164927959442138, | |
0.007132160186767578, | |
0.007020544052124023, | |
0.007054336071014404, | |
0.007073791980743408, | |
0.007048192024230957, | |
0.007097343921661377, | |
0.0071198720932006835, | |
0.007015423774719238, | |
0.007070720195770264, | |
0.007155648231506348, | |
0.007046144008636474, | |
0.007011328220367432, | |
0.007063551902770996, | |
0.00709222412109375, | |
0.007060480117797851, | |
0.007061503887176514, | |
0.007027711868286133, | |
0.007023615837097168, | |
0.007160831928253173, | |
0.007057407855987549 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.50889633534808 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.15325800085613e-08, | |
"ram": 4.457701542588295e-08, | |
"gpu": 1.637786698356165e-07, | |
"total": 2.898882652700607e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3449604.9678602796 | |
} | |
} | |
} | |
} |