IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e6e28d8
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": "4", | |
"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": 1468.727296, | |
"max_global_vram": 11.124736, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.10223974609375, | |
"mean": 8.10223974609375, | |
"stdev": 0.0, | |
"p50": 8.10223974609375, | |
"p90": 8.10223974609375, | |
"p95": 8.10223974609375, | |
"p99": 8.10223974609375, | |
"values": [ | |
8.10223974609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.369984, | |
"max_global_vram": 11.247616, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9976080794334413, | |
"mean": 0.007557636965404858, | |
"stdev": 0.00023275267480340494, | |
"p50": 0.007442369461059571, | |
"p90": 0.007921487808227538, | |
"p95": 0.008037527751922607, | |
"p99": 0.008446068305969237, | |
"values": [ | |
0.008104126930236816, | |
0.0076146888732910156, | |
0.007617888927459716, | |
0.007707328796386719, | |
0.007670527935028077, | |
0.007601569175720215, | |
0.007588129043579101, | |
0.007561408996582032, | |
0.007537088871002197, | |
0.00751676893234253, | |
0.007514049053192138, | |
0.007483489990234375, | |
0.007482530117034912, | |
0.0074471688270568845, | |
0.007467649936676026, | |
0.007439488887786865, | |
0.007434689998626709, | |
0.007483008861541748, | |
0.007437088966369629, | |
0.007428289890289307, | |
0.007427168846130371, | |
0.00741772985458374, | |
0.007436288833618164, | |
0.007894527912139893, | |
0.007798848152160645, | |
0.007923327922821044, | |
0.008033568382263184, | |
0.007573410034179688, | |
0.007786688804626465, | |
0.00751324987411499, | |
0.007483008861541748, | |
0.007455968856811523, | |
0.007447649955749511, | |
0.0074190092086792, | |
0.008542844772338867, | |
0.00812796688079834, | |
0.00793692684173584, | |
0.007709249019622803, | |
0.0082220458984375, | |
0.007975487232208252, | |
0.00785756778717041, | |
0.007981246948242187, | |
0.007826047897338867, | |
0.007880127906799317, | |
0.007904926776885986, | |
0.0079268479347229, | |
0.007946527004241944, | |
0.007630848884582519, | |
0.0076642889976501465, | |
0.00758220911026001, | |
0.00763132905960083, | |
0.00767388916015625, | |
0.007559968948364258, | |
0.007392448902130127, | |
0.007432129859924317, | |
0.007422369003295898, | |
0.007428609848022461, | |
0.00743596887588501, | |
0.0076297287940979, | |
0.00738716983795166, | |
0.007594688892364502, | |
0.007647489070892334, | |
0.007400929927825928, | |
0.00748668909072876, | |
0.007417409896850586, | |
0.007432289123535156, | |
0.007460130214691162, | |
0.007467169761657715, | |
0.007449728965759277, | |
0.00742588996887207, | |
0.007430368900299072, | |
0.00741068983078003, | |
0.007439009189605713, | |
0.0074348502159118654, | |
0.007417408943176269, | |
0.007397729873657227, | |
0.007600449085235596, | |
0.007444929122924804, | |
0.007456610202789307, | |
0.00743212890625, | |
0.007443490028381347, | |
0.007441888809204102, | |
0.00745644998550415, | |
0.0074298901557922365, | |
0.007434209823608398, | |
0.007424930095672608, | |
0.007430210113525391, | |
0.007430369853973389, | |
0.007436930179595947, | |
0.007413730144500732, | |
0.007442369937896729, | |
0.007414370059967041, | |
0.007414690017700195, | |
0.0074110088348388675, | |
0.007418049812316895, | |
0.007439329147338867, | |
0.007434050083160401, | |
0.007416928768157959, | |
0.007382369995117187, | |
0.007417570114135743, | |
0.00742204999923706, | |
0.007438529968261718, | |
0.00741117000579834, | |
0.007411330223083496, | |
0.0074343690872192385, | |
0.007399010181427002, | |
0.007421568870544433, | |
0.007418369770050049, | |
0.007442368984222412, | |
0.007413569927215576, | |
0.007402689933776856, | |
0.007419489860534668, | |
0.007430369853973389, | |
0.007431808948516846, | |
0.007431169986724853, | |
0.007415009021759033, | |
0.007432129859924317, | |
0.007408449172973633, | |
0.007471010208129882, | |
0.00745884895324707, | |
0.0074631690979003905, | |
0.007421889781951904, | |
0.007425249099731445, | |
0.007434209823608398, | |
0.0074138898849487305, | |
0.007436288833618164, | |
0.0074631690979003905, | |
0.007416450023651123, | |
0.007450688838958741, | |
0.008446366310119628, | |
0.00844540500640869, | |
0.008042366981506347 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.31649053500556 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |