IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
faabbed
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": "6", | |
"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.368064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 53347.766272, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.0241728515625, | |
"mean": 9.0241728515625, | |
"stdev": 0.0, | |
"p50": 9.0241728515625, | |
"p90": 9.0241728515625, | |
"p95": 9.0241728515625, | |
"p99": 9.0241728515625, | |
"values": [ | |
9.0241728515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.540864, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 123106.676736, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9954993352890015, | |
"mean": 0.007777338556945324, | |
"stdev": 0.0017475512968007335, | |
"p50": 0.007708969593048096, | |
"p90": 0.008218330383300781, | |
"p95": 0.009229963588714599, | |
"p99": 0.014921692132949832, | |
"values": [ | |
0.007777770042419433, | |
0.007684648990631104, | |
0.007814089775085449, | |
0.007479849815368652, | |
0.007282089233398437, | |
0.007299209117889404, | |
0.007101288795471191, | |
0.007088169097900391, | |
0.007131049156188965, | |
0.00705488920211792, | |
0.006998249053955078, | |
0.006957929134368896, | |
0.015094578742980957, | |
0.0027478439807891845, | |
0.006985608100891113, | |
0.0076582498550415035, | |
0.007871530055999755, | |
0.007891689777374268, | |
0.010529453277587891, | |
0.008037289619445801, | |
0.008023209571838379, | |
0.007977769851684571, | |
0.008009289741516113, | |
0.007980329990386963, | |
0.007983530044555664, | |
0.007960969924926758, | |
0.007976970195770264, | |
0.00778144884109497, | |
0.007064968109130859, | |
0.0070553689002990725, | |
0.007616010189056397, | |
0.007263848781585694, | |
0.007088969230651856, | |
0.007733290195465088, | |
0.008012330055236817, | |
0.007912970066070557, | |
0.007058248996734619, | |
0.007064168930053711, | |
0.00738385009765625, | |
0.007277449131011963, | |
0.007075048923492431, | |
0.007102088928222656, | |
0.007044969081878662, | |
0.007184488773345947, | |
0.007420168876647949, | |
0.007479050159454346, | |
0.007421129226684571, | |
0.00733089017868042, | |
0.007049289226531983, | |
0.014454257965087891, | |
0.003215683937072754, | |
0.007080648899078369, | |
0.0070860891342163085, | |
0.0070462489128112794, | |
0.007060489177703857, | |
0.007061769008636474, | |
0.007285129070281982, | |
0.0078068900108337405, | |
0.008009929656982422, | |
0.00799472999572754, | |
0.007984809875488282, | |
0.00808401107788086, | |
0.00887937068939209, | |
0.009554092407226562, | |
0.009289772033691406, | |
0.009118890762329102, | |
0.00899697208404541, | |
0.008826411247253418, | |
0.008664811134338379, | |
0.008449610710144042, | |
0.008119210243225098, | |
0.008024009704589843, | |
0.008028169631958008, | |
0.008051529884338379, | |
0.008043050765991211, | |
0.008017129898071289, | |
0.008065770149230957, | |
0.008048489570617675, | |
0.008066410064697266, | |
0.00804113006591797, | |
0.008055689811706544, | |
0.008030890464782715, | |
0.00806449031829834, | |
0.018717943191528322, | |
0.0023356831073760988, | |
0.004108485221862793, | |
0.008086730003356933, | |
0.008028651237487793, | |
0.008050729751586914, | |
0.008020970344543457, | |
0.00806128978729248, | |
0.00801648998260498, | |
0.008024170875549316, | |
0.008036970138549804, | |
0.008059530258178712, | |
0.007670569896697998, | |
0.0072864089012146, | |
0.007390408992767334, | |
0.0071289691925048825, | |
0.007124168872833252, | |
0.007109128952026368, | |
0.007081929206848144, | |
0.0071216092109680175, | |
0.007116488933563233, | |
0.0070859289169311526, | |
0.007174088954925537, | |
0.007146089076995849, | |
0.007171848773956299, | |
0.0072156891822814945, | |
0.00716896915435791, | |
0.007182088851928711, | |
0.007141929149627685, | |
0.007159208774566651, | |
0.007331048965454102, | |
0.007811530113220215, | |
0.008057769775390624, | |
0.008060170173645019, | |
0.008063051223754883, | |
0.007874889850616455, | |
0.008002409934997559, | |
0.008030730247497559, | |
0.008084489822387695, | |
0.00768320894241333, | |
0.0075654501914978025, | |
0.007521928787231446, | |
0.007466090202331543, | |
0.01353697681427002, | |
0.00496224594116211 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.57868957073745 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |