
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
86eeced
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 890.032128, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.37030194091796875 | |
], | |
"count": 1, | |
"total": 0.37030194091796875, | |
"mean": 0.37030194091796875, | |
"p50": 0.37030194091796875, | |
"p90": 0.37030194091796875, | |
"p95": 0.37030194091796875, | |
"p99": 0.37030194091796875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010986039000486061, | |
"ram": 6.019257521989005e-05, | |
"gpu": 0.00014163927997800003, | |
"total": 0.0003116922452027507 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1133.1584, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007618559837341309, | |
0.007365632057189942, | |
0.007392255783081054, | |
0.007390207767486572, | |
0.007379007816314697, | |
0.0073768959045410155, | |
0.00757862377166748, | |
0.007428095817565918, | |
0.007475200176239013, | |
0.007463935852050781, | |
0.0074741759300231934, | |
0.00745472002029419, | |
0.0075642881393432615, | |
0.007401472091674805, | |
0.007331840038299561, | |
0.007318528175354004, | |
0.0074301438331604, | |
0.007439295768737793, | |
0.007426047801971435, | |
0.007407616138458252, | |
0.007415808200836181, | |
0.007336959838867187, | |
0.007269311904907227, | |
0.007181312084197998, | |
0.007168992042541504, | |
0.007172095775604248, | |
0.007161856174468994, | |
0.007209983825683594, | |
0.007277567863464355, | |
0.007112703800201416, | |
0.007112736225128174, | |
0.007150591850280762, | |
0.007158783912658692, | |
0.007134208202362061, | |
0.007185408115386963, | |
0.007123968124389648, | |
0.00739737606048584, | |
0.007386112213134765, | |
0.007437248229980469, | |
0.007516160011291504, | |
0.007516160011291504, | |
0.007497727870941162, | |
0.007491583824157715, | |
0.0072427520751953125, | |
0.0071188478469848635, | |
0.007193600177764893, | |
0.00719865608215332, | |
0.007134208202362061, | |
0.007201791763305664, | |
0.007122943878173828, | |
0.007103487968444824, | |
0.007054336071014404, | |
0.006905856132507324, | |
0.006974495887756347, | |
0.007198719978332519, | |
0.007193600177764893, | |
0.007017471790313721, | |
0.00707583999633789, | |
0.007090176105499267, | |
0.007062528133392334, | |
0.007341055870056152, | |
0.007363584041595459, | |
0.00738918399810791, | |
0.007701504230499268, | |
0.007493631839752197, | |
0.007363584041595459, | |
0.0073062400817871095, | |
0.007303167819976806, | |
0.007104512214660645, | |
0.007050240039825439, | |
0.007021567821502686, | |
0.007819263935089112, | |
0.007208960056304932, | |
0.007130112171173096, | |
0.007158783912658692, | |
0.007072768211364746, | |
0.00709222412109375, | |
0.007150591850280762, | |
0.007135231971740722, | |
0.007145472049713135, | |
0.007077888011932373, | |
0.007110655784606934, | |
0.00728166389465332, | |
0.007473152160644531, | |
0.007269375801086426, | |
0.0070891518592834475, | |
0.007102464199066162, | |
0.007110655784606934, | |
0.007085055828094483, | |
0.007095295906066895, | |
0.0070225920677185055, | |
0.007094272136688232, | |
0.007080992221832275, | |
0.007083040237426758, | |
0.007069695949554444, | |
0.007579648017883301, | |
0.007156735897064209, | |
0.00709939193725586, | |
0.0070860800743103025, | |
0.007047167778015137, | |
0.007086048126220703, | |
0.007109568119049072, | |
0.007216127872467041, | |
0.007231488227844239, | |
0.007097343921661377, | |
0.007087103843688965, | |
0.007106560230255127, | |
0.007081984043121338, | |
0.007072768211364746, | |
0.007065599918365479, | |
0.007078911781311035, | |
0.007063551902770996, | |
0.007096320152282715, | |
0.007063551902770996, | |
0.007078911781311035, | |
0.00710041618347168, | |
0.007094272136688232, | |
0.007076863765716553, | |
0.006960127830505371, | |
0.007018496036529541, | |
0.0069928960800170895, | |
0.007032832145690918, | |
0.0071485438346862796, | |
0.006996992111206054, | |
0.00710041618347168, | |
0.007088128089904785, | |
0.00714137601852417, | |
0.007105535984039306, | |
0.007127039909362793, | |
0.007146495819091797, | |
0.0070891518592834475, | |
0.0070553598403930665, | |
0.00709939193725586, | |
0.007065599918365479, | |
0.006987775802612305, | |
0.006961152076721191, | |
0.007098368167877197, | |
0.007081984043121338, | |
0.007076863765716553 | |
], | |
"count": 139, | |
"total": 1.0015690865516664, | |
"mean": 0.007205532996774577, | |
"p50": 0.007134208202362061, | |
"p90": 0.007465779113769531, | |
"p95": 0.007516160011291504, | |
"p99": 0.007669985361099244, | |
"stdev": 0.000173289965066244, | |
"stdev_": 2.4049569288464023 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 277.5644773114304 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.309056184925815e-08, | |
"ram": 4.54043745724843e-08, | |
"gpu": 1.969581995244744e-07, | |
"total": 3.2545313594621684e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6145278.011180425 | |
} | |
} | |
} | |
} |