IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b7717a4
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.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.88576, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3617136535644531 | |
], | |
"count": 1, | |
"total": 0.3617136535644531, | |
"mean": 0.3617136535644531, | |
"p50": 0.3617136535644531, | |
"p90": 0.3617136535644531, | |
"p95": 0.3617136535644531, | |
"p99": 0.3617136535644531, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.956961268472263e-05, | |
"ram": 5.454909572520013e-05, | |
"gpu": 0.000130230937518001, | |
"total": 0.00028434964592792376 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1124.089856, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007478271961212158, | |
0.007186431884765625, | |
0.007172095775604248, | |
0.0071792640686035155, | |
0.007172095775604248, | |
0.007217184066772461, | |
0.007269375801086426, | |
0.007336959838867187, | |
0.007308288097381592, | |
0.00724889612197876, | |
0.007287807941436767, | |
0.007233535766601563, | |
0.00724070405960083, | |
0.007216127872467041, | |
0.007255040168762207, | |
0.007200831890106201, | |
0.0072120318412780765, | |
0.0072540159225463864, | |
0.007156735897064209, | |
0.007132160186767578, | |
0.007189472198486328, | |
0.007185344219207764, | |
0.00709939193725586, | |
0.0071146240234375, | |
0.007667712211608887, | |
0.007542784214019775, | |
0.007366591930389404, | |
0.007533376216888428, | |
0.007443359851837158, | |
0.007151519775390625, | |
0.0071905279159545895, | |
0.007154687881469727, | |
0.007137311935424805, | |
0.007200767993927002, | |
0.007203839778900147, | |
0.007234560012817383, | |
0.007472127914428711, | |
0.007229599952697754, | |
0.008572928428649903, | |
0.0077281599044799806, | |
0.008956928253173829, | |
0.008720383644104004, | |
0.008018943786621094, | |
0.00764518404006958, | |
0.007570432186126709, | |
0.0074967041015625, | |
0.00749567985534668, | |
0.007484416007995606, | |
0.007890944004058837, | |
0.007395328044891358, | |
0.0071916160583496095, | |
0.007156735897064209, | |
0.007280640125274658, | |
0.007401472091674805, | |
0.007445504188537597, | |
0.0074403839111328125, | |
0.00744755220413208, | |
0.007478271961212158, | |
0.007580671787261963, | |
0.00744755220413208, | |
0.007329631805419922, | |
0.007320576190948487, | |
0.0071905279159545895, | |
0.007160831928253173, | |
0.007172128200531006, | |
0.00719155216217041, | |
0.00719155216217041, | |
0.007225344181060791, | |
0.007126016139984131, | |
0.007278624057769775, | |
0.007070720195770264, | |
0.007073791980743408, | |
0.007054336071014404, | |
0.007061503887176514, | |
0.0070677118301391605, | |
0.007222271919250488, | |
0.007090176105499267, | |
0.007048223972320557, | |
0.007055424213409424, | |
0.007053311824798584, | |
0.007054336071014404, | |
0.007028736114501953, | |
0.007068672180175781, | |
0.007202816009521484, | |
0.007233535766601563, | |
0.007065599918365479, | |
0.007058432102203369, | |
0.007063519954681396, | |
0.007054336071014404, | |
0.007069695949554444, | |
0.007036928176879883, | |
0.007040095806121826, | |
0.007064576148986816, | |
0.007063712120056152, | |
0.00709119987487793, | |
0.00714035177230835, | |
0.007077919960021973, | |
0.007074816226959229, | |
0.007198719978332519, | |
0.007058303833007812, | |
0.0071207361221313475, | |
0.00711356782913208, | |
0.007173120021820068, | |
0.007134208202362061, | |
0.007101439952850342, | |
0.007102464199066162, | |
0.0071485438346862796, | |
0.007131135940551757, | |
0.007047167778015137, | |
0.007109632015228271, | |
0.007186431884765625, | |
0.007079936027526855, | |
0.007121920108795166, | |
0.007121920108795166, | |
0.0071198720932006835, | |
0.007284736156463623, | |
0.007353343963623047, | |
0.007223296165466309, | |
0.007130112171173096, | |
0.007114751815795899, | |
0.007048192024230957, | |
0.00707583999633789, | |
0.007159808158874512, | |
0.007269375801086426, | |
0.007064576148986816, | |
0.007051296234130859, | |
0.007138336181640625, | |
0.00707689619064331, | |
0.007689087867736816, | |
0.008005632400512695, | |
0.00821452808380127, | |
0.007589888095855713, | |
0.007049215793609619, | |
0.007079936027526855, | |
0.007082943916320801, | |
0.007136256217956543, | |
0.0071188478469848635 | |
], | |
"count": 137, | |
"total": 0.9962214417457581, | |
"mean": 0.007271689355808453, | |
"p50": 0.007185344219207764, | |
"p90": 0.007553843402862549, | |
"p95": 0.00776071672439575, | |
"p99": 0.008667299766540525, | |
"stdev": 0.00030624075710193295, | |
"stdev_": 4.211411435739002 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 275.0392518352627 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.761856493053854e-08, | |
"ram": 4.787784813501328e-08, | |
"gpu": 2.0546585064707632e-07, | |
"total": 3.4096226371262804e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 5865751.764499231 | |
} | |
} | |
} | |
} |