IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
80f3eb6 verified
raw
history blame
11.4 kB
{
"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",
"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": 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": "2db7e171d23768cdeb341987283e17e0b2db9bd9",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1821.978624,
"max_global_vram": 1521.627136,
"max_process_vram": 111955.787776,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.9974733152389528,
"mean": 0.006195486430055606,
"stdev": 0.00026376177023438376,
"p50": 0.006182732105255127,
"p90": 0.0065147318840026855,
"p95": 0.006627532005310058,
"p99": 0.006722540473937989,
"values": [
0.007652653217315674,
0.006722733020782471,
0.006537930965423584,
0.00632177209854126,
0.0065851321220397946,
0.006345130920410156,
0.0063153719902038575,
0.0062886509895324705,
0.006185451030731201,
0.006182732105255127,
0.006307051181793213,
0.006432812213897705,
0.006344651222229004,
0.0060592107772827145,
0.006310892105102539,
0.006378090858459472,
0.00645393180847168,
0.006363370895385742,
0.006091530799865723,
0.006389932155609131,
0.006362252235412598,
0.006060010910034179,
0.00619857120513916,
0.005960491180419922,
0.005954569816589356,
0.005939371109008789,
0.005979691028594971,
0.005945291042327881,
0.0062006511688232424,
0.0059540910720825195,
0.00612273120880127,
0.0060115308761596676,
0.0059467310905456545,
0.00610305118560791,
0.005992011070251465,
0.006244330883026123,
0.006339371204376221,
0.00623665189743042,
0.006242890834808349,
0.006240490913391113,
0.006471691131591797,
0.006209611892700195,
0.006221291065216065,
0.006230731010437012,
0.006477292060852051,
0.006407371997833252,
0.006319691181182861,
0.006108490943908691,
0.006282890796661377,
0.006658731937408447,
0.006519690990447998,
0.0065147318840026855,
0.00633649206161499,
0.006459051132202148,
0.00639761209487915,
0.006288331031799316,
0.006438571929931641,
0.006371531963348389,
0.006361610889434814,
0.006442411899566651,
0.006241130828857422,
0.006467371940612793,
0.0064446511268615725,
0.006685451984405517,
0.00638369083404541,
0.006679691791534424,
0.006318572044372558,
0.006418731212615967,
0.00632785177230835,
0.006343370914459229,
0.006500492095947266,
0.006368971824645996,
0.006500330924987793,
0.0060889701843261715,
0.006206891059875488,
0.006117771148681641,
0.006362730979919433,
0.006134891986846924,
0.006239370822906494,
0.00631873083114624,
0.005925771236419678,
0.006124170780181884,
0.005853450775146484,
0.00591664981842041,
0.00587520980834961,
0.00589841079711914,
0.005886730194091797,
0.006069769859313965,
0.006234090805053711,
0.005872809886932373,
0.005874569892883301,
0.005882411003112793,
0.005853769779205323,
0.006051691055297852,
0.005888491153717041,
0.005897450923919678,
0.00615937089920044,
0.006112491130828858,
0.006036490917205811,
0.005901610851287842,
0.005915050029754639,
0.0058880109786987305,
0.006103850841522217,
0.0058812909126281735,
0.006051530838012695,
0.005907371044158936,
0.005897610187530517,
0.005900331020355224,
0.006060010910034179,
0.0058452911376953125,
0.006152650833129883,
0.005931849956512451,
0.0059108901023864745,
0.0058977708816528324,
0.0058721709251403804,
0.006121931076049805,
0.006016971111297608,
0.006454891204833985,
0.006722412109375,
0.006678732872009277,
0.006591851234436035,
0.0064286508560180665,
0.006303371906280518,
0.006392490863800049,
0.006613131999969483,
0.006615372180938721,
0.006648491859436035,
0.006627532005310058,
0.00657665205001831,
0.0061339311599731446,
0.006189610958099365,
0.006263370990753174,
0.006048171043395996,
0.006163051128387451,
0.0060592107772827145,
0.00623521089553833,
0.005880170822143554,
0.006104970932006836,
0.006299691200256348,
0.0061374521255493164,
0.005905290126800537,
0.006022571086883545,
0.006211211204528808,
0.006011691093444824,
0.00589185094833374,
0.005908811092376709,
0.005901289939880371,
0.005909770965576172,
0.006352171897888183,
0.005834410190582276,
0.006144171237945557,
0.005899210929870605,
0.005941290855407715,
0.0059216108322143555,
0.006116011142730713,
0.005908170223236084,
0.0059302511215209965,
0.005901771068572998,
0.005921130180358887,
0.005912169933319091,
0.006118731021881103
]
},
"throughput": {
"unit": "samples/s",
"value": 161.40782669602663
},
"energy": null,
"efficiency": null
}
}
}