IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c86ebd1
verified
{ | |
"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", | |
"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.0", | |
"optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1827.569664, | |
"max_global_vram": 541.270016, | |
"max_process_vram": 98969.92768, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9984532103538513, | |
"mean": 0.005978761738645816, | |
"stdev": 0.00038677495663057477, | |
"p50": 0.005713918209075928, | |
"p90": 0.0065136296272277835, | |
"p95": 0.0065605572223663335, | |
"p99": 0.0067012131118774415, | |
"values": [ | |
0.006494717121124267, | |
0.006535198211669922, | |
0.006541276931762695, | |
0.00665727710723877, | |
0.006692158222198486, | |
0.006699037075042724, | |
0.006705437183380127, | |
0.006658237934112549, | |
0.006614236831665039, | |
0.006531678199768067, | |
0.006558877944946289, | |
0.006561276912689209, | |
0.0064614381790161135, | |
0.006509596824645996, | |
0.006476317882537842, | |
0.0065207982063293455, | |
0.006487677097320557, | |
0.006500477790832519, | |
0.006484157085418702, | |
0.006457437992095947, | |
0.0064516768455505375, | |
0.006460156917572022, | |
0.006534078121185303, | |
0.006486876964569092, | |
0.0065115180015563965, | |
0.006485756874084473, | |
0.0064940772056579586, | |
0.006483518123626709, | |
0.006469117164611816, | |
0.00649663782119751, | |
0.006504796981811524, | |
0.006497918128967285, | |
0.00647311782836914, | |
0.006493916988372803, | |
0.006565598011016846, | |
0.006537597179412841, | |
0.0065115180015563965, | |
0.006516797065734863, | |
0.006504796981811524, | |
0.006472797870635987, | |
0.006449437141418457, | |
0.0064902381896972654, | |
0.006481277942657471, | |
0.006474876880645752, | |
0.0075179171562194825, | |
0.006112637996673584, | |
0.005753277778625488, | |
0.00573151683807373, | |
0.005751838207244873, | |
0.0058497581481933595, | |
0.005715837001800537, | |
0.005693918228149414, | |
0.005708477973937988, | |
0.00570239782333374, | |
0.00570095682144165, | |
0.005720637798309326, | |
0.00569583797454834, | |
0.005725597858428955, | |
0.005685438156127929, | |
0.00570831823348999, | |
0.005686717987060547, | |
0.0056884770393371585, | |
0.0058980779647827145, | |
0.005715837955474853, | |
0.005814237117767334, | |
0.005703358173370361, | |
0.005721598148345947, | |
0.005693597793579102, | |
0.005700477123260498, | |
0.00570239782333374, | |
0.005709918022155762, | |
0.005710237979888916, | |
0.005709597110748291, | |
0.005873437881469727, | |
0.005694077968597412, | |
0.005688796997070313, | |
0.005663517951965332, | |
0.005665917873382568, | |
0.005713918209075928, | |
0.005691196918487549, | |
0.005679038047790528, | |
0.005696638107299805, | |
0.005706878185272217, | |
0.0058455967903137205, | |
0.005721117973327637, | |
0.005690877914428711, | |
0.005693276882171631, | |
0.005711997985839844, | |
0.005699518203735351, | |
0.005736157894134521, | |
0.0057006368637084965, | |
0.005698877811431885, | |
0.005650397777557373, | |
0.005635677814483642, | |
0.005702717781066895, | |
0.0057151980400085445, | |
0.005687357902526856, | |
0.005679837226867676, | |
0.005713597774505615, | |
0.005700637817382812, | |
0.005697278022766114, | |
0.005701917171478272, | |
0.005707518100738525, | |
0.005684957981109619, | |
0.005622237205505371, | |
0.0057059178352355956, | |
0.005718398094177246, | |
0.0057151980400085445, | |
0.005673596858978272, | |
0.00566527795791626, | |
0.005724157810211182, | |
0.005688158035278321, | |
0.0057102370262146, | |
0.005704798221588135, | |
0.005712158203125, | |
0.005698556900024414, | |
0.005685597896575928, | |
0.005705758094787598, | |
0.005697758197784424, | |
0.00571071720123291, | |
0.005699197769165039, | |
0.00570623779296875, | |
0.005703358173370361, | |
0.005700797080993652, | |
0.005700957775115967, | |
0.0056846380233764645, | |
0.005679677963256836, | |
0.00569631814956665, | |
0.005674238204956055, | |
0.005626877784729004, | |
0.006135996818542481, | |
0.006400477886199951, | |
0.006395677089691162, | |
0.006412158012390137, | |
0.006394556999206543, | |
0.006412158012390137, | |
0.00637887716293335, | |
0.006406237125396728, | |
0.006152157783508301, | |
0.006046557903289795, | |
0.005920637130737305, | |
0.006071678161621094, | |
0.0058902368545532225, | |
0.006048158168792724, | |
0.00593551778793335, | |
0.005712797164916992, | |
0.005678237915039063, | |
0.005712158203125, | |
0.0056606378555297855, | |
0.005669277191162109, | |
0.005711997985839844, | |
0.005697597980499267, | |
0.00571455717086792, | |
0.005681437969207764, | |
0.005701598167419434, | |
0.005701598167419434, | |
0.005719996929168701, | |
0.0056827178001403805, | |
0.005703358173370361, | |
0.00570671796798706, | |
0.005694396018981933, | |
0.005701278209686279, | |
0.005696958065032959, | |
0.005715357780456543, | |
0.005693918228149414, | |
0.0057078380584716796, | |
0.00570399808883667 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.25871404711623 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |