
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
00ce3e0
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": "5e9beea10942a9d4b3bee05550004817630e3d7e", | |
"transformers_version": "4.41.0", | |
"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.523392, | |
"max_global_vram": 1500.704768, | |
"max_process_vram": 97036.709888, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9947352833747863, | |
"mean": 0.0061026704501520625, | |
"stdev": 0.00037147870985751154, | |
"p50": 0.006046864032745361, | |
"p90": 0.006492334651947021, | |
"p95": 0.006525966882705689, | |
"p99": 0.006812203054428098, | |
"values": [ | |
0.006525102138519287, | |
0.006125584125518799, | |
0.006120143890380859, | |
0.006096943855285645, | |
0.005811184883117676, | |
0.00585262393951416, | |
0.005839025020599365, | |
0.005828303813934326, | |
0.00579726505279541, | |
0.005806064128875733, | |
0.005810385227203369, | |
0.0058268637657165525, | |
0.006007664203643799, | |
0.005801905155181885, | |
0.005782384872436524, | |
0.005789265155792236, | |
0.005786065101623535, | |
0.005996623992919922, | |
0.0059975838661193845, | |
0.005872464179992676, | |
0.005828784942626953, | |
0.005883665084838867, | |
0.005848944187164307, | |
0.005827024936676025, | |
0.0059995040893554685, | |
0.005816143989562988, | |
0.005855185031890869, | |
0.005817903995513916, | |
0.005861905097961426, | |
0.005823184967041015, | |
0.005949423789978027, | |
0.005776144981384277, | |
0.005808784008026123, | |
0.0057934250831604, | |
0.005860144138336181, | |
0.006015183925628662, | |
0.005826385021209717, | |
0.005994544982910156, | |
0.006141423225402832, | |
0.005837904930114746, | |
0.009423014640808105, | |
0.006464463233947754, | |
0.006314863204956054, | |
0.006308143138885498, | |
0.006223343849182129, | |
0.006294542789459228, | |
0.0065220627784729, | |
0.0064772629737854005, | |
0.006353743076324463, | |
0.0063665428161621095, | |
0.006570383071899414, | |
0.006522381782531738, | |
0.006553903102874756, | |
0.006337742805480957, | |
0.006513583183288574, | |
0.006213582992553711, | |
0.006308942794799805, | |
0.006401583194732666, | |
0.006210224151611328, | |
0.00628238296508789, | |
0.006046864032745361, | |
0.00614974308013916, | |
0.006091023921966553, | |
0.006139503955841064, | |
0.006114384174346924, | |
0.006319664001464844, | |
0.006224143028259277, | |
0.00605182409286499, | |
0.006225583076477051, | |
0.005814384937286377, | |
0.006053904056549072, | |
0.005878064155578613, | |
0.006236942768096923, | |
0.0057934250831604, | |
0.005989424228668213, | |
0.005792304992675781, | |
0.005783664226531982, | |
0.005891983985900879, | |
0.005833584785461426, | |
0.0058307042121887205, | |
0.0058236651420593265, | |
0.005851503849029541, | |
0.005834225177764892, | |
0.005934544086456299, | |
0.00579966402053833, | |
0.006062704086303711, | |
0.005837104797363281, | |
0.005850863933563232, | |
0.005863665103912353, | |
0.0059551849365234374, | |
0.005798704147338867, | |
0.005811985015869141, | |
0.005779664039611817, | |
0.005764784812927246, | |
0.00581934404373169, | |
0.005950544834136963, | |
0.006074384212493896, | |
0.006079184055328369, | |
0.0057844648361206055, | |
0.005800784111022949, | |
0.005788304805755615, | |
0.005943344116210937, | |
0.00582782506942749, | |
0.005813745021820069, | |
0.005727025032043457, | |
0.005858065128326416, | |
0.0058195037841796875, | |
0.005966544151306152, | |
0.005787825107574463, | |
0.005951344013214111, | |
0.006187023162841797, | |
0.006507183074951172, | |
0.006578063011169434, | |
0.006418222904205322, | |
0.006161104202270508, | |
0.00623438310623169, | |
0.006231664180755615, | |
0.00605182409286499, | |
0.006200142860412598, | |
0.0061913437843322755, | |
0.00614590311050415, | |
0.006248623847961426, | |
0.006489902019500732, | |
0.0065054230690002445, | |
0.006524622917175293, | |
0.0065435018539428715, | |
0.00654222297668457, | |
0.006421422958374024, | |
0.006225583076477051, | |
0.0059139041900634765, | |
0.006256303787231445, | |
0.006175662994384766, | |
0.006118703842163086, | |
0.00601038408279419, | |
0.005948304176330566, | |
0.006539982795715332, | |
0.006395022869110107, | |
0.006133743762969971, | |
0.0059759840965271, | |
0.006136303901672364, | |
0.005928944110870362, | |
0.006150383949279786, | |
0.006028944015502929, | |
0.006135182857513428, | |
0.00599294376373291, | |
0.00613966417312622, | |
0.007194221019744873, | |
0.005814544200897217, | |
0.005871665000915527, | |
0.005755824089050293, | |
0.006416623115539551, | |
0.00645438289642334, | |
0.0064412631988525395, | |
0.006258223056793213, | |
0.006364142894744873, | |
0.006492942810058594, | |
0.006437743186950683, | |
0.006159183025360108, | |
0.006526062965393067, | |
0.0064846229553222655, | |
0.006262702941894531, | |
0.00638942289352417, | |
0.006099823951721191 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.86269063162055 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |