IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a9a67f2
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": "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": 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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 983.175168, | |
"max_global_vram": 1458.040832, | |
"max_process_vram": 46050.578432, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.07862744140625, | |
"mean": 7.07862744140625, | |
"stdev": 0.0, | |
"p50": 7.07862744140625, | |
"p90": 7.07862744140625, | |
"p95": 7.07862744140625, | |
"p99": 7.07862744140625, | |
"values": [ | |
7.07862744140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.582592, | |
"max_global_vram": 4811.661312, | |
"max_process_vram": 274206.482432, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0014576888084405, | |
"mean": 0.007309910137287892, | |
"stdev": 0.0003158832858873304, | |
"p50": 0.007200829982757569, | |
"p90": 0.007748991680145264, | |
"p95": 0.007925985050201416, | |
"p99": 0.008518799209594724, | |
"values": [ | |
0.0077401909828186035, | |
0.007945312976837158, | |
0.008131072998046876, | |
0.007962752819061279, | |
0.007954592227935792, | |
0.007913472175598145, | |
0.007913311958312989, | |
0.007751390933990478, | |
0.0077473921775817875, | |
0.0077712321281433105, | |
0.008382913589477538, | |
0.007921153068542481, | |
0.00781283187866211, | |
0.007693631172180176, | |
0.007550429821014404, | |
0.007554750919342041, | |
0.008595234870910644, | |
0.00938803768157959, | |
0.007438271045684814, | |
0.007238268852233887, | |
0.007206270217895508, | |
0.007195229053497314, | |
0.007200829982757569, | |
0.007222269058227539, | |
0.007181310176849366, | |
0.007198268890380859, | |
0.007156990051269531, | |
0.007197948932647705, | |
0.007210909843444824, | |
0.00722770881652832, | |
0.007235869884490966, | |
0.00719106912612915, | |
0.007230110168457031, | |
0.007256189823150635, | |
0.00718722915649414, | |
0.007190110206604004, | |
0.0072054691314697265, | |
0.007214910030364991, | |
0.0072409892082214355, | |
0.0072225890159606934, | |
0.0072168288230896, | |
0.007269629955291748, | |
0.007221468925476074, | |
0.0071942701339721676, | |
0.007190429210662842, | |
0.007166429996490479, | |
0.00715234899520874, | |
0.007191548824310303, | |
0.00717634916305542, | |
0.007186109066009521, | |
0.0071923499107360836, | |
0.007176029205322266, | |
0.007209149837493897, | |
0.007189949035644531, | |
0.007165629863739014, | |
0.007203228950500488, | |
0.007161468982696533, | |
0.007140189170837402, | |
0.00715570878982544, | |
0.007152829170227051, | |
0.007181149959564209, | |
0.007184829235076904, | |
0.007249470233917236, | |
0.007224349975585937, | |
0.00705266809463501, | |
0.007226589202880859, | |
0.007291709899902344, | |
0.0071785888671875, | |
0.007185790061950683, | |
0.007167869091033936, | |
0.007173150062561035, | |
0.0072624292373657225, | |
0.007192669868469238, | |
0.007227229118347168, | |
0.007164828777313233, | |
0.007262909889221191, | |
0.007100348949432373, | |
0.007243709087371826, | |
0.007373311042785644, | |
0.007203228950500488, | |
0.007367070198059082, | |
0.007334109783172608, | |
0.007066267967224121, | |
0.007192830085754395, | |
0.007291230201721191, | |
0.007163389205932617, | |
0.007176989078521728, | |
0.007179228782653808, | |
0.007279230117797852, | |
0.007192988872528076, | |
0.007164830207824707, | |
0.007204988956451416, | |
0.007519711017608643, | |
0.007399710178375244, | |
0.007755712032318115, | |
0.00737539005279541, | |
0.007406590938568115, | |
0.007341149806976318, | |
0.007289470195770264, | |
0.007307869911193848, | |
0.007244349002838135, | |
0.007247389793395996, | |
0.0072569899559021, | |
0.007223548889160156, | |
0.0072069091796875, | |
0.007320670127868653, | |
0.007220190048217773, | |
0.007139069080352783, | |
0.0070843491554260256, | |
0.00708850908279419, | |
0.007173789978027344, | |
0.007171069145202637, | |
0.007213950157165527, | |
0.007212348937988281, | |
0.007169469833374024, | |
0.007187549114227295, | |
0.007179069042205811, | |
0.0071302690505981444, | |
0.007160988807678223, | |
0.007134269237518311, | |
0.007127709865570068, | |
0.007126749038696289, | |
0.007127869129180908, | |
0.007149788856506347, | |
0.007167709827423096, | |
0.00714802885055542, | |
0.007136669158935547, | |
0.007140028953552246, | |
0.007076027870178222, | |
0.007063228130340576, | |
0.0071773090362548825, | |
0.00706450891494751, | |
0.007148668766021728, | |
0.007120509147644043, | |
0.007141149044036866, | |
0.007183069229125976, | |
0.007147869110107422 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.8005873148829 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |