IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f61fe36
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "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.2", | |
"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": 1469.038592, | |
"max_global_vram": 11.137024, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0859970703125, | |
"mean": 8.0859970703125, | |
"stdev": 0.0, | |
"p50": 8.0859970703125, | |
"p90": 8.0859970703125, | |
"p95": 8.0859970703125, | |
"p99": 8.0859970703125, | |
"values": [ | |
8.0859970703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1554.26816, | |
"max_global_vram": 11.276288, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9965927228927618, | |
"mean": 0.007785880647599696, | |
"stdev": 0.00027007616624286985, | |
"p50": 0.007664291143417358, | |
"p90": 0.008190144729614258, | |
"p95": 0.008423584127426146, | |
"p99": 0.008612546319961547, | |
"values": [ | |
0.008599327087402344, | |
0.008234848976135254, | |
0.008177088737487794, | |
0.008229728698730468, | |
0.00813788890838623, | |
0.008050048828125, | |
0.008021409988403321, | |
0.008046209335327148, | |
0.007929890155792237, | |
0.007866690158843994, | |
0.007829891204833985, | |
0.007794209957122803, | |
0.007726370811462402, | |
0.00773868989944458, | |
0.007717250823974609, | |
0.007752931118011475, | |
0.0077153310775756835, | |
0.007803171157836914, | |
0.007775811195373536, | |
0.007754371166229248, | |
0.007721411228179932, | |
0.0076620512008667, | |
0.007713571071624756, | |
0.00772317123413086, | |
0.00879068660736084, | |
0.007726531028747558, | |
0.00758925199508667, | |
0.007641571044921875, | |
0.0076154909133911135, | |
0.007588130950927734, | |
0.007556772232055664, | |
0.007578211784362793, | |
0.007607651233673096, | |
0.007761570930480957, | |
0.00759693193435669, | |
0.007787330150604248, | |
0.007840130805969238, | |
0.007811330795288086, | |
0.008477567672729492, | |
0.008220608711242677, | |
0.008054208755493165, | |
0.008280448913574219, | |
0.007814690113067627, | |
0.007838211059570312, | |
0.007785090923309326, | |
0.007747170925140381, | |
0.007782370090484619, | |
0.007777410984039307, | |
0.007812610149383545, | |
0.007866849899291992, | |
0.007858211040496827, | |
0.007870851039886474, | |
0.007620770931243897, | |
0.007626690864562988, | |
0.0075873308181762696, | |
0.007606211185455322, | |
0.007638690948486328, | |
0.007576611995697022, | |
0.007570691108703613, | |
0.0076082911491394045, | |
0.007606211185455322, | |
0.007600771903991699, | |
0.0076140518188476565, | |
0.007653251171112061, | |
0.007984128952026368, | |
0.008323328971862793, | |
0.008230209350585938, | |
0.00808444881439209, | |
0.0077954912185668945, | |
0.007633411884307861, | |
0.007615331172943115, | |
0.0075641307830810545, | |
0.007588611125946045, | |
0.007553572177886963, | |
0.007597570896148682, | |
0.007676290988922119, | |
0.007772449970245361, | |
0.007653251171112061, | |
0.007614531993865967, | |
0.007621732234954834, | |
0.007666531085968017, | |
0.007623970985412598, | |
0.007675971031188965, | |
0.0076726112365722654, | |
0.00768093204498291, | |
0.007647332191467285, | |
0.007620612144470215, | |
0.0076137309074401855, | |
0.007579491138458252, | |
0.007613571166992188, | |
0.0076063709259033205, | |
0.007586371898651123, | |
0.007602692127227783, | |
0.007585731029510498, | |
0.007633571147918701, | |
0.007632771015167236, | |
0.007611650943756104, | |
0.007606691837310791, | |
0.007572291851043701, | |
0.007587171077728271, | |
0.007584771156311035, | |
0.007550372123718262, | |
0.007582211017608643, | |
0.007627171039581299, | |
0.007628291130065918, | |
0.007641571044921875, | |
0.007625891208648682, | |
0.007627171039581299, | |
0.007564931869506836, | |
0.007561891078948974, | |
0.007594531059265137, | |
0.007550052165985107, | |
0.00759981107711792, | |
0.007604290962219238, | |
0.007633090972900391, | |
0.00764845085144043, | |
0.007619650840759278, | |
0.00764461088180542, | |
0.007805251121520996, | |
0.008601086616516113, | |
0.008601568222045898, | |
0.008567967414855958, | |
0.008616606712341308, | |
0.007945250034332276, | |
0.0079722900390625, | |
0.008160449028015137, | |
0.008055170059204102, | |
0.007940930843353271 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.43762257109466 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |