
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
15cc02f
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu121", | |
"_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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 831.811584, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.72493603515625, | |
"mean": 7.72493603515625, | |
"stdev": 0.0, | |
"p50": 7.72493603515625, | |
"p90": 7.72493603515625, | |
"p95": 7.72493603515625, | |
"p99": 7.72493603515625, | |
"values": [ | |
7.72493603515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.512702204166925e-06, | |
"ram": 2.4575648724703638e-06, | |
"gpu": 4.890837245999976e-06, | |
"total": 1.1861104322637264e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1022.889984, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9993637447357174, | |
"mean": 0.006662424964904785, | |
"stdev": 0.0002669659071309949, | |
"p50": 0.006650879859924317, | |
"p90": 0.006787379121780395, | |
"p95": 0.007296000003814696, | |
"p99": 0.007839545207023619, | |
"values": [ | |
0.007377920150756836, | |
0.007314432144165039, | |
0.007347263813018799, | |
0.007336959838867187, | |
0.007572480201721191, | |
0.0077199358940124516, | |
0.006783999919891357, | |
0.006433792114257812, | |
0.006416384220123291, | |
0.006398975849151611, | |
0.006426623821258545, | |
0.006441984176635742, | |
0.006400000095367431, | |
0.006416384220123291, | |
0.006405119895935059, | |
0.00638976001739502, | |
0.006427648067474365, | |
0.006436863899230957, | |
0.006433792114257812, | |
0.006411263942718506, | |
0.006376448154449463, | |
0.0064133119583129885, | |
0.006395840167999268, | |
0.006407167911529541, | |
0.0064245758056640625, | |
0.0063569917678833006, | |
0.006455359935760498, | |
0.00637443208694458, | |
0.006395904064178467, | |
0.006455296039581298, | |
0.006472703933715821, | |
0.006467584133148193, | |
0.0065064959526062015, | |
0.006452191829681397, | |
0.006457344055175781, | |
0.006474751949310303, | |
0.006469632148742676, | |
0.006460415840148926, | |
0.006441984176635742, | |
0.006470655918121338, | |
0.006388735771179199, | |
0.006372352123260498, | |
0.00642252779006958, | |
0.006401023864746094, | |
0.006411263942718506, | |
0.006409215927124024, | |
0.006394879817962646, | |
0.006455296039581298, | |
0.006404096126556396, | |
0.006554624080657959, | |
0.006654975891113281, | |
0.006628352165222168, | |
0.006662144184112549, | |
0.006817791938781738, | |
0.008073216438293456, | |
0.007954463958740235, | |
0.006879231929779053, | |
0.006781951904296875, | |
0.006744063854217529, | |
0.006702079772949219, | |
0.006649856090545654, | |
0.006642687797546387, | |
0.006667263984680176, | |
0.006597631931304931, | |
0.006700032234191895, | |
0.006699007987976074, | |
0.006623231887817383, | |
0.006659071922302246, | |
0.006643712043762207, | |
0.006608895778656006, | |
0.006734911918640137, | |
0.006645760059356689, | |
0.006615007877349853, | |
0.006639616012573242, | |
0.006646783828735352, | |
0.006618112087249756, | |
0.006831103801727295, | |
0.0067041277885437015, | |
0.00668665599822998, | |
0.006654975891113281, | |
0.0066928319931030275, | |
0.006651904106140137, | |
0.006652927875518798, | |
0.00667955207824707, | |
0.0066641921997070315, | |
0.0066375679969787596, | |
0.006677504062652588, | |
0.006650879859924317, | |
0.006636544227600098, | |
0.006661119937896728, | |
0.006649856090545654, | |
0.006646783828735352, | |
0.006675456047058105, | |
0.0066304001808166506, | |
0.006665215969085693, | |
0.006653952121734619, | |
0.0066447358131408694, | |
0.006649856090545654, | |
0.006660096168518067, | |
0.0066344962120056155, | |
0.006651904106140137, | |
0.006657023906707763, | |
0.006621183872222901, | |
0.006938687801361084, | |
0.006711296081542969, | |
0.0068577280044555666, | |
0.006909952163696289, | |
0.006718463897705078, | |
0.006740992069244385, | |
0.0066406397819519045, | |
0.006687744140625, | |
0.006689792156219483, | |
0.006680575847625733, | |
0.006700032234191895, | |
0.006721536159515381, | |
0.0066744318008422855, | |
0.0067123198509216305, | |
0.006739967823028564, | |
0.006648831844329834, | |
0.006666240215301514, | |
0.00675328016281128, | |
0.006646783828735352, | |
0.0066641921997070315, | |
0.006683648109436035, | |
0.006631423950195312, | |
0.006649856090545654, | |
0.006673408031463623, | |
0.006656000137329102, | |
0.006666240215301514, | |
0.00668668794631958, | |
0.0066344962120056155, | |
0.0066375679969787596, | |
0.006681600093841553, | |
0.006669312000274658, | |
0.006631423950195312, | |
0.006677504062652588, | |
0.006731776237487793, | |
0.00727347183227539, | |
0.006723584175109864, | |
0.006748159885406494, | |
0.006694911956787109, | |
0.006660160064697266, | |
0.006669343948364258, | |
0.006731776237487793, | |
0.006636544227600098, | |
0.006689792156219483, | |
0.006650879859924317, | |
0.006648831844329834, | |
0.006713344097137451, | |
0.006661119937896728 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.09549905141654 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.798525539108208e-08, | |
"ram": 4.263786703790228e-08, | |
"gpu": 1.67971625605264e-07, | |
"total": 2.8859474803424833e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3465066.522559611 | |
} | |
} | |
} | |
} |