IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9697267
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", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"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.2.0", | |
"optimum_benchmark_commit": "ebd20fcf042acf5db8d8956e7057fa93c82e14ab", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1831.841792, | |
"max_global_vram": 815.689728, | |
"max_process_vram": 113496.051712, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.9951390876770018, | |
"mean": 0.005853759339276482, | |
"stdev": 0.0004964323542702236, | |
"p50": 0.005741364002227783, | |
"p90": 0.00624704418182373, | |
"p95": 0.006483220481872559, | |
"p99": 0.00783716208934784, | |
"values": [ | |
0.007940165996551514, | |
0.007790884971618652, | |
0.007589765071868896, | |
0.007400965213775635, | |
0.006697924137115479, | |
0.0064891247749328616, | |
0.006521443843841553, | |
0.00638864517211914, | |
0.006698565006256103, | |
0.0064760041236877446, | |
0.006222564220428467, | |
0.00610544490814209, | |
0.006360804080963135, | |
0.006077923774719238, | |
0.006298244953155518, | |
0.0059500842094421386, | |
0.006287364006042481, | |
0.006302404880523682, | |
0.005954083919525147, | |
0.0063156838417053225, | |
0.0060464048385620115, | |
0.0057752041816711425, | |
0.005767044067382813, | |
0.0057611241340637205, | |
0.005880963802337646, | |
0.005788164138793945, | |
0.005940643787384034, | |
0.005777284145355225, | |
0.005815363883972168, | |
0.0058088040351867674, | |
0.006196963787078858, | |
0.005996005058288574, | |
0.00585664415359497, | |
0.006036483764648438, | |
0.005886884212493897, | |
0.006138723850250244, | |
0.006056165218353272, | |
0.005818724155426025, | |
0.006027204036712646, | |
0.006070243835449219, | |
0.006152005195617676, | |
0.005866884231567383, | |
0.005795683860778809, | |
0.009310086250305176, | |
0.006298405170440674, | |
0.00624256420135498, | |
0.006108004093170166, | |
0.0059891238212585445, | |
0.005678884029388428, | |
0.006066724777221679, | |
0.006065924167633057, | |
0.005914083957672119, | |
0.005964484214782715, | |
0.005942724227905274, | |
0.006069923877716064, | |
0.006160805225372315, | |
0.005897603988647461, | |
0.005924163818359375, | |
0.005901604175567627, | |
0.005971523761749267, | |
0.005937283992767334, | |
0.006073764801025391, | |
0.005931844234466552, | |
0.0059744038581848145, | |
0.006045124053955078, | |
0.005988803863525391, | |
0.006163684844970703, | |
0.006083683967590332, | |
0.005498884201049804, | |
0.005506083965301513, | |
0.005843523979187012, | |
0.005594083786010742, | |
0.00549232292175293, | |
0.005493924140930175, | |
0.005507204055786133, | |
0.005515843868255615, | |
0.005704803943634033, | |
0.005522243976593018, | |
0.005714883804321289, | |
0.005682404041290283, | |
0.00549648380279541, | |
0.005686883926391602, | |
0.0057166428565979, | |
0.005490723133087158, | |
0.0056920042037963865, | |
0.005672163963317871, | |
0.0054864039421081544, | |
0.005648004055023193, | |
0.00549696397781372, | |
0.0054888038635253905, | |
0.0054553627967834474, | |
0.005492002964019776, | |
0.005468644142150879, | |
0.005682563781738282, | |
0.0054619240760803225, | |
0.005504323959350586, | |
0.005474564075469971, | |
0.005482402801513672, | |
0.005497603893280029, | |
0.00551392412185669, | |
0.005468483924865723, | |
0.005479363918304443, | |
0.005502243995666504, | |
0.005482243061065674, | |
0.0055073628425598145, | |
0.005494723796844483, | |
0.00547568416595459, | |
0.005478724002838135, | |
0.005476803779602051, | |
0.005479362964630127, | |
0.0056857638359069824, | |
0.005447524070739746, | |
0.005483523845672607, | |
0.005699203968048096, | |
0.005468324184417724, | |
0.005457444190979004, | |
0.0054670429229736325, | |
0.0055028839111328125, | |
0.005459204196929932, | |
0.005484804153442383, | |
0.0054692840576171875, | |
0.005471044063568116, | |
0.005477283000946045, | |
0.005452963829040527, | |
0.005471203804016113, | |
0.005462883949279785, | |
0.005778244018554687, | |
0.006227044105529786, | |
0.006218725204467773, | |
0.006231043815612793, | |
0.006193123817443848, | |
0.006227845191955566, | |
0.006235044002532959, | |
0.0062209639549255374, | |
0.005634724140167236, | |
0.006201604843139649, | |
0.005937603950500489, | |
0.00612032413482666, | |
0.005671204090118408, | |
0.005945444107055664, | |
0.005683844089508057, | |
0.006057923793792725, | |
0.005765443801879883, | |
0.005730884075164795, | |
0.005802723884582519, | |
0.005948964118957519, | |
0.005639842987060547, | |
0.005750884056091308, | |
0.0054606437683105465, | |
0.0054668841361999515, | |
0.005514083862304687, | |
0.005517603874206543, | |
0.005731843948364258, | |
0.005503203868865967, | |
0.005487523078918457, | |
0.005501604080200196, | |
0.00548224401473999, | |
0.005489603996276855, | |
0.0054888038635253905, | |
0.0054937639236450194, | |
0.0055116829872131345, | |
0.005486884117126465, | |
0.005484164237976074, | |
0.005691843986511231, | |
0.005498723983764648, | |
0.005530563831329346, | |
0.0054985637664794924, | |
0.005500322818756104, | |
0.005479843139648438, | |
0.0054723238945007325 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.8303915554545 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |