IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3d51766 verified
raw
history blame
11.8 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.078016,
"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.66742333984375,
"mean": 7.66742333984375,
"stdev": 0.0,
"p50": 7.66742333984375,
"p90": 7.66742333984375,
"p95": 7.66742333984375,
"p99": 7.66742333984375,
"values": [
7.66742333984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.381317220138728e-06,
"ram": 2.3564188338667227e-06,
"gpu": 6.795560992000119e-06,
"total": 1.353329704600557e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.591616,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.998459552764893,
"mean": 0.007183162250107141,
"stdev": 0.00019856824741669465,
"p50": 0.007104512214660645,
"p90": 0.007443865585327149,
"p95": 0.007488511800765991,
"p99": 0.007615512275695801,
"values": [
0.007655424118041992,
0.007634943962097168,
0.0075838079452514645,
0.007557119846343994,
0.00754585599899292,
0.007497727870941162,
0.007442431926727295,
0.007461887836456299,
0.0073779840469360355,
0.007435264110565186,
0.0074414081573486324,
0.0073697280883789065,
0.007294943809509277,
0.007303167819976806,
0.007349247932434082,
0.007344128131866455,
0.007451648235321045,
0.007508992195129394,
0.0074106879234313965,
0.007401472091674805,
0.007357439994812012,
0.00733900785446167,
0.007427072048187256,
0.007449600219726562,
0.0074414081573486324,
0.00743833589553833,
0.007426047801971435,
0.007409664154052734,
0.0074035201072692874,
0.0074106879234313965,
0.007184383869171143,
0.007111680030822754,
0.007008255958557129,
0.007007232189178467,
0.007181312084197998,
0.007384064197540283,
0.007438271999359131,
0.00738099193572998,
0.007357439994812012,
0.007434239864349365,
0.00748748779296875,
0.007472127914428711,
0.007475200176239013,
0.0074700798988342285,
0.007394303798675537,
0.007318528175354004,
0.007431168079376221,
0.007434239864349365,
0.007367680072784424,
0.0074106879234313965,
0.007409664154052734,
0.007036992073059082,
0.007007232189178467,
0.007035903930664063,
0.007051263809204102,
0.0071198720932006835,
0.007174143791198731,
0.007032832145690918,
0.007023615837097168,
0.007088128089904785,
0.00709119987487793,
0.007102464199066162,
0.0070563840866088865,
0.007228415966033935,
0.007174143791198731,
0.007176256179809571,
0.007174143791198731,
0.007137279987335205,
0.007104576110839844,
0.007068672180175781,
0.007080959796905518,
0.007111680030822754,
0.007011328220367432,
0.007107583999633789,
0.007021567821502686,
0.006993919849395752,
0.007095295906066895,
0.006838272094726563,
0.006917119979858399,
0.007028736114501953,
0.006776800155639648,
0.0066938881874084475,
0.006678592205047607,
0.006699007987976074,
0.006932447910308838,
0.006974463939666748,
0.007023615837097168,
0.006971392154693603,
0.007110655784606934,
0.007146495819091797,
0.00738918399810791,
0.007341055870056152,
0.007104512214660645,
0.007065599918365479,
0.007087103843688965,
0.007098368167877197,
0.007109632015228271,
0.007060480117797851,
0.007139328002929687,
0.007097343921661377,
0.007108607769012451,
0.007061503887176514,
0.00703385591506958,
0.007038976192474365,
0.007062464237213135,
0.007028736114501953,
0.007031807899475098,
0.007063551902770996,
0.007064511775970459,
0.007079936027526855,
0.007031807899475098,
0.007069695949554444,
0.007062528133392334,
0.007072768211364746,
0.007058432102203369,
0.007069695949554444,
0.007101439952850342,
0.007041024208068848,
0.007085055828094483,
0.007039999961853028,
0.007053376197814942,
0.007048192024230957,
0.007070720195770264,
0.007053311824798584,
0.007105535984039306,
0.007081984043121338,
0.00707583999633789,
0.007085055828094483,
0.0070348801612854,
0.0070553598403930665,
0.007111680030822754,
0.007109632015228271,
0.00704204797744751,
0.007087103843688965,
0.00704307222366333,
0.0070860800743103025,
0.007073791980743408,
0.00704307222366333,
0.007072768211364746
]
},
"throughput": {
"unit": "samples/s",
"value": 139.21445251846907
},
"energy": {
"unit": "kWh",
"cpu": 8.303924565851079e-08,
"ram": 4.540164583153846e-08,
"gpu": 1.7739524681118908e-07,
"total": 3.0583613830123833e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3269724.7799245804
}
}
}
}