
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
709ef53
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 969.203712, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9977535986900329, | |
"mean": 0.0068339287581509105, | |
"stdev": 0.00022736988364214887, | |
"p50": 0.006789120197296142, | |
"p90": 0.007172096014022827, | |
"p95": 0.007224575996398926, | |
"p99": 0.007490304112434389, | |
"values": [ | |
0.007547904014587403, | |
0.007194623947143554, | |
0.00724070405960083, | |
0.007241727828979493, | |
0.007187456130981445, | |
0.007206912040710449, | |
0.007203839778900147, | |
0.007076863765716553, | |
0.007230463981628418, | |
0.006855679988861084, | |
0.006817791938781738, | |
0.00682700777053833, | |
0.006813695907592773, | |
0.0067358717918396, | |
0.006940671920776367, | |
0.006988800048828125, | |
0.007051263809204102, | |
0.006993919849395752, | |
0.006845407962799073, | |
0.006811647891998291, | |
0.0068577280044555666, | |
0.006789120197296142, | |
0.006690815925598144, | |
0.006804480075836182, | |
0.006941696166992187, | |
0.006852608203887939, | |
0.006853631973266602, | |
0.006816768169403077, | |
0.006845439910888672, | |
0.006770688056945801, | |
0.006822912216186523, | |
0.006838272094726563, | |
0.006884352207183838, | |
0.006838240146636963, | |
0.006776800155639648, | |
0.0067010560035705566, | |
0.00672051191329956, | |
0.0067348480224609375, | |
0.006762495994567871, | |
0.006740992069244385, | |
0.007063551902770996, | |
0.007047167778015137, | |
0.007116799831390381, | |
0.007170048236846924, | |
0.00713318395614624, | |
0.007153600215911865, | |
0.007088128089904785, | |
0.007090176105499267, | |
0.007105535984039306, | |
0.007111680030822754, | |
0.007163904190063477, | |
0.007116799831390381, | |
0.007419904232025146, | |
0.007174143791198731, | |
0.007067647933959961, | |
0.007057375907897949, | |
0.006789120197296142, | |
0.006799359798431396, | |
0.006904831886291504, | |
0.006785024166107178, | |
0.0067686400413513184, | |
0.006760447978973389, | |
0.006766655921936035, | |
0.006806528091430664, | |
0.006799359798431396, | |
0.006793216228485107, | |
0.00682700777053833, | |
0.00694271993637085, | |
0.006899712085723877, | |
0.006875135898590088, | |
0.006904831886291504, | |
0.007244800090789795, | |
0.007120895862579346, | |
0.007110655784606934, | |
0.007255040168762207, | |
0.0068249602317810056, | |
0.006873087882995605, | |
0.00669593620300293, | |
0.006687744140625, | |
0.006535168170928955, | |
0.00657919979095459, | |
0.006779903888702392, | |
0.006597631931304931, | |
0.00638976001739502, | |
0.006456287860870361, | |
0.00642252779006958, | |
0.006592512130737305, | |
0.00689356803894043, | |
0.007106560230255127, | |
0.006969344139099121, | |
0.007060480117797851, | |
0.007196671962738037, | |
0.007201791763305664, | |
0.006882304191589355, | |
0.0075632638931274416, | |
0.006825984001159668, | |
0.006767615795135498, | |
0.006680575847625733, | |
0.006751232147216797, | |
0.006721536159515381, | |
0.006729728221893311, | |
0.006716415882110595, | |
0.006683648109436035, | |
0.006643712043762207, | |
0.006555647850036621, | |
0.006618112087249756, | |
0.0066007041931152345, | |
0.006725632190704346, | |
0.006604800224304199, | |
0.006833151817321777, | |
0.006650879859924317, | |
0.006689792156219483, | |
0.006696959972381592, | |
0.006661119937896728, | |
0.00669593620300293, | |
0.006688767910003662, | |
0.006621183872222901, | |
0.0065812478065490725, | |
0.00658022403717041, | |
0.006560768127441406, | |
0.00657919979095459, | |
0.0065812478065490725, | |
0.006551551818847656, | |
0.006563839912414551, | |
0.006559743881225586, | |
0.006592512130737305, | |
0.006670335769653321, | |
0.006663167953491211, | |
0.006702079772949219, | |
0.006661119937896728, | |
0.006585343837738037, | |
0.0065413122177124024, | |
0.006595583915710449, | |
0.006562816143035889, | |
0.006569983959197998, | |
0.006654975891113281, | |
0.006676479816436768, | |
0.006652895927429199, | |
0.006690815925598144, | |
0.006667263984680176, | |
0.006678463935852051, | |
0.00669593620300293, | |
0.0066744318008422855, | |
0.006659071922302246, | |
0.006694911956787109, | |
0.00674508810043335 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.3287130125973 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.860949585067603e-08, | |
"ram": 4.2973866050950675e-08, | |
"gpu": 1.6377128627814664e-07, | |
"total": 2.853546481797734e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3504411.112203086 | |
} | |
} | |
} | |
} |