IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8b7ac25
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "6", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.49504, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 52423.8848, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.1967861328125, | |
"mean": 9.1967861328125, | |
"stdev": 0.0, | |
"p50": 9.1967861328125, | |
"p90": 9.1967861328125, | |
"p95": 9.1967861328125, | |
"p99": 9.1967861328125, | |
"values": [ | |
9.1967861328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.880832, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 116080.877568, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9992774224281311, | |
"mean": 0.007868326160851426, | |
"stdev": 0.00047545984554773346, | |
"p50": 0.007918742179870606, | |
"p90": 0.008415159034729005, | |
"p95": 0.008494839382171632, | |
"p99": 0.008834510116577148, | |
"values": [ | |
0.008431702613830567, | |
0.008023382186889649, | |
0.008315543174743652, | |
0.008405303001403809, | |
0.008497623443603516, | |
0.008266581535339355, | |
0.008243701934814452, | |
0.008400982856750488, | |
0.008480342864990234, | |
0.008676822662353516, | |
0.008556503295898438, | |
0.008488343238830567, | |
0.008538103103637696, | |
0.00847186279296875, | |
0.008431862831115723, | |
0.007973941802978515, | |
0.007716501235961914, | |
0.00762913990020752, | |
0.007925780773162841, | |
0.007912662029266358, | |
0.007876821041107178, | |
0.00796386194229126, | |
0.0076803407669067385, | |
0.008168981552124024, | |
0.007721140861511231, | |
0.007651541233062744, | |
0.007763381004333496, | |
0.007726261138916016, | |
0.00784834098815918, | |
0.007814741134643555, | |
0.008032341957092286, | |
0.008013301849365235, | |
0.008256022453308105, | |
0.008244182586669922, | |
0.007781460762023926, | |
0.007676500797271729, | |
0.0075588998794555665, | |
0.007760021209716797, | |
0.007984981060028077, | |
0.007586581230163574, | |
0.007615380764007569, | |
0.008114102363586426, | |
0.007664660930633545, | |
0.0074000201225280764, | |
0.007273620128631592, | |
0.0073883399963378905, | |
0.007372499942779541, | |
0.0073645000457763675, | |
0.007274740219116211, | |
0.007265139102935791, | |
0.007292980194091797, | |
0.007268660068511963, | |
0.0072940998077392575, | |
0.0072635397911071774, | |
0.007258419036865234, | |
0.007251699924468994, | |
0.007246099948883057, | |
0.007237298965454102, | |
0.007229139804840088, | |
0.007254580020904541, | |
0.007266418933868408, | |
0.0072344188690185544, | |
0.007239540100097656, | |
0.00744193983078003, | |
0.0073027400970458985, | |
0.007292180061340332, | |
0.007269458770751953, | |
0.007313778877258301, | |
0.0073148999214172365, | |
0.007292660236358642, | |
0.007273139953613281, | |
0.007292019844055176, | |
0.007296820163726806, | |
0.00748386001586914, | |
0.007502419948577881, | |
0.007261300086975097, | |
0.007261459827423096, | |
0.007232819080352783, | |
0.007263218879699707, | |
0.007467700004577637, | |
0.007295699119567871, | |
0.007250259876251221, | |
0.007274099826812744, | |
0.007222898960113525, | |
0.007269299030303955, | |
0.007764501094818115, | |
0.008193142890930176, | |
0.008174901962280273, | |
0.00823282241821289, | |
0.007918742179870606, | |
0.008251861572265625, | |
0.00822722339630127, | |
0.00814498233795166, | |
0.00888114356994629, | |
0.009390584945678711, | |
0.008701784133911133, | |
0.008429943084716797, | |
0.008254422187805175, | |
0.008257782936096192, | |
0.008260662078857423, | |
0.008255863189697265, | |
0.008220341682434082, | |
0.008247221946716309, | |
0.00819138240814209, | |
0.00815714168548584, | |
0.008256662368774413, | |
0.00824898338317871, | |
0.008251062393188477, | |
0.008254742622375489, | |
0.00822866153717041, | |
0.008232501983642579, | |
0.008211861610412598, | |
0.008255702018737793, | |
0.00823938274383545, | |
0.00821378231048584, | |
0.008193621635437012, | |
0.008223222732543946, | |
0.008221141815185547, | |
0.008257142066955566, | |
0.008290581703186035, | |
0.0083217830657959, | |
0.008281782150268554, | |
0.00789570188522339, | |
0.007878581047058105, | |
0.008285622596740722, | |
0.008204821586608887, | |
0.008232661247253418 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.09183370860553 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |