
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0f1e462
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": 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": "error", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "40484fbc84921b66f5da6e6dc8e14a8bfa42b562", | |
"transformers_version": "4.40.2", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.42752, | |
"max_global_vram": 520.318976, | |
"max_process_vram": 112698.875904, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 168, | |
"total": 0.9986654028892514, | |
"mean": 0.005944436921959831, | |
"stdev": 0.00024067217660385642, | |
"p50": 0.005852044105529785, | |
"p90": 0.0062108420372009275, | |
"p95": 0.006359072828292847, | |
"p99": 0.006622225670814515, | |
"values": [ | |
0.006239962100982666, | |
0.00595900297164917, | |
0.00610524320602417, | |
0.005993243217468262, | |
0.005975963115692139, | |
0.006024763107299804, | |
0.006154041767120361, | |
0.006114841938018799, | |
0.006123482227325439, | |
0.006334840774536133, | |
0.006065883159637451, | |
0.006058682918548584, | |
0.006025083065032959, | |
0.0060094032287597654, | |
0.0059460439682006835, | |
0.005907003879547119, | |
0.005878843784332275, | |
0.00588012409210205, | |
0.0058535637855529786, | |
0.005831805229187012, | |
0.0058628439903259276, | |
0.005845085144042968, | |
0.005855964183807373, | |
0.005857244014739991, | |
0.005861083984375, | |
0.005850364208221435, | |
0.0058609237670898436, | |
0.005839804172515869, | |
0.00585068416595459, | |
0.005851963996887207, | |
0.005859164237976075, | |
0.005865724086761475, | |
0.005870364189147949, | |
0.005867323875427246, | |
0.005892444133758545, | |
0.005924763202667237, | |
0.00593036413192749, | |
0.005933563232421875, | |
0.005935644149780274, | |
0.005958364009857177, | |
0.005936762809753418, | |
0.0059343638420104984, | |
0.0059314827919006346, | |
0.005949563980102539, | |
0.005895324230194092, | |
0.005913884162902832, | |
0.005937563896179199, | |
0.005965242862701416, | |
0.0060545229911804195, | |
0.00603820276260376, | |
0.006096922874450684, | |
0.006109402179718017, | |
0.007839312076568603, | |
0.006095322132110595, | |
0.005820765018463135, | |
0.005839805126190186, | |
0.005853724956512451, | |
0.005815485000610352, | |
0.0058039650917053225, | |
0.0057754840850830075, | |
0.005813724040985108, | |
0.005833883762359619, | |
0.005789245128631592, | |
0.005802205085754394, | |
0.005757083892822265, | |
0.005739484786987305, | |
0.005801884174346924, | |
0.005806364059448242, | |
0.0058111648559570316, | |
0.005845084190368653, | |
0.005852124214172363, | |
0.005832764148712158, | |
0.005836123943328857, | |
0.005809885025024414, | |
0.005797884941101074, | |
0.005829723834991455, | |
0.005780923843383789, | |
0.005746524810791015, | |
0.006025403022766113, | |
0.005829724788665771, | |
0.005807805061340332, | |
0.005803164005279541, | |
0.005800124168395996, | |
0.005767165184020996, | |
0.005780923843383789, | |
0.005810204029083252, | |
0.005821403980255127, | |
0.005781724929809571, | |
0.005784124851226807, | |
0.005817083835601806, | |
0.00583052396774292, | |
0.005842683792114257, | |
0.005755965232849121, | |
0.005723965167999267, | |
0.005842363834381104, | |
0.005818365097045898, | |
0.00588620376586914, | |
0.005836443901062012, | |
0.005869723796844482, | |
0.005834524154663086, | |
0.005839323997497559, | |
0.005833883762359619, | |
0.005843803882598877, | |
0.0058745241165161135, | |
0.005740603923797607, | |
0.005866683959960937, | |
0.005844923973083496, | |
0.00577084493637085, | |
0.005727964878082276, | |
0.005743325233459473, | |
0.005749564170837402, | |
0.005809245109558106, | |
0.005790524959564209, | |
0.005786684036254883, | |
0.005810524940490723, | |
0.005815165042877197, | |
0.0057814040184021, | |
0.005784763813018799, | |
0.005788444995880127, | |
0.005816123962402344, | |
0.0058084440231323245, | |
0.005790043830871582, | |
0.0058065252304077145, | |
0.0058449249267578125, | |
0.005855484962463379, | |
0.00586540412902832, | |
0.00584956407546997, | |
0.005815323829650879, | |
0.0057874851226806644, | |
0.005767323970794678, | |
0.005797403812408447, | |
0.005840283870697021, | |
0.005851324081420898, | |
0.005842844009399414, | |
0.005866203784942627, | |
0.00637212085723877, | |
0.006576919078826905, | |
0.0065102000236511234, | |
0.006438200950622559, | |
0.0061561231613159175, | |
0.006222042083740234, | |
0.006098042964935302, | |
0.006258202075958252, | |
0.006083803176879883, | |
0.006649240016937256, | |
0.006608920097351074, | |
0.0065572400093078615, | |
0.006515639781951904, | |
0.006110043048858643, | |
0.00620316219329834, | |
0.006129403114318848, | |
0.006210361957550049, | |
0.0062522821426391605, | |
0.006120923042297363, | |
0.006329401016235352, | |
0.006197721958160401, | |
0.006249240875244141, | |
0.006145242214202881, | |
0.006151641845703125, | |
0.0062119622230529786, | |
0.0058910040855407715, | |
0.005840445041656494, | |
0.005825085163116455, | |
0.0058372440338134764, | |
0.005844762802124023, | |
0.005840124130249024, | |
0.005804443836212158, | |
0.005799004077911377 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 168.2245119476023 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |