IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a92e85e verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"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": {},
"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,
"memory": true,
"latency": 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.398208,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2742685546875,
"mean": 8.2742685546875,
"stdev": 0.0,
"p50": 8.2742685546875,
"p90": 8.2742685546875,
"p95": 8.2742685546875,
"p99": 8.2742685546875,
"values": [
8.2742685546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.927590293057014e-06,
"ram": 3.2301194638378983e-06,
"gpu": 7.921395225998773e-06,
"total": 1.7079104982893686e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.976768,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0036385626792907,
"mean": 0.007018451487267767,
"stdev": 0.0002232655501948173,
"p50": 0.006970367908477783,
"p90": 0.007265075206756592,
"p95": 0.007395606517791748,
"p99": 0.007655157737731934,
"values": [
0.00765337610244751,
0.007530464172363281,
0.007656447887420655,
0.006740992069244385,
0.0066109437942504885,
0.006645760059356689,
0.006648831844329834,
0.006628416061401367,
0.006968319892883301,
0.007014400005340577,
0.007044095993041993,
0.007379968166351319,
0.006892543792724609,
0.006976511955261231,
0.006970367908477783,
0.006964223861694336,
0.006957119941711426,
0.007008224010467529,
0.006994944095611572,
0.006876160144805908,
0.006909952163696289,
0.006871039867401123,
0.006875135898590088,
0.006883327960968018,
0.006939648151397705,
0.006907904148101806,
0.007000063896179199,
0.006869952201843262,
0.0069129600524902345,
0.006978559970855713,
0.006910943984985351,
0.006809599876403808,
0.006893439769744873,
0.00688640022277832,
0.0068915200233459475,
0.00691919994354248,
0.006975488185882568,
0.006938623905181885,
0.006937600135803222,
0.0070225920677185055,
0.006960192203521729,
0.0069212160110473635,
0.006894591808319092,
0.006933504104614257,
0.006978559970855713,
0.0074414081573486324,
0.007321599960327148,
0.007145472049713135,
0.00739734411239624,
0.008790016174316406,
0.007409664154052734,
0.007110655784606934,
0.00710041618347168,
0.007060480117797851,
0.007020544052124023,
0.007030784130096435,
0.00703385591506958,
0.007013376235961914,
0.006978559970855713,
0.006974463939666748,
0.007022655963897705,
0.00695091199874878,
0.006917119979858399,
0.006956031799316406,
0.00694374418258667,
0.006919167995452881,
0.006990848064422607,
0.006976511955261231,
0.006953120231628418,
0.006876031875610352,
0.0069212160110473635,
0.006959104061126709,
0.0069959678649902345,
0.006917119979858399,
0.006904831886291504,
0.006927360057830811,
0.006931456089019775,
0.006897664070129395,
0.0068853759765625,
0.0069212160110473635,
0.0069027838706970214,
0.006946815967559815,
0.0068577280044555666,
0.00690176010131836,
0.006980607986450196,
0.006944767951965332,
0.007013376235961914,
0.007017471790313721,
0.007068672180175781,
0.0069253120422363285,
0.0069847040176391605,
0.006948863983154297,
0.006896639823913574,
0.006917119979858399,
0.006915071964263916,
0.0069324798583984375,
0.00695091199874878,
0.006948863983154297,
0.007063551902770996,
0.00694374418258667,
0.007074816226959229,
0.007109632015228271,
0.007109632015228271,
0.006961152076721191,
0.007021567821502686,
0.007030784130096435,
0.0070860800743103025,
0.0072724480628967286,
0.007251967906951904,
0.007268352031707764,
0.007331776142120361,
0.007288832187652588,
0.007302144050598145,
0.0072202239036560055,
0.0072325119972229,
0.006988800048828125,
0.006940671920776367,
0.007077888011932373,
0.007058432102203369,
0.00709222412109375,
0.006930431842803955,
0.006914048194885254,
0.007000031948089599,
0.007106560230255127,
0.007060480117797851,
0.007018496036529541,
0.007030784130096435,
0.007097343921661377,
0.007041024208068848,
0.006915071964263916,
0.006971392154693603,
0.00690176010131836,
0.00688640022277832,
0.006904831886291504,
0.0069027838706970214,
0.007012351989746094,
0.007023551940917969,
0.006917119979858399,
0.007072768211364746,
0.007023615837097168,
0.00693555212020874,
0.006970367908477783,
0.0074403839111328125
]
},
"throughput": {
"unit": "samples/s",
"value": 142.48157187010676
},
"energy": {
"unit": "kWh",
"cpu": 8.242290206871874e-08,
"ram": 4.5035955448138195e-08,
"gpu": 1.7247120279159067e-07,
"total": 2.999300603084476e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3334110.622228401
}
}
}
}