IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f393a50
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": "4aa72a2fd35e7d46a674935ffaf335b1c0795600", | |
"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": 1823.00672, | |
"max_global_vram": 4882.649088, | |
"max_process_vram": 104720.797696, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.99743100976944, | |
"mean": 0.005972640777062513, | |
"stdev": 0.0002763806099918678, | |
"p50": 0.005909912109375, | |
"p90": 0.006403351306915283, | |
"p95": 0.006440807342529296, | |
"p99": 0.006480753335952759, | |
"values": [ | |
0.0064772720336914065, | |
0.006342871189117432, | |
0.006331511974334717, | |
0.0063299121856689455, | |
0.006079991817474365, | |
0.006013751983642578, | |
0.005790552139282226, | |
0.006319032192230224, | |
0.006314712047576904, | |
0.0063491110801696775, | |
0.006404791831970215, | |
0.0063686308860778805, | |
0.006487832069396972, | |
0.006487511157989502, | |
0.006436471939086914, | |
0.006451830863952636, | |
0.006395351886749267, | |
0.006463671207427978, | |
0.006476471900939942, | |
0.006431510925292969, | |
0.006453112125396728, | |
0.00637391185760498, | |
0.0063990321159362795, | |
0.006387671947479248, | |
0.00639215087890625, | |
0.006372151851654052, | |
0.006410231113433838, | |
0.0063854317665100096, | |
0.006401912212371826, | |
0.0063985509872436525, | |
0.006443831920623779, | |
0.006402231216430664, | |
0.00639519214630127, | |
0.006399510860443115, | |
0.0059628720283508305, | |
0.006115831851959228, | |
0.0059283127784729005, | |
0.006007031917572021, | |
0.005956312179565429, | |
0.006085432052612304, | |
0.00588975191116333, | |
0.00609935188293457, | |
0.005985112190246582, | |
0.005909272193908691, | |
0.005707993030548096, | |
0.005716152191162109, | |
0.005693752765655518, | |
0.005738072872161866, | |
0.005708792209625244, | |
0.0056935930252075195, | |
0.005691991806030273, | |
0.005692792892456055, | |
0.005705111980438232, | |
0.005706392765045166, | |
0.005712471961975098, | |
0.005695833206176758, | |
0.005717912197113037, | |
0.005693912982940674, | |
0.0056839919090270995, | |
0.005701912879943848, | |
0.00569647216796875, | |
0.005712953090667725, | |
0.0058423919677734375, | |
0.005990551948547363, | |
0.005917912006378174, | |
0.00586447286605835, | |
0.005702712059020996, | |
0.005730392932891845, | |
0.005728312015533447, | |
0.005711833000183106, | |
0.005704951763153076, | |
0.005711352825164795, | |
0.005699193000793457, | |
0.005717432022094727, | |
0.005734872817993164, | |
0.005701432228088379, | |
0.005689433097839355, | |
0.005646711826324463, | |
0.005695512771606445, | |
0.0057164721488952635, | |
0.005702073097229004, | |
0.005872151851654053, | |
0.005699832916259765, | |
0.0057119917869567875, | |
0.005693273067474365, | |
0.005698232173919677, | |
0.005699673175811768, | |
0.005692952156066895, | |
0.0057222328186035155, | |
0.005727831840515137, | |
0.005703513145446777, | |
0.0057217531204223635, | |
0.005750872135162353, | |
0.005979992866516113, | |
0.0057131128311157225, | |
0.005830071926116944, | |
0.005779033184051514, | |
0.005947351932525635, | |
0.0058044719696044925, | |
0.005821272850036621, | |
0.005773111820220948, | |
0.005789112091064453, | |
0.005858073234558106, | |
0.005795671939849854, | |
0.0057383918762207034, | |
0.005851832866668702, | |
0.006043832778930664, | |
0.005862872123718262, | |
0.005935991764068603, | |
0.006047671794891358, | |
0.006179831981658936, | |
0.0062246317863464354, | |
0.006402390956878662, | |
0.006267032146453857, | |
0.006126391887664795, | |
0.006134552001953125, | |
0.006138872146606445, | |
0.0061323118209838864, | |
0.0059628720283508305, | |
0.005965112209320068, | |
0.005797111988067627, | |
0.006405752182006836, | |
0.005932472229003906, | |
0.0059206318855285645, | |
0.005704312801361084, | |
0.005909912109375, | |
0.005678072929382324, | |
0.0064111919403076175, | |
0.006392471790313721, | |
0.006408151149749756, | |
0.005993591785430908, | |
0.005959832191467286, | |
0.006037911891937256, | |
0.005945592880249023, | |
0.0060553522109985354, | |
0.005928311824798584, | |
0.006094552040100097, | |
0.005982711791992188, | |
0.006135672092437744, | |
0.00598095178604126, | |
0.005689271926879883, | |
0.005711352825164795, | |
0.00570415210723877, | |
0.005720792770385742, | |
0.00572927188873291, | |
0.005701753139495849, | |
0.005684951782226563, | |
0.005696632862091064, | |
0.005658552169799804, | |
0.0056751928329467774, | |
0.005689752101898193, | |
0.0057358331680297855, | |
0.0064414310455322265, | |
0.006439352035522461, | |
0.005999832153320312, | |
0.006087192058563232, | |
0.0060772719383239745, | |
0.006190072059631348, | |
0.006051191806793213, | |
0.0063398308753967285, | |
0.0058855929374694825, | |
0.005990871906280518, | |
0.005876791000366211, | |
0.005799831867218018, | |
0.005867513179779052, | |
0.005652952194213867, | |
0.005673913002014161 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.43012635891753 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |