IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c01c982
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": "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.34.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": 1107.7632, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 42476.191744, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.93846923828125, | |
"mean": 7.93846923828125, | |
"stdev": 0.0, | |
"p50": 7.93846923828125, | |
"p90": 7.93846923828125, | |
"p95": 7.93846923828125, | |
"p99": 7.93846923828125, | |
"values": [ | |
7.93846923828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1192.173568, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 103328.505856, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.000090207099915, | |
"mean": 0.00729992851897748, | |
"stdev": 0.0010350303676868488, | |
"p50": 0.007112299919128418, | |
"p90": 0.007626217365264892, | |
"p95": 0.007947784996032714, | |
"p99": 0.011814742965698215, | |
"values": [ | |
0.007717257976531983, | |
0.007591338157653809, | |
0.00745405912399292, | |
0.007459658145904541, | |
0.007492298126220703, | |
0.007507497787475586, | |
0.007536297798156739, | |
0.007494857788085937, | |
0.0074582180976867675, | |
0.007390538215637207, | |
0.007370859146118164, | |
0.007332618236541748, | |
0.007307979106903076, | |
0.007263819217681885, | |
0.007219179153442383, | |
0.007175018787384033, | |
0.007205419063568115, | |
0.007184138774871826, | |
0.0071722989082336425, | |
0.00711837911605835, | |
0.00715165901184082, | |
0.007246058940887451, | |
0.007127819061279297, | |
0.007194378852844238, | |
0.007140459060668946, | |
0.0071790189743041995, | |
0.007181418895721436, | |
0.007127499103546143, | |
0.007119178771972656, | |
0.007112299919128418, | |
0.010557889938354492, | |
0.007163979053497314, | |
0.007045898914337158, | |
0.007024299144744873, | |
0.007047979831695556, | |
0.007034539222717285, | |
0.007047019958496094, | |
0.007067339897155762, | |
0.007051659107208252, | |
0.007047820091247559, | |
0.007020619869232178, | |
0.007040459156036377, | |
0.007037899017333984, | |
0.007062540054321289, | |
0.007574858188629151, | |
0.007463819026947022, | |
0.007080459117889405, | |
0.007666057109832764, | |
0.008077417373657227, | |
0.007917576789855958, | |
0.007975176811218261, | |
0.007207179069519043, | |
0.007025898933410645, | |
0.007041100025177002, | |
0.00704413890838623, | |
0.007031499862670898, | |
0.007056459903717041, | |
0.007062219142913819, | |
0.007045100212097168, | |
0.007053100109100342, | |
0.007222858905792237, | |
0.007064778804779053, | |
0.007095018863677979, | |
0.0074281377792358395, | |
0.007074220180511475, | |
0.007048459053039551, | |
0.007072938919067383, | |
0.0070802998542785645, | |
0.007065578937530518, | |
0.007050858974456787, | |
0.007071340084075927, | |
0.007051179885864258, | |
0.007060938835144043, | |
0.007038060188293457, | |
0.007048139095306397, | |
0.007091498851776123, | |
0.007061100006103516, | |
0.0148724365234375, | |
0.00229071307182312, | |
0.006770700931549072, | |
0.007040619850158691, | |
0.00703325891494751, | |
0.0070419001579284666, | |
0.0070346989631652835, | |
0.007051979064941406, | |
0.007046539783477784, | |
0.007032779216766358, | |
0.007073099136352539, | |
0.0070614199638366695, | |
0.007052938938140869, | |
0.007047658920288086, | |
0.007038700103759766, | |
0.007057579040527344, | |
0.007036620140075683, | |
0.007010379791259766, | |
0.007033898830413819, | |
0.007047339916229248, | |
0.007040779113769532, | |
0.007037738800048828, | |
0.007010859966278076, | |
0.007050058841705322, | |
0.007014379978179931, | |
0.007065578937530518, | |
0.007020779132843017, | |
0.006985099792480469, | |
0.007062859058380127, | |
0.007086379051208496, | |
0.007272778987884521, | |
0.00803693675994873, | |
0.007887816905975342, | |
0.0073924589157104495, | |
0.007449897766113281, | |
0.007469257831573486, | |
0.007452777862548828, | |
0.0070755000114440915, | |
0.007385418891906738, | |
0.00798829698562622, | |
0.007940937042236328, | |
0.007631978034973144, | |
0.007369418144226075, | |
0.0074260587692260745, | |
0.007461419105529785, | |
0.007461738109588623, | |
0.007326377868652344, | |
0.007470539093017578, | |
0.007773417949676514, | |
0.0125217227935791, | |
0.0032332708835601806, | |
0.007610218048095703, | |
0.007459338188171387, | |
0.007619977951049805, | |
0.007622376918792724, | |
0.007618857860565186, | |
0.00761917781829834, | |
0.007581737995147705, | |
0.007548137187957764, | |
0.0071036601066589355 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.9876427420241 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |