IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8ff526c
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.335296, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51211.841536, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6460283203125, | |
"mean": 8.6460283203125, | |
"stdev": 0.0, | |
"p50": 8.6460283203125, | |
"p90": 8.6460283203125, | |
"p95": 8.6460283203125, | |
"p99": 8.6460283203125, | |
"values": [ | |
8.6460283203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.889024, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 116014.972928, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9973298583030706, | |
"mean": 0.007333307781640221, | |
"stdev": 0.0015158777066691875, | |
"p50": 0.007176061868667602, | |
"p90": 0.00762174105644226, | |
"p95": 0.00795114004611969, | |
"p99": 0.014245837545394926, | |
"values": [ | |
0.008015819549560547, | |
0.007621581077575683, | |
0.007305421829223633, | |
0.007345582008361816, | |
0.007381742000579834, | |
0.007560781002044678, | |
0.007427502155303955, | |
0.007541582107543945, | |
0.007435181140899658, | |
0.0075551819801330565, | |
0.007502861976623535, | |
0.007568460941314697, | |
0.007451982021331787, | |
0.00749118185043335, | |
0.007349902153015136, | |
0.007339982032775879, | |
0.018071475982666015, | |
0.0023039939403533935, | |
0.0035977509021759032, | |
0.00726238203048706, | |
0.007171822071075439, | |
0.007194703102111817, | |
0.007136463165283203, | |
0.007176621913909912, | |
0.010239974975585937, | |
0.0069935832023620605, | |
0.007067983150482178, | |
0.006944302082061767, | |
0.006898542881011963, | |
0.0068969430923461915, | |
0.006874223232269287, | |
0.006907662868499756, | |
0.006889742851257324, | |
0.00685118293762207, | |
0.010387494087219238, | |
0.007368621826171875, | |
0.007299181938171387, | |
0.007359022140502929, | |
0.00745582103729248, | |
0.007289102077484131, | |
0.007487181186676025, | |
0.0076379008293151855, | |
0.007685740947723388, | |
0.007338702201843262, | |
0.007289102077484131, | |
0.007404140949249268, | |
0.007325582027435303, | |
0.007293101787567139, | |
0.007929580211639404, | |
0.0075668621063232425, | |
0.007621901035308838, | |
0.007362861156463623, | |
0.007671660900115966, | |
0.007138062953948974, | |
0.0071711821556091305, | |
0.007120622158050537, | |
0.011044933319091796, | |
0.004063350200653076, | |
0.007172142028808594, | |
0.007185902118682861, | |
0.0072067022323608395, | |
0.007190221786499023, | |
0.007182703018188476, | |
0.007491981029510498, | |
0.0071955018043518065, | |
0.007175501823425293, | |
0.007166223049163818, | |
0.0071619019508361815, | |
0.007187821865081787, | |
0.007169422149658203, | |
0.0071404619216918945, | |
0.007199343204498291, | |
0.007157261848449707, | |
0.007165102005004883, | |
0.007158542156219482, | |
0.007133903026580811, | |
0.007130222797393799, | |
0.007148141860961914, | |
0.007156301975250244, | |
0.007145102977752686, | |
0.007171981811523438, | |
0.007124621868133545, | |
0.007148141860961914, | |
0.0071342229843139645, | |
0.007156941890716553, | |
0.007175181865692139, | |
0.007135501861572266, | |
0.007127182960510254, | |
0.007151981830596924, | |
0.007121741771697998, | |
0.007151342868804931, | |
0.00715790319442749, | |
0.007137742042541504, | |
0.007169742107391358, | |
0.015969401359558107, | |
0.0023193540573120115, | |
0.004256629943847656, | |
0.007179502010345459, | |
0.00717758321762085, | |
0.007157103061676025, | |
0.007195342063903809, | |
0.00717070198059082, | |
0.007150382041931152, | |
0.007144943237304687, | |
0.007149902820587159, | |
0.007198702812194824, | |
0.007153421878814697, | |
0.007162382125854492, | |
0.007128781795501709, | |
0.007204942226409912, | |
0.007204463005065918, | |
0.0071527819633483885, | |
0.007169742107391358, | |
0.007136941909790039, | |
0.007148622989654541, | |
0.007157742023468017, | |
0.0071564621925354005, | |
0.007130382061004639, | |
0.007144463062286377, | |
0.007156941890716553, | |
0.007130541801452637, | |
0.007134541988372802, | |
0.007324302196502685, | |
0.00714158296585083, | |
0.007144143104553222, | |
0.007367822170257568, | |
0.008036141395568847, | |
0.0074721407890319825, | |
0.0074435009956359864, | |
0.007403982162475586, | |
0.007319342136383056, | |
0.007178061962127685, | |
0.007184782028198242, | |
0.007310862064361572, | |
0.00791245985031128, | |
0.0077775797843933105 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.36411150008118 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |