IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
257f91a verified
raw
history blame
13.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.3.0",
"optimum_benchmark_commit": null,
"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": 952.201216,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 194,
"total": 0.9984729256629943,
"mean": 0.0051467676580566725,
"stdev": 0.0001846799061696054,
"p50": 0.005138447999954224,
"p90": 0.005253119945526123,
"p95": 0.005543782401084899,
"p99": 0.005868093299865723,
"values": [
0.005745664119720459,
0.005517312049865723,
0.005724160194396972,
0.0055808000564575196,
0.005645311832427978,
0.005525504112243652,
0.005513216018676758,
0.005577727794647217,
0.005512191772460938,
0.005617663860321045,
0.005831679821014404,
0.0058757119178771975,
0.005867519855499268,
0.0060282878875732426,
0.005150720119476319,
0.005015552043914795,
0.005004288196563721,
0.005047296047210693,
0.0050094079971313476,
0.005000192165374756,
0.004994048118591309,
0.005056511878967285,
0.004981760025024414,
0.004993055820465088,
0.0050063362121582035,
0.005048255920410156,
0.004999167919158935,
0.0050032639503479,
0.005024767875671386,
0.0050124797821044925,
0.004987904071807861,
0.0049827837944030765,
0.00501043176651001,
0.004996096134185791,
0.004997119903564453,
0.005212160110473632,
0.005086239814758301,
0.0050032639503479,
0.004989952087402344,
0.005004288196563721,
0.00501043176651001,
0.004996096134185791,
0.004983808040618896,
0.00499507188796997,
0.0050165758132934574,
0.005000224113464355,
0.004978687763214112,
0.0049797120094299315,
0.00502784013748169,
0.004989952087402344,
0.004984831809997559,
0.004977663993835449,
0.004968448162078858,
0.005018623828887939,
0.005344255924224854,
0.005214208126068115,
0.005214208126068115,
0.0052008957862854,
0.005220352172851562,
0.005224448204040527,
0.005203968048095703,
0.005216288089752197,
0.005232639789581299,
0.005192704200744629,
0.005199808120727539,
0.005234687805175781,
0.0051773438453674315,
0.005178368091583252,
0.005204991817474365,
0.005141503810882568,
0.004998144149780274,
0.005005311965942383,
0.004980735778808594,
0.004957183837890625,
0.004958208084106445,
0.004952064037322998,
0.0049909758567810054,
0.004966400146484375,
0.004989952087402344,
0.00499507188796997,
0.005015552043914795,
0.004987904071807861,
0.0049827837944030765,
0.0049797120094299315,
0.0050360321998596195,
0.004989984035491943,
0.004993023872375488,
0.005031936168670655,
0.0050135040283203125,
0.0050165758132934574,
0.004993087768554687,
0.005022719860076904,
0.005001215934753418,
0.005004288196563721,
0.005008384227752686,
0.005039103984832764,
0.005014527797698975,
0.004975615978240967,
0.004946944236755371,
0.004978687763214112,
0.00496230411529541,
0.004951039791107178,
0.0049530878067016604,
0.004968448162078858,
0.004951039791107178,
0.004940800189971924,
0.0049387521743774416,
0.005045248031616211,
0.005008384227752686,
0.005442560195922852,
0.005277696132659912,
0.005238783836364746,
0.005194752216339111,
0.005194752216339111,
0.005252096176147461,
0.005198847770690918,
0.005192671775817871,
0.005243936061859131,
0.005220352172851562,
0.005194752216339111,
0.005228544235229492,
0.005221375942230225,
0.005198847770690918,
0.005276671886444092,
0.005235712051391602,
0.00520908784866333,
0.0052070398330688475,
0.005286911964416504,
0.005193727970123291,
0.005181439876556396,
0.0052295680046081545,
0.005179391860961914,
0.005179391860961914,
0.005208064079284668,
0.005213183879852295,
0.005137407779693603,
0.005157887935638428,
0.005137407779693603,
0.005139455795288086,
0.005124095916748047,
0.005170239925384522,
0.005138463973999023,
0.005117951869964599,
0.00515174388885498,
0.0051363840103149415,
0.00510975980758667,
0.005130239963531494,
0.005165056228637695,
0.005124095916748047,
0.005129216194152832,
0.005142528057098389,
0.0051404800415039064,
0.0051435518264770505,
0.005127168178558349,
0.00515990400314331,
0.005131264209747314,
0.005132287979125977,
0.00515993595123291,
0.005116928100585938,
0.0051363840103149415,
0.005148672103881836,
0.005174272060394287,
0.00515174388885498,
0.005116928100585938,
0.0051660799980163576,
0.0051404800415039064,
0.005125152111053467,
0.005197824001312256,
0.005253119945526123,
0.005179391860961914,
0.005208064079284668,
0.005191711902618408,
0.0051404800415039064,
0.005126143932342529,
0.005172255992889404,
0.0051476478576660155,
0.0051363840103149415,
0.005253119945526123,
0.005138432025909424,
0.005141503810882568,
0.005141503810882568,
0.005165023803710938,
0.005129216194152832,
0.005146624088287354,
0.005221375942230225,
0.005197824001312256,
0.005253119945526123,
0.005244927883148193,
0.005239808082580567,
0.005189631938934326,
0.005222400188446045,
0.005223423957824707,
0.005194752216339111,
0.005180416107177735
]
},
"throughput": {
"unit": "samples/s",
"value": 194.29670551275325
},
"energy": {
"unit": "kWh",
"cpu": 5.931552085611556e-08,
"ram": 3.242114899133194e-08,
"gpu": 1.227278759600005e-07,
"total": 2.14464545807448e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4662775.361004549
}
}
}
}