IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
55e909d verified
raw
history blame
11.9 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": "c594845efb520077430f4fe3f536bc1756e2b290",
"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": 1825.32096,
"max_global_vram": 520.339456,
"max_process_vram": 92837.281792,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 171,
"total": 0.9983276162147519,
"mean": 0.005838173194238318,
"stdev": 0.0003066454706613878,
"p50": 0.005719515800476074,
"p90": 0.006080316066741943,
"p95": 0.006278235197067261,
"p99": 0.0064344748497009285,
"values": [
0.0060007948875427245,
0.005743356227874756,
0.005703516006469726,
0.005749916076660156,
0.0057596759796142575,
0.005943836212158203,
0.005778076171875,
0.005982555866241455,
0.0057559962272644045,
0.005732955932617187,
0.00573775577545166,
0.005718235969543457,
0.0057113561630249025,
0.0058489561080932615,
0.00600191593170166,
0.005685756206512451,
0.005895036220550537,
0.00570063591003418,
0.005690395832061768,
0.005677276134490967,
0.005665756225585937,
0.0056929559707641604,
0.0056929559707641604,
0.008841113090515136,
0.005952635765075684,
0.005997275829315186,
0.005835835933685303,
0.005710556030273438,
0.006062395095825195,
0.0059319958686828616,
0.005832796096801758,
0.006038236141204834,
0.005932956218719482,
0.005946875095367432,
0.005908155918121338,
0.006209916114807129,
0.005948795795440674,
0.006164474964141846,
0.006077276229858398,
0.00605375623703003,
0.006069914817810058,
0.0058519959449768065,
0.006030556201934815,
0.00569407606124878,
0.006129116058349609,
0.006276315212249756,
0.005860956192016602,
0.005971516132354736,
0.006058555126190185,
0.006091996192932129,
0.005824635982513428,
0.005688315868377686,
0.006199356079101563,
0.006280155181884766,
0.005887675762176514,
0.005914715766906739,
0.006059035778045654,
0.00575519609451294,
0.0056691160202026365,
0.005658236026763916,
0.005757596015930176,
0.005767196178436279,
0.005810555934906006,
0.00566399621963501,
0.005655516147613526,
0.005667516231536865,
0.005647036075592041,
0.005695675849914551,
0.0056739158630371095,
0.0056721558570861814,
0.005689116001129151,
0.005661436080932617,
0.005685756206512451,
0.005648315906524658,
0.005668635845184326,
0.005694396018981933,
0.005670715808868408,
0.00563727617263794,
0.005658395767211914,
0.0056593561172485355,
0.0056580758094787595,
0.005684316158294678,
0.005668635845184326,
0.005668635845184326,
0.005660476207733155,
0.005653915882110595,
0.005667356014251709,
0.005678555965423584,
0.005675355911254883,
0.005644475936889649,
0.005679676055908203,
0.005850555896759033,
0.00567823600769043,
0.0056329560279846196,
0.00588127613067627,
0.005664155960083008,
0.0060436749458312984,
0.0056740760803222655,
0.005686875820159912,
0.005675995826721191,
0.005837756156921387,
0.0058556761741638185,
0.0056862359046936034,
0.005662236213684082,
0.005612475872039795,
0.005671676158905029,
0.005973596096038819,
0.006377114772796631,
0.006409276008605957,
0.006479835033416748,
0.006286876201629639,
0.006056155204772949,
0.006048955917358398,
0.006080316066741943,
0.005971835136413574,
0.0062593560218811035,
0.006403995990753174,
0.006406714916229248,
0.006415034770965576,
0.006163035869598389,
0.005999516010284424,
0.005962235927581787,
0.005946235179901123,
0.005968795776367187,
0.005943356037139892,
0.0059675159454345705,
0.005910076141357422,
0.0059097552299499515,
0.005919035911560059,
0.005936635971069336,
0.005647195816040039,
0.005636315822601318,
0.005630075931549072,
0.005630556106567383,
0.005638716220855713,
0.005628315925598144,
0.00562031602859497,
0.0056262359619140626,
0.005623035907745362,
0.0056292757987976075,
0.005630395889282227,
0.005624956130981446,
0.005684956073760987,
0.0056665558815002445,
0.005675675868988037,
0.005665756225585937,
0.0056526360511779785,
0.005653436183929443,
0.005798555850982666,
0.005657916069030762,
0.0056593561172485355,
0.005627356052398682,
0.00565423583984375,
0.0056476759910583495,
0.005665756225585937,
0.005670715808868408,
0.005671996116638184,
0.005688476085662842,
0.00570063591003418,
0.005722876071929932,
0.005695035934448242,
0.005719515800476074,
0.005706555843353271,
0.005741596221923828,
0.005719836235046387,
0.005743196010589599,
0.005718554973602295,
0.005664475917816162,
0.0057345561981201176,
0.005962234973907471,
0.005972795963287354
]
},
"throughput": {
"unit": "samples/s",
"value": 171.2864566928056
},
"energy": null,
"efficiency": null
}
}
}