IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7bfe7d9 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",
"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": 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",
"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.0",
"optimum_benchmark_commit": "2d3261cf9b992810a685ce736f41254a91cd091e",
"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": 1823.47776,
"max_global_vram": 520.372224,
"max_process_vram": 113478.725632,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 167,
"total": 0.9967183914184568,
"mean": 0.0059683736013081265,
"stdev": 0.0004940107313538313,
"p50": 0.005848002910614014,
"p90": 0.006540067005157471,
"p95": 0.0065633951663970945,
"p99": 0.007796448822021485,
"values": [
0.00781408405303955,
0.0077873640060424805,
0.007783843040466309,
0.0072870440483093265,
0.006600963115692139,
0.006596323013305664,
0.006538403034210205,
0.006537123203277588,
0.006539682865142823,
0.006567042827606201,
0.006539524078369141,
0.006552483081817627,
0.0065147228240966795,
0.006526402950286865,
0.0064787230491638184,
0.006515363216400147,
0.00652720308303833,
0.00656160306930542,
0.006564163208007813,
0.006540643215179443,
0.006503522872924805,
0.006553604125976563,
0.006546883106231689,
0.006548003196716308,
0.006547362804412842,
0.006545923233032227,
0.006490242958068848,
0.006521283149719238,
0.0060425629615783695,
0.006012322902679443,
0.006238722801208496,
0.005876002788543701,
0.0058116822242736815,
0.005797603130340576,
0.006127202987670898,
0.005857122898101807,
0.005848002910614014,
0.0058227219581604,
0.005797283172607422,
0.005830243110656739,
0.005731523036956787,
0.005799682140350342,
0.005759683132171631,
0.00583568286895752,
0.005962563037872314,
0.005778401851654053,
0.005836482048034668,
0.006339202880859375,
0.008703043937683105,
0.005687522888183594,
0.005970242977142334,
0.005676163196563721,
0.005969121932983399,
0.006016482830047607,
0.005925602912902832,
0.005900962829589844,
0.005963202953338623,
0.0064096031188964845,
0.006407362937927246,
0.0058651227951049805,
0.006201282978057861,
0.0061321620941162105,
0.006253283023834228,
0.0062102432250976565,
0.006121603012084961,
0.006078883171081543,
0.0059307231903076175,
0.006077763080596924,
0.006073442935943604,
0.006021442890167236,
0.0060012822151184085,
0.006136962890625,
0.006262563228607178,
0.006271842956542969,
0.0062585630416870115,
0.006290082931518555,
0.006237762928009033,
0.006115683078765869,
0.0061304030418396,
0.0059092831611633305,
0.006082083225250244,
0.006041121959686279,
0.005925602912902832,
0.006005602836608887,
0.0057348828315734865,
0.005742722988128662,
0.005533122062683106,
0.005532803058624268,
0.005499842166900634,
0.0055110430717468266,
0.005531682968139649,
0.00552848196029663,
0.0055238428115844725,
0.005495841979980469,
0.005532163143157959,
0.005504162788391114,
0.0055302419662475585,
0.005539523124694824,
0.005518883228302002,
0.0055156822204589845,
0.0055398430824279785,
0.005525122165679932,
0.005530083179473877,
0.005548323154449463,
0.005523201942443848,
0.0055398430824279785,
0.005556323051452637,
0.00576592206954956,
0.005513123035430908,
0.005514243125915527,
0.00552576208114624,
0.005690242767333984,
0.005533122062683106,
0.0055105619430542,
0.005541122913360595,
0.005535521984100342,
0.005548802852630616,
0.005543043136596679,
0.005536322116851807,
0.005547523021697998,
0.005523682117462158,
0.005535842895507813,
0.005519682884216308,
0.005528962135314942,
0.005536003112792969,
0.005532803058624268,
0.005817282199859619,
0.006269123077392578,
0.006292643070220948,
0.0062414431571960445,
0.005844802856445313,
0.005996482849121094,
0.006009122848510742,
0.006273443222045898,
0.006280642986297607,
0.00613424301147461,
0.0059216017723083495,
0.0058033628463745116,
0.005788002967834473,
0.00585040283203125,
0.005779521942138672,
0.005811683177947998,
0.00568992280960083,
0.0058662428855896,
0.005682241916656494,
0.00589680290222168,
0.005706402778625488,
0.005873602867126465,
0.005719041824340821,
0.005814883232116699,
0.005778402805328369,
0.005512961864471436,
0.005530083179473877,
0.005530882835388184,
0.005563362121582031,
0.005522402763366699,
0.005545122146606445,
0.005505123138427734,
0.005733283042907715,
0.00552848196029663,
0.005497282981872559,
0.0055257630348205565,
0.0055064020156860355,
0.005516802787780762,
0.005526401996612549,
0.005495841979980469,
0.005518562793731689
]
},
"throughput": {
"unit": "samples/s",
"value": 167.54983296970948
},
"energy": null,
"efficiency": null
}
}
}