IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8da23bb
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": "6422f8f56820540ec4876445962a50a44754b92e", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1818.185728, | |
"max_global_vram": 541.282304, | |
"max_process_vram": 111198.851072, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9978186545372012, | |
"mean": 0.006275589022246547, | |
"stdev": 0.0003345886528437478, | |
"p50": 0.006285426139831543, | |
"p90": 0.006626929950714112, | |
"p95": 0.006638864898681641, | |
"p99": 0.0067365006828308096, | |
"values": [ | |
0.007381264209747314, | |
0.006629105091094971, | |
0.006514225959777832, | |
0.0064772658348083495, | |
0.006516625881195068, | |
0.006496146202087403, | |
0.006528145790100097, | |
0.006513586044311523, | |
0.0064931058883666995, | |
0.006536625862121582, | |
0.006522386074066162, | |
0.006598226070404053, | |
0.006609745025634765, | |
0.006604306221008301, | |
0.0065996661186218265, | |
0.0065769457817077635, | |
0.0065881462097167965, | |
0.006598226070404053, | |
0.0066068658828735355, | |
0.006557106018066406, | |
0.006565424919128418, | |
0.006584946155548096, | |
0.0065695858001708985, | |
0.006285426139831543, | |
0.006042706966400147, | |
0.006397427082061768, | |
0.006062547206878662, | |
0.005994546890258789, | |
0.005829587936401367, | |
0.00629054594039917, | |
0.006033426761627198, | |
0.005837587833404541, | |
0.005827026844024658, | |
0.005820627212524414, | |
0.005858548164367676, | |
0.005843667030334473, | |
0.00585582685470581, | |
0.005830227851867676, | |
0.006491826057434082, | |
0.006809905052185059, | |
0.006040946960449219, | |
0.005912786960601807, | |
0.005994387149810791, | |
0.006131826877593994, | |
0.0058911871910095216, | |
0.006098866939544678, | |
0.005892147064208984, | |
0.0060599870681762695, | |
0.0058902268409729, | |
0.006060787200927734, | |
0.00605182695388794, | |
0.005871986865997315, | |
0.006087186813354492, | |
0.006107986927032471, | |
0.0063604660034179685, | |
0.006266226768493652, | |
0.005874227046966553, | |
0.006092627048492432, | |
0.005858067035675049, | |
0.006035346984863282, | |
0.005879027843475342, | |
0.006077746868133545, | |
0.006051187038421631, | |
0.005890068054199219, | |
0.006064947128295898, | |
0.005897587776184082, | |
0.006063986778259278, | |
0.005910546779632569, | |
0.006049107074737549, | |
0.006090867042541504, | |
0.00587598705291748, | |
0.0060831871032714846, | |
0.006032786846160889, | |
0.006044307231903076, | |
0.006245585918426513, | |
0.006596305847167969, | |
0.006626386165618897, | |
0.00658990478515625, | |
0.006633905887603759, | |
0.006622226238250733, | |
0.006621584892272949, | |
0.006629745960235595, | |
0.006623345851898194, | |
0.00664334487915039, | |
0.0066308660507202145, | |
0.006645425796508789, | |
0.006617424964904785, | |
0.006614545822143555, | |
0.006626066207885742, | |
0.0066260647773742675, | |
0.006598226070404053, | |
0.006645105838775635, | |
0.006582705974578857, | |
0.006582065105438233, | |
0.0066235060691833495, | |
0.0066302261352539065, | |
0.006631505012512207, | |
0.006640305995941162, | |
0.006622866153717041, | |
0.006638704776763916, | |
0.0066425461769104, | |
0.0066075057983398435, | |
0.006625425815582275, | |
0.0066833457946777345, | |
0.006619986057281494, | |
0.006592626094818115, | |
0.006588786125183105, | |
0.005954866886138916, | |
0.005855347156524658, | |
0.005839828014373779, | |
0.005851187229156494, | |
0.005850227832794189, | |
0.005878067970275879, | |
0.005823506832122803, | |
0.0058596677780151365, | |
0.0058515071868896484, | |
0.005832147121429443, | |
0.005835668087005615, | |
0.005829267024993897, | |
0.006389585971832276, | |
0.006632465839385987, | |
0.006593746185302734, | |
0.006611024856567383, | |
0.006456147193908692, | |
0.0062428669929504394, | |
0.006100467205047607, | |
0.006167026042938233, | |
0.006134867191314697, | |
0.0061364669799804684, | |
0.006237266063690186, | |
0.006119027137756348, | |
0.0063327870368957515, | |
0.006122706890106201, | |
0.00629630708694458, | |
0.005867187023162842, | |
0.005782227993011474, | |
0.005799027919769287, | |
0.005810226917266846, | |
0.005995667934417724, | |
0.005807027816772461, | |
0.005786067962646484, | |
0.006007187843322754, | |
0.005797108173370361, | |
0.00598686695098877, | |
0.005798868179321289, | |
0.005987987995147705, | |
0.005922546863555908, | |
0.006601746082305908, | |
0.006583345890045166, | |
0.006587666034698486, | |
0.006605906009674072, | |
0.006608624935150146, | |
0.00656078577041626, | |
0.006616305828094482, | |
0.006610065937042236, | |
0.006593104839324951, | |
0.006573105812072754, | |
0.006610065937042236, | |
0.006568144798278808 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.3475921471381 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |