IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9c4fb73 verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.153792,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 185,
"total": 0.9948069109916683,
"mean": 0.00537733465400902,
"stdev": 0.0003178198365425251,
"p50": 0.005343232154846191,
"p90": 0.005610700798034668,
"p95": 0.00574320650100708,
"p99": 0.006468771972656245,
"values": [
0.007903232097625732,
0.007609344005584716,
0.00587775993347168,
0.005615615844726562,
0.00597811222076416,
0.005855231761932373,
0.005882880210876465,
0.0058091521263122555,
0.005777408123016357,
0.0057415680885314945,
0.005726208209991455,
0.005702655792236328,
0.005650432109832764,
0.005743616104125977,
0.005684224128723145,
0.005730303764343261,
0.005603328227996827,
0.005299200057983398,
0.005350399971008301,
0.00535859203338623,
0.005343232154846191,
0.005485568046569824,
0.005445631980895996,
0.005497856140136719,
0.005441535949707031,
0.005444608211517334,
0.005396480083465576,
0.0053975038528442385,
0.005295104026794434,
0.005462016105651855,
0.005480447769165039,
0.005481472015380859,
0.005446656227111817,
0.005431295871734619,
0.005492735862731934,
0.0054271998405456545,
0.00536678409576416,
0.005425151824951172,
0.005421055793762207,
0.005446656227111817,
0.005483520030975342,
0.005441535949707031,
0.00532480001449585,
0.005249023914337158,
0.005251071929931641,
0.00526643180847168,
0.00532480001449585,
0.005325823783874512,
0.005272575855255127,
0.005405695915222168,
0.005413887977600097,
0.00538316822052002,
0.005432320117950439,
0.005483520030975342,
0.00550816011428833,
0.005476352214813233,
0.005447711944580078,
0.005517312049865723,
0.005410816192626953,
0.005398528099060058,
0.00532476806640625,
0.005407743930816651,
0.00551526403427124,
0.005446656227111817,
0.005393407821655274,
0.005471231937408447,
0.005440512180328369,
0.005326848030090332,
0.005256192207336426,
0.005502975940704345,
0.005395455837249756,
0.005361663818359375,
0.005340159893035889,
0.005511168003082275,
0.005434432029724121,
0.00530944013595581,
0.0053606400489807126,
0.005343232154846191,
0.005345280170440674,
0.005371840000152588,
0.005362720012664795,
0.005351424217224121,
0.005385216236114502,
0.005387263774871826,
0.005342207908630371,
0.005444608211517334,
0.0054876160621643065,
0.005518335819244385,
0.005441535949707031,
0.005468160152435303,
0.005485568046569824,
0.0053975038528442385,
0.005414912223815918,
0.005467135906219483,
0.005344255924224854,
0.005268479824066162,
0.005455872058868408,
0.005322751998901368,
0.005295104026794434,
0.005251071929931641,
0.005064703941345215,
0.005122047901153564,
0.005328896045684814,
0.005280767917633057,
0.005086207866668701,
0.0050728960037231445,
0.0050421757698059086,
0.004999167919158935,
0.005047296047210693,
0.005076960086822509,
0.005089280128479004,
0.005433343887329102,
0.005480447769165039,
0.005543935775756836,
0.005598207950592041,
0.005691391944885254,
0.005724160194396972,
0.005458943843841553,
0.005399551868438721,
0.005434368133544922,
0.006251520156860352,
0.005358655929565429,
0.005139455795288086,
0.005105663776397705,
0.00506060791015625,
0.005114880084991455,
0.00505241584777832,
0.005056511878967285,
0.005082111835479736,
0.005082111835479736,
0.005022719860076904,
0.0050083518028259276,
0.005004288196563721,
0.005083136081695557,
0.005031936168670655,
0.005090303897857666,
0.005221375942230225,
0.0052008957862854,
0.005182464122772217,
0.005198847770690918,
0.005214208126068115,
0.0052091522216796875,
0.005183487892150879,
0.00522547197341919,
0.0052070398330688475,
0.005174240112304687,
0.005212160110473632,
0.0052070398330688475,
0.005196832180023194,
0.005222400188446045,
0.0052674560546875,
0.005246975898742676,
0.005298175811767578,
0.005272575855255127,
0.0052008957862854,
0.005191648006439209,
0.0052008957862854,
0.005210112094879151,
0.005194752216339111,
0.0052111358642578124,
0.005198847770690918,
0.005185535907745361,
0.0052295680046081545,
0.005204991817474365,
0.005185535907745361,
0.005210112094879151,
0.005187647819519043,
0.005184512138366699,
0.00522547197341919,
0.005249023914337158,
0.005262335777282715,
0.005258240222930908,
0.005268479824066162,
0.005277696132659912,
0.00526643180847168,
0.005256192207336426,
0.005243840217590332,
0.0052295680046081545,
0.005268479824066162,
0.005258240222930908,
0.005255167961120606,
0.005275648117065429,
0.005246975898742676,
0.005245952129364013,
0.00536678409576416
]
},
"throughput": {
"unit": "samples/s",
"value": 185.965736622782
},
"energy": {
"unit": "kWh",
"cpu": 5.943594624598822e-08,
"ram": 3.249048695579404e-08,
"gpu": 1.3212371680999964e-07,
"total": 2.240501500117819e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4463286.4559448585
}
}
}
}