
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2055ff9
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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-211.872.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 853.241856, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.67898193359375, | |
"mean": 7.67898193359375, | |
"stdev": 0.0, | |
"p50": 7.67898193359375, | |
"p90": 7.67898193359375, | |
"p95": 7.67898193359375, | |
"p99": 7.67898193359375, | |
"values": [ | |
7.67898193359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.284321087500192e-06, | |
"ram": 2.3323789080975444e-06, | |
"gpu": 6.574727482000064e-06, | |
"total": 1.31914274775978e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.636672, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0012661104202267, | |
"mean": 0.007308511754892167, | |
"stdev": 0.00033525798112630676, | |
"p50": 0.007303167819976806, | |
"p90": 0.007649075126647949, | |
"p95": 0.007799808120727539, | |
"p99": 0.008362762107849121, | |
"values": [ | |
0.007706624031066894, | |
0.007828479766845703, | |
0.007726079940795898, | |
0.007792640209197998, | |
0.008212479591369629, | |
0.007706624031066894, | |
0.008179712295532226, | |
0.007692255973815918, | |
0.007488512039184571, | |
0.0075642881393432615, | |
0.007521279811859131, | |
0.007577600002288819, | |
0.0074670081138610836, | |
0.0074065918922424315, | |
0.00745472002029419, | |
0.007452703952789306, | |
0.007641088008880615, | |
0.007670783996582031, | |
0.007646207809448242, | |
0.007633920192718506, | |
0.00753868818283081, | |
0.007488512039184571, | |
0.00754585599899292, | |
0.00765337610244751, | |
0.007588863849639893, | |
0.007592959880828858, | |
0.007609344005584716, | |
0.007569407939910889, | |
0.007506944179534912, | |
0.00760319995880127, | |
0.007600128173828125, | |
0.007544832229614258, | |
0.007324672222137451, | |
0.007291935920715332, | |
0.007282688140869141, | |
0.007320576190948487, | |
0.007310336112976074, | |
0.007368735790252686, | |
0.007266304016113281, | |
0.007401472091674805, | |
0.0074629120826721195, | |
0.00744652795791626, | |
0.007435264110565186, | |
0.007268352031707764, | |
0.007293951988220215, | |
0.007207935810089112, | |
0.007265279769897461, | |
0.0074414081573486324, | |
0.007366720199584961, | |
0.00740556812286377, | |
0.007398399829864502, | |
0.007110655784606934, | |
0.007175168037414551, | |
0.007351295948028564, | |
0.007355391979217529, | |
0.007354368209838867, | |
0.007233535766601563, | |
0.007202816009521484, | |
0.007387135982513428, | |
0.007267327785491944, | |
0.0073400321006774905, | |
0.007311359882354736, | |
0.007208960056304932, | |
0.007303167819976806, | |
0.007337984085083008, | |
0.007387135982513428, | |
0.0072837119102478025, | |
0.007269375801086426, | |
0.007428095817565918, | |
0.007229440212249756, | |
0.007363584041595459, | |
0.0073431038856506346, | |
0.0071823358535766605, | |
0.007364607810974121, | |
0.007157760143280029, | |
0.007201791763305664, | |
0.007238656044006348, | |
0.007090176105499267, | |
0.00754585599899292, | |
0.0074711041450500485, | |
0.007158783912658692, | |
0.007036928176879883, | |
0.007157760143280029, | |
0.007546879768371582, | |
0.007434239864349365, | |
0.007473152160644531, | |
0.0076267518997192385, | |
0.007596000194549561, | |
0.007966720104217529, | |
0.00870911979675293, | |
0.008324095726013184, | |
0.008384511947631837, | |
0.0072037758827209475, | |
0.007122943878173828, | |
0.007048192024230957, | |
0.007024640083312988, | |
0.006919167995452881, | |
0.007012351989746094, | |
0.006973440170288086, | |
0.0070256638526916505, | |
0.0069324798583984375, | |
0.006972415924072266, | |
0.006941696166992187, | |
0.0069498238563537595, | |
0.006904831886291504, | |
0.007308288097381592, | |
0.006944767951965332, | |
0.006937568187713623, | |
0.0069212160110473635, | |
0.006919167995452881, | |
0.006924287796020508, | |
0.006914048194885254, | |
0.006882304191589355, | |
0.006917119979858399, | |
0.006892543792724609, | |
0.006920191764831543, | |
0.006923232078552246, | |
0.00724070405960083, | |
0.007219200134277344, | |
0.007070720195770264, | |
0.006924287796020508, | |
0.006894591808319092, | |
0.006930431842803955, | |
0.006920191764831543, | |
0.006914048194885254, | |
0.006915071964263916, | |
0.006912032127380371, | |
0.0069324798583984375, | |
0.006903808116912841, | |
0.006951935768127441, | |
0.006889472007751465, | |
0.0069283838272094726, | |
0.006936575889587402, | |
0.006896639823913574, | |
0.006920191764831543, | |
0.006916096210479736, | |
0.006931456089019775 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.82676221059924 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.213139435344289e-08, | |
"ram": 4.4879239241324916e-08, | |
"gpu": 1.7322619222068726e-07, | |
"total": 3.002368258154551e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3330704.011021834 | |
} | |
} | |
} | |
} |