IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c592b85 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": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1118.195712,
"max_global_vram": 68702.69952,
"max_process_vram": 44591.49312,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.351595703125,
"mean": 8.351595703125,
"stdev": 0.0,
"p50": 8.351595703125,
"p90": 8.351595703125,
"p95": 8.351595703125,
"p99": 8.351595703125,
"values": [
8.351595703125
]
},
"throughput": null,
"energy": null,
"efficiency": null,
"measures": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1202.56512,
"max_global_vram": 68702.69952,
"max_process_vram": 114486.21056,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9992501859664916,
"mean": 0.007137501328332084,
"stdev": 0.006441985919160293,
"p50": 0.006941534519195556,
"p90": 0.007719089126586914,
"p95": 0.007895513248443602,
"p99": 0.00927698117256162,
"values": [
0.008088977813720703,
0.007567056179046631,
0.007144975185394287,
0.007270576000213623,
0.0073408160209655765,
0.007322896003723145,
0.007234254837036133,
0.00722993516921997,
0.007272816181182861,
0.0072267351150512695,
0.007220974922180176,
0.007209616184234619,
0.007222576141357422,
0.007157455921173095,
0.007135056018829346,
0.007152174949645996,
0.007092656135559082,
0.00705617618560791,
0.007094894886016846,
0.007088496208190918,
0.007087854862213134,
0.007229936122894287,
0.007202576160430909,
0.007131216049194336,
0.00710641622543335,
0.009953460693359374,
0.007592495918273926,
0.006957456111907959,
0.006970894813537598,
0.006967535018920898,
0.006969136238098144,
0.006880495071411133,
0.00689809513092041,
0.006874575138092041,
0.006871695041656494,
0.00687953519821167,
0.006884015083312988,
0.00689569616317749,
0.006893135070800781,
0.0068921751976013185,
0.006872815132141113,
0.006900815010070801,
0.006900175094604492,
0.006875374794006348,
0.006884974956512451,
0.0069049749374389645,
0.006858735084533691,
0.0068780951499938965,
0.0068756952285766604,
0.0068912158012390135,
0.006919855117797851,
0.006907855033874512,
0.006884974956512451,
0.007251696109771728,
0.00691777515411377,
0.006929456233978271,
0.006919535160064697,
0.0068854551315307615,
0.006907054901123047,
0.006900175094604492,
0.0069188947677612305,
0.0069049749374389645,
0.006913294792175293,
0.0069844951629638675,
0.006943375110626221,
0.006952815055847168,
0.0069209752082824705,
0.006926895141601563,
0.006941615104675293,
0.08080977630615234,
0.0022952051162719728,
0.0022830450534820556,
0.0022787249088287356,
0.0022841649055480957,
0.002290245056152344,
0.002290245056152344,
0.002282244920730591,
0.0022835249900817873,
0.002289444923400879,
0.0022987260818481446,
0.0022795250415802003,
0.002278244972229004,
0.0022860848903656006,
0.0022806448936462404,
0.0022860848903656006,
0.00421536922454834,
0.006909454822540283,
0.006928814888000488,
0.006920334815979004,
0.006899055004119873,
0.006913135051727295,
0.0069049749374389645,
0.006928015232086182,
0.006911375045776367,
0.006929295063018799,
0.006931694984436035,
0.006931375026702881,
0.006939535140991211,
0.006985136032104492,
0.006957294940948486,
0.006928335189819336,
0.006931695938110351,
0.006933454990386963,
0.00694065523147583,
0.006941774845123291,
0.006936336040496826,
0.0069563350677490235,
0.006938895225524902,
0.0069686551094055174,
0.007124495029449463,
0.007242256164550781,
0.0072601761817932126,
0.007460495948791504,
0.007190895080566406,
0.007141615867614746,
0.007439536094665527,
0.007228655815124512,
0.007231535911560058,
0.007722257137298584,
0.008097618103027344,
0.008218897819519042,
0.007841776847839356,
0.007904178142547607,
0.007718737125396728,
0.0072265748977661136,
0.007163374900817871,
0.007575537204742432,
0.007895057201385497,
0.008004337310791016,
0.007868978023529052,
0.007873297214508057,
0.00783057689666748,
0.007865616798400879,
0.007550577163696289,
0.007135056018829346,
0.006917614936828614,
0.00694145393371582,
0.006937294960021973,
0.006963215827941895,
0.006960014820098877
]
},
"throughput": {
"unit": "samples/s",
"value": 140.1050527347059
},
"energy": null,
"efficiency": null,
"measures": null
}
}
}