
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0a52f21
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.252864, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.168128, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.707001953125, | |
"mean": 7.707001953125, | |
"stdev": 0.0, | |
"p50": 7.707001953125, | |
"p90": 7.707001953125, | |
"p95": 7.707001953125, | |
"p99": 7.707001953125, | |
"values": [ | |
7.707001953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.294603832638839e-06, | |
"ram": 2.3377762162062796e-06, | |
"gpu": 4.8911150240000135e-06, | |
"total": 1.1523495072845132e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.97664, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9959955835342401, | |
"mean": 0.0073777450632165975, | |
"stdev": 0.00026410416036810473, | |
"p50": 0.007418879985809326, | |
"p90": 0.0076828863143920895, | |
"p95": 0.0077192192554473875, | |
"p99": 0.007922093935012817, | |
"values": [ | |
0.0074967041015625, | |
0.007622655868530274, | |
0.0077578239440917966, | |
0.007753727912902832, | |
0.007734272003173828, | |
0.007707647800445557, | |
0.0076687359809875484, | |
0.007697408199310303, | |
0.007570432186126709, | |
0.007571455955505371, | |
0.007331840038299561, | |
0.007218175888061523, | |
0.0074035201072692874, | |
0.007484416007995606, | |
0.007553023815155029, | |
0.007581696033477783, | |
0.007639039993286132, | |
0.007631872177124023, | |
0.007643136024475097, | |
0.00764415979385376, | |
0.007519231796264648, | |
0.007570432186126709, | |
0.007681024074554443, | |
0.007638016223907471, | |
0.007585792064666748, | |
0.007615488052368164, | |
0.007574463844299316, | |
0.007612415790557861, | |
0.007584799766540527, | |
0.007577568054199219, | |
0.007573503971099854, | |
0.0074700798988342285, | |
0.007461887836456299, | |
0.007505919933319092, | |
0.007639039993286132, | |
0.007588863849639893, | |
0.007572512149810791, | |
0.007550975799560547, | |
0.0075970559120178225, | |
0.007795711994171142, | |
0.007712768077850342, | |
0.007644192218780517, | |
0.007629824161529541, | |
0.0075478401184082035, | |
0.007516160011291504, | |
0.007608320236206055, | |
0.00769536018371582, | |
0.007987199783325195, | |
0.007643136024475097, | |
0.007781375885009765, | |
0.007502848148345947, | |
0.007522304058074952, | |
0.007565311908721924, | |
0.00753769588470459, | |
0.007618559837341309, | |
0.007457791805267334, | |
0.007512063980102539, | |
0.007579584121704102, | |
0.007555071830749512, | |
0.007623680114746094, | |
0.008226847648620606, | |
0.007542784214019775, | |
0.007689216136932373, | |
0.007684127807617187, | |
0.007678976058959961, | |
0.007664639949798584, | |
0.007302144050598145, | |
0.007223264217376709, | |
0.007318528175354004, | |
0.007299136161804199, | |
0.007203839778900147, | |
0.007304192066192627, | |
0.007176191806793213, | |
0.00719155216217041, | |
0.0072325119972229, | |
0.0069918718338012695, | |
0.007166975975036621, | |
0.007194623947143554, | |
0.007697408199310303, | |
0.007221248149871826, | |
0.007222271919250488, | |
0.007418879985809326, | |
0.007383039951324463, | |
0.007370751857757568, | |
0.00729804801940918, | |
0.00742195177078247, | |
0.00764518404006958, | |
0.007346176147460938, | |
0.007109632015228271, | |
0.0070594558715820314, | |
0.007129087924957276, | |
0.007068672180175781, | |
0.007081984043121338, | |
0.007108607769012451, | |
0.007068672180175781, | |
0.007078911781311035, | |
0.00709939193725586, | |
0.007077888011932373, | |
0.007080959796905518, | |
0.007058432102203369, | |
0.007077888011932373, | |
0.007223296165466309, | |
0.007178239822387696, | |
0.007181312084197998, | |
0.007420928001403809, | |
0.00709119987487793, | |
0.00704307222366333, | |
0.007066624164581299, | |
0.007027711868286133, | |
0.007060480117797851, | |
0.007050240039825439, | |
0.00707583999633789, | |
0.007061503887176514, | |
0.007028736114501953, | |
0.007066624164581299, | |
0.007103487968444824, | |
0.007078911781311035, | |
0.007048223972320557, | |
0.007189504146575928, | |
0.007078911781311035, | |
0.007081984043121338, | |
0.00704307222366333, | |
0.007063551902770996, | |
0.007053311824798584, | |
0.007072735786437989, | |
0.007048192024230957, | |
0.007048192024230957, | |
0.007066624164581299, | |
0.007063551902770996, | |
0.007117824077606201, | |
0.007057407855987549, | |
0.007044095993041993, | |
0.007147520065307617, | |
0.007056320190429687, | |
0.007072768211364746 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.5427696987965 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.19667458524861e-08, | |
"ram": 4.4808596692393594e-08, | |
"gpu": 1.7206335604137964e-07, | |
"total": 2.9883869858625933e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3346286.825403744 | |
} | |
} | |
} | |
} |