IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2fe3436 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_type": "resnet50",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"device": "cuda",
"device_ids": "4",
"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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 987.561984,
"max_global_vram": 409.145344,
"max_process_vram": 40332.04224,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.38490087890625,
"mean": 7.38490087890625,
"stdev": 0.0,
"p50": 7.38490087890625,
"p90": 7.38490087890625,
"p95": 7.38490087890625,
"p99": 7.38490087890625,
"values": [
7.38490087890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1845.776384,
"max_global_vram": 514.535424,
"max_process_vram": 220925.587456,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.001170265674591,
"mean": 0.007254856997641964,
"stdev": 0.0004205106587616294,
"p50": 0.007143021821975707,
"p90": 0.00755910096168518,
"p95": 0.00790013997554779,
"p99": 0.00905037696361541,
"values": [
0.007890059947967529,
0.007964299201965333,
0.007888619899749755,
0.007835340023040772,
0.007523021221160889,
0.0075969409942626956,
0.007547340869903565,
0.007529901027679443,
0.007446220874786377,
0.007405261039733887,
0.007354381084442138,
0.007358701229095459,
0.0073326220512390135,
0.007308461189270019,
0.007317262172698975,
0.007331181049346924,
0.007366701126098633,
0.0073612618446350095,
0.007351821899414063,
0.007327180862426758,
0.007327822208404541,
0.007343181133270264,
0.007471820831298828,
0.007475340843200683,
0.00746398115158081,
0.009671975135803222,
0.006963343143463135,
0.006822062015533447,
0.006824303150177002,
0.006801902770996094,
0.006815021991729737,
0.006804782867431641,
0.0067972631454467775,
0.006786063194274903,
0.006794382095336914,
0.006779343128204346,
0.00677694320678711,
0.006814542770385742,
0.006794541835784912,
0.006795823097229004,
0.006785263061523437,
0.006794863224029541,
0.006771663188934326,
0.010185255050659179,
0.007216462135314941,
0.007210062026977539,
0.007218381881713867,
0.007274541854858398,
0.0072468619346618655,
0.00731118106842041,
0.007305101871490478,
0.007285741806030274,
0.007330221176147461,
0.007310061931610107,
0.007370060920715332,
0.007349101066589356,
0.007288941860198975,
0.007121101856231689,
0.007128622055053711,
0.007145902156829834,
0.007143181800842285,
0.007129102230072021,
0.007140302181243897,
0.00710526180267334,
0.007079661846160889,
0.007165102005004883,
0.0070481419563293455,
0.007143502235412598,
0.007124301910400391,
0.00713630199432373,
0.007133901119232178,
0.007143181800842285,
0.007125261783599853,
0.007105902194976806,
0.007125102043151856,
0.007138862133026123,
0.007066862106323242,
0.007039981842041016,
0.007150701999664307,
0.007053262233734131,
0.007155662059783936,
0.007124462127685547,
0.007122382164001465,
0.007134222030639649,
0.007116462230682373,
0.007124301910400391,
0.00710958194732666,
0.007130862236022949,
0.007148461818695068,
0.007178701877593994,
0.007142861843109131,
0.0071377410888671874,
0.00706846284866333,
0.007081422805786133,
0.007162861824035645,
0.007080942153930664,
0.007131182193756104,
0.007079822063446045,
0.007792779922485352,
0.007991980075836182,
0.007586541175842285,
0.007767499923706055,
0.00797565984725952,
0.007984139919281007,
0.007957260131835937,
0.007491981029510498,
0.007489901065826416,
0.007407660961151123,
0.007387500762939453,
0.007038221836090088,
0.0071478219032287595,
0.007126061916351318,
0.007160141944885254,
0.007128461837768555,
0.007140781879425049,
0.007142860889434815,
0.0071491022109985355,
0.0071209421157836916,
0.00710958194732666,
0.00743566083908081,
0.007124782085418701,
0.00717502212524414,
0.007137261867523194,
0.0071502218246459965,
0.007116941928863525,
0.007155501842498779,
0.00713966178894043,
0.007130862236022949,
0.007096621990203857,
0.007041582107543945,
0.007126701831817627,
0.007071822166442871,
0.007158542156219482,
0.0071404619216918945,
0.007137261867523194,
0.007128141880035401,
0.007134699821472168,
0.007132942199707031
]
},
"throughput": {
"unit": "samples/s",
"value": 137.83869210999313
},
"energy": null,
"efficiency": null
}
}
}