IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e423714
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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.3.1", | |
"optimum_benchmark_commit": "35e06a8a39b8c67a2e53b499c65346db81ed78be", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.818816, | |
"max_global_vram": 2695.729152, | |
"max_process_vram": 46591.791104, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.37153173828125, | |
"mean": 7.37153173828125, | |
"stdev": 0.0, | |
"p50": 7.37153173828125, | |
"p90": 7.37153173828125, | |
"p95": 7.37153173828125, | |
"p99": 7.37153173828125, | |
"values": [ | |
7.37153173828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.73824, | |
"max_global_vram": 2807.140352, | |
"max_process_vram": 262297.022464, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9981151466369625, | |
"mean": 0.0075046251626839314, | |
"stdev": 0.00038888099850004776, | |
"p50": 0.00739998197555542, | |
"p90": 0.008004332542419433, | |
"p95": 0.008034924697875976, | |
"p99": 0.00833500068664551, | |
"values": [ | |
0.008404939651489259, | |
0.008186380386352539, | |
0.008009100914001465, | |
0.008042699813842773, | |
0.007897099971771241, | |
0.007799500942230224, | |
0.007623180866241455, | |
0.007746700763702393, | |
0.0074695820808410645, | |
0.007470382213592529, | |
0.007417741775512695, | |
0.0073967819213867185, | |
0.007350701808929444, | |
0.00739998197555542, | |
0.007392460823059082, | |
0.007379181861877441, | |
0.007413901805877685, | |
0.007469421863555909, | |
0.0074230217933654785, | |
0.007370862007141113, | |
0.00734270191192627, | |
0.007384942054748535, | |
0.007384461879730225, | |
0.007532301902770996, | |
0.007450222015380859, | |
0.010546854019165039, | |
0.00730830192565918, | |
0.0074857411384582516, | |
0.007143823146820069, | |
0.007166222095489502, | |
0.007152301788330078, | |
0.00712302303314209, | |
0.007384781837463379, | |
0.007212302207946777, | |
0.007223182201385498, | |
0.007225101947784424, | |
0.007251341819763183, | |
0.007397741794586182, | |
0.007606060981750489, | |
0.007785420894622802, | |
0.0075999808311462405, | |
0.007461741924285888, | |
0.007448462009429932, | |
0.007579660892486572, | |
0.007338222026824951, | |
0.007359501838684082, | |
0.007623021125793457, | |
0.007475182056427002, | |
0.007515342235565186, | |
0.007956620216369628, | |
0.007592942237854004, | |
0.007679821014404297, | |
0.007620460987091064, | |
0.0073521418571472165, | |
0.007456781864166259, | |
0.0072619028091430666, | |
0.007213262081146241, | |
0.0072377419471740725, | |
0.007451662063598633, | |
0.007233101844787598, | |
0.007232141971588135, | |
0.007242862224578857, | |
0.007221581935882568, | |
0.00722286319732666, | |
0.007120781898498535, | |
0.0072542219161987305, | |
0.007242221832275391, | |
0.007206223011016846, | |
0.007220302104949951, | |
0.0073876619338989254, | |
0.00738190221786499, | |
0.007274063110351563, | |
0.007474861145019531, | |
0.007230062007904053, | |
0.007222063064575195, | |
0.007215182781219482, | |
0.007292622089385986, | |
0.007121901988983154, | |
0.007254861831665039, | |
0.007601101875305175, | |
0.0076801409721374515, | |
0.007685260772705078, | |
0.007548780918121338, | |
0.0076380610466003414, | |
0.008010380744934082, | |
0.00793262004852295, | |
0.007617421150207519, | |
0.007806221008300781, | |
0.007730541229248047, | |
0.007692461013793945, | |
0.007503982067108154, | |
0.007680621147155762, | |
0.007761100769042969, | |
0.007895339965820312, | |
0.007723980903625488, | |
0.008077899932861328, | |
0.00801422119140625, | |
0.008006860733032226, | |
0.007994219779968262, | |
0.008008139610290527, | |
0.008091659545898437, | |
0.008111020088195801, | |
0.008029741287231445, | |
0.00801021957397461, | |
0.00786382007598877, | |
0.007493261814117432, | |
0.007531341075897217, | |
0.0077891011238098145, | |
0.007532301902770996, | |
0.007517581939697266, | |
0.007393422126770019, | |
0.007353742122650147, | |
0.007195181846618652, | |
0.007378861904144287, | |
0.007263822078704834, | |
0.007364942073822022, | |
0.007209742069244384, | |
0.007227342128753662, | |
0.007215022087097168, | |
0.007204782962799072, | |
0.007196142196655274, | |
0.007207982063293457, | |
0.007221742153167725, | |
0.007223662853240967, | |
0.007202540874481201, | |
0.0074132618904113766, | |
0.00717454195022583, | |
0.007186061859130859, | |
0.0071121430397033695, | |
0.007112942218780518, | |
0.007206061840057373, | |
0.007218223094940185, | |
0.007207181930541992 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.25115889497178 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |