
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6767b98
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": "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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 952.057856, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 0.9948485455513002, | |
"mean": 0.0054662007997324175, | |
"stdev": 0.0003736756312916894, | |
"p50": 0.005372912168502808, | |
"p90": 0.0057117696762084965, | |
"p95": 0.005823948812484741, | |
"p99": 0.007548313765525817, | |
"values": [ | |
0.007959551811218261, | |
0.0075980801582336424, | |
0.007536640167236328, | |
0.00748748779296875, | |
0.006278143882751465, | |
0.0056145920753479005, | |
0.005574656009674072, | |
0.005636096000671387, | |
0.005553152084350586, | |
0.0055808000564575196, | |
0.005997568130493164, | |
0.005609471797943116, | |
0.005519360065460205, | |
0.0054609918594360355, | |
0.0053862080574035645, | |
0.005292031764984131, | |
0.005378047943115235, | |
0.005464064121246338, | |
0.005502975940704345, | |
0.005521344184875488, | |
0.005530623912811279, | |
0.005494783878326416, | |
0.005453824043273926, | |
0.005444608211517334, | |
0.005442560195922852, | |
0.005595136165618897, | |
0.005504000186920166, | |
0.005541888236999512, | |
0.005497856140136719, | |
0.005479423999786377, | |
0.005476352214813233, | |
0.005471231937408447, | |
0.005540863990783691, | |
0.005517312049865723, | |
0.005715968132019043, | |
0.0055808000564575196, | |
0.005352447986602784, | |
0.005348351955413819, | |
0.005430272102355957, | |
0.005281792163848877, | |
0.005410816192626953, | |
0.005464032173156739, | |
0.005440512180328369, | |
0.005583871841430664, | |
0.005568511962890625, | |
0.005553152084350586, | |
0.005710847854614258, | |
0.005469183921813964, | |
0.0054620480537414555, | |
0.005517312049865723, | |
0.005499904155731201, | |
0.0055797758102417, | |
0.005462016105651855, | |
0.005535744190216065, | |
0.005602303981781006, | |
0.005356544017791748, | |
0.005437376022338868, | |
0.005455872058868408, | |
0.005513216018676758, | |
0.005554175853729248, | |
0.0054282240867614745, | |
0.005529600143432617, | |
0.005419007778167725, | |
0.005417984008789062, | |
0.005492735862731934, | |
0.005761023998260498, | |
0.005774335861206055, | |
0.005903359889984131, | |
0.005826560020446778, | |
0.005761055946350097, | |
0.00574675178527832, | |
0.0058439040184021, | |
0.005716991901397705, | |
0.005876736164093017, | |
0.0057118721008300784, | |
0.005702720165252685, | |
0.005757952213287353, | |
0.005610496044158936, | |
0.00556441593170166, | |
0.005442560195922852, | |
0.005372896194458008, | |
0.005518335819244385, | |
0.005641215801239013, | |
0.005469183921813964, | |
0.005279744148254394, | |
0.005359615802764893, | |
0.00530944013595581, | |
0.005347328186035156, | |
0.005381120204925537, | |
0.005384191989898681, | |
0.0054579200744628905, | |
0.005505023956298828, | |
0.005450751781463623, | |
0.005472256183624268, | |
0.0057190399169921875, | |
0.005617663860321045, | |
0.005388288021087646, | |
0.005348351955413819, | |
0.0053002238273620605, | |
0.005392384052276611, | |
0.005310463905334473, | |
0.005318655967712403, | |
0.005372928142547607, | |
0.00532480001449585, | |
0.005315584182739258, | |
0.005360576152801513, | |
0.005320703983306885, | |
0.0052971520423889164, | |
0.005352447986602784, | |
0.005313536167144775, | |
0.005380095958709717, | |
0.005340159893035889, | |
0.0052930560111999515, | |
0.005295104026794434, | |
0.005328896045684814, | |
0.005299200057983398, | |
0.005275648117065429, | |
0.005303296089172363, | |
0.0052674560546875, | |
0.005281792163848877, | |
0.00532371187210083, | |
0.005262335777282715, | |
0.005283840179443359, | |
0.0053350400924682614, | |
0.005350399971008301, | |
0.005276671886444092, | |
0.005303296089172363, | |
0.005282815933227539, | |
0.0052715520858764645, | |
0.0053309440612792965, | |
0.0052971520423889164, | |
0.005298175811767578, | |
0.005320703983306885, | |
0.005273600101470947, | |
0.005287936210632324, | |
0.005350399971008301, | |
0.005279744148254394, | |
0.005280767917633057, | |
0.00532480001449585, | |
0.005294079780578613, | |
0.005323775768280029, | |
0.005395455837249756, | |
0.005282815933227539, | |
0.0052633600234985355, | |
0.005298175811767578, | |
0.005280767917633057, | |
0.005281792163848877, | |
0.005318655967712403, | |
0.005287936210632324, | |
0.005277696132659912, | |
0.005305344104766845, | |
0.005268479824066162, | |
0.005285888195037842, | |
0.00530841588973999, | |
0.005288959980010987, | |
0.005292031764984131, | |
0.005352447986602784, | |
0.00536678409576416, | |
0.005298175811767578, | |
0.005340159893035889, | |
0.0052705278396606445, | |
0.005298175811767578, | |
0.005311488151550293, | |
0.005282815933227539, | |
0.0052930560111999515, | |
0.005337088108062744, | |
0.0053002238273620605, | |
0.0052899842262268066, | |
0.005306367874145508, | |
0.005299200057983398, | |
0.005274623870849609, | |
0.005299200057983398, | |
0.0051066880226135255, | |
0.005145599842071533, | |
0.00511897611618042, | |
0.005078015804290771, | |
0.005079040050506592, | |
0.005079040050506592, | |
0.005092351913452148, | |
0.005081088066101074, | |
0.005090303897857666, | |
0.005086207866668701 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.94241954100042 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.217049990648999e-08, | |
"ram": 3.399047537078777e-08, | |
"gpu": 1.2711324886910534e-07, | |
"total": 2.2327422414638308e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4478797.334637159 | |
} | |
} | |
} | |
} |