IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
28c0f3b
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": "5", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.677824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7373.942784, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.5033623962402344 | |
], | |
"count": 1, | |
"total": 0.5033623962402344, | |
"mean": 0.5033623962402344, | |
"p50": 0.5033623962402344, | |
"p90": 0.5033623962402344, | |
"p95": 0.5033623962402344, | |
"p99": 0.5033623962402344, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.280704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 116358.631424, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00821117401123047, | |
0.007010538101196289, | |
0.0074052572250366214, | |
0.007498536109924316, | |
0.007289576053619385, | |
0.007347336769104004, | |
0.007329256057739258, | |
0.0070217370986938475, | |
0.007403976917266845, | |
0.007041576862335205, | |
0.007110537052154541, | |
0.007084776878356933, | |
0.007085577964782715, | |
0.007208775997161865, | |
0.007051177978515625, | |
0.007044776916503907, | |
0.007318857192993164, | |
0.007579656124114991, | |
0.007341736793518066, | |
0.007211337089538574, | |
0.007017417907714844, | |
0.007159337043762207, | |
0.007063177108764649, | |
0.007037257194519043, | |
0.0071218981742858884, | |
0.007052137851715088, | |
0.007108936786651612, | |
0.007028777122497559, | |
0.007098217964172363, | |
0.007046058177947998, | |
0.00704237699508667, | |
0.007188776969909668, | |
0.007089577198028565, | |
0.007148137092590332, | |
0.007067977905273437, | |
0.007183657169342041, | |
0.007108297824859619, | |
0.007046377182006836, | |
0.0071617369651794435, | |
0.007147817134857177, | |
0.007109897136688232, | |
0.007111977100372315, | |
0.00711933708190918, | |
0.00703805685043335, | |
0.007046698093414306, | |
0.00703805685043335, | |
0.007178057193756104, | |
0.0070522971153259275, | |
0.007150856971740722, | |
0.007119176864624023, | |
0.007103017807006836, | |
0.007131176948547363, | |
0.0071231770515441896, | |
0.007103656768798828, | |
0.00703197717666626, | |
0.007168937206268311, | |
0.0070098981857299805, | |
0.007282536029815673, | |
0.007030538082122803, | |
0.006985897064208984, | |
0.007031978130340576, | |
0.007028297901153564, | |
0.007138856887817383, | |
0.007354536056518555, | |
0.007009257793426513, | |
0.007040777206420898, | |
0.007504615783691406, | |
0.007277097225189209, | |
0.007226857185363769, | |
0.007055337905883789, | |
0.00704893684387207, | |
0.007046057224273682, | |
0.007056138038635254, | |
0.007014857769012451, | |
0.00702429723739624, | |
0.007025737762451172, | |
0.007020777225494385, | |
0.006997578144073487, | |
0.007031016826629639, | |
0.007015178203582764, | |
0.007030057907104492, | |
0.00731501579284668, | |
0.007051817893981934, | |
0.007071657180786133, | |
0.007035177230834961, | |
0.007047018051147461, | |
0.007041576862335205, | |
0.006999177932739258, | |
0.007039817810058593, | |
0.007045577049255371, | |
0.007044618129730225, | |
0.007008297920227051, | |
0.007043497085571289, | |
0.007214217185974121, | |
0.007064297199249268, | |
0.0070508580207824705, | |
0.007006377220153809, | |
0.007015657901763916, | |
0.007247975826263428, | |
0.007064137935638428, | |
0.007477097034454346, | |
0.007023178100585938, | |
0.007310215950012207, | |
0.007036938190460205, | |
0.007114858150482178, | |
0.007066537857055664, | |
0.007031657218933105, | |
0.007053417205810547, | |
0.007056457996368408, | |
0.00704237699508667, | |
0.007047017097473144, | |
0.007085418224334717, | |
0.007060458183288574, | |
0.007048457145690918, | |
0.007041418075561524, | |
0.007051497936248779, | |
0.0070522971153259275, | |
0.007051016807556152, | |
0.007008458137512207, | |
0.007020136833190918, | |
0.007121097087860107, | |
0.007011178016662597, | |
0.007036777019500733, | |
0.0070025382041931155, | |
0.007023656845092773, | |
0.007019018173217774, | |
0.007031978130340576, | |
0.006994697093963623, | |
0.0070210971832275395, | |
0.0070361380577087405, | |
0.007050696849822998, | |
0.0070294179916381835, | |
0.00702797794342041, | |
0.007018696784973144, | |
0.007042538166046142, | |
0.0070402960777282714, | |
0.007053576946258545, | |
0.0070433378219604496, | |
0.007024617195129395, | |
0.007026378154754639 | |
], | |
"count": 140, | |
"total": 0.9951689820289616, | |
"mean": 0.007108349871635436, | |
"p50": 0.007050937414169312, | |
"p90": 0.007291640043258667, | |
"p95": 0.0073570080995559685, | |
"p99": 0.007550390391349792, | |
"stdev": 0.0001489349022423152, | |
"stdev_": 2.0952106316068173 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.67962580040077 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |