IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
97615d1
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": "593b48b93d71bee250bc8db76a7279c4b590c2bb", | |
"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.982656, | |
"max_global_vram": 1242.390528, | |
"max_process_vram": 44558.790656, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4659609375, | |
"mean": 7.4659609375, | |
"stdev": 0.0, | |
"p50": 7.4659609375, | |
"p90": 7.4659609375, | |
"p95": 7.4659609375, | |
"p99": 7.4659609375, | |
"values": [ | |
7.4659609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.963008, | |
"max_global_vram": 1353.736192, | |
"max_process_vram": 285641.744384, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9969384407997135, | |
"mean": 0.008105190575607423, | |
"stdev": 0.0004125608949232292, | |
"p50": 0.008127058982849121, | |
"p90": 0.008574195671081542, | |
"p95": 0.008884564971923827, | |
"p99": 0.00918515422821045, | |
"values": [ | |
0.008780019760131836, | |
0.008970741271972657, | |
0.009230260848999023, | |
0.009204021453857422, | |
0.009118261337280274, | |
0.008965460777282715, | |
0.008534899711608887, | |
0.008597139358520509, | |
0.00841921901702881, | |
0.008164818763732911, | |
0.008194579124450683, | |
0.007917297840118407, | |
0.008105138778686523, | |
0.00792433786392212, | |
0.00862738037109375, | |
0.008712980270385742, | |
0.008359539031982421, | |
0.008591219902038575, | |
0.008337939262390136, | |
0.008113779067993165, | |
0.008458898544311524, | |
0.008211858749389648, | |
0.008179538726806641, | |
0.008455380439758301, | |
0.008443219184875488, | |
0.008421619415283204, | |
0.008584019660949706, | |
0.00910386085510254, | |
0.008896181106567383, | |
0.00831809902191162, | |
0.00830609893798828, | |
0.008305298805236816, | |
0.00828977870941162, | |
0.008300338745117188, | |
0.008283059120178222, | |
0.008280338287353516, | |
0.008375378608703613, | |
0.008395539283752442, | |
0.00842770004272461, | |
0.008394418716430664, | |
0.008315379142761231, | |
0.00832305908203125, | |
0.008338098526000976, | |
0.008296018600463867, | |
0.008276019096374512, | |
0.008332658767700195, | |
0.008312499046325684, | |
0.008318899154663086, | |
0.00833329963684082, | |
0.008321779251098633, | |
0.008334259033203124, | |
0.008341778755187988, | |
0.008316658973693847, | |
0.008335699081420898, | |
0.00832369899749756, | |
0.00818305778503418, | |
0.007791377067565918, | |
0.007684816837310791, | |
0.00762017822265625, | |
0.007901937961578369, | |
0.00796673822402954, | |
0.008324338912963867, | |
0.008382418632507323, | |
0.008424339294433593, | |
0.007945618152618409, | |
0.00781585693359375, | |
0.007968498229980468, | |
0.007791858196258545, | |
0.008004497528076172, | |
0.008339859008789063, | |
0.00820977783203125, | |
0.007790418148040772, | |
0.007856977939605712, | |
0.007880498886108398, | |
0.00798929786682129, | |
0.008115379333496094, | |
0.007784018039703369, | |
0.007988818168640137, | |
0.00807265853881836, | |
0.008104658126831055, | |
0.007649137973785401, | |
0.007868817806243896, | |
0.00788881778717041, | |
0.007791378021240234, | |
0.007502256870269775, | |
0.00788993787765503, | |
0.00793409776687622, | |
0.007686418056488037, | |
0.007543537139892578, | |
0.007808497905731201, | |
0.007867378234863281, | |
0.007741777896881103, | |
0.007486577033996582, | |
0.00788593816757202, | |
0.008460980415344238, | |
0.008227378845214843, | |
0.008384979248046875, | |
0.008290578842163086, | |
0.008127058982849121, | |
0.007875378131866456, | |
0.007873777866363525, | |
0.007900018215179444, | |
0.0077905778884887695, | |
0.007856657981872558, | |
0.007581616878509521, | |
0.007822897911071778, | |
0.007818098068237305, | |
0.007816977977752685, | |
0.007722417831420899, | |
0.007313937187194824, | |
0.00744465684890747, | |
0.0074435372352600095, | |
0.00766113805770874, | |
0.007584816932678222, | |
0.007456177234649658, | |
0.0076856169700622555, | |
0.007422576904296875, | |
0.00754273796081543, | |
0.007508976936340332, | |
0.0074128170013427735, | |
0.007438736915588379, | |
0.007430897235870361, | |
0.0074404959678649905 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.3777282189392 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |