IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
47a5546
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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.698304, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7498.039296, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.46105001831054687 | |
], | |
"count": 1, | |
"total": 0.46105001831054687, | |
"mean": 0.46105001831054687, | |
"p50": 0.46105001831054687, | |
"p90": 0.46105001831054687, | |
"p95": 0.46105001831054687, | |
"p99": 0.46105001831054687, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.133248, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 107880.726528, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007651663780212402, | |
0.007022543907165528, | |
0.007135825157165527, | |
0.007074704170227051, | |
0.007116785049438476, | |
0.007103185176849366, | |
0.007071983814239502, | |
0.007084145069122315, | |
0.007087664127349853, | |
0.007117424964904785, | |
0.007064464092254638, | |
0.007064304828643799, | |
0.0070515041351318355, | |
0.007055825233459473, | |
0.007051663875579834, | |
0.007043984889984131, | |
0.007074543952941895, | |
0.007024465084075927, | |
0.007059023857116699, | |
0.0069980649948120114, | |
0.00699870491027832, | |
0.007005905151367188, | |
0.00702494478225708, | |
0.006976304054260254, | |
0.006988945007324218, | |
0.007005744934082031, | |
0.007003983974456787, | |
0.006991024971008301, | |
0.006999344825744629, | |
0.00700414514541626, | |
0.00700638484954834, | |
0.006969903945922852, | |
0.0069809451103210445, | |
0.00699214506149292, | |
0.006976624011993408, | |
0.0069735851287841795, | |
0.00700030517578125, | |
0.00697870397567749, | |
0.006978225231170654, | |
0.006983025074005127, | |
0.006980624198913574, | |
0.0069924650192260745, | |
0.007376463890075684, | |
0.006994703769683838, | |
0.007008784770965576, | |
0.007021424770355225, | |
0.007008464813232422, | |
0.007008625030517578, | |
0.006986063957214355, | |
0.007002864837646484, | |
0.007014705181121826, | |
0.0070091037750244145, | |
0.007013104915618897, | |
0.0070086240768432615, | |
0.007007824897766113, | |
0.006996785163879395, | |
0.006994703769683838, | |
0.006988464832305908, | |
0.006978865146636963, | |
0.006993584156036377, | |
0.006980464935302734, | |
0.00716926383972168, | |
0.006979344844818115, | |
0.007137743949890136, | |
0.006996624946594239, | |
0.007010863780975342, | |
0.007022065162658691, | |
0.007003984928131104, | |
0.00700494384765625, | |
0.00698942518234253, | |
0.007014063835144043, | |
0.007206705093383789, | |
0.0070257439613342285, | |
0.0070286250114440915, | |
0.006988304138183594, | |
0.006998545169830323, | |
0.007018064975738526, | |
0.007014224052429199, | |
0.007003664970397949, | |
0.007001103878021241, | |
0.007011664867401123, | |
0.006973265171051025, | |
0.006945104122161865, | |
0.006973424911499024, | |
0.006984145164489746, | |
0.006981103897094726, | |
0.006964944839477539, | |
0.006971505165100098, | |
0.006975985050201416, | |
0.0069876651763916015, | |
0.006954705238342285, | |
0.006977425098419189, | |
0.006986704826354981, | |
0.006992304801940918, | |
0.007476623058319092, | |
0.007038865089416504, | |
0.007033905029296875, | |
0.007002864837646484, | |
0.0070091052055358885, | |
0.00699726390838623, | |
0.006977425098419189, | |
0.007007985115051269, | |
0.007035344123840332, | |
0.006994705200195312, | |
0.007031185150146484, | |
0.00703086519241333, | |
0.007041423797607422, | |
0.006983504772186279, | |
0.007043024063110351, | |
0.006975025177001953, | |
0.0069999852180480954, | |
0.00699726390838623, | |
0.0071676640510559084, | |
0.007002224922180176, | |
0.007033905029296875, | |
0.0070203042030334475, | |
0.006994225025177002, | |
0.007007023811340332, | |
0.007036304950714111, | |
0.007008464813232422, | |
0.006983983993530274, | |
0.007003664970397949, | |
0.007047823905944824, | |
0.007031185150146484, | |
0.007020945072174072, | |
0.007037264823913574, | |
0.0070351848602294926, | |
0.006981904029846191, | |
0.0070371050834655766, | |
0.0069924650192260745, | |
0.007016785144805908, | |
0.006994703769683838, | |
0.006982224941253662, | |
0.006987985134124756, | |
0.006999983787536621, | |
0.006997903823852539, | |
0.007006704807281494, | |
0.006981904029846191, | |
0.00702494478225708, | |
0.007000463962554932, | |
0.007012145042419433, | |
0.006989105224609375 | |
], | |
"count": 142, | |
"total": 0.9975654973983766, | |
"mean": 0.007025109136608285, | |
"p50": 0.0070045444965362545, | |
"p90": 0.007074287939071656, | |
"p95": 0.00713490514755249, | |
"p99": 0.007435557799339295, | |
"stdev": 8.309222198075865e-05, | |
"stdev_": 1.1827890551587288 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.34654302933703 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |