
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bfc9527
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"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": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 951.549952, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 0.9964777631759643, | |
"mean": 0.005415640017260677, | |
"stdev": 0.00017514971065414175, | |
"p50": 0.005367295980453491, | |
"p90": 0.0056045567989349366, | |
"p95": 0.005684684729576111, | |
"p99": 0.006053294076919556, | |
"values": [ | |
0.00607539176940918, | |
0.0055623679161071774, | |
0.005636096000671387, | |
0.005639167785644531, | |
0.005570559978485107, | |
0.0056258559226989744, | |
0.006621183872222901, | |
0.005846015930175781, | |
0.005736447811126709, | |
0.006048768043518066, | |
0.005606400012969971, | |
0.0057118721008300784, | |
0.005665791988372803, | |
0.005537792205810547, | |
0.005475327968597412, | |
0.005476352214813233, | |
0.005582848072052002, | |
0.005609439849853516, | |
0.005669888019561768, | |
0.005687295913696289, | |
0.005488639831542969, | |
0.005468160152435303, | |
0.005399551868438721, | |
0.005369855880737305, | |
0.005485568046569824, | |
0.005481472015380859, | |
0.005476352214813233, | |
0.005504000186920166, | |
0.005459968090057373, | |
0.005434368133544922, | |
0.005408768177032471, | |
0.005420032024383545, | |
0.005477375984191894, | |
0.005440512180328369, | |
0.005325823783874512, | |
0.005502975940704345, | |
0.0053136000633239745, | |
0.005375999927520752, | |
0.005412799835205078, | |
0.005292064189910889, | |
0.005534719944000244, | |
0.00541593599319458, | |
0.005484543800354004, | |
0.005565440177917481, | |
0.005482495784759522, | |
0.005519360065460205, | |
0.005511168003082275, | |
0.00537395191192627, | |
0.0053678078651428224, | |
0.005408768177032471, | |
0.005479423999786377, | |
0.005468160152435303, | |
0.005429247856140137, | |
0.005442560195922852, | |
0.005339136123657226, | |
0.00532480001449585, | |
0.005463007926940918, | |
0.00536678409576416, | |
0.00553984022140503, | |
0.00551526403427124, | |
0.005315584182739258, | |
0.005354496002197265, | |
0.0054282240867614745, | |
0.005372928142547607, | |
0.005355616092681884, | |
0.005400608062744141, | |
0.005386240005493164, | |
0.005368768215179443, | |
0.005470240116119384, | |
0.005499904155731201, | |
0.005529600143432617, | |
0.005495776176452636, | |
0.005497824192047119, | |
0.005475327968597412, | |
0.005429247856140137, | |
0.005594111919403076, | |
0.005434368133544922, | |
0.005485568046569824, | |
0.005467135906219483, | |
0.00530944013595581, | |
0.0052070398330688475, | |
0.005970943927764893, | |
0.00532480001449585, | |
0.005379072189331055, | |
0.005245952129364013, | |
0.005061632156372071, | |
0.005053440093994141, | |
0.0050728960037231445, | |
0.005078015804290771, | |
0.0051036162376403805, | |
0.0050811200141906735, | |
0.005600255966186523, | |
0.005545983791351319, | |
0.005627903938293457, | |
0.0056431999206542965, | |
0.005780479907989502, | |
0.005723135948181152, | |
0.005484543800354004, | |
0.005368832111358642, | |
0.00530841588973999, | |
0.005536736011505127, | |
0.0053637118339538575, | |
0.005280767917633057, | |
0.005307392120361328, | |
0.005346303939819336, | |
0.005310463905334473, | |
0.005315584182739258, | |
0.005380032062530518, | |
0.005303296089172363, | |
0.00530841588973999, | |
0.005351424217224121, | |
0.005322751998901368, | |
0.005342207908630371, | |
0.005352447986602784, | |
0.005327871799468994, | |
0.005336063861846924, | |
0.005305344104766845, | |
0.005287936210632324, | |
0.00532480001449585, | |
0.00532480001449585, | |
0.005291007995605469, | |
0.0053309440612792965, | |
0.005345280170440674, | |
0.00541593599319458, | |
0.005344255924224854, | |
0.0052971520423889164, | |
0.005318655967712403, | |
0.005362688064575195, | |
0.005347328186035156, | |
0.0053043198585510255, | |
0.005320703983306885, | |
0.005314559936523438, | |
0.005472256183624268, | |
0.005369855880737305, | |
0.0053350400924682614, | |
0.005337088108062744, | |
0.005378047943115235, | |
0.005349376201629639, | |
0.005329855918884277, | |
0.005350399971008301, | |
0.005321728229522705, | |
0.00536575984954834, | |
0.005327871799468994, | |
0.005370880126953125, | |
0.00530944013595581, | |
0.005336063861846924, | |
0.005291007995605469, | |
0.0053309440612792965, | |
0.005343232154846191, | |
0.0053043198585510255, | |
0.005321728229522705, | |
0.00532480001449585, | |
0.0053155522346496585, | |
0.005294079780578613, | |
0.005345280170440674, | |
0.0053309440612792965, | |
0.005332992076873779, | |
0.0053678078651428224, | |
0.005332992076873779, | |
0.005321728229522705, | |
0.005371903896331787, | |
0.005298175811767578, | |
0.005326848030090332, | |
0.005351424217224121, | |
0.005309408187866211, | |
0.00531763219833374, | |
0.005331967830657959, | |
0.005311488151550293, | |
0.005321728229522705, | |
0.00531763219833374, | |
0.005299200057983398, | |
0.0054271998405456545, | |
0.005370912075042725, | |
0.0053053760528564455, | |
0.005407743930816651, | |
0.005359615802764893, | |
0.005286911964416504, | |
0.0053637118339538575, | |
0.005319680213928223, | |
0.005291007995605469, | |
0.005291007995605469, | |
0.00530841588973999, | |
0.005336063861846924, | |
0.005332992076873779 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.6503823763783 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.255956159697639e-08, | |
"ram": 3.420071556990335e-08, | |
"gpu": 1.2662875627368445e-07, | |
"total": 2.2338903344056423e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4476495.486812086 | |
} | |
} | |
} | |
} |