IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ba297bc
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.26944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47922.470912, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5375078125, | |
"mean": 8.5375078125, | |
"stdev": 0.0, | |
"p50": 8.5375078125, | |
"p90": 8.5375078125, | |
"p95": 8.5375078125, | |
"p99": 8.5375078125, | |
"values": [ | |
8.5375078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.651136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118932.709376, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9984597318172451, | |
"mean": 0.007288027239541937, | |
"stdev": 0.0010267662059820582, | |
"p50": 0.007133901119232178, | |
"p90": 0.0078115309715271, | |
"p95": 0.007823754978179932, | |
"p99": 0.009296038780212375, | |
"values": [ | |
0.00803549861907959, | |
0.007710218906402588, | |
0.007646860122680664, | |
0.007503819942474365, | |
0.007522860050201416, | |
0.007515180110931397, | |
0.007379660129547119, | |
0.00747245979309082, | |
0.0073879799842834475, | |
0.007471020221710205, | |
0.007345901012420654, | |
0.007290060043334961, | |
0.007289900779724121, | |
0.0073083009719848635, | |
0.007263659954071045, | |
0.007228781223297119, | |
0.0072036609649658205, | |
0.00722622013092041, | |
0.0071663808822631835, | |
0.00720318078994751, | |
0.007222539901733398, | |
0.007133901119232178, | |
0.0073311800956726075, | |
0.007224620819091797, | |
0.007132620811462403, | |
0.0070814208984375, | |
0.007169421195983887, | |
0.0071041412353515625, | |
0.007198380947113037, | |
0.01000509262084961, | |
0.007363501071929931, | |
0.0071511797904968265, | |
0.0069105420112609865, | |
0.007008460998535157, | |
0.00688142204284668, | |
0.007007821083068848, | |
0.00691102123260498, | |
0.007078220844268799, | |
0.007237901210784912, | |
0.0069622211456298825, | |
0.00705518102645874, | |
0.01713371467590332, | |
0.002289273977279663, | |
0.0075396599769592286, | |
0.0076438188552856445, | |
0.0076490998268127445, | |
0.007647499084472657, | |
0.007702219963073731, | |
0.007683498859405518, | |
0.007607500076293946, | |
0.007555018901824951, | |
0.0073073410987854, | |
0.0074681401252746586, | |
0.00717694091796875, | |
0.007477260112762451, | |
0.007758860111236572, | |
0.007607658863067627, | |
0.007538219928741455, | |
0.0075446200370788575, | |
0.007130061149597168, | |
0.006945900917053223, | |
0.006941901206970215, | |
0.006887822151184082, | |
0.007060941219329834, | |
0.0069401412010192875, | |
0.0069305419921875, | |
0.006936141014099121, | |
0.006928621768951416, | |
0.006970701217651368, | |
0.006937901020050049, | |
0.006948942184448242, | |
0.0069310212135314945, | |
0.00691038179397583, | |
0.006938541889190674, | |
0.006918860912322998, | |
0.006941902160644531, | |
0.0069102210998535155, | |
0.00690654182434082, | |
0.006898381233215332, | |
0.006924942016601563, | |
0.006883501052856445, | |
0.006913901805877686, | |
0.0069401412010192875, | |
0.006907821178436279, | |
0.006892461776733399, | |
0.006912140846252441, | |
0.0069075021743774416, | |
0.0073049402236938475, | |
0.0069393420219421385, | |
0.0069577407836914065, | |
0.006937100887298584, | |
0.006942222118377686, | |
0.006974861145019531, | |
0.0069780611991882326, | |
0.00697742223739624, | |
0.00694110107421875, | |
0.006928141117095947, | |
0.006918221950531006, | |
0.00694382095336914, | |
0.0069289422035217286, | |
0.006899341106414795, | |
0.00691854190826416, | |
0.006915980815887451, | |
0.006912141799926758, | |
0.0069174208641052245, | |
0.006931501865386963, | |
0.006951021194458008, | |
0.00695150089263916, | |
0.006943342208862305, | |
0.0069529409408569335, | |
0.006960141181945801, | |
0.006946702003479004, | |
0.007810859203338623, | |
0.00782413911819458, | |
0.007786219120025635, | |
0.007863819122314453, | |
0.007811338901519776, | |
0.007811819076538086, | |
0.007816139221191407, | |
0.007804459095001221, | |
0.007826539039611816, | |
0.007823658943176269, | |
0.007830859184265137, | |
0.007801898956298828, | |
0.007819659233093261, | |
0.007821739196777344, | |
0.007819979190826417, | |
0.007812458992004395, | |
0.007734058856964111, | |
0.007265261173248291, | |
0.0072257399559021, | |
0.007202860832214356, | |
0.0071377410888671874, | |
0.006953260898590088, | |
0.006943662166595459, | |
0.0070753412246704105, | |
0.007093101978302002 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.21134226480353 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |