IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d0c1148
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "6", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 1107.456, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 42175.377408, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.024931640625, | |
"mean": 8.024931640625, | |
"stdev": 0.0, | |
"p50": 8.024931640625, | |
"p90": 8.024931640625, | |
"p95": 8.024931640625, | |
"p99": 8.024931640625, | |
"values": [ | |
8.024931640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1191.849984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 92273.422336, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9960543956756586, | |
"mean": 0.007165858961695391, | |
"stdev": 0.0003396772155584165, | |
"p50": 0.0070004968643188475, | |
"p90": 0.0077257460594177246, | |
"p95": 0.00782403497695923, | |
"p99": 0.008398676223754885, | |
"values": [ | |
0.007711857795715332, | |
0.007800339221954345, | |
0.007839698791503907, | |
0.007798099040985108, | |
0.007693298816680908, | |
0.007464978218078613, | |
0.0074987378120422365, | |
0.007430898189544678, | |
0.00744065809249878, | |
0.007278897762298584, | |
0.0073772969245910645, | |
0.0073281779289245605, | |
0.0072283377647399906, | |
0.007319376945495605, | |
0.007224818229675293, | |
0.007181777000427246, | |
0.007189137935638428, | |
0.007119057178497315, | |
0.007228656768798828, | |
0.00715729808807373, | |
0.007212497234344482, | |
0.007150416851043701, | |
0.0071142578125, | |
0.007187376976013184, | |
0.007083537101745606, | |
0.007162897109985351, | |
0.007246417045593262, | |
0.007137136936187744, | |
0.0072694578170776365, | |
0.0073136181831359864, | |
0.007246897220611572, | |
0.007213778018951416, | |
0.007323057174682617, | |
0.007160337924957275, | |
0.0071406569480895994, | |
0.007111056804656983, | |
0.00857378101348877, | |
0.00876322078704834, | |
0.006909296989440918, | |
0.006874256134033203, | |
0.006837615966796875, | |
0.0068795371055603025, | |
0.006857456207275391, | |
0.006874096870422363, | |
0.006865777015686035, | |
0.006858255863189697, | |
0.006852656841278076, | |
0.006860496044158936, | |
0.007164657115936279, | |
0.0069120159149169925, | |
0.0068812971115112306, | |
0.006892816066741943, | |
0.006885136127471924, | |
0.006893776893615723, | |
0.006927696228027344, | |
0.006921136856079101, | |
0.00694577693939209, | |
0.006947856903076172, | |
0.006993617057800293, | |
0.006965136051177979, | |
0.006939696788787842, | |
0.006964177131652832, | |
0.007142736911773682, | |
0.00711281681060791, | |
0.0070128169059753415, | |
0.0070004968643188475, | |
0.007021137237548828, | |
0.007004497051239014, | |
0.006984976768493653, | |
0.006997616767883301, | |
0.007031857013702392, | |
0.006985297203063965, | |
0.006974736213684082, | |
0.006985136032104492, | |
0.00697249698638916, | |
0.006978897094726563, | |
0.0069809770584106446, | |
0.006963216781616211, | |
0.00728145694732666, | |
0.006986257076263428, | |
0.0070004968643188475, | |
0.006993456840515137, | |
0.006968017101287842, | |
0.006970897197723389, | |
0.0069977760314941405, | |
0.006971216201782227, | |
0.00697249698638916, | |
0.0069883370399475096, | |
0.0069625768661499025, | |
0.0069480171203613285, | |
0.007262736797332764, | |
0.0069601769447326664, | |
0.007009457111358643, | |
0.006988976955413818, | |
0.00700689697265625, | |
0.006946415901184082, | |
0.006943857192993164, | |
0.006953136920928955, | |
0.006960977077484131, | |
0.006980816841125489, | |
0.006955215930938721, | |
0.006945937156677246, | |
0.006940816879272461, | |
0.0069496169090271, | |
0.006984817028045654, | |
0.006950897216796875, | |
0.006952335834503174, | |
0.006935535907745361, | |
0.006928816795349121, | |
0.006930417060852051, | |
0.006960017204284668, | |
0.006972655773162841, | |
0.007657458782196045, | |
0.008056658744812012, | |
0.007823698997497559, | |
0.007846899032592773, | |
0.007694899082183838, | |
0.007168016910552979, | |
0.0072995381355285644, | |
0.0073044967651367185, | |
0.007311378002166748, | |
0.0072908978462219234, | |
0.007815857887268067, | |
0.00782145881652832, | |
0.007827058792114257, | |
0.007806579113006592, | |
0.0077812991142272945, | |
0.0081129789352417, | |
0.007400337219238281, | |
0.007133137226104736, | |
0.006958576202392578, | |
0.006937616825103759, | |
0.006912177085876465, | |
0.0071283369064331055, | |
0.006999536991119385, | |
0.006946577072143555, | |
0.006907535076141357, | |
0.006915377140045166, | |
0.006958736896514893 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.55061149618373 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |