IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
df85773
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.3.1", | |
"optimum_benchmark_commit": "2c8ab57de1af767ec2e6a2cf774f52cea6a0db26", | |
"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.603584, | |
"max_global_vram": 520.339456, | |
"max_process_vram": 93981.40928, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9984963212013247, | |
"mean": 0.0059790198874330805, | |
"stdev": 0.00039334397163684747, | |
"p50": 0.005818429946899414, | |
"p90": 0.00639817705154419, | |
"p95": 0.006412368965148926, | |
"p99": 0.006812605018615723, | |
"values": [ | |
0.006118270874023437, | |
0.005967871189117431, | |
0.005805630207061768, | |
0.005785630226135254, | |
0.005804510116577149, | |
0.00583282995223999, | |
0.0058088297843933104, | |
0.005830910205841065, | |
0.005818429946899414, | |
0.005820350170135498, | |
0.005793950080871582, | |
0.00576515007019043, | |
0.005738268852233887, | |
0.005741469860076905, | |
0.00572882890701294, | |
0.005732668876647949, | |
0.005706429004669189, | |
0.005707869052886963, | |
0.005707549095153809, | |
0.0057582688331604005, | |
0.005785309791564942, | |
0.005714748859405518, | |
0.005733308792114258, | |
0.005695868968963623, | |
0.005713469028472901, | |
0.005712829113006592, | |
0.0057368288040161135, | |
0.005766109943389892, | |
0.005787710189819336, | |
0.0057430691719055176, | |
0.0057179489135742185, | |
0.005724188804626465, | |
0.005735068798065185, | |
0.005712349891662597, | |
0.005859549999237061, | |
0.005880030155181884, | |
0.005701950073242187, | |
0.00910468578338623, | |
0.005875549793243408, | |
0.005619069099426269, | |
0.005491387844085693, | |
0.006161151885986328, | |
0.006216671943664551, | |
0.006204351902008056, | |
0.006206751823425293, | |
0.006198751926422119, | |
0.006228032112121582, | |
0.006223552227020264, | |
0.006183551788330078, | |
0.00623683214187622, | |
0.006178751945495605, | |
0.0062518720626831056, | |
0.006221951961517334, | |
0.006223552227020264, | |
0.00621235179901123, | |
0.006188992023468017, | |
0.006199552059173584, | |
0.0062267518043518065, | |
0.006937635898590088, | |
0.006748195171356201, | |
0.006384353160858155, | |
0.006396832942962646, | |
0.006360352993011475, | |
0.006392192840576172, | |
0.006378592967987061, | |
0.006368031978607178, | |
0.006407072067260742, | |
0.006419073104858399, | |
0.0063656320571899416, | |
0.006410912990570068, | |
0.0064070730209350585, | |
0.006376193046569824, | |
0.006403553009033203, | |
0.006363071918487549, | |
0.006393951892852783, | |
0.006419552803039551, | |
0.006389313220977784, | |
0.006365952014923096, | |
0.006380512237548828, | |
0.006382432937622071, | |
0.006377152919769287, | |
0.006403872966766358, | |
0.006427392959594726, | |
0.006385632038116455, | |
0.006372511863708496, | |
0.006368513107299805, | |
0.0063837127685546875, | |
0.006412992954254151, | |
0.006392033100128174, | |
0.006400193214416504, | |
0.006390273094177246, | |
0.0063949131965637205, | |
0.00636819314956665, | |
0.005615388870239258, | |
0.005635229110717774, | |
0.005687069892883301, | |
0.005683069229125977, | |
0.005673628807067871, | |
0.005684188842773438, | |
0.0059195499420166015, | |
0.005666268825531006, | |
0.0059198708534240726, | |
0.005674108982086181, | |
0.005664029121398926, | |
0.005596989154815673, | |
0.0056745891571044925, | |
0.005693308830261231, | |
0.005677628993988037, | |
0.005724190235137939, | |
0.005734589099884033, | |
0.005667549133300781, | |
0.005664508819580078, | |
0.006010750770568848, | |
0.006409792900085449, | |
0.0064070730209350585, | |
0.006368992805480957, | |
0.00639171314239502, | |
0.006421312808990478, | |
0.006415873050689697, | |
0.00591779088973999, | |
0.005990270137786865, | |
0.0059264302253723145, | |
0.0059934711456298825, | |
0.0059181108474731445, | |
0.006006910800933838, | |
0.005904029846191406, | |
0.006014111042022705, | |
0.005922591209411621, | |
0.005967390060424804, | |
0.005842110157012939, | |
0.005647549152374268, | |
0.005686109066009522, | |
0.005690749168395996, | |
0.005666268825531006, | |
0.005677468776702881, | |
0.005652829170227051, | |
0.005921950817108154, | |
0.005662428855895996, | |
0.0056518688201904295, | |
0.00564466905593872, | |
0.005660669803619385, | |
0.005676508903503418, | |
0.005690429210662842, | |
0.005705309867858887, | |
0.005687549114227295, | |
0.005704349040985108, | |
0.005686429023742676, | |
0.005673469066619873, | |
0.005672988891601563, | |
0.005634908199310303, | |
0.005680348873138428, | |
0.005712668895721435, | |
0.005824989795684814, | |
0.005663709163665771, | |
0.00566818904876709, | |
0.0056819491386413574, | |
0.0056733088493347164, | |
0.005687229156494141, | |
0.0056867489814758304, | |
0.005708990097045899, | |
0.005675549030303955, | |
0.005696507930755615, | |
0.0056894698143005375, | |
0.005681629180908203, | |
0.005698109149932861, | |
0.005696349143981934, | |
0.005715548992156982 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.25149252335422 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |