IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1516b50 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "6",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1177.980928,
"max_global_vram": 68702.69952,
"max_process_vram": 7289.577472,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.42959725952148436
],
"count": 1,
"total": 0.42959725952148436,
"mean": 0.42959725952148436,
"p50": 0.42959725952148436,
"p90": 0.42959725952148436,
"p95": 0.42959725952148436,
"p99": 0.42959725952148436,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1262.415872,
"max_global_vram": 68702.69952,
"max_process_vram": 108287.012864,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"values": [
0.008276171684265136,
0.007658891201019287,
0.008039691925048827,
0.007966251850128173,
0.007716170787811279,
0.007344810962677002,
0.007307849884033203,
0.0073969712257385255,
0.007619370937347412,
0.0074899311065673825,
0.007498570919036865,
0.008057931900024413,
0.007645290851593017,
0.007544011116027832,
0.0076819310188293456,
0.007481931209564209,
0.007514891147613526,
0.007702250957489013,
0.007840171813964843,
0.0075889711380004886,
0.007595370769500733,
0.007081930160522461,
0.0071748909950256345,
0.007137290000915527,
0.007107530117034912,
0.007172010898590088,
0.0070528101921081545,
0.007186730861663818,
0.007076650142669678,
0.007171529769897461,
0.0070892910957336425,
0.007074570178985596,
0.0072220911979675294,
0.007066249847412109,
0.007171050071716308,
0.007078411102294922,
0.00708912992477417,
0.007108489990234375,
0.007116490840911865,
0.007093289852142334,
0.0071009712219238285,
0.007092010021209716,
0.007077929973602295,
0.007069291114807129,
0.00708961009979248,
0.007083049774169922,
0.007091851234436035,
0.007054890155792236,
0.007097929954528809,
0.007069770812988281,
0.007068170070648193,
0.007064010143280029,
0.007082251071929932,
0.007393290042877197,
0.007105930805206299,
0.007110730171203613,
0.007090569972991944,
0.007092649936676025,
0.007079850196838379,
0.007103850841522217,
0.007122089862823486,
0.007111370086669922,
0.007091530799865723,
0.00718897008895874,
0.007127211093902588,
0.00711968994140625,
0.007351531028747559,
0.007114729881286621,
0.00711313009262085,
0.007205290794372559,
0.007440011024475098,
0.007394731044769287,
0.007319690227508545,
0.007444971084594727,
0.007333450794219971,
0.00716064977645874,
0.007088810920715332,
0.007288969993591308,
0.00740337085723877,
0.00738369083404541,
0.007665931224822998,
0.0075284910202026364,
0.007511530876159668,
0.007296171188354492,
0.0070172901153564456,
0.0070844898223876955,
0.0070726509094238285,
0.007080170154571533,
0.007291211128234863,
0.007016329765319824,
0.0070558500289916995,
0.007067369937896729,
0.0070728111267089845,
0.0070539298057556155,
0.0070515298843383785,
0.007423690795898438,
0.007114089965820312,
0.007116809844970703,
0.007116809844970703,
0.007119531154632568,
0.0070907301902771,
0.007094729900360108,
0.007268651008605957,
0.007101769924163818,
0.007288010120391846,
0.007308970928192138,
0.007512170791625977,
0.007484810829162598,
0.0074912109375,
0.007467531204223633,
0.007432330131530762,
0.007476010799407959,
0.007595850944519043,
0.007315210819244385,
0.007104169845581054,
0.00709217119216919,
0.007087210178375244,
0.007079529762268067,
0.0071161708831787105,
0.007057769775390625,
0.007091050148010254,
0.007069769859313965,
0.007076809883117676,
0.007107530117034912,
0.007386730194091797,
0.007122251033782959,
0.007099530220031738,
0.007101449966430664,
0.007100330829620361,
0.007114570140838623,
0.007107211112976074,
0.00708096981048584,
0.007096650123596192,
0.007092650890350342,
0.007106729984283447,
0.0070878491401672366,
0.007089931011199951,
0.007069290161132813
],
"count": 138,
"total": 1.0002833728790281,
"mean": 0.007248430238253827,
"p50": 0.0071146500110626214,
"p90": 0.007590891027450562,
"p95": 0.007684979009628296,
"p99": 0.008051183109283447,
"stdev": 0.00024068662170754232,
"stdev_": 3.3205344301626964
},
"throughput": {
"unit": "samples/s",
"value": 137.96090562098084
},
"energy": null,
"efficiency": null
}
}
}