IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
691cc3d
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 987.295744, | |
"max_global_vram": 409.239552, | |
"max_process_vram": 46489.563136, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0266484375, | |
"mean": 8.0266484375, | |
"stdev": 0.0, | |
"p50": 8.0266484375, | |
"p90": 8.0266484375, | |
"p95": 8.0266484375, | |
"p99": 8.0266484375, | |
"values": [ | |
8.0266484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.821952, | |
"max_global_vram": 520.450048, | |
"max_process_vram": 119844.265984, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0008049092292788, | |
"mean": 0.007413369697994656, | |
"stdev": 0.00023031543586652696, | |
"p50": 0.007340494155883789, | |
"p90": 0.007710733890533447, | |
"p95": 0.007763501977920532, | |
"p99": 0.008240559329986573, | |
"values": [ | |
0.007407693862915039, | |
0.007348652839660645, | |
0.007372814178466797, | |
0.007365293979644775, | |
0.007549933910369873, | |
0.007359374046325684, | |
0.007462574005126953, | |
0.007360013961791992, | |
0.007307374000549317, | |
0.007320013046264649, | |
0.007315213203430176, | |
0.007264813899993896, | |
0.007340494155883789, | |
0.0073659329414367675, | |
0.007338892936706543, | |
0.007335854053497314, | |
0.007358893871307373, | |
0.00757905387878418, | |
0.007366734027862549, | |
0.007372814178466797, | |
0.007407214164733887, | |
0.007364813804626465, | |
0.007380332946777344, | |
0.007387214183807373, | |
0.00736833381652832, | |
0.008646256446838379, | |
0.007459854125976563, | |
0.007364173889160156, | |
0.007363533973693848, | |
0.007336174011230469, | |
0.0077148938179016115, | |
0.007328494071960449, | |
0.007343533992767334, | |
0.0073345742225646975, | |
0.007286093235015869, | |
0.007302254199981689, | |
0.0073216137886047365, | |
0.007319694042205811, | |
0.007303853034973145, | |
0.007355693817138672, | |
0.007221613883972168, | |
0.007298254013061524, | |
0.0073022527694702145, | |
0.007299853801727295, | |
0.007329934120178223, | |
0.007550094127655029, | |
0.007321774005889892, | |
0.007293932914733887, | |
0.007329452991485596, | |
0.007351533889770508, | |
0.007341293811798095, | |
0.0073216137886047365, | |
0.007322412967681885, | |
0.007350254058837891, | |
0.007326253890991211, | |
0.007350254058837891, | |
0.007317293167114258, | |
0.007335692882537842, | |
0.007260973930358887, | |
0.00736993408203125, | |
0.007337934017181397, | |
0.007777614116668701, | |
0.007685134887695313, | |
0.007386413097381592, | |
0.007222572803497315, | |
0.007353134155273437, | |
0.007335373878479004, | |
0.007334093093872071, | |
0.007332173824310303, | |
0.0072809739112854, | |
0.007239052772521973, | |
0.007252973079681396, | |
0.007223214149475098, | |
0.007279212951660156, | |
0.00726193380355835, | |
0.007250574111938477, | |
0.00717361307144165, | |
0.0071382541656494145, | |
0.007314733028411865, | |
0.007162253856658935, | |
0.007280813217163086, | |
0.007241613864898681, | |
0.007248494148254394, | |
0.0072448129653930665, | |
0.007268013954162597, | |
0.007276494026184082, | |
0.007255053043365479, | |
0.007277453899383545, | |
0.007240493774414062, | |
0.007283853054046631, | |
0.007317133903503418, | |
0.007309934139251709, | |
0.007249932765960693, | |
0.0072360138893127444, | |
0.007364173889160156, | |
0.0072448129653930665, | |
0.007363533973693848, | |
0.007326414108276367, | |
0.007216012954711914, | |
0.00735601282119751, | |
0.007343533992767334, | |
0.007365293979644775, | |
0.007359694004058838, | |
0.007345454216003418, | |
0.007348653793334961, | |
0.008200334548950196, | |
0.007970254898071289, | |
0.007656333923339843, | |
0.007573295116424561, | |
0.007532333850860596, | |
0.007581453800201416, | |
0.007740174770355225, | |
0.0076979341506958005, | |
0.00729297399520874, | |
0.0072662529945373535, | |
0.007287054061889648, | |
0.0073448138236999515, | |
0.007356813907623291, | |
0.007308012962341308, | |
0.007470734119415283, | |
0.008176815032958985, | |
0.008225774765014649, | |
0.008248175621032715, | |
0.007736013889312744, | |
0.0077385749816894535, | |
0.007757453918457031, | |
0.0077044939994812016, | |
0.0076739339828491215, | |
0.00757825517654419, | |
0.007593934059143066, | |
0.007716013908386231, | |
0.0077550549507141115, | |
0.007497774124145508, | |
0.007322894096374512, | |
0.007320333957672119 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.89142464735082 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |