![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
4755c64
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": "6f7b069b4b0cde5708134b51a746a564e69874ce", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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.704128, | |
"max_global_vram": 409.133056, | |
"max_process_vram": 47903.92832, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.47627734375, | |
"mean": 7.47627734375, | |
"stdev": 0.0, | |
"p50": 7.47627734375, | |
"p90": 7.47627734375, | |
"p95": 7.47627734375, | |
"p99": 7.47627734375, | |
"values": [ | |
7.47627734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1834.029056, | |
"max_global_vram": 520.51968, | |
"max_process_vram": 294598.230016, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 1.0005777912139897, | |
"mean": 0.008004622329711915, | |
"stdev": 0.00040665807913375864, | |
"p50": 0.007988321781158447, | |
"p90": 0.00828176155090332, | |
"p95": 0.008314850044250489, | |
"p99": 0.00868507682800293, | |
"values": [ | |
0.008575040817260743, | |
0.008285282135009765, | |
0.008600321769714356, | |
0.008305920600891113, | |
0.008214081764221191, | |
0.00846096134185791, | |
0.008711841583251953, | |
0.00830528163909912, | |
0.008179680824279785, | |
0.008097922325134278, | |
0.008100320816040039, | |
0.008199682235717773, | |
0.008023200988769531, | |
0.007913122177124024, | |
0.007963040828704833, | |
0.00807872200012207, | |
0.007940482139587403, | |
0.007965120792388916, | |
0.008027682304382324, | |
0.007945600986480714, | |
0.007932641983032226, | |
0.008057921409606934, | |
0.01142208194732666, | |
0.008166401863098145, | |
0.007826560974121094, | |
0.00779376220703125, | |
0.008001602172851563, | |
0.007984160900115967, | |
0.008054081916809081, | |
0.007908161163330079, | |
0.008183682441711426, | |
0.007927041053771972, | |
0.007925601959228515, | |
0.008174880981445313, | |
0.007904322147369384, | |
0.008289760589599609, | |
0.008238561630249023, | |
0.00824400234222412, | |
0.008005600929260254, | |
0.00793024206161499, | |
0.007947200775146485, | |
0.007936001777648926, | |
0.008165600776672364, | |
0.007744962215423584, | |
0.007637280941009522, | |
0.007709601879119873, | |
0.007619040966033936, | |
0.007640161991119385, | |
0.007674080848693848, | |
0.007706881999969483, | |
0.007644161224365235, | |
0.007652801990509033, | |
0.008002401351928711, | |
0.007689122200012207, | |
0.007909440994262695, | |
0.007731842041015625, | |
0.007716960906982422, | |
0.007549602031707764, | |
0.00787584114074707, | |
0.007663201808929443, | |
0.007872961044311523, | |
0.007812161922454834, | |
0.007457601070404053, | |
0.007871360778808593, | |
0.008174402236938477, | |
0.007895681858062744, | |
0.007878561019897461, | |
0.007718401908874512, | |
0.00753632116317749, | |
0.007573921203613282, | |
0.007385282039642334, | |
0.007396481037139893, | |
0.0073644819259643555, | |
0.007388640880584716, | |
0.007433122158050537, | |
0.007603361129760742, | |
0.00784400177001953, | |
0.00777648115158081, | |
0.007919841766357422, | |
0.008056321144104005, | |
0.008045762062072755, | |
0.008174880981445313, | |
0.008316322326660157, | |
0.008308960914611816, | |
0.008267682075500488, | |
0.008259841918945313, | |
0.008276480674743653, | |
0.008243362426757812, | |
0.00825632095336914, | |
0.008269601821899415, | |
0.008242881774902344, | |
0.00822096061706543, | |
0.008190402030944824, | |
0.008141760826110839, | |
0.008297922134399414, | |
0.008194240570068359, | |
0.008325121879577636, | |
0.007870081901550294, | |
0.008124960899353027, | |
0.007833281993865966, | |
0.007945920944213867, | |
0.007639041900634766, | |
0.007989120960235596, | |
0.008227202415466308, | |
0.008082241058349609, | |
0.008215202331542968, | |
0.008115680694580078, | |
0.008013442039489746, | |
0.008031682014465332, | |
0.007895680904388427, | |
0.007931042194366454, | |
0.007817601203918457, | |
0.0077681617736816404, | |
0.008016481399536132, | |
0.007988321781158447, | |
0.007710401058197021, | |
0.007721921920776367, | |
0.007700321197509766, | |
0.007613282203674316, | |
0.008175841331481934, | |
0.008216961860656739, | |
0.008246081352233887, | |
0.008186561584472656, | |
0.008218081474304199, | |
0.008210721015930176 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.92781780448969 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |