IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
62851fc
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": "6", | |
"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", | |
"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": 1178.185728, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7490.174976, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4899577941894531 | |
], | |
"count": 1, | |
"total": 0.4899577941894531, | |
"mean": 0.4899577941894531, | |
"p50": 0.4899577941894531, | |
"p90": 0.4899577941894531, | |
"p95": 0.4899577941894531, | |
"p99": 0.4899577941894531, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.53056, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 106678.992896, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008983389854431152, | |
0.008438427925109864, | |
0.008401147842407227, | |
0.00848002815246582, | |
0.008459227561950684, | |
0.008399706840515136, | |
0.008404187202453613, | |
0.008440028190612793, | |
0.008401787757873536, | |
0.008384668350219726, | |
0.008389307975769042, | |
0.008401787757873536, | |
0.008430908203125, | |
0.008387548446655273, | |
0.00841186809539795, | |
0.007984186172485351, | |
0.007477303981781006, | |
0.007475863933563232, | |
0.007605305194854736, | |
0.007508025169372558, | |
0.0075217847824096675, | |
0.00748450517654419, | |
0.00743042516708374, | |
0.00748450517654419, | |
0.007469464778900146, | |
0.007633944988250732, | |
0.007597626209259033, | |
0.007470903873443603, | |
0.007813786029815674, | |
0.00755058479309082, | |
0.007545145034790039, | |
0.007448824882507324, | |
0.007635385036468506, | |
0.007472825050354004, | |
0.007627545833587646, | |
0.00749378490447998, | |
0.007629944801330567, | |
0.00759458589553833, | |
0.007434423923492432, | |
0.007530745029449463, | |
0.007489624977111816, | |
0.007604024887084961, | |
0.007614265918731689, | |
0.007574425220489502, | |
0.007559864997863769, | |
0.007591225147247314, | |
0.007469783782958985, | |
0.007466584205627441, | |
0.00747682523727417, | |
0.0074459447860717775, | |
0.0074502649307250975, | |
0.00743698501586914, | |
0.007459225177764893, | |
0.007596024990081787, | |
0.008537468910217285, | |
0.008433467864990234, | |
0.008451547622680664, | |
0.007759866237640381, | |
0.0074784250259399415, | |
0.007419865131378173, | |
0.007441304206848145, | |
0.008225147247314452, | |
0.008321147918701172, | |
0.008416507720947266, | |
0.008345148086547852, | |
0.008344986915588378, | |
0.00833298683166504, | |
0.008336828231811524, | |
0.00836274814605713, | |
0.008312188148498535, | |
0.00831154727935791, | |
0.00835970687866211, | |
0.00832626724243164, | |
0.008336347579956055, | |
0.00831682777404785, | |
0.00833538818359375, | |
0.008328826904296874, | |
0.008323387145996093, | |
0.008349308013916016, | |
0.008341788291931152, | |
0.008327068328857422, | |
0.008338268280029298, | |
0.008336986541748047, | |
0.008314586639404297, | |
0.008325947761535644, | |
0.008276508331298829, | |
0.008275867462158203, | |
0.008261628150939941, | |
0.00827874755859375, | |
0.008316347122192383, | |
0.00834418773651123, | |
0.00832834815979004, | |
0.0083446683883667, | |
0.008320668220520019, | |
0.008329947471618653, | |
0.008330427169799804, | |
0.008306427955627442, | |
0.00836818790435791, | |
0.007837625980377197, | |
0.007805945873260498, | |
0.0075616250038146975, | |
0.007826745986938477, | |
0.007830746173858642, | |
0.007675224781036377, | |
0.0076685061454772946, | |
0.007452663898468018, | |
0.007657304763793945, | |
0.007444505214691162, | |
0.0075230650901794436, | |
0.0074950652122497555, | |
0.007507544994354248, | |
0.007500504970550537, | |
0.007499384880065918, | |
0.007488985061645508, | |
0.007773945808410645, | |
0.007849466800689698, | |
0.007836026191711426, | |
0.007816026210784912, | |
0.00783826494216919, | |
0.007845466136932372, | |
0.007779386043548584, | |
0.00778946590423584, | |
0.007791386127471924, | |
0.00779762601852417, | |
0.007816986083984375, | |
0.007549785137176514 | |
], | |
"count": 126, | |
"total": 0.9998036394119256, | |
"mean": 0.007934949519142271, | |
"p50": 0.007821866035461426, | |
"p90": 0.008401787757873536, | |
"p95": 0.008437187910079956, | |
"p99": 0.008523108720779419, | |
"stdev": 0.0004028420979212932, | |
"stdev_": 5.076807318678927 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.02474629329402 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |