IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e465538 verified
raw
history blame
11.8 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.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 854.454272,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.62136279296875,
"mean": 7.62136279296875,
"stdev": 0.0,
"p50": 7.62136279296875,
"p90": 7.62136279296875,
"p95": 7.62136279296875,
"p99": 7.62136279296875,
"values": [
7.62136279296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3212334826387335e-06,
"ram": 2.352785979543987e-06,
"gpu": 6.3786162140001e-06,
"total": 1.305263567618282e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1093.873664,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0025451493263242,
"mean": 0.0072125550311246366,
"stdev": 0.0001541750156060967,
"p50": 0.00719974422454834,
"p90": 0.007445913505554199,
"p95": 0.00752865285873413,
"p99": 0.007674568967819213,
"values": [
0.0074301438331604,
0.007328767776489258,
0.007321599960327148,
0.007336927890777588,
0.007332863807678222,
0.007320576190948487,
0.007251967906951904,
0.007147520065307617,
0.0072120318412780765,
0.007223296165466309,
0.007208960056304932,
0.007244800090789795,
0.007200831890106201,
0.007127039909362793,
0.007102464199066162,
0.007144447803497315,
0.007186431884765625,
0.007184383869171143,
0.007211008071899414,
0.007263232231140137,
0.007271423816680909,
0.00724889612197876,
0.00714035177230835,
0.0071157760620117185,
0.007249887943267822,
0.007231520175933838,
0.007226367950439453,
0.007219200134277344,
0.007197696208953858,
0.007211008071899414,
0.007200767993927002,
0.007235583782196045,
0.007217152118682861,
0.00724889612197876,
0.007266304016113281,
0.007084095954895019,
0.007117824077606201,
0.007638976097106933,
0.007489535808563232,
0.007486464023590088,
0.007468031883239746,
0.007506944179534912,
0.007696383953094482,
0.007700479984283447,
0.007611392021179199,
0.007599103927612305,
0.007548927783966064,
0.007514111995697022,
0.007526400089263916,
0.007245823860168457,
0.00722431993484497,
0.007205887794494629,
0.007256063938140869,
0.00719974422454834,
0.007105535984039306,
0.00713318395614624,
0.007178239822387696,
0.0072325119972229,
0.007255040168762207,
0.0071198720932006835,
0.007093247890472412,
0.007173120021820068,
0.007180287837982178,
0.007236608028411865,
0.007203839778900147,
0.007192512035369873,
0.007236608028411865,
0.007291903972625732,
0.007303167819976806,
0.007262207984924316,
0.007259136199951172,
0.007200767993927002,
0.007223296165466309,
0.007237631797790528,
0.007153664112091064,
0.007165952205657959,
0.0071485438346862796,
0.007109632015228271,
0.007135231971740722,
0.007326687812805176,
0.007516160011291504,
0.007430079936981201,
0.007223296165466309,
0.0071649918556213376,
0.007161856174468994,
0.007302144050598145,
0.00734822416305542,
0.007341055870056152,
0.007315455913543701,
0.0074403839111328125,
0.007607295989990235,
0.007327744007110596,
0.0072202239036560055,
0.007205887794494629,
0.007163871765136718,
0.007269375801086426,
0.0072499198913574215,
0.0071792640686035155,
0.007122943878173828,
0.00709119987487793,
0.007136256217956543,
0.007063551902770996,
0.007057407855987549,
0.006965248107910156,
0.007032832145690918,
0.007030784130096435,
0.007021567821502686,
0.007044095993041993,
0.007094272136688232,
0.007117824077606201,
0.007120895862579346,
0.0071075520515441895,
0.007085055828094483,
0.007109632015228271,
0.007147583961486816,
0.007144447803497315,
0.007122943878173828,
0.007126016139984131,
0.007160895824432373,
0.007114751815795899,
0.007102399826049805,
0.0069734082221984866,
0.007006207942962647,
0.00703385591506958,
0.007077888011932373,
0.0071188478469848635,
0.0070563840866088865,
0.007017471790313721,
0.007010303974151612,
0.0069928960800170895,
0.006971392154693603,
0.007014400005340577,
0.007013376235961914,
0.00698579216003418,
0.006987775802612305,
0.007061503887176514,
0.007096352100372315,
0.0071198720932006835,
0.007080959796905518
]
},
"throughput": {
"unit": "samples/s",
"value": 138.6471223699034
},
"energy": {
"unit": "kWh",
"cpu": 8.406329849290721e-08,
"ram": 4.5961211613015235e-08,
"gpu": 1.7274245497872437e-07,
"total": 3.027669650846468e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3302870.244514366
}
}
}
}