IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1cf6531
verified
{ | |
"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": "5", | |
"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.3", | |
"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.048256, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44876.947456, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.714005859375, | |
"mean": 8.714005859375, | |
"stdev": 0.0, | |
"p50": 8.714005859375, | |
"p90": 8.714005859375, | |
"p95": 8.714005859375, | |
"p99": 8.714005859375, | |
"values": [ | |
8.714005859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.434048, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118593.425408, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9964996538162231, | |
"mean": 0.007908727411239866, | |
"stdev": 0.0002506465635359719, | |
"p50": 0.007964604139328004, | |
"p90": 0.008059242725372315, | |
"p95": 0.00832268238067627, | |
"p99": 0.008471240997314453, | |
"values": [ | |
0.00830396270751953, | |
0.008328922271728515, | |
0.008480120658874511, | |
0.008444602012634278, | |
0.008585560798645019, | |
0.008420762062072753, | |
0.008427001953125, | |
0.00840396213531494, | |
0.007776124954223633, | |
0.008028284072875976, | |
0.0077375640869140625, | |
0.007802525043487549, | |
0.007539006233215332, | |
0.0077049250602722165, | |
0.00770636510848999, | |
0.0072890868186950685, | |
0.007690526008605957, | |
0.007263486862182617, | |
0.007596605777740478, | |
0.007547165870666504, | |
0.007383806228637695, | |
0.007410205841064453, | |
0.007509406089782715, | |
0.007565566062927246, | |
0.00742508602142334, | |
0.007520445823669434, | |
0.007574365139007568, | |
0.007800604820251465, | |
0.007601564884185791, | |
0.007710205078125, | |
0.008074684143066406, | |
0.008028923988342285, | |
0.00801180362701416, | |
0.008290042877197265, | |
0.008045402526855469, | |
0.008044123649597168, | |
0.008037563323974609, | |
0.008026043891906738, | |
0.008037563323974609, | |
0.008021404266357422, | |
0.008018684387207032, | |
0.008070524215698243, | |
0.008055482864379883, | |
0.00803308391571045, | |
0.008015322685241699, | |
0.00800028419494629, | |
0.008009243011474609, | |
0.008005244255065918, | |
0.008009243965148925, | |
0.00803580379486084, | |
0.008025243759155273, | |
0.007811005115509033, | |
0.007354207038879394, | |
0.0077738847732543945, | |
0.008019804000854492, | |
0.008032443046569825, | |
0.007575486183166504, | |
0.007656604766845703, | |
0.007391806125640869, | |
0.008023324012756348, | |
0.008063002586364746, | |
0.00802812385559082, | |
0.007965404033660889, | |
0.008179483413696289, | |
0.00802652359008789, | |
0.007972283840179444, | |
0.00802652359008789, | |
0.008003483772277832, | |
0.008037564277648925, | |
0.00796972417831421, | |
0.007995643138885499, | |
0.007989404201507568, | |
0.00800028419494629, | |
0.00799932289123535, | |
0.00798172378540039, | |
0.00798060417175293, | |
0.008003003120422363, | |
0.007954043865203857, | |
0.007995483875274658, | |
0.00799932289123535, | |
0.007954043865203857, | |
0.007953723907470704, | |
0.007959003925323487, | |
0.007954363822937011, | |
0.007978043079376222, | |
0.007475006103515625, | |
0.00731084680557251, | |
0.0072770872116088865, | |
0.007303966999053955, | |
0.00794684410095215, | |
0.00794124412536621, | |
0.007902685165405274, | |
0.007916604042053223, | |
0.007900763988494873, | |
0.00795004415512085, | |
0.007944764137268067, | |
0.007938204765319824, | |
0.007909564971923829, | |
0.007918845176696778, | |
0.00790012502670288, | |
0.007911324977874756, | |
0.007908444881439209, | |
0.007934205055236817, | |
0.007893724918365479, | |
0.007919963836669921, | |
0.007974843978881836, | |
0.007960284233093261, | |
0.007984923839569091, | |
0.007971963882446288, | |
0.007958524227142334, | |
0.007942043781280517, | |
0.007964444160461426, | |
0.008031483650207519, | |
0.00796476411819458, | |
0.00794908380508423, | |
0.007967964172363281, | |
0.007947964191436768, | |
0.007961884021759033, | |
0.00801660442352295, | |
0.00798060417175293, | |
0.007956923961639405, | |
0.007939963817596436, | |
0.007937243938446045, | |
0.007959643840789794, | |
0.007965723037719726, | |
0.00797628402709961 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.44259284734004 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |