IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2350b8b
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", | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1825.406976, | |
"max_global_vram": 520.347648, | |
"max_process_vram": 92076.146688, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.9958545422554015, | |
"mean": 0.005857967895620009, | |
"stdev": 0.00035301527031744267, | |
"p50": 0.005761679410934448, | |
"p90": 0.006390336227416992, | |
"p95": 0.006404031825065613, | |
"p99": 0.006467678260803223, | |
"values": [ | |
0.005787360191345215, | |
0.005774720191955567, | |
0.005799199104309082, | |
0.005817599773406982, | |
0.005795519828796386, | |
0.0058254399299621585, | |
0.005854559898376465, | |
0.005823200225830078, | |
0.005797120094299316, | |
0.005817759990692139, | |
0.005775519847869873, | |
0.005749919891357422, | |
0.005763040065765381, | |
0.00578079891204834, | |
0.005725279808044433, | |
0.005771200180053711, | |
0.005764639854431152, | |
0.0057990398406982425, | |
0.005773119926452637, | |
0.005793280124664306, | |
0.005752960205078125, | |
0.005799839973449707, | |
0.005807040214538574, | |
0.005764480113983154, | |
0.005780319213867188, | |
0.005732639789581299, | |
0.005772319793701172, | |
0.005785920143127441, | |
0.0057868800163269046, | |
0.005776480197906494, | |
0.00580128002166748, | |
0.005845439910888672, | |
0.005817279815673828, | |
0.005776000022888183, | |
0.005763199806213379, | |
0.005929598808288574, | |
0.005769120216369629, | |
0.005758560180664062, | |
0.0057684798240661625, | |
0.005750879764556884, | |
0.005736000061035156, | |
0.005777599811553955, | |
0.005777919769287109, | |
0.005798079967498779, | |
0.005778880119323731, | |
0.005760159969329834, | |
0.005760478973388672, | |
0.00575216007232666, | |
0.005762879848480225, | |
0.0057564802169799804, | |
0.005758719921112061, | |
0.005838719844818116, | |
0.005777120113372803, | |
0.009111519813537597, | |
0.005964320182800293, | |
0.005848320007324219, | |
0.005897119045257569, | |
0.005670720100402832, | |
0.005667840003967285, | |
0.005648640155792237, | |
0.005665279865264892, | |
0.005681280136108398, | |
0.005663360118865967, | |
0.005660639762878418, | |
0.005656320095062256, | |
0.005657440185546875, | |
0.005663040161132812, | |
0.00567711877822876, | |
0.005673279762268066, | |
0.005776159763336182, | |
0.0057992000579833985, | |
0.005639039993286133, | |
0.005639840126037598, | |
0.005665760040283203, | |
0.005644000053405761, | |
0.005797599792480469, | |
0.00565503978729248, | |
0.005627039909362793, | |
0.005659679889678955, | |
0.005667358875274658, | |
0.005695519924163818, | |
0.0057019200325012205, | |
0.0056854400634765625, | |
0.005654560089111328, | |
0.00565776014328003, | |
0.005663360118865967, | |
0.00565776014328003, | |
0.005650879859924317, | |
0.005634560108184815, | |
0.005673600196838379, | |
0.005645278930664062, | |
0.00566431999206543, | |
0.005641600131988525, | |
0.005632800102233887, | |
0.0056548800468444824, | |
0.005664159774780273, | |
0.005648640155792237, | |
0.005642879962921143, | |
0.005656799793243408, | |
0.005654560089111328, | |
0.005646560192108154, | |
0.005662078857421875, | |
0.005664959907531738, | |
0.0056566400527954105, | |
0.005611040115356445, | |
0.005639520168304444, | |
0.005651360034942627, | |
0.005646719932556153, | |
0.005659840106964111, | |
0.005631680011749267, | |
0.00565503978729248, | |
0.005679200172424317, | |
0.00564463996887207, | |
0.00575071907043457, | |
0.006456319808959961, | |
0.006435679912567139, | |
0.006398399829864502, | |
0.006253920078277588, | |
0.005903520107269287, | |
0.005987040042877197, | |
0.006272160053253174, | |
0.0064057598114013676, | |
0.006427999973297119, | |
0.006425758838653564, | |
0.006041759967803955, | |
0.005920479774475098, | |
0.006030399799346924, | |
0.005897119998931884, | |
0.0061075201034545895, | |
0.005956960201263428, | |
0.006093760013580322, | |
0.005928639888763428, | |
0.006046080112457276, | |
0.005667998790740967, | |
0.005654560089111328, | |
0.005647679805755615, | |
0.005669760227203369, | |
0.005648799896240234, | |
0.005674880027770996, | |
0.005662399768829346, | |
0.005668479919433594, | |
0.005661439895629883, | |
0.005671679973602295, | |
0.005659359931945801, | |
0.00573199987411499, | |
0.0057185587882995605, | |
0.00570143985748291, | |
0.005904640197753906, | |
0.00568175983428955, | |
0.005676959991455078, | |
0.005671999931335449, | |
0.0057214398384094235, | |
0.005729440212249756, | |
0.006492959976196289, | |
0.00636352014541626, | |
0.006357600212097168, | |
0.0063694391250610355, | |
0.006374080181121827, | |
0.006400320053100586, | |
0.006408160209655762, | |
0.006400800228118896, | |
0.006378880023956299, | |
0.006389920234680176, | |
0.006400479793548584, | |
0.006400479793548584, | |
0.00639408016204834, | |
0.006399037837982177, | |
0.006401919841766358, | |
0.006411680221557617, | |
0.006376160144805908 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.7076613970005 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |