IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
097975e verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 852.84864,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.72667822265625,
"mean": 7.72667822265625,
"stdev": 0.0,
"p50": 7.72667822265625,
"p90": 7.72667822265625,
"p95": 7.72667822265625,
"p99": 7.72667822265625,
"values": [
7.72667822265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.303446807638878e-06,
"ram": 2.3429302309063564e-06,
"gpu": 6.592505273999975e-06,
"total": 1.323888231254521e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.595712,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9981316165924072,
"mean": 0.007339203063179465,
"stdev": 0.0002441768122040838,
"p50": 0.007400448083877563,
"p90": 0.007583744049072265,
"p95": 0.007686912059783935,
"p99": 0.007952537441253663,
"values": [
0.007678976058959961,
0.007710720062255859,
0.007672832012176513,
0.007639039993286132,
0.007591936111450195,
0.007575551986694336,
0.007565311908721924,
0.007489535808563232,
0.007468031883239746,
0.007432191848754883,
0.007469056129455566,
0.0074700798988342285,
0.007420928001403809,
0.007805952072143555,
0.007524352073669433,
0.008245247840881348,
0.007931903839111328,
0.0077844481468200685,
0.0074967041015625,
0.007475200176239013,
0.007418879985809326,
0.007448575973510742,
0.007575551986694336,
0.007510015964508057,
0.007507936000823974,
0.0075304961204528805,
0.007488512039184571,
0.007375872135162354,
0.00744755220413208,
0.00745472002029419,
0.007506944179534912,
0.007436287879943848,
0.007332863807678222,
0.00733190393447876,
0.0073062400817871095,
0.007360479831695557,
0.007416831970214844,
0.0073994240760803225,
0.007478271961212158,
0.007647232055664062,
0.007549952030181885,
0.007482367992401123,
0.007453695774078369,
0.007477248191833496,
0.007454751968383789,
0.007455743789672851,
0.007497727870941162,
0.007458816051483155,
0.0074065918922424315,
0.007422976016998291,
0.007418879985809326,
0.007377920150756836,
0.007455679893493652,
0.0074843521118164065,
0.007460864067077637,
0.00755299186706543,
0.0074106879234313965,
0.007963647842407226,
0.007401472091674805,
0.007670783996582031,
0.007668672084808349,
0.007402495861053467,
0.0074065918922424315,
0.0074967041015625,
0.007539711952209473,
0.007505919933319092,
0.007526400089263916,
0.007468031883239746,
0.007461887836456299,
0.0075038719177246095,
0.0074700798988342285,
0.007361536026000977,
0.007488512039184571,
0.007781375885009765,
0.007363584041595459,
0.0072837119102478025,
0.0071833600997924804,
0.007360576152801513,
0.007350272178649903,
0.007102464199066162,
0.007165952205657959,
0.007030784130096435,
0.007285759925842285,
0.007285759925842285,
0.007383039951324463,
0.007375872135162354,
0.0073994240760803225,
0.007395328044891358,
0.007477248191833496,
0.007572480201721191,
0.007271423816680909,
0.0071485438346862796,
0.007135231971740722,
0.007038976192474365,
0.007109632015228271,
0.007112703800201416,
0.00710041618347168,
0.007036928176879883,
0.007071743965148926,
0.00714137601852417,
0.0070564160346984865,
0.007112703800201416,
0.006993919849395752,
0.007048192024230957,
0.007076863765716553,
0.007097343921661377,
0.0070266880989074704,
0.007036928176879883,
0.007077888011932373,
0.007074816226959229,
0.007066624164581299,
0.007004159927368164,
0.00704307222366333,
0.007050240039825439,
0.007095295906066895,
0.0070225920677185055,
0.007046144008636474,
0.007002111911773682,
0.006977536201477051,
0.006919167995452881,
0.007000063896179199,
0.007049215793609619,
0.007078911781311035,
0.007030784130096435,
0.007068672180175781,
0.007088128089904785,
0.007053311824798584,
0.007053311824798584,
0.007013376235961914,
0.007037951946258545,
0.0070891518592834475,
0.0070266880989074704,
0.007001088142395019,
0.007065599918365479,
0.0070563840866088865,
0.007046144008636474
]
},
"throughput": {
"unit": "samples/s",
"value": 136.25457578861204
},
"energy": {
"unit": "kWh",
"cpu": 8.35398511443651e-08,
"ram": 4.56731046055921e-08,
"gpu": 1.762716590140845e-07,
"total": 3.054846147640417e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3273487.277820543
}
}
}
}