IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
78748a5
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "0", | |
"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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "b0801269b3611e452bb077a62163b08a99ceb2a9", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.810624, | |
"max_global_vram": 1242.415104, | |
"max_process_vram": 44202.881024, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.31902587890625, | |
"mean": 7.31902587890625, | |
"stdev": 0.0, | |
"p50": 7.31902587890625, | |
"p90": 7.31902587890625, | |
"p95": 7.31902587890625, | |
"p99": 7.31902587890625, | |
"values": [ | |
7.31902587890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.459712, | |
"max_global_vram": 1353.773056, | |
"max_process_vram": 261339.066368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 1.0007884211540221, | |
"mean": 0.008006307369232179, | |
"stdev": 0.00020779283335185708, | |
"p50": 0.007944169998168946, | |
"p90": 0.008144425773620605, | |
"p95": 0.008448619079589843, | |
"p99": 0.008675415115356445, | |
"values": [ | |
0.008650730133056641, | |
0.008537771224975586, | |
0.008683210372924804, | |
0.008620330810546875, | |
0.008533289909362793, | |
0.008455691337585449, | |
0.008420330047607422, | |
0.008253450393676759, | |
0.008199689865112304, | |
0.008134249687194825, | |
0.008151209831237793, | |
0.007949130058288574, | |
0.007961770057678223, | |
0.007968169212341308, | |
0.0079793701171875, | |
0.008091850280761719, | |
0.008081290245056152, | |
0.008065609931945801, | |
0.007960969924926758, | |
0.00793488883972168, | |
0.008059690475463867, | |
0.007960969924926758, | |
0.007931049823760986, | |
0.007987369060516357, | |
0.008223210334777832, | |
0.009553610801696777, | |
0.008153129577636718, | |
0.007876810073852538, | |
0.007888169765472412, | |
0.007944649219512939, | |
0.007926730155944825, | |
0.007910570144653321, | |
0.007921928882598878, | |
0.007910570144653321, | |
0.007915850162506104, | |
0.007923210144042969, | |
0.007925289154052734, | |
0.007915530204772949, | |
0.007911049842834472, | |
0.00790480899810791, | |
0.007910569190979004, | |
0.007979849815368652, | |
0.007923210144042969, | |
0.007950569152832031, | |
0.00798705005645752, | |
0.007946090221405029, | |
0.007932650089263917, | |
0.007931209087371827, | |
0.007934249877929688, | |
0.007951849937438965, | |
0.007944169998168946, | |
0.007958569049835206, | |
0.007952489852905274, | |
0.007915369987487793, | |
0.007961928844451904, | |
0.007950728893280029, | |
0.007935050010681153, | |
0.00794832992553711, | |
0.007938889026641846, | |
0.007936649799346924, | |
0.007916490077972411, | |
0.007953929901123046, | |
0.007967369079589844, | |
0.007968170166015625, | |
0.007909930229187012, | |
0.007978089809417725, | |
0.00794416904449463, | |
0.007948490142822265, | |
0.007945769786834717, | |
0.007925768852233887, | |
0.007909930229187012, | |
0.007909609794616699, | |
0.007915209770202637, | |
0.007937609195709228, | |
0.007916810035705567, | |
0.00792800998687744, | |
0.007882729053497314, | |
0.007899370193481445, | |
0.007944169998168946, | |
0.007923048973083496, | |
0.007888810157775879, | |
0.007952809810638428, | |
0.007904809951782226, | |
0.007929449081420898, | |
0.007929609775543214, | |
0.007922249794006348, | |
0.007931368827819824, | |
0.007946730136871338, | |
0.00792480993270874, | |
0.007919209957122803, | |
0.007933128833770751, | |
0.007940969944000243, | |
0.007898250102996825, | |
0.007877129077911377, | |
0.007946249961853027, | |
0.007903210163116455, | |
0.00795008897781372, | |
0.007896968841552734, | |
0.007929609775543214, | |
0.007899849891662598, | |
0.007932969093322754, | |
0.00790192985534668, | |
0.00791825008392334, | |
0.007940649032592773, | |
0.007858088970184326, | |
0.007933450222015382, | |
0.007914090156555175, | |
0.007921129226684571, | |
0.007953450202941895, | |
0.007936490058898927, | |
0.008054409980773926, | |
0.007968169212341308, | |
0.007962569236755371, | |
0.007969769954681396, | |
0.008050569534301758, | |
0.008053770065307617, | |
0.008048649787902831, | |
0.008015849113464356, | |
0.007987370014190674, | |
0.008024009704589843, | |
0.008028968811035157, | |
0.00800673007965088, | |
0.008043370246887206, | |
0.008014569282531738, | |
0.008032489776611328 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.90152499552389 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |