
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e403dfd
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16 | |
}, | |
"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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 882.663424, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3696210021972656 | |
], | |
"count": 1, | |
"total": 0.3696210021972656, | |
"mean": 0.3696210021972656, | |
"p50": 0.3696210021972656, | |
"p90": 0.3696210021972656, | |
"p95": 0.3696210021972656, | |
"p99": 0.3696210021972656, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1125.339136, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007546879768371582, | |
0.00710041618347168, | |
0.007127039909362793, | |
0.007170048236846924, | |
0.007188479900360107, | |
0.007189504146575928, | |
0.007152703762054444, | |
0.0071833600997924804, | |
0.007208960056304932, | |
0.007165952205657959, | |
0.007184351921081543, | |
0.007635968208312988, | |
0.007617536067962646, | |
0.007576576232910156, | |
0.007614528179168701, | |
0.007635968208312988, | |
0.007602176189422607, | |
0.007532544136047363, | |
0.00753766393661499, | |
0.007552000045776367, | |
0.007583744049072265, | |
0.007544864177703858, | |
0.007568384170532226, | |
0.00765235185623169, | |
0.00753868818283081, | |
0.007608320236206055, | |
0.007557119846343994, | |
0.007522304058074952, | |
0.007494656085968018, | |
0.0075304961204528805, | |
0.0076308479309082035, | |
0.0074741759300231934, | |
0.007455743789672851, | |
0.007479296207427978, | |
0.007486464023590088, | |
0.007498752117156982, | |
0.007494656085968018, | |
0.007502848148345947, | |
0.007504896163940429, | |
0.007502848148345947, | |
0.007575551986694336, | |
0.007640063762664795, | |
0.007572480201721191, | |
0.0075939841270446775, | |
0.007623680114746094, | |
0.00759500789642334, | |
0.007529471874237061, | |
0.007553023815155029, | |
0.007209983825683594, | |
0.00709222412109375, | |
0.007461887836456299, | |
0.007480319976806641, | |
0.007437312126159668, | |
0.007542784214019775, | |
0.007346208095550537, | |
0.0074670081138610836, | |
0.0074997758865356446, | |
0.007237631797790528, | |
0.007185408115386963, | |
0.007234560012817383, | |
0.007226367950439453, | |
0.007415808200836181, | |
0.007482367992401123, | |
0.007437312126159668, | |
0.007489535808563232, | |
0.007572480201721191, | |
0.007703551769256592, | |
0.007482304096221924, | |
0.007379968166351319, | |
0.007241792201995849, | |
0.007196671962738037, | |
0.007113728046417236, | |
0.007200767993927002, | |
0.007176159858703613, | |
0.007158783912658692, | |
0.007166975975036621, | |
0.007157695770263672, | |
0.0072130560874938965, | |
0.0071823358535766605, | |
0.007193600177764893, | |
0.007171072006225586, | |
0.007135231971740722, | |
0.007185408115386963, | |
0.007154687881469727, | |
0.00714137601852417, | |
0.007176159858703613, | |
0.007171072006225586, | |
0.0071792640686035155, | |
0.007192575931549072, | |
0.007187456130981445, | |
0.007157760143280029, | |
0.007116799831390381, | |
0.007166975975036621, | |
0.007164927959442138, | |
0.007170048236846924, | |
0.007180287837982178, | |
0.00714137601852417, | |
0.007162879943847656, | |
0.007123968124389648, | |
0.007065599918365479, | |
0.00719155216217041, | |
0.007158783912658692, | |
0.007166975975036621, | |
0.0072120318412780765, | |
0.007156735897064209, | |
0.0073768959045410155, | |
0.007171072006225586, | |
0.007203839778900147, | |
0.008806400299072266, | |
0.008697855949401855, | |
0.00729804801940918, | |
0.007222271919250488, | |
0.007279615879058838, | |
0.0072202239036560055, | |
0.007229440212249756, | |
0.007126016139984131, | |
0.007166975975036621, | |
0.007188479900360107, | |
0.007130112171173096, | |
0.007164927959442138, | |
0.007159808158874512, | |
0.007184383869171143, | |
0.007168000221252442, | |
0.007132160186767578, | |
0.007161856174468994, | |
0.00714137601852417, | |
0.007171072006225586, | |
0.0072550721168518064, | |
0.007169023990631103, | |
0.007004159927368164, | |
0.006923264026641846, | |
0.007060480117797851, | |
0.0074741759300231934, | |
0.007185408115386963, | |
0.007189504146575928, | |
0.007136223793029785 | |
], | |
"count": 136, | |
"total": 0.9980528993606564, | |
"mean": 0.0073386242600048295, | |
"p50": 0.007212543964385986, | |
"p90": 0.007594496011734009, | |
"p95": 0.0076321280002593994, | |
"p99": 0.008349849486351018, | |
"stdev": 0.000254924807813321, | |
"stdev_": 3.4737411097969644 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 272.5306445923263 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.326473424630863e-08, | |
"ram": 4.549881514326242e-08, | |
"gpu": 2.0633854890909244e-07, | |
"total": 3.3510209829866346e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 5968330.279500303 | |
} | |
} | |
} | |
} |