
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f4c7b70
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"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": 867.500032, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2929951171875, | |
"mean": 8.2929951171875, | |
"stdev": 0.0, | |
"p50": 8.2929951171875, | |
"p90": 8.2929951171875, | |
"p95": 8.2929951171875, | |
"p99": 8.2929951171875, | |
"values": [ | |
8.2929951171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.795964097913182e-06, | |
"ram": 3.157698569534178e-06, | |
"gpu": 7.977784160000112e-06, | |
"total": 1.693144682744747e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.956288, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9957172174453738, | |
"mean": 0.007375683092187953, | |
"stdev": 0.00019778645487738736, | |
"p50": 0.007463935852050781, | |
"p90": 0.0075939841270446775, | |
"p95": 0.007603507232666016, | |
"p99": 0.007656427564620972, | |
"values": [ | |
0.007381984233856201, | |
0.007410655975341797, | |
0.0074926080703735356, | |
0.007379903793334961, | |
0.0073144960403442386, | |
0.007350272178649903, | |
0.007366655826568603, | |
0.007341055870056152, | |
0.007265279769897461, | |
0.007502848148345947, | |
0.007544832229614258, | |
0.007577600002288819, | |
0.007489535808563232, | |
0.007468031883239746, | |
0.007434239864349365, | |
0.007465983867645264, | |
0.007508992195129394, | |
0.007583744049072265, | |
0.00760319995880127, | |
0.007617536067962646, | |
0.007539711952209473, | |
0.00749567985534668, | |
0.007473152160644531, | |
0.007504896163940429, | |
0.007601151943206787, | |
0.007568352222442627, | |
0.007568384170532226, | |
0.007572480201721191, | |
0.00758784008026123, | |
0.00753766393661499, | |
0.0074997758865356446, | |
0.007581696033477783, | |
0.007555071830749512, | |
0.007529471874237061, | |
0.007427072048187256, | |
0.007443456172943115, | |
0.007445504188537597, | |
0.007491583824157715, | |
0.007519264221191407, | |
0.0074741759300231934, | |
0.007544832229614258, | |
0.007539743900299072, | |
0.007569407939910889, | |
0.007672832012176513, | |
0.007623712062835694, | |
0.007577568054199219, | |
0.007623680114746094, | |
0.007555071830749512, | |
0.007494656085968018, | |
0.007481344223022461, | |
0.00759500789642334, | |
0.00760422420501709, | |
0.007539711952209473, | |
0.007553023815155029, | |
0.0075714879035949706, | |
0.007445504188537597, | |
0.007461887836456299, | |
0.0074967041015625, | |
0.007482367992401123, | |
0.007602176189422607, | |
0.007469120025634765, | |
0.007478271961212158, | |
0.007511040210723877, | |
0.007557119846343994, | |
0.007528448104858398, | |
0.0075008001327514645, | |
0.007481344223022461, | |
0.007501823902130127, | |
0.0076574721336364745, | |
0.0075939841270446775, | |
0.007601151943206787, | |
0.0075939841270446775, | |
0.007560192108154297, | |
0.007536640167236328, | |
0.007544864177703858, | |
0.0075008001327514645, | |
0.007463935852050781, | |
0.007540736198425293, | |
0.0074403839111328125, | |
0.00743017578125, | |
0.007378943920135498, | |
0.007309311866760254, | |
0.007450623989105225, | |
0.007263232231140137, | |
0.007094272136688232, | |
0.007117792129516602, | |
0.007144447803497315, | |
0.0073554558753967285, | |
0.007484416007995606, | |
0.007407616138458252, | |
0.007531519889831543, | |
0.007599103927612305, | |
0.007654399871826172, | |
0.007301055908203125, | |
0.007188479900360107, | |
0.007150591850280762, | |
0.007116799831390381, | |
0.007160831928253173, | |
0.007153664112091064, | |
0.007153664112091064, | |
0.007159808158874512, | |
0.007108607769012451, | |
0.00714137601852417, | |
0.007134208202362061, | |
0.007087103843688965, | |
0.007103487968444824, | |
0.007098368167877197, | |
0.007132160186767578, | |
0.007135231971740722, | |
0.007137279987335205, | |
0.007076863765716553, | |
0.0071496000289916995, | |
0.0071188478469848635, | |
0.0070891518592834475, | |
0.007102464199066162, | |
0.007085055828094483, | |
0.007095295906066895, | |
0.007102464199066162, | |
0.007123968124389648, | |
0.007084000110626221, | |
0.007101439952850342, | |
0.007096320152282715, | |
0.007101439952850342, | |
0.007076863765716553, | |
0.007045119762420654, | |
0.007068672180175781, | |
0.007114751815795899, | |
0.007102464199066162, | |
0.007077888011932373, | |
0.007076863765716553, | |
0.007097343921661377, | |
0.007117824077606201, | |
0.007123968124389648, | |
0.0070522880554199216, | |
0.007139328002929687 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.5806624960829 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.412369119375189e-08, | |
"ram": 4.595841682199369e-08, | |
"gpu": 1.6980904049645792e-07, | |
"total": 2.9989114851220347e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3334543.233306891 | |
} | |
} | |
} | |
} |