IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
179d01f verified
raw
history blame
11.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 970.42432,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0021845760345458,
"mean": 0.006771517405638824,
"stdev": 0.00016840443783471551,
"p50": 0.0067358717918396,
"p90": 0.006854124975204468,
"p95": 0.0070518783092498784,
"p99": 0.007521392760276795,
"values": [
0.007747519969940186,
0.0073820161819458,
0.007419904232025146,
0.007288832187652588,
0.007286784172058106,
0.007225344181060791,
0.007611392021179199,
0.006699007987976074,
0.006411295890808105,
0.006956031799316406,
0.0067573761940002445,
0.006702079772949219,
0.006743040084838867,
0.006755328178405762,
0.006689727783203125,
0.00672870397567749,
0.00678604793548584,
0.006606847763061524,
0.006636544227600098,
0.0066406397819519045,
0.0066078720092773435,
0.00664467191696167,
0.0066620798110961915,
0.006622208118438721,
0.006628352165222168,
0.0066826238632202144,
0.006699007987976074,
0.0067010560035705566,
0.006748159885406494,
0.006744063854217529,
0.006710271835327148,
0.006754303932189941,
0.006789120197296142,
0.0067358717918396,
0.006657023906707763,
0.006646783828735352,
0.00669593620300293,
0.0067348480224609375,
0.006774784088134766,
0.006911968231201172,
0.006783040046691895,
0.006768703937530518,
0.006766592025756836,
0.006706175804138184,
0.006770688056945801,
0.006763519763946534,
0.006598656177520752,
0.006691904067993164,
0.006669312000274658,
0.006812672138214112,
0.006880256175994873,
0.006825984001159668,
0.006807551860809326,
0.006840320110321045,
0.006793216228485107,
0.006758399963378906,
0.006816768169403077,
0.006760447978973389,
0.006846464157104492,
0.00679423999786377,
0.006773759841918945,
0.0068055038452148435,
0.0069212160110473635,
0.006719488143920899,
0.006899712085723877,
0.0068720002174377445,
0.006714367866516113,
0.0067338237762451176,
0.006689792156219483,
0.006656000137329102,
0.006619135856628418,
0.006760447978973389,
0.006752255916595459,
0.00669593620300293,
0.0067420158386230465,
0.00675328016281128,
0.00676966381072998,
0.006718463897705078,
0.0067645120620727535,
0.006714367866516113,
0.006712384223937988,
0.006724607944488525,
0.0067337918281555175,
0.006752255916595459,
0.006811647891998291,
0.006747136116027832,
0.006702079772949219,
0.006730751991271973,
0.0067358717918396,
0.006673408031463623,
0.00684335994720459,
0.006739967823028564,
0.006710271835327148,
0.006710271835327148,
0.00672870397567749,
0.006713344097137451,
0.006622208118438721,
0.0066344962120056155,
0.006696991920471192,
0.00677785587310791,
0.006788095951080322,
0.006818816184997558,
0.0067358717918396,
0.006726655960083008,
0.006770688056945801,
0.00679423999786377,
0.006820864200592041,
0.0067123517990112305,
0.006804480075836182,
0.006645760059356689,
0.006660096168518067,
0.006689792156219483,
0.006696959972381592,
0.006731776237487793,
0.0067123198509216305,
0.006681600093841553,
0.006762495994567871,
0.006724607944488525,
0.00669484806060791,
0.006713344097137451,
0.006714367866516113,
0.0067276802062988285,
0.006845439910888672,
0.006731808185577393,
0.006709248065948486,
0.006721536159515381,
0.00676966381072998,
0.006781951904296875,
0.0066344962120056155,
0.0066641921997070315,
0.006717440128326416,
0.006700032234191895,
0.006802432060241699,
0.00679423999786377,
0.006718463897705078,
0.006750207901000976,
0.006754303932189941,
0.0067338237762451176,
0.006707200050354004,
0.006667263984680176,
0.007103487968444824,
0.006765567779541016,
0.006788095951080322,
0.006920191764831543,
0.00674508810043335,
0.006783999919891357,
0.0067686400413513184,
0.00672051191329956
]
},
"throughput": {
"unit": "samples/s",
"value": 147.67738751838297
},
"energy": {
"unit": "kWh",
"cpu": 7.808460630694329e-08,
"ram": 4.269221906765988e-08,
"gpu": 1.690315679735374e-07,
"total": 2.8980839334814057e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3450555.6876633368
}
}
}
}