IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
829c11d verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": 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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "0d561969d04a7091baf8691bc894eb753a189d4f",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1824.866304,
"max_global_vram": 541.26592,
"max_process_vram": 85978.660864,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 171,
"total": 0.9966359319686889,
"mean": 0.005828280303910462,
"stdev": 0.00020172981992898454,
"p50": 0.005736472129821778,
"p90": 0.006099192142486573,
"p95": 0.0062355115413665774,
"p99": 0.006412375068664551,
"values": [
0.00622895097732544,
0.005941751956939697,
0.005802231788635254,
0.005829912185668945,
0.005803032875061035,
0.006013431072235107,
0.005939511775970459,
0.005858712196350098,
0.005831831932067871,
0.0059439921379089355,
0.005929751873016358,
0.0057548718452453615,
0.00572255277633667,
0.005938392162322998,
0.005755832195281982,
0.005733911991119385,
0.005736472129821778,
0.005766712188720703,
0.005764632225036621,
0.005755033016204834,
0.005752312183380127,
0.005746071815490723,
0.006695510864257813,
0.006148952007293701,
0.005882233142852783,
0.005978871822357177,
0.005951191902160645,
0.00595087194442749,
0.006323031902313233,
0.006165750980377197,
0.006287352085113525,
0.006016631126403809,
0.006220791816711426,
0.006207352161407471,
0.00626143217086792,
0.005995831966400147,
0.005683832168579102,
0.006242072105407715,
0.00596575117111206,
0.005982071876525879,
0.005939352035522461,
0.005999832153320312,
0.005906392097473145,
0.005882552146911621,
0.005907991886138916,
0.005817912101745606,
0.005950232028961181,
0.005939832210540771,
0.006123991012573242,
0.006077752113342285,
0.005672791957855225,
0.006138391971588135,
0.005923992156982422,
0.00594431209564209,
0.0059702320098876955,
0.005902872085571289,
0.005767191886901855,
0.00569647216796875,
0.005684792041778564,
0.005683352947235107,
0.0057017521858215335,
0.005690552234649658,
0.005679351806640625,
0.005693112850189209,
0.0056711921691894535,
0.005691671848297119,
0.00578815221786499,
0.005763672828674317,
0.005673432826995849,
0.005688632011413574,
0.005695191860198975,
0.005691513061523438,
0.00566591215133667,
0.00568447208404541,
0.005678071975708008,
0.00566959285736084,
0.0056595120429992676,
0.00564623212814331,
0.00566959285736084,
0.005677272796630859,
0.005683671951293945,
0.00567583179473877,
0.0056843128204345705,
0.005679512023925781,
0.005682072162628174,
0.005678711891174316,
0.005684792995452881,
0.005675511837005615,
0.0058796720504760746,
0.005682712078094483,
0.005679993152618408,
0.005682393074035645,
0.005655352115631103,
0.005637112140655517,
0.005690392971038819,
0.005675672054290771,
0.005689271926879883,
0.005684631824493408,
0.005658712863922119,
0.005693912029266357,
0.005683032035827637,
0.005663672924041748,
0.005665272235870361,
0.005696951866149902,
0.005671031951904297,
0.005653432846069336,
0.005650231838226319,
0.005643191814422607,
0.0056649518013000486,
0.005801433086395263,
0.006383350849151611,
0.006411991119384766,
0.0064132709503173825,
0.006213431835174561,
0.006071991920471191,
0.005855512142181396,
0.006055511951446533,
0.0058647928237915035,
0.006029272079467773,
0.005874072074890137,
0.0062857518196105956,
0.005841752052307129,
0.006042232036590576,
0.005852471828460693,
0.006057910919189453,
0.005876952171325683,
0.006057432174682617,
0.005902872085571289,
0.006089591979980468,
0.005890711784362793,
0.006069111824035645,
0.0058851118087768555,
0.006073591232299805,
0.0058748722076416016,
0.006099192142486573,
0.005967512130737305,
0.005853752136230469,
0.00568671178817749,
0.005650393009185791,
0.005657272815704346,
0.005667031764984131,
0.005624311923980713,
0.00566351318359375,
0.0058473520278930664,
0.005643352031707764,
0.005596792221069336,
0.005631672859191895,
0.005625751972198487,
0.005636792182922363,
0.005646553039550781,
0.005663832187652588,
0.005660471916198731,
0.00568159294128418,
0.005675511837005615,
0.0057071919441223145,
0.005685272216796875,
0.005679993152618408,
0.00566207218170166,
0.005827511787414551,
0.005681431770324707,
0.0056702327728271485,
0.0056643118858337406,
0.005675992012023926,
0.005725912094116211,
0.005699193000793457,
0.005669432163238525,
0.005671511173248291,
0.005670872211456299,
0.0056793532371521,
0.005677591800689697,
0.005669112205505371
]
},
"throughput": {
"unit": "samples/s",
"value": 171.57719736455604
},
"energy": null,
"efficiency": null
}
}
}