IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7592ae9 verified
raw
history blame
11.7 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": "079be6729111d58c45eb7f4a60e984bbf86c5a81",
"transformers_version": "4.41.0",
"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": 1818.034176,
"max_global_vram": 1521.651712,
"max_process_vram": 85219.188736,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 167,
"total": 0.9959653778076171,
"mean": 0.005963864537770163,
"stdev": 0.0002944117492578056,
"p50": 0.005922717094421387,
"p90": 0.006248893356323242,
"p95": 0.006417006015777588,
"p99": 0.007465027475357056,
"values": [
0.007596957206726074,
0.00614127779006958,
0.006453756809234619,
0.006071037769317627,
0.00622639799118042,
0.0060323171615600584,
0.005787837982177735,
0.006378558158874512,
0.005785437107086182,
0.0057652778625488284,
0.005784158229827881,
0.005782238006591797,
0.005753918170928955,
0.005933597087860108,
0.005747518062591553,
0.005786717891693115,
0.0057511978149414065,
0.006028477191925049,
0.0059260778427124025,
0.005975358009338379,
0.005981757164001465,
0.0058105578422546385,
0.00581535816192627,
0.005923838138580322,
0.00590559720993042,
0.005950878143310547,
0.005907837867736816,
0.005824477195739746,
0.005806558132171631,
0.0058619179725646975,
0.005941117763519287,
0.005948797225952148,
0.005884798049926758,
0.005806717872619629,
0.005836478233337402,
0.005982876777648926,
0.005846397876739502,
0.005847517967224121,
0.005972318172454834,
0.0060593581199646,
0.005868477821350098,
0.00593983793258667,
0.006128797054290772,
0.005938558101654052,
0.00629807710647583,
0.006074717998504639,
0.00639119815826416,
0.006076157093048096,
0.005955677986145019,
0.006044477939605713,
0.0060015969276428225,
0.005951677799224854,
0.005985757827758789,
0.005926076889038086,
0.006100637912750244,
0.006021277904510498,
0.005951677799224854,
0.005938557147979737,
0.005945437908172607,
0.005932638168334961,
0.005922717094421387,
0.006138718128204346,
0.006047838211059571,
0.00605023717880249,
0.005896158218383789,
0.005899678230285645,
0.005924797058105469,
0.005927197933197022,
0.006379998207092285,
0.006244156837463379,
0.005951037883758545,
0.006016158103942871,
0.0059563169479370116,
0.00599823808670044,
0.005924478054046631,
0.005915038108825684,
0.00573151683807373,
0.0057371177673339845,
0.006093438148498535,
0.005813918113708496,
0.0057972769737243655,
0.005806238174438477,
0.005820318222045899,
0.005786397933959961,
0.005803997039794922,
0.005817758083343506,
0.005810877799987793,
0.005799037933349609,
0.0058119969367980955,
0.005800797939300537,
0.005803997993469238,
0.005794397830963135,
0.005744476795196533,
0.005735837936401368,
0.005792637825012207,
0.005785597801208496,
0.005791997909545899,
0.005800636768341064,
0.005799357891082764,
0.0057982378005981446,
0.00579791784286499,
0.005857757091522217,
0.005804637908935547,
0.005798558235168457,
0.00570015811920166,
0.00576479721069336,
0.00573023796081543,
0.0057503981590271,
0.0057433581352233885,
0.005742077827453613,
0.00573695707321167,
0.0057676777839660645,
0.00573071813583374,
0.005726078033447266,
0.00575599718093872,
0.005724157810211182,
0.005726237773895263,
0.0057286381721496586,
0.0057195181846618655,
0.006342717170715332,
0.006415997982025147,
0.006384636878967285,
0.0064687981605529785,
0.006190237045288086,
0.0061089577674865725,
0.006039358139038086,
0.007588157176971436,
0.007401597023010254,
0.006523837089538574,
0.00641743803024292,
0.006447516918182373,
0.00622911787033081,
0.006255998134613037,
0.006142716884613037,
0.0060753579139709475,
0.005976637840270996,
0.005933756828308105,
0.006023037910461426,
0.005778557777404785,
0.005739357948303223,
0.005725118160247802,
0.005777438163757324,
0.005703678131103515,
0.005748638153076172,
0.005721436977386475,
0.005970558166503906,
0.007081916809082031,
0.005799677848815918,
0.0059831981658935544,
0.0059475178718566895,
0.006057597160339355,
0.005933917999267578,
0.005757917881011963,
0.005766236782073974,
0.005942877769470215,
0.0058907179832458495,
0.005913278102874756,
0.005929596900939941,
0.00613135814666748,
0.005794558048248291,
0.005940957069396973,
0.005948957920074463,
0.005923038005828858,
0.0057622380256652835,
0.005959516048431397,
0.005736638069152832,
0.005761918067932129
]
},
"throughput": {
"unit": "samples/s",
"value": 167.6765113739306
},
"energy": null,
"efficiency": null
}
}
}