IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
faf7075 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",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.0",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 951.025664,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 184,
"total": 0.9954787502288815,
"mean": 0.00541021059907001,
"stdev": 0.000200467544936466,
"p50": 0.005394431829452515,
"p90": 0.0056758270263671876,
"p95": 0.005742591857910156,
"p99": 0.0060253537940979,
"values": [
0.005946368217468262,
0.005754816055297852,
0.005760000228881836,
0.00573747205734253,
0.0057702078819274905,
0.005742591857910156,
0.005742591857910156,
0.005812160015106201,
0.005670911788940429,
0.005548064231872559,
0.0055337600708007815,
0.005471231937408447,
0.005443583965301513,
0.005403647899627686,
0.005410816192626953,
0.005431295871734619,
0.0054271998405456545,
0.005470208168029785,
0.005345280170440674,
0.005566463947296142,
0.005465087890625,
0.00550707197189331,
0.005561312198638916,
0.00562278413772583,
0.005631999969482422,
0.005695487976074219,
0.005682176113128662,
0.005486591815948487,
0.005392384052276611,
0.00582857608795166,
0.005574656009674072,
0.005624832153320313,
0.005709824085235596,
0.005652480125427246,
0.005699584007263184,
0.0056442880630493165,
0.005484543800354004,
0.005482495784759522,
0.005402624130249023,
0.005459968090057373,
0.005476416110992432,
0.005435391902923584,
0.00568832015991211,
0.005612544059753418,
0.005574656009674072,
0.005489664077758789,
0.005454847812652588,
0.00566476821899414,
0.005544960021972656,
0.005321728229522705,
0.005315584182739258,
0.005459968090057373,
0.005393407821655274,
0.005416959762573242,
0.005454847812652588,
0.005533696174621582,
0.005504000186920166,
0.005478400230407715,
0.005538815975189209,
0.005435391902923584,
0.005463039875030518,
0.0053719358444213865,
0.005583871841430664,
0.0054988799095153805,
0.005575679779052735,
0.005396480083465576,
0.005446656227111817,
0.005464064121246338,
0.005413887977600097,
0.005318655967712403,
0.005343232154846191,
0.005414912223815918,
0.005390336036682129,
0.005320703983306885,
0.005475327968597412,
0.005512191772460938,
0.005566463947296142,
0.005497856140136719,
0.00536575984954834,
0.005355519771575928,
0.005352447986602784,
0.00552243185043335,
0.005393407821655274,
0.005355519771575928,
0.005331967830657959,
0.005395455837249756,
0.005413887977600097,
0.005476352214813233,
0.0055511040687561035,
0.0054988799095153805,
0.005506048202514649,
0.006240255832672119,
0.0056852478981018065,
0.005635072231292724,
0.005677055835723877,
0.006061024188995361,
0.00601804780960083,
0.005672959804534912,
0.005610496044158936,
0.005443583965301513,
0.005399551868438721,
0.005328896045684814,
0.005368832111358642,
0.00537497615814209,
0.005545983791351319,
0.00542310380935669,
0.005299200057983398,
0.005219327926635742,
0.0052674560546875,
0.005272607803344726,
0.0053002238273620605,
0.005449759960174561,
0.005371903896331787,
0.005390304088592529,
0.005401599884033203,
0.005362688064575195,
0.005430272102355957,
0.0055244798660278325,
0.00555622386932373,
0.0053002238273620605,
0.005280767917633057,
0.005244927883148193,
0.005266496181488037,
0.005259263992309571,
0.005222400188446045,
0.005292031764984131,
0.005241856098175048,
0.005219327926635742,
0.005261312007904053,
0.005268479824066162,
0.005340159893035889,
0.005261312007904053,
0.005257215976715088,
0.005230591773986816,
0.005307392120361328,
0.005251071929931641,
0.005287936210632324,
0.0052295680046081545,
0.005243904113769531,
0.0052295680046081545,
0.005222400188446045,
0.005237760066986084,
0.005220352172851562,
0.005223423957824707,
0.005260287761688232,
0.005257215976715088,
0.0052152638435363765,
0.005260287761688232,
0.005272575855255127,
0.005231616020202637,
0.0052715520858764645,
0.0052367358207702636,
0.005252096176147461,
0.005244927883148193,
0.00522649621963501,
0.005255167961120606,
0.005215231895446777,
0.005246975898742676,
0.005251071929931641,
0.005231616020202637,
0.005255167961120606,
0.0052336640357971195,
0.005129216194152832,
0.005246975898742676,
0.005325823783874512,
0.005237760066986084,
0.0052408318519592285,
0.005221375942230225,
0.005202976226806641,
0.005244927883148193,
0.005244927883148193,
0.005232672214508057,
0.005255167961120606,
0.005222464084625244,
0.005185535907745361,
0.0050503678321838375,
0.0050657281875610355,
0.0050206718444824215,
0.005008384227752686,
0.0050032639503479,
0.005054463863372802,
0.00506063985824585,
0.0050432000160217285,
0.005067776203155518
]
},
"throughput": {
"unit": "samples/s",
"value": 184.8356883134818
},
"energy": {
"unit": "kWh",
"cpu": 6.016442416686496e-08,
"ram": 3.2894114409998853e-08,
"gpu": 1.2661318645685417e-07,
"total": 2.1967172503371796e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4552247.221832976
}
}
}
}