IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
27f65ee verified
raw
history blame
11.4 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": "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": 1107.402752,
"max_global_vram": 409.362432,
"max_process_vram": 42141.937664,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.15664697265625,
"mean": 8.15664697265625,
"stdev": 0.0,
"p50": 8.15664697265625,
"p90": 8.15664697265625,
"p95": 8.15664697265625,
"p99": 8.15664697265625,
"values": [
8.15664697265625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1191.800832,
"max_global_vram": 521.572352,
"max_process_vram": 113767.268352,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 131,
"total": 1.002053279161453,
"mean": 0.007649261672988192,
"stdev": 0.0010502775227663808,
"p50": 0.007719982147216797,
"p90": 0.008056302070617676,
"p95": 0.00807846212387085,
"p99": 0.010104425907134984,
"values": [
0.007722541809082031,
0.007638223171234131,
0.007499982833862304,
0.007616463184356689,
0.007583662986755371,
0.007625583171844482,
0.007641743183135987,
0.007665903091430664,
0.007719982147216797,
0.007389584064483643,
0.007192783832550049,
0.0070899038314819335,
0.007137904167175293,
0.00706990385055542,
0.006817904949188233,
0.006803985118865967,
0.006804464817047119,
0.006811665058135986,
0.0068215842247009275,
0.00699870491027832,
0.007023824214935303,
0.007033743858337402,
0.007008944034576416,
0.007035984992980957,
0.006979825019836426,
0.006968944072723388,
0.006989105224609375,
0.008457582473754882,
0.007608623027801514,
0.007387184143066407,
0.007360622882843017,
0.007340303897857666,
0.007218863964080811,
0.007294063091278076,
0.007263504028320313,
0.007239344120025634,
0.00733262300491333,
0.007290063858032226,
0.007246863842010498,
0.007380303859710694,
0.007273262977600098,
0.007259344100952149,
0.007189104080200195,
0.007269423961639404,
0.007248783111572265,
0.00721614408493042,
0.007216784000396728,
0.0074803028106689455,
0.007088624000549317,
0.007070703983306885,
0.007092304229736328,
0.0070942239761352536,
0.0070868639945983886,
0.007068143844604492,
0.00705054521560669,
0.0070703840255737305,
0.007081583976745605,
0.007068624019622802,
0.007070064067840576,
0.0073358240127563475,
0.007125584125518799,
0.007103824138641358,
0.007091343879699707,
0.007116303920745849,
0.00787326192855835,
0.007384623050689697,
0.007455183982849121,
0.007852781772613525,
0.00782462215423584,
0.00798270320892334,
0.007980143070220947,
0.007902061939239502,
0.007944302082061767,
0.007952782154083252,
0.007966701984405517,
0.016497243881225587,
0.0023023951053619384,
0.007917101860046388,
0.007983181953430176,
0.00797742223739624,
0.007959022998809814,
0.007963181972503662,
0.007972782135009765,
0.00807246208190918,
0.008056621551513671,
0.008042382240295411,
0.008011982917785645,
0.008011022567749023,
0.008023822784423828,
0.00801998233795166,
0.008045902252197265,
0.008052621841430664,
0.00802542209625244,
0.008022702217102051,
0.008103821754455566,
0.008066061973571778,
0.00806542205810547,
0.008006861686706543,
0.008020622253417969,
0.007989421844482422,
0.008018542289733886,
0.008026862144470214,
0.008013101577758789,
0.008036782264709472,
0.008009101867675781,
0.008056302070617676,
0.008048622131347657,
0.00808446216583252,
0.008087021827697754,
0.008041421890258789,
0.008090862274169922,
0.008043981552124024,
0.008031982421875,
0.00803214168548584,
0.008051021575927735,
0.008055981636047363,
0.008047821998596192,
0.008054701805114747,
0.00806782054901123,
0.010810215950012208,
0.005887667179107666,
0.00800974178314209,
0.007993261814117431,
0.00806222152709961,
0.008040461540222168,
0.008025741577148438,
0.008012142181396485,
0.008046381950378418,
0.008015022277832032,
0.008022701263427735,
0.008019661903381348
]
},
"throughput": {
"unit": "samples/s",
"value": 130.7315715883137
},
"energy": null,
"efficiency": null
}
}
}