IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d56997d
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", | |
"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": "e65976e2695b67f37a76baa42b75347a3a733547", | |
"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": 1822.14656, | |
"max_global_vram": 1500.73344, | |
"max_process_vram": 110418.51392, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 169, | |
"total": 0.9945251874923706, | |
"mean": 0.005884764423031779, | |
"stdev": 0.00038427959514823783, | |
"p50": 0.005793443202972412, | |
"p90": 0.006278979969024658, | |
"p95": 0.006292931365966797, | |
"p99": 0.006312841567993164, | |
"values": [ | |
0.006283843040466309, | |
0.005987362861633301, | |
0.005824004173278809, | |
0.0058438429832458495, | |
0.006009122848510742, | |
0.005815683841705322, | |
0.0059313631057739255, | |
0.006034402847290039, | |
0.006067203998565674, | |
0.005984482765197754, | |
0.005886242866516113, | |
0.005840322971343994, | |
0.0060308837890625, | |
0.005757122993469238, | |
0.0057038431167602535, | |
0.005660482883453369, | |
0.0056200032234191896, | |
0.005662083148956299, | |
0.005855524063110352, | |
0.005659683227539063, | |
0.005653442859649659, | |
0.00566368293762207, | |
0.005653923034667969, | |
0.0057548828125, | |
0.005841923236846924, | |
0.005695683002471924, | |
0.005712802886962891, | |
0.005684803009033203, | |
0.005723523139953613, | |
0.005874083995819092, | |
0.0057275228500366215, | |
0.005693442821502685, | |
0.005729602813720703, | |
0.005740802764892578, | |
0.005749444007873535, | |
0.009025444984436035, | |
0.005793443202972412, | |
0.005520802974700928, | |
0.005463842868804932, | |
0.005467843055725097, | |
0.005635683059692383, | |
0.005694403171539307, | |
0.005796322822570801, | |
0.005911364078521729, | |
0.00609056282043457, | |
0.0060254430770874026, | |
0.005872163772583008, | |
0.005840163230895996, | |
0.005793443202972412, | |
0.005983363151550293, | |
0.005973602771759033, | |
0.0061038432121276855, | |
0.006279364109039307, | |
0.006266723155975342, | |
0.006287203788757324, | |
0.0062579231262207035, | |
0.006297763824462891, | |
0.006294403076171875, | |
0.006262723922729492, | |
0.00626688289642334, | |
0.0062464032173156735, | |
0.006263682842254639, | |
0.006268962860107422, | |
0.006278563976287841, | |
0.006257762908935547, | |
0.006278883934020996, | |
0.006298723220825195, | |
0.006268963813781738, | |
0.006272963047027588, | |
0.006298243999481201, | |
0.006242403030395508, | |
0.005717442989349365, | |
0.00576224422454834, | |
0.0056920027732849125, | |
0.005744322776794434, | |
0.00550096321105957, | |
0.005720003128051758, | |
0.0055539231300354005, | |
0.005679203033447266, | |
0.005785604000091552, | |
0.0055140829086303715, | |
0.0055214428901672365, | |
0.005506083011627198, | |
0.005528963088989257, | |
0.005616483211517334, | |
0.0055918431282043456, | |
0.005529763221740723, | |
0.00552672290802002, | |
0.0055288028717041015, | |
0.005512642860412598, | |
0.005642083168029785, | |
0.005529122829437256, | |
0.00550480318069458, | |
0.005540163040161133, | |
0.005559682846069336, | |
0.005534722805023194, | |
0.005681443214416504, | |
0.005540963172912598, | |
0.00552720308303833, | |
0.005545763015747071, | |
0.005525443077087402, | |
0.0055214428901672365, | |
0.005668803215026856, | |
0.005531204223632812, | |
0.005519203186035156, | |
0.00552720308303833, | |
0.005524962902069092, | |
0.0055116829872131345, | |
0.005764163017272949, | |
0.00549392318725586, | |
0.005524803161621094, | |
0.0055361628532409664, | |
0.005516323089599609, | |
0.0055092830657958985, | |
0.005979043960571289, | |
0.005521762847900391, | |
0.005536962985992431, | |
0.005520163059234619, | |
0.005515363216400147, | |
0.005530403137207031, | |
0.005759842872619629, | |
0.005533283233642578, | |
0.005514883041381836, | |
0.0055140829086303715, | |
0.005522082805633545, | |
0.0055166430473327635, | |
0.0057396841049194335, | |
0.005524803161621094, | |
0.005489283084869385, | |
0.005496323108673096, | |
0.00549616289138794, | |
0.005897762775421142, | |
0.006260963916778564, | |
0.0063190431594848636, | |
0.0061705641746521, | |
0.006054402828216553, | |
0.0060547227859497075, | |
0.006290723800659179, | |
0.006080323219299316, | |
0.006032483100891113, | |
0.006022404193878174, | |
0.006077922821044922, | |
0.006195363998413086, | |
0.005960322856903076, | |
0.006284963130950927, | |
0.006119204044342041, | |
0.006042403221130371, | |
0.00603872299194336, | |
0.0062160038948059085, | |
0.006244802951812744, | |
0.006241444110870361, | |
0.006281602859497071, | |
0.0062803239822387695, | |
0.006298723220825195, | |
0.006268484115600586, | |
0.0062707228660583494, | |
0.00627216386795044, | |
0.006229123115539551, | |
0.006262884140014648, | |
0.006236642837524414, | |
0.006257123947143554, | |
0.006239202976226807, | |
0.0062772841453552245, | |
0.006256163120269775, | |
0.006270082950592041, | |
0.006307844161987305, | |
0.006286242961883545, | |
0.0063099231719970705, | |
0.0062548828125 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 169.93033673297134 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |