
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
885fe37
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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.703936, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 54726.344704, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.5539736328125, | |
"mean": 9.5539736328125, | |
"stdev": 0.0, | |
"p50": 9.5539736328125, | |
"p90": 9.5539736328125, | |
"p95": 9.5539736328125, | |
"p99": 9.5539736328125, | |
"values": [ | |
9.5539736328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.048768, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 124826.988544, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 1.0024604969024655, | |
"mean": 0.007893389739389496, | |
"stdev": 0.00032967211614678906, | |
"p50": 0.008056615829467774, | |
"p90": 0.008220327758789062, | |
"p95": 0.008252086734771728, | |
"p99": 0.0082908837890625, | |
"values": [ | |
0.008189895629882812, | |
0.008185094833374023, | |
0.008279495239257813, | |
0.008277094841003418, | |
0.008279495239257813, | |
0.008247014999389648, | |
0.008215495109558105, | |
0.00829005527496338, | |
0.008253094673156738, | |
0.008782214164733886, | |
0.008234696388244629, | |
0.00809821605682373, | |
0.008056615829467774, | |
0.008045414924621581, | |
0.008093735694885255, | |
0.00805005645751953, | |
0.008088934898376464, | |
0.008051655769348144, | |
0.008078375816345214, | |
0.008088775634765625, | |
0.008145895004272461, | |
0.008148615837097167, | |
0.008186695098876953, | |
0.008112456321716309, | |
0.008219816207885743, | |
0.008221095085144042, | |
0.008236615180969239, | |
0.00829117488861084, | |
0.008179815292358398, | |
0.008197574615478516, | |
0.008195655822753906, | |
0.008160296440124512, | |
0.008234695434570312, | |
0.00824973487854004, | |
0.008158535003662109, | |
0.008197256088256836, | |
0.008131815910339355, | |
0.00812589454650879, | |
0.008136455535888671, | |
0.008136295318603515, | |
0.008157094955444337, | |
0.00815469455718994, | |
0.008147656440734863, | |
0.008147814750671386, | |
0.008126855850219727, | |
0.008117734909057617, | |
0.00814253520965576, | |
0.008119015693664551, | |
0.008119014739990235, | |
0.008117575645446778, | |
0.008126694679260254, | |
0.008088135719299316, | |
0.00814045524597168, | |
0.007880136013031006, | |
0.007634537220001221, | |
0.007744936943054199, | |
0.007608296871185302, | |
0.007824935913085938, | |
0.00770717716217041, | |
0.007557257175445557, | |
0.007597416877746582, | |
0.008075495719909669, | |
0.007912936210632325, | |
0.007581737041473389, | |
0.007381897926330566, | |
0.0074815769195556645, | |
0.007437417984008789, | |
0.007494536876678467, | |
0.007667016983032226, | |
0.007441417217254638, | |
0.0074814181327819826, | |
0.007374056816101074, | |
0.007317418098449707, | |
0.007309738159179687, | |
0.007347338199615479, | |
0.007325257778167725, | |
0.007288777828216552, | |
0.007351498126983643, | |
0.007416936874389648, | |
0.007377737998962402, | |
0.007325257778167725, | |
0.007262057781219482, | |
0.00736365795135498, | |
0.007320456981658936, | |
0.007280457973480225, | |
0.00734893798828125, | |
0.00732221794128418, | |
0.007583016872406006, | |
0.0073676581382751466, | |
0.007757256984710694, | |
0.007677577018737793, | |
0.007659337043762207, | |
0.007723496913909912, | |
0.007518696784973145, | |
0.007695497035980225, | |
0.007793416023254394, | |
0.007807816982269287, | |
0.0080006160736084, | |
0.0076974167823791505, | |
0.007955175876617432, | |
0.007647497177124023, | |
0.00761389684677124, | |
0.0075359768867492676, | |
0.007603656768798828, | |
0.007650056838989258, | |
0.007654057025909424, | |
0.007835017204284669, | |
0.007963335990905762, | |
0.007789735794067383, | |
0.007777896881103516, | |
0.007662537097930908, | |
0.00800173568725586, | |
0.008152935981750488, | |
0.008176935195922852, | |
0.008130696296691895, | |
0.008129735946655274, | |
0.008123974800109863, | |
0.00820573616027832, | |
0.008136454582214356, | |
0.007814375877380372, | |
0.007710536956787109, | |
0.008112296104431153, | |
0.00813101577758789, | |
0.008130214691162109, | |
0.0081532564163208, | |
0.008112774848937989, | |
0.008168134689331055 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.68828386995922 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |