IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b0fafe7 verified
raw
history blame
11.7 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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.10976,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3596729736328125
],
"count": 1,
"total": 0.3596729736328125,
"mean": 0.3596729736328125,
"p50": 0.3596729736328125,
"p90": 0.3596729736328125,
"p95": 0.3596729736328125,
"p99": 0.3596729736328125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.405696,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007453695774078369,
0.007071743965148926,
0.007060480117797851,
0.007079936027526855,
0.007106560230255127,
0.00719974422454834,
0.007245823860168457,
0.007136256217956543,
0.007121952056884766,
0.007565311908721924,
0.007526400089263916,
0.007553023815155029,
0.007527423858642578,
0.0074967041015625,
0.0074126400947570805,
0.007420928001403809,
0.00740556812286377,
0.007476223945617676,
0.007511040210723877,
0.007506944179534912,
0.0074403839111328125,
0.007361536026000977,
0.007535615921020508,
0.007486527919769287,
0.007351295948028564,
0.0071157760620117185,
0.007161856174468994,
0.007060448169708252,
0.007209983825683594,
0.007069695949554444,
0.0070830078125,
0.00711075210571289,
0.007021567821502686,
0.007106624126434326,
0.007102464199066162,
0.007068672180175781,
0.007094272136688232,
0.007161856174468994,
0.00719155216217041,
0.007172095775604248,
0.007206912040710449,
0.007268352031707764,
0.0071495680809020995,
0.0071526398658752445,
0.007151616096496582,
0.007151616096496582,
0.007112703800201416,
0.007009280204772949,
0.007163904190063477,
0.007050240039825439,
0.007068672180175781,
0.006988800048828125,
0.0068392958641052244,
0.007063551902770996,
0.007069695949554444,
0.006779903888702392,
0.007229440212249756,
0.00704204797744751,
0.007113728046417236,
0.007194687843322754,
0.007214079856872559,
0.0072540159225463864,
0.007336959838867187,
0.007481344223022461,
0.007453695774078369,
0.007142399787902832,
0.007041024208068848,
0.00704307222366333,
0.007068672180175781,
0.007089183807373047,
0.007029759883880615,
0.007046175956726074,
0.007095295906066895,
0.0070860800743103025,
0.007124991893768311,
0.007032832145690918,
0.006982719898223877,
0.007088128089904785,
0.007081984043121338,
0.006965280055999756,
0.0070677118301391605,
0.007071648120880127,
0.007014400005340577,
0.007013376235961914,
0.007066624164581299,
0.006998015880584717,
0.007047200202941894,
0.007008255958557129,
0.007060480117797851,
0.006968255996704102,
0.007077888011932373,
0.007051263809204102,
0.006939648151397705,
0.007032832145690918,
0.007050240039825439,
0.007023551940917969,
0.007018496036529541,
0.0070348801612854,
0.007029759883880615,
0.007104512214660645,
0.007037951946258545,
0.007050240039825439,
0.006977536201477051,
0.007064576148986816,
0.007037951946258545,
0.00692633581161499,
0.0069847040176391605,
0.006980576038360596,
0.006956031799316406,
0.006990848064422607,
0.006925343990325928,
0.006897664070129395,
0.0068853759765625,
0.007074816226959229,
0.007001088142395019,
0.007721983909606934,
0.00709222412109375,
0.006961152076721191,
0.006958079814910889,
0.007064576148986816,
0.007057407855987549,
0.006980607986450196,
0.0070594558715820314,
0.007049215793609619,
0.006996992111206054,
0.007005184173583984,
0.007051263809204102,
0.0070256638526916505,
0.007104512214660645,
0.007181312084197998,
0.007250944137573242,
0.007000063896179199,
0.007081984043121338,
0.007063551902770996,
0.006976511955261231,
0.007062560081481934,
0.007072768211364746,
0.0070256319046020504,
0.007021567821502686,
0.007032832145690918
],
"count": 140,
"total": 0.9976168665885925,
"mean": 0.007125834761347089,
"p50": 0.007069695949554444,
"p90": 0.007441715097427368,
"p95": 0.00750714898109436,
"p99": 0.007560519552230835,
"stdev": 0.00016947451813694963,
"stdev_": 2.378311086530326
},
"throughput": {
"unit": "samples/s",
"value": 140.33443568244587
},
"energy": {
"unit": "kWh",
"cpu": 8.31572719065661e-08,
"ram": 4.54376988813856e-08,
"gpu": 1.7256424061538498e-07,
"total": 3.0115921140333674e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3320502.784358534
}
}
}
}