IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
86b99ef verified
raw
history blame
11.6 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-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.33.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": 852.594688,
"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.66791357421875,
"mean": 7.66791357421875,
"stdev": 0.0,
"p50": 7.66791357421875,
"p90": 7.66791357421875,
"p95": 7.66791357421875,
"p99": 7.66791357421875,
"values": [
7.66791357421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.2900083076389315e-06,
"ram": 2.33538199002576e-06,
"gpu": 6.500282977999969e-06,
"total": 1.3125673275664662e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.32128,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9986817293167118,
"mean": 0.007452848726244117,
"stdev": 0.0002413271448421792,
"p50": 0.007510015964508057,
"p90": 0.007726592016220093,
"p95": 0.0077924865245819095,
"p99": 0.007947868194580076,
"values": [
0.007782400131225586,
0.007799808025360107,
0.007788544178009033,
0.007766047954559326,
0.007808000087738037,
0.007714816093444824,
0.007723008155822754,
0.007804927825927735,
0.007693312168121338,
0.007814144134521485,
0.0077199358940124516,
0.007655424118041992,
0.00729702377319336,
0.00729702377319336,
0.007327744007110596,
0.007379968166351319,
0.00734822416305542,
0.0073175039291381834,
0.007300096035003662,
0.007315455913543701,
0.007216127872467041,
0.00724070405960083,
0.007413760185241699,
0.007685120105743408,
0.007609344005584716,
0.007543807983398438,
0.007614463806152344,
0.007636960029602051,
0.007589888095855713,
0.007646207809448242,
0.007712768077850342,
0.007614528179168701,
0.007531519889831543,
0.007528448104858398,
0.007553023815155029,
0.007535615921020508,
0.0076574721336364745,
0.007590911865234375,
0.007602176189422607,
0.00782643222808838,
0.0076902399063110355,
0.0077281279563903805,
0.007770112037658691,
0.007678976058959961,
0.007639039993286132,
0.007610367774963379,
0.0076308479309082035,
0.007608320236206055,
0.00759603214263916,
0.00764415979385376,
0.007544832229614258,
0.00753868818283081,
0.007599103927612305,
0.007556096076965332,
0.007716864109039307,
0.007585792064666748,
0.007585792064666748,
0.00800767993927002,
0.008371199607849121,
0.0076871681213378906,
0.0076912641525268555,
0.007651328086853027,
0.007778304100036621,
0.007710720062255859,
0.007617536067962646,
0.0076267518997192385,
0.007640063762664795,
0.0076574721336364745,
0.0076267518997192385,
0.007745535850524903,
0.007541759967803955,
0.0076687679290771485,
0.007514111995697022,
0.007576576232910156,
0.007419904232025146,
0.0073768959045410155,
0.007558144092559814,
0.007393216133117676,
0.00722431993484497,
0.007196671962738037,
0.007209983825683594,
0.0072724480628967286,
0.007478271961212158,
0.007505919933319092,
0.007432191848754883,
0.007542784214019775,
0.00760319995880127,
0.007374847888946533,
0.007336959838867187,
0.00719155216217041,
0.007305215835571289,
0.007520256042480469,
0.007345151901245117,
0.007250912189483642,
0.007236608028411865,
0.0071823358535766605,
0.00725708818435669,
0.007243775844573975,
0.007274496078491211,
0.007233535766601563,
0.007170048236846924,
0.007217152118682861,
0.00724070405960083,
0.007154687881469727,
0.007164927959442138,
0.007148608207702637,
0.0071485438346862796,
0.007166975975036621,
0.0071792640686035155,
0.0071905279159545895,
0.007147520065307617,
0.007157760143280029,
0.0071905279159545895,
0.007420928001403809,
0.007201791763305664,
0.007177216053009033,
0.00714137601852417,
0.007177216053009033,
0.007166975975036621,
0.007184383869171143,
0.007153664112091064,
0.0071157760620117185,
0.007142399787902832,
0.007154687881469727,
0.007155712127685547,
0.007134208202362061,
0.00714137601852417,
0.007180287837982178,
0.007156735897064209,
0.007140384197235107,
0.007107583999633789,
0.00714137601852417,
0.00724073600769043,
0.007163904190063477
]
},
"throughput": {
"unit": "samples/s",
"value": 134.17688144918952
},
"energy": {
"unit": "kWh",
"cpu": 8.442107414302951e-08,
"ram": 4.61558337338671e-08,
"gpu": 1.8096941191489396e-07,
"total": 3.1154631979179057e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3209795.5792522593
}
}
}
}