IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
acb0a8f
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", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d", | |
"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": 1823.858688, | |
"max_global_vram": 541.2864, | |
"max_process_vram": 110052.691968, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 166, | |
"total": 0.9950514826774599, | |
"mean": 0.005994286040225661, | |
"stdev": 0.0003427947566421879, | |
"p50": 0.005870268106460571, | |
"p90": 0.006395303010940552, | |
"p95": 0.0064102629423141485, | |
"p99": 0.00645008590221405, | |
"values": [ | |
0.006211464881896973, | |
0.005921546936035156, | |
0.005913067817687989, | |
0.005762828826904297, | |
0.0057529091835021974, | |
0.005731149196624756, | |
0.005737228870391846, | |
0.005745388984680176, | |
0.005721869945526123, | |
0.0056823501586914064, | |
0.005667149066925049, | |
0.005661069869995117, | |
0.005657390117645263, | |
0.0056701889038085936, | |
0.005662670135498047, | |
0.005673869132995606, | |
0.00568506908416748, | |
0.005686349868774414, | |
0.0058753080368041995, | |
0.0056613898277282715, | |
0.00568106985092163, | |
0.005672589778900146, | |
0.005706189155578613, | |
0.005663949966430664, | |
0.005685389995574951, | |
0.00568763017654419, | |
0.0056825089454650875, | |
0.005663309097290039, | |
0.00568379020690918, | |
0.005662189960479736, | |
0.005690188884735108, | |
0.005687149047851563, | |
0.0073968939781188965, | |
0.005840588092803955, | |
0.005648749828338623, | |
0.005676109790802002, | |
0.005637229919433594, | |
0.005813548088073731, | |
0.005679150104522705, | |
0.005630350112915039, | |
0.00562923002243042, | |
0.005630030155181885, | |
0.005803789138793945, | |
0.0058471479415893556, | |
0.005792269229888916, | |
0.0056532292366027834, | |
0.005650350093841553, | |
0.00566218900680542, | |
0.005675149917602539, | |
0.005809069156646729, | |
0.0056455497741699215, | |
0.005691789150238037, | |
0.00567034912109375, | |
0.005647950172424317, | |
0.006391303062438965, | |
0.006448741912841797, | |
0.006395943164825439, | |
0.006452581882476807, | |
0.006410502910614014, | |
0.006403943061828613, | |
0.006416903018951416, | |
0.006409543037414551, | |
0.00641450309753418, | |
0.006422822952270508, | |
0.006372424125671386, | |
0.006406182765960693, | |
0.006431622982025147, | |
0.0063735427856445315, | |
0.005865228176116943, | |
0.006209225177764893, | |
0.005833707809448242, | |
0.006146985054016113, | |
0.006081706047058106, | |
0.006360583782196045, | |
0.006372262954711914, | |
0.006362983226776123, | |
0.006347143173217774, | |
0.0063244237899780275, | |
0.0063522629737854, | |
0.006343623161315918, | |
0.0063404240608215335, | |
0.006343783855438233, | |
0.006364422798156738, | |
0.006370822906494141, | |
0.006367302894592285, | |
0.006396422863006592, | |
0.006383462905883789, | |
0.006365383148193359, | |
0.006359302997589111, | |
0.006375463962554931, | |
0.006350503921508789, | |
0.006424263000488282, | |
0.0063895430564880375, | |
0.006361223220825195, | |
0.006394662857055664, | |
0.006353063106536865, | |
0.006374342918395996, | |
0.006382503032684326, | |
0.006370983123779297, | |
0.006397542953491211, | |
0.006365383148193359, | |
0.006342343807220459, | |
0.0063716239929199215, | |
0.006368264198303223, | |
0.006338023185729981, | |
0.0063730630874633785, | |
0.006351143836975098, | |
0.006409223079681396, | |
0.006367622852325439, | |
0.006365064144134521, | |
0.006388103008270264, | |
0.006364424228668213, | |
0.00637994384765625, | |
0.006360104084014892, | |
0.00634554386138916, | |
0.006363623142242432, | |
0.006187624931335449, | |
0.005915466785430908, | |
0.006298664093017578, | |
0.006011147022247315, | |
0.006088265895843506, | |
0.006199785232543945, | |
0.0059031472206115725, | |
0.006003946781158447, | |
0.0057698688507080076, | |
0.005784588813781738, | |
0.005610030174255371, | |
0.005628270149230957, | |
0.005640749931335449, | |
0.005598031044006348, | |
0.005850347995758056, | |
0.005590350151062012, | |
0.005622509956359863, | |
0.005631470203399659, | |
0.005596430778503418, | |
0.005611151218414307, | |
0.005607631206512451, | |
0.005624750137329102, | |
0.005610350131988525, | |
0.005617070198059082, | |
0.005609230041503906, | |
0.005630509853363037, | |
0.006039627075195312, | |
0.006357063770294189, | |
0.006387303829193116, | |
0.006398183822631836, | |
0.006257384777069092, | |
0.00599882698059082, | |
0.005943787097930908, | |
0.005987626075744629, | |
0.005969226837158203, | |
0.005904747009277344, | |
0.005675149917602539, | |
0.005669229984283447, | |
0.0056842689514160155, | |
0.005657069206237793, | |
0.005686669826507568, | |
0.005677549839019775, | |
0.005684749126434326, | |
0.0056842689514160155, | |
0.005677710056304932, | |
0.005691308975219727, | |
0.00567786979675293, | |
0.005678988933563232, | |
0.005672110080718994, | |
0.005702829837799072 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.82553906992968 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |