![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8cc7797
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": "warn", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.80224, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51719.348224, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.058140625, | |
"mean": 9.058140625, | |
"stdev": 0.0, | |
"p50": 9.058140625, | |
"p90": 9.058140625, | |
"p95": 9.058140625, | |
"p99": 9.058140625, | |
"values": [ | |
9.058140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.991424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 121977.966592, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9964033746719365, | |
"mean": 0.007664641343630277, | |
"stdev": 0.0013555059578446097, | |
"p50": 0.007556611061096192, | |
"p90": 0.008046336746215821, | |
"p95": 0.008791557979583739, | |
"p99": 0.009466331396102905, | |
"values": [ | |
0.008295167922973632, | |
0.008256129264831543, | |
0.007954050064086914, | |
0.007892448902130127, | |
0.00804572868347168, | |
0.007814849853515625, | |
0.007659971237182617, | |
0.007327012062072754, | |
0.007591970920562744, | |
0.007578691005706787, | |
0.007797410011291504, | |
0.007574049949645996, | |
0.007503491878509521, | |
0.00752973222732544, | |
0.007625091075897217, | |
0.007474531173706054, | |
0.007630691051483154, | |
0.007383010864257813, | |
0.00732941198348999, | |
0.007450691223144531, | |
0.007357731819152832, | |
0.00744205093383789, | |
0.0074497308731079105, | |
0.007410531997680664, | |
0.007387011051177978, | |
0.007445090770721435, | |
0.007422691822052002, | |
0.007278851985931397, | |
0.007403972148895263, | |
0.007292612075805664, | |
0.007327812194824219, | |
0.0075801310539245605, | |
0.007477890968322754, | |
0.0074697318077087405, | |
0.007529411792755127, | |
0.0077366108894348145, | |
0.007558529853820801, | |
0.007419812202453613, | |
0.007292612075805664, | |
0.007485091209411621, | |
0.0075921311378479, | |
0.007226051807403565, | |
0.007334852218627929, | |
0.007488290786743164, | |
0.007515491008758545, | |
0.007273891925811768, | |
0.007740449905395508, | |
0.007944768905639648, | |
0.007965569019317626, | |
0.00803196907043457, | |
0.008051809310913085, | |
0.008248288154602051, | |
0.008016929626464844, | |
0.008002690315246582, | |
0.007997249126434326, | |
0.007961729049682616, | |
0.0079735689163208, | |
0.007987168788909912, | |
0.007969409942626952, | |
0.007788451194763184, | |
0.007652610778808594, | |
0.007384450912475586, | |
0.0077385311126708985, | |
0.007580451011657715, | |
0.007556130886077881, | |
0.007773890018463135, | |
0.007976288795471192, | |
0.007293091773986816, | |
0.007371491909027099, | |
0.007495650768280029, | |
0.007370690822601319, | |
0.007247652053833008, | |
0.00744893217086792, | |
0.007320291996002197, | |
0.00772541093826294, | |
0.0077930898666381835, | |
0.007687651157379151, | |
0.007562370777130127, | |
0.02000776481628418, | |
0.002311031103134155, | |
0.00260302996635437, | |
0.007606850147247314, | |
0.007071332931518555, | |
0.007078052997589112, | |
0.0070905318260192874, | |
0.007174852848052978, | |
0.007121892929077148, | |
0.007073412895202637, | |
0.007064931869506836, | |
0.007077892780303955, | |
0.00706829309463501, | |
0.00707053279876709, | |
0.00707053279876709, | |
0.007034533023834229, | |
0.007045573234558106, | |
0.007060293197631836, | |
0.00703661298751831, | |
0.007049733161926269, | |
0.0070745329856872555, | |
0.0070745329856872555, | |
0.007065412998199463, | |
0.007081573009490967, | |
0.007074213027954102, | |
0.007208133220672607, | |
0.007912930011749267, | |
0.008027969360351562, | |
0.0080086088180542, | |
0.007783170223236084, | |
0.007398050785064697, | |
0.007424131870269775, | |
0.007391170978546142, | |
0.007557091236114502, | |
0.00800412940979004, | |
0.007818210124969482, | |
0.0076934099197387695, | |
0.007753890037536621, | |
0.008011328697204589, | |
0.008015969276428222, | |
0.008021088600158691, | |
0.00799517011642456, | |
0.007996769905090332, | |
0.007977088928222657, | |
0.008392766952514648, | |
0.00934204387664795, | |
0.009457243919372558, | |
0.009470043182373046, | |
0.00936988353729248, | |
0.009175324440002441, | |
0.008993085861206054, | |
0.008545246124267578 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.4692490055067 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |